]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/grid_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / grid_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
83448d71 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
9fd4be55
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
f0983263
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
f0983263
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
f0983263 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
f0983263 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 {
f0983263 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
f0983263 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 *);
f0983263
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)
83448d71 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
8edf1c75 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
f0983263
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
423f194a 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]
8edf1c75
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]
8edf1c75
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
2f4c0a16 273/* Auxiliar swig macros */
8edf1c75 274
8edf1c75 275#ifdef __cplusplus
2f4c0a16 276#define SWIGSTATICINLINE(a) static inline a
8edf1c75 277#define SWIGSTATIC(a) static a
2f4c0a16
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)
8edf1c75 283
8edf1c75 284#ifdef HAVE_NUMERIC_CAST
2f4c0a16 285#define swig_numeric_cast(type,a) numeric_cast<type>(a)
8edf1c75 286#else
2f4c0a16 287#define swig_numeric_cast(type,a) static_cast<type>(a)
8edf1c75
RD
288#endif
289
2f4c0a16
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 */
8edf1c75
RD
302
303
2f4c0a16
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
8edf1c75
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
d03fd34d
RD
324 static const wxString wxPyEmptyString(wxEmptyString);
325 static const wxString wxPyPanelNameStr(wxPanelNameStr);
eb9b6107 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) { \
423f194a 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; \
4f89f6a3 366 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
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 } \
4f89f6a3 377 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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) { \
4f89f6a3 390 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
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 } \
4f89f6a3 397 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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) { \
4f89f6a3 409 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
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 } \
4f89f6a3 416 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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() { \
4f89f6a3 428 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
429 int rval = 0; \
430 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
431 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
4f89f6a3 432 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
433 return rval; \
434 }
435
436
437
438#define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
439 bool CBNAME(int a, int b) { \
4f89f6a3 440 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
441 bool rval = 0; \
442 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
443 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
4f89f6a3 444 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
445 return rval; \
446 }
447
448
449#define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
450 wxString CBNAME(int a, int b) { \
4f89f6a3 451 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
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 } \
4f89f6a3 461 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
462 return rval; \
463 }
464
465
466#define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
467 void CBNAME(int a, int b, const wxString& c) { \
4f89f6a3 468 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
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 } \
4f89f6a3 474 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
475 }
476
477
478#define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
479 wxString CBNAME(int a, int b) { \
480 bool found; \
4f89f6a3 481 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
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 } \
4f89f6a3 491 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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; \
4f89f6a3 505 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
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 } \
4f89f6a3 511 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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; \
4f89f6a3 527 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
528 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
529 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 530 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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; \
4f89f6a3 545 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
546 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
547 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 548 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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; \
4f89f6a3 562 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
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 } \
4f89f6a3 573 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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; \
4f89f6a3 587 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
588 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
589 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
4f89f6a3 590 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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; \
4f89f6a3 605 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
606 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
607 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 608 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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; \
4f89f6a3 623 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
624 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
625 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
4f89f6a3 626 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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; \
4f89f6a3 639 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
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 } \
4f89f6a3 649 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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; \
4f89f6a3 662 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
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 } \
4f89f6a3 668 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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; \
4f89f6a3 683 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
684 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
685 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
4f89f6a3 686 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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; \
4f89f6a3 700 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
701 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
702 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 703 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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; \
4f89f6a3 717 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
718 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
719 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
4f89f6a3 720 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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; \
4f89f6a3 734 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
735 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
736 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
4f89f6a3 737 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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; \
4f89f6a3 750 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
751 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
752 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
4f89f6a3 753 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
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
2f4c0a16
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
2f4c0a16
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{
69223c70
RD
817 if (PyNumber_Check(obj))
818 return PyInt_AsLong(obj);
819 else {
820 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
821 obj->ob_type->tp_name);
822 PyErr_SetObject(PyExc_TypeError, errmsg);
823 Py_DECREF(errmsg);
824 return 0;
825 }
2f4c0a16
RD
826}
827
828
829#if INT_MAX != LONG_MAX
830SWIGSTATICINLINE(int)
831SWIG_AsInt(PyObject *obj)
8edf1c75 832{
2f4c0a16
RD
833 return swig_numeric_cast(int,
834 SWIG_CheckLongInRange(SWIG_AsLong(obj),
835 "int", INT_MIN, INT_MAX));
8edf1c75 836}
2f4c0a16
RD
837#else
838#define SWIG_AsInt SWIG_AsLong
839#endif
8edf1c75
RD
840
841
2f4c0a16
RD
842SWIGSTATICINLINE(bool)
843SWIG_AsBool(PyObject *obj)
8edf1c75
RD
844{
845 return PyObject_IsTrue(obj) ? true : false;
846}
847
848
2f4c0a16
RD
849SWIGSTATICINLINE(int)
850SWIG_CheckInt(PyObject* obj)
851{
852 SWIG_AsInt(obj);
853 if (PyErr_Occurred()) {
854 PyErr_Clear();
855 return 0;
856 } else {
857 return 1;
858 }
859}
860
861
862SWIGSTATICINLINE(int)
863SWIG_CheckBool(PyObject* obj)
864{
865 SWIG_AsBool(obj);
866 if (PyErr_Occurred()) {
867 PyErr_Clear();
868 return 0;
869 } else {
870 return 1;
871 }
872}
873
874
d14a1e28
RD
875class wxPyGridCellRenderer : public wxGridCellRenderer
876{
877public:
878 wxPyGridCellRenderer() : wxGridCellRenderer() {};
879
880 // Implement Python callback aware virtual methods
881 void Draw(wxGrid& grid, wxGridCellAttr& attr,
882 wxDC& dc, const wxRect& rect,
883 int row, int col, bool isSelected) {
4f89f6a3 884 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
885 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
886 PyObject* go = wxPyMake_wxObject(&grid);
887 PyObject* dco = wxPyMake_wxObject(&dc);
888 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
889 PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
890
891 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro,
892 row, col, isSelected));
893 Py_DECREF(go);
894 Py_DECREF(ao);
895 Py_DECREF(dco);
896 Py_DECREF(ro);
897 }
4f89f6a3 898 wxPyEndBlockThreads(blocked);
d14a1e28
RD
899 }
900
901 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
902 int row, int col) {
903 wxSize rval;
4f89f6a3 904 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
905 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
906 PyObject* ro;
907 wxSize* ptr;
908 PyObject* go = wxPyMake_wxObject(&grid);
909 PyObject* dco = wxPyMake_wxObject(&dc);
910 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
911
912 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)",
913 go, ao, dco,
914 row, col));
915 Py_DECREF(go);
916 Py_DECREF(ao);
917 Py_DECREF(dco);
918
919 if (ro) {
920 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
921 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxSize"))) {
922 rval = *ptr;
923 }
924 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
925 PyObject* o1 = PySequence_GetItem(ro, 0);
926 PyObject* o2 = PySequence_GetItem(ro, 1);
927 if (PyNumber_Check(o1) && PyNumber_Check(o2))
928 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
929 else
930 PyErr_SetString(PyExc_TypeError, errmsg);
931 Py_DECREF(o1);
932 Py_DECREF(o2);
933 }
934 else {
935 PyErr_SetString(PyExc_TypeError, errmsg);
936 }
937 Py_DECREF(ro);
938 }
939 }
4f89f6a3 940 wxPyEndBlockThreads(blocked);
d14a1e28
RD
941 return rval;
942 }
943
944
945 wxGridCellRenderer *Clone() const {
946 wxGridCellRenderer* rval = NULL;
4f89f6a3 947 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
948 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
949 PyObject* ro;
950 wxGridCellRenderer* ptr;
951 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
952 if (ro) {
953 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellRenderer")))
954 rval = ptr;
955 Py_DECREF(ro);
956 }
957 }
4f89f6a3 958 wxPyEndBlockThreads(blocked);
d14a1e28
RD
959 return rval;
960 }
961
962 DEC_PYCALLBACK__STRING(SetParameters);
963
964 PYPRIVATE;
965};
966
967IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
968
969
970void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject *_self){
971 self->SetClientObject(new wxPyOORClientData(_self));
972 }
973
974class wxPyGridCellEditor : public wxGridCellEditor
975{
976public:
977 wxPyGridCellEditor() : wxGridCellEditor() {}
978
979 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
4f89f6a3 980 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
981 if (wxPyCBH_findCallback(m_myInst, "Create")) {
982 PyObject* po = wxPyMake_wxObject(parent);
983 PyObject* eo = wxPyMake_wxObject(evtHandler);
984
985 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo));
986 Py_DECREF(po);
987 Py_DECREF(eo);
988 }
4f89f6a3 989 wxPyEndBlockThreads(blocked);
d14a1e28
RD
990 }
991
992
993 void BeginEdit(int row, int col, wxGrid* grid) {
4f89f6a3 994 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
995 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
996 PyObject* go = wxPyMake_wxObject(grid);
997 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
998 Py_DECREF(go);
999 }
4f89f6a3 1000 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1001 }
1002
1003
1004 bool EndEdit(int row, int col, wxGrid* grid) {
423f194a 1005 bool rv = False;
4f89f6a3 1006 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1007 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
1008 PyObject* go = wxPyMake_wxObject(grid);
1009 rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
1010 Py_DECREF(go);
1011 }
4f89f6a3 1012 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1013 return rv;
1014 }
1015
1016
1017 wxGridCellEditor* Clone() const {
1018 wxGridCellEditor* rval = NULL;
4f89f6a3 1019 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1020 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
1021 PyObject* ro;
1022 wxGridCellEditor* ptr;
1023 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1024 if (ro) {
1025 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellEditor")))
1026 rval = ptr;
1027 Py_DECREF(ro);
1028 }
1029 }
4f89f6a3 1030 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1031 return rval;
1032 }
1033
1034
1035 void Show(bool show, wxGridCellAttr *attr) {
1036 bool found;
4f89f6a3 1037 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1038 if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) {
1039 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
1040 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao));
1041 Py_DECREF(ao);
1042 }
4f89f6a3 1043 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1044 if (! found)
1045 wxGridCellEditor::Show(show, attr);
1046 }
1047 void base_Show(bool show, wxGridCellAttr *attr) {
1048 wxGridCellEditor::Show(show, attr);
1049 }
1050
1051
1052 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1053 bool found;
4f89f6a3 1054 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1055 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) {
1056 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
1057 PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
1058
1059 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao));
1060
1061 Py_DECREF(ro);
1062 Py_DECREF(ao);
1063 }
4f89f6a3 1064 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1065 if (! found)
1066 wxGridCellEditor::PaintBackground(rectCell, attr);
1067 }
1068 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1069 wxGridCellEditor::PaintBackground(rectCell, attr);
1070 }
1071
1072
1073 DEC_PYCALLBACK___pure(Reset);
1074 DEC_PYCALLBACK__constany(SetSize, wxRect);
1075 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
1076 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
1077 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
1078 DEC_PYCALLBACK__(StartingClick);
1079 DEC_PYCALLBACK__(Destroy);
1080 DEC_PYCALLBACK__STRING(SetParameters);
1081 DEC_PYCALLBACK_STRING__constpure(GetValue);
1082
1083 PYPRIVATE;
1084};
1085
1086
1087IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
1088IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
1089IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
1090IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
1091IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
1092IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
1093IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
1094IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
1095IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue);
1096
1097
1098void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject *_self){
1099 self->SetClientObject(new wxPyOORClientData(_self));
1100 }
1101
1102static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1103 PyObject* o2;
1104 PyObject* o3;
1105
1106 if (!target) {
1107 target = o;
1108 } else if (target == Py_None) {
1109 Py_DECREF(Py_None);
1110 target = o;
1111 } else {
1112 if (!PyTuple_Check(target)) {
1113 o2 = target;
1114 target = PyTuple_New(1);
1115 PyTuple_SetItem(target, 0, o2);
1116 }
1117 o3 = PyTuple_New(1);
1118 PyTuple_SetItem(o3, 0, o);
1119
1120 o2 = target;
1121 target = PySequence_Concat(o2, o3);
1122 Py_DECREF(o2);
1123 Py_DECREF(o3);
1124 }
1125 return target;
1126}
1127
1128void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject *_self){
1129 self->SetClientObject(new wxPyOORClientData(_self));
1130 }
1131
2f4c0a16
RD
1132SWIGSTATICINLINE(unsigned long)
1133SWIG_AsUnsignedLong(PyObject * obj)
1134{
1135 if (PyLong_Check(obj)) {
1136 return PyLong_AsUnsignedLong(obj);
1137 } else {
69223c70 1138 long i = SWIG_AsLong(obj);
2f4c0a16 1139 if ( !PyErr_Occurred() && (i < 0)) {
69223c70 1140 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
2f4c0a16
RD
1141 }
1142 return i;
1143 }
1144}
1145
1146
1147SWIGSTATICINLINE(int)
1148SWIG_CheckUnsignedLong(PyObject* obj)
1149{
1150 SWIG_AsUnsignedLong(obj);
1151 if (PyErr_Occurred()) {
1152 PyErr_Clear();
1153 return 0;
1154 } else {
1155 return 1;
1156 }
1157}
1158
1159
d14a1e28
RD
1160class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
1161{
1162public:
1163 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1164
1165 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
1166 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
1167 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
1168 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
1169
1170 PYPRIVATE;
1171};
1172
1173void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject *_self){
1174 self->SetClientObject(new wxPyOORClientData(_self));
1175 }
1176
2f4c0a16
RD
1177SWIGSTATICINLINE(int)
1178SWIG_CheckLong(PyObject* obj)
8edf1c75 1179{
2f4c0a16
RD
1180 SWIG_AsLong(obj);
1181 if (PyErr_Occurred()) {
1182 PyErr_Clear();
1183 return 0;
1184 } else {
1185 return 1;
1186 }
8edf1c75
RD
1187}
1188
1189
2f4c0a16
RD
1190SWIGSTATICINLINE(double)
1191SWIG_AsDouble(PyObject *obj)
8edf1c75 1192{
69223c70
RD
1193 if (PyNumber_Check(obj))
1194 return PyFloat_AsDouble(obj);
1195 else {
1196 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1197 obj->ob_type->tp_name);
1198 PyErr_SetObject(PyExc_TypeError, errmsg);
1199 Py_DECREF(errmsg);
1200 return 0;
1201 }
2f4c0a16
RD
1202}
1203
1204
1205SWIGSTATICINLINE(int)
1206SWIG_CheckDouble(PyObject* obj)
1207{
1208 SWIG_AsDouble(obj);
1209 if (PyErr_Occurred()) {
1210 PyErr_Clear();
1211 return 0;
1212 } else {
1213 return 1;
1214 }
8edf1c75
RD
1215}
1216
1217
d14a1e28
RD
1218class wxPyGridTableBase : public wxGridTableBase
1219{
1220public:
1221 wxPyGridTableBase() : wxGridTableBase() {}
1222
1223 PYCALLBACK_INT__pure(GetNumberRows);
1224 PYCALLBACK_INT__pure(GetNumberCols);
1225 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
1226 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
1227 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
1228 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
1229 PYCALLBACK__(wxGridTableBase, Clear);
1230 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
1231 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
1232 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
1233 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
1234 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
1235 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
1236 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
1237 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
1238 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
1239 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
1240 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
1241 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
1242 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
1243 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
1244 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
1245
1246
1247 wxString GetValue(int row, int col) {
4f89f6a3 1248 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1249 wxString rval;
1250 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1251 PyObject* ro;
1252 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
1253 if (ro) {
1254 rval = Py2wxString(ro);
1255 Py_DECREF(ro);
1256 }
1257 }
4f89f6a3 1258 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1259 return rval;
1260 }
1261
1262 void SetValue(int row, int col, const wxString& val) {
4f89f6a3 1263 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1264 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1265 PyObject* s = wx2PyString(val);
1266 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s));
1267 Py_DECREF(s);
1268 }
4f89f6a3 1269 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1270 }
1271
1272
1273 // Map the Get/Set methods for the standard non-string types to
1274 // the GetValue and SetValue python methods.
1275 long GetValueAsLong( int row, int col ) {
1276 long rval = 0;
4f89f6a3 1277 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1278 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1279 PyObject* ro;
1280 PyObject* num;
1281 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1282 if (ro && PyNumber_Check(ro)) {
1283 num = PyNumber_Int(ro);
1284 if (num) {
1285 rval = PyInt_AsLong(num);
1286 Py_DECREF(num);
1287 }
1288 Py_DECREF(ro);
1289 }
1290 }
4f89f6a3 1291 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1292 return rval;
1293 }
1294
1295 double GetValueAsDouble( int row, int col ) {
1296 double rval = 0.0;
4f89f6a3 1297 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1298 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1299 PyObject* ro;
1300 PyObject* num;
1301 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1302 if (ro && PyNumber_Check(ro)) {
1303 num = PyNumber_Float(ro);
1304 if (num) {
1305 rval = PyFloat_AsDouble(num);
1306 Py_DECREF(num);
1307 }
1308 Py_DECREF(ro);
1309 }
1310 }
4f89f6a3 1311 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1312 return rval;
1313 }
1314
1315 bool GetValueAsBool( int row, int col ) {
1316 return (bool)GetValueAsLong(row, col);
1317 }
1318
1319 void SetValueAsLong( int row, int col, long value ) {
4f89f6a3 1320 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1321 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1322 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
1323 }
4f89f6a3 1324 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1325 }
1326
1327 void SetValueAsDouble( int row, int col, double value ) {
4f89f6a3 1328 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1329 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1330 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
1331 }
4f89f6a3 1332 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1333 }
1334
1335 void SetValueAsBool( int row, int col, bool value ) {
1336 SetValueAsLong( row, col, (long)value );
1337 }
1338
1339
1340 PYPRIVATE;
1341};
1342
1343void wxPyGridTableBase_Destroy(wxPyGridTableBase *self){ delete self; }
d14a1e28
RD
1344
1345bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
1346
328fcd84
RD
1347 if (source == Py_None) {
1348 **obj = wxGridCellCoords(-1,-1);
1349 return True;
1350 }
1351
d14a1e28
RD
1352 // If source is an object instance then it may already be the right type
1353 if (wxPySwigInstance_Check(source)) {
1354 wxGridCellCoords* ptr;
1355 if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1356 goto error;
1357 *obj = ptr;
423f194a 1358 return True;
d14a1e28
RD
1359 }
1360 // otherwise a 2-tuple of integers is expected
1361 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
1362 PyObject* o1 = PySequence_GetItem(source, 0);
1363 PyObject* o2 = PySequence_GetItem(source, 1);
1364 if (!PyNumber_Check(o1) || !PyNumber_Check(o2)) {
1365 Py_DECREF(o1);
1366 Py_DECREF(o2);
1367 goto error;
1368 }
1369 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
1370 Py_DECREF(o1);
1371 Py_DECREF(o2);
423f194a 1372 return True;
d14a1e28
RD
1373 }
1374
1375 error:
1376 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
423f194a 1377 return False;
d14a1e28
RD
1378}
1379
1380
1381bool wxGridCellCoords_typecheck(PyObject* source) {
1382 void* ptr;
1383
1384 if (wxPySwigInstance_Check(source) &&
1385 wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
423f194a 1386 return True;
d14a1e28
RD
1387
1388 PyErr_Clear();
1389 if (PySequence_Check(source) && PySequence_Length(source) == 2)
423f194a 1390 return True;
d14a1e28 1391
423f194a 1392 return False;
d14a1e28
RD
1393}
1394
1395
1396PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray& source)
1397{
1398 PyObject* list = PyList_New(0);
1399 size_t idx;
1400 for (idx = 0; idx < source.GetCount(); idx += 1) {
1401 wxGridCellCoords& coord = source.Item(idx);
1402 PyObject* tup = PyTuple_New(2);
1403 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow()));
1404 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol()));
1405 PyList_Append(list, tup);
1406 Py_DECREF(tup);
1407 }
1408 return list;
1409}
1410
328fcd84
RD
1411PyObject *wxGridCellCoords_asTuple(wxGridCellCoords *self){
1412 PyObject* tup = PyTuple_New(2);
1413 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1414 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1415 return tup;
1416 }
d14a1e28
RD
1417
1418typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
1419
1420wxGridCellCoords wxGrid_XYToCell(wxGrid *self,int x,int y){
1421 wxGridCellCoords rv;
1422 self->XYToCell(x, y, rv);
1423 return rv;
1424 }
1425#ifdef __cplusplus
1426extern "C" {
1427#endif
2f4c0a16 1428static int _wrap_DateTimeFormatStr_set(PyObject *_val) {
d03fd34d
RD
1429 PyErr_SetString(PyExc_TypeError,"Variable DateTimeFormatStr is read-only.");
1430 return 1;
1431}
1432
1433
1434static PyObject *_wrap_DateTimeFormatStr_get() {
1435 PyObject *pyobj;
1436
1437 {
1438#if wxUSE_UNICODE
1439 pyobj = PyUnicode_FromWideChar((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1440#else
1441 pyobj = PyString_FromStringAndSize((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1442#endif
1443 }
1444 return pyobj;
1445}
1446
1447
2f4c0a16 1448static int _wrap_GridNoCellCoords_set(PyObject *_val) {
d14a1e28
RD
1449 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellCoords is read-only.");
1450 return 1;
1451}
1452
1453
1454static PyObject *_wrap_GridNoCellCoords_get() {
1455 PyObject *pyobj;
1456
2f4c0a16 1457 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellCoords), SWIGTYPE_p_wxGridCellCoords, 0);
d14a1e28
RD
1458 return pyobj;
1459}
1460
1461
2f4c0a16 1462static int _wrap_GridNoCellRect_set(PyObject *_val) {
d14a1e28
RD
1463 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellRect is read-only.");
1464 return 1;
1465}
1466
1467
1468static PyObject *_wrap_GridNoCellRect_get() {
1469 PyObject *pyobj;
1470
2f4c0a16 1471 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellRect), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
1472 return pyobj;
1473}
1474
1475
1476static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1477 PyObject *resultobj;
1478 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1479 PyObject *arg2 = (PyObject *) 0 ;
1480 PyObject * obj0 = 0 ;
1481 PyObject * obj1 = 0 ;
1482 char *kwnames[] = {
1483 (char *) "self",(char *) "_self", NULL
1484 };
1485
1486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1489 arg2 = obj1;
1490 {
1491 PyThreadState* __tstate = wxPyBeginAllowThreads();
1492 wxGridCellRenderer__setOORInfo(arg1,arg2);
1493
1494 wxPyEndAllowThreads(__tstate);
1495 if (PyErr_Occurred()) SWIG_fail;
1496 }
1497 Py_INCREF(Py_None); resultobj = Py_None;
1498 return resultobj;
1499 fail:
1500 return NULL;
1501}
1502
1503
1504static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1505 PyObject *resultobj;
1506 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1507 wxString *arg2 = 0 ;
423f194a 1508 bool temp2 = False ;
d14a1e28
RD
1509 PyObject * obj0 = 0 ;
1510 PyObject * obj1 = 0 ;
1511 char *kwnames[] = {
1512 (char *) "self",(char *) "params", NULL
1513 };
1514
1515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer_SetParameters",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1518 {
1519 arg2 = wxString_in_helper(obj1);
1520 if (arg2 == NULL) SWIG_fail;
423f194a 1521 temp2 = True;
d14a1e28
RD
1522 }
1523 {
1524 PyThreadState* __tstate = wxPyBeginAllowThreads();
1525 (arg1)->SetParameters((wxString const &)*arg2);
1526
1527 wxPyEndAllowThreads(__tstate);
1528 if (PyErr_Occurred()) SWIG_fail;
1529 }
1530 Py_INCREF(Py_None); resultobj = Py_None;
1531 {
1532 if (temp2)
1533 delete arg2;
1534 }
1535 return resultobj;
1536 fail:
1537 {
1538 if (temp2)
1539 delete arg2;
1540 }
1541 return NULL;
1542}
1543
1544
1545static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1546 PyObject *resultobj;
1547 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1548 PyObject * obj0 = 0 ;
1549 char *kwnames[] = {
1550 (char *) "self", NULL
1551 };
1552
1553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_IncRef",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1556 {
1557 PyThreadState* __tstate = wxPyBeginAllowThreads();
1558 (arg1)->IncRef();
1559
1560 wxPyEndAllowThreads(__tstate);
1561 if (PyErr_Occurred()) SWIG_fail;
1562 }
1563 Py_INCREF(Py_None); resultobj = Py_None;
1564 return resultobj;
1565 fail:
1566 return NULL;
1567}
1568
1569
1570static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1571 PyObject *resultobj;
1572 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1573 PyObject * obj0 = 0 ;
1574 char *kwnames[] = {
1575 (char *) "self", NULL
1576 };
1577
1578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_DecRef",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1581 {
1582 PyThreadState* __tstate = wxPyBeginAllowThreads();
1583 (arg1)->DecRef();
1584
1585 wxPyEndAllowThreads(__tstate);
1586 if (PyErr_Occurred()) SWIG_fail;
1587 }
1588 Py_INCREF(Py_None); resultobj = Py_None;
1589 return resultobj;
1590 fail:
1591 return NULL;
1592}
1593
1594
1595static PyObject *_wrap_GridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
1596 PyObject *resultobj;
1597 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1598 wxGrid *arg2 = 0 ;
1599 wxGridCellAttr *arg3 = 0 ;
1600 wxDC *arg4 = 0 ;
1601 wxRect *arg5 = 0 ;
1602 int arg6 ;
1603 int arg7 ;
1604 bool arg8 ;
1605 wxRect temp5 ;
1606 PyObject * obj0 = 0 ;
1607 PyObject * obj1 = 0 ;
1608 PyObject * obj2 = 0 ;
1609 PyObject * obj3 = 0 ;
1610 PyObject * obj4 = 0 ;
8edf1c75
RD
1611 PyObject * obj5 = 0 ;
1612 PyObject * obj6 = 0 ;
d14a1e28
RD
1613 PyObject * obj7 = 0 ;
1614 char *kwnames[] = {
1615 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1616 };
1617
8edf1c75 1618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
1619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1621 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1622 SWIG_POINTER_EXCEPTION | 0)) == -1)
1623 SWIG_fail;
d14a1e28 1624 if (arg2 == NULL) {
2f4c0a16
RD
1625 PyErr_SetString(PyExc_TypeError,"null reference");
1626 SWIG_fail;
d14a1e28 1627 }
2f4c0a16
RD
1628 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1629 SWIG_POINTER_EXCEPTION | 0)) == -1)
1630 SWIG_fail;
d14a1e28 1631 if (arg3 == NULL) {
2f4c0a16
RD
1632 PyErr_SetString(PyExc_TypeError,"null reference");
1633 SWIG_fail;
d14a1e28 1634 }
2f4c0a16
RD
1635 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1636 SWIG_POINTER_EXCEPTION | 0)) == -1)
1637 SWIG_fail;
d14a1e28 1638 if (arg4 == NULL) {
2f4c0a16
RD
1639 PyErr_SetString(PyExc_TypeError,"null reference");
1640 SWIG_fail;
d14a1e28
RD
1641 }
1642 {
1643 arg5 = &temp5;
1644 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
1645 }
2f4c0a16
RD
1646 arg6 = (int) SWIG_AsInt(obj5);
1647 if (PyErr_Occurred()) SWIG_fail;
1648 arg7 = (int) SWIG_AsInt(obj6);
1649 if (PyErr_Occurred()) SWIG_fail;
1650 arg8 = (bool) SWIG_AsBool(obj7);
1651 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1652 {
1653 PyThreadState* __tstate = wxPyBeginAllowThreads();
1654 (arg1)->Draw(*arg2,*arg3,*arg4,(wxRect const &)*arg5,arg6,arg7,arg8);
1655
1656 wxPyEndAllowThreads(__tstate);
1657 if (PyErr_Occurred()) SWIG_fail;
1658 }
1659 Py_INCREF(Py_None); resultobj = Py_None;
1660 return resultobj;
1661 fail:
1662 return NULL;
1663}
1664
1665
1666static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1667 PyObject *resultobj;
1668 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1669 wxGrid *arg2 = 0 ;
1670 wxGridCellAttr *arg3 = 0 ;
1671 wxDC *arg4 = 0 ;
1672 int arg5 ;
1673 int arg6 ;
1674 wxSize result;
1675 PyObject * obj0 = 0 ;
1676 PyObject * obj1 = 0 ;
1677 PyObject * obj2 = 0 ;
1678 PyObject * obj3 = 0 ;
8edf1c75
RD
1679 PyObject * obj4 = 0 ;
1680 PyObject * obj5 = 0 ;
d14a1e28
RD
1681 char *kwnames[] = {
1682 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1683 };
1684
8edf1c75 1685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
1686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1688 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1689 SWIG_POINTER_EXCEPTION | 0)) == -1)
1690 SWIG_fail;
d14a1e28 1691 if (arg2 == NULL) {
2f4c0a16
RD
1692 PyErr_SetString(PyExc_TypeError,"null reference");
1693 SWIG_fail;
d14a1e28 1694 }
2f4c0a16
RD
1695 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1696 SWIG_POINTER_EXCEPTION | 0)) == -1)
1697 SWIG_fail;
d14a1e28 1698 if (arg3 == NULL) {
2f4c0a16
RD
1699 PyErr_SetString(PyExc_TypeError,"null reference");
1700 SWIG_fail;
d14a1e28 1701 }
2f4c0a16
RD
1702 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1703 SWIG_POINTER_EXCEPTION | 0)) == -1)
1704 SWIG_fail;
d14a1e28 1705 if (arg4 == NULL) {
2f4c0a16
RD
1706 PyErr_SetString(PyExc_TypeError,"null reference");
1707 SWIG_fail;
8edf1c75 1708 }
2f4c0a16
RD
1709 arg5 = (int) SWIG_AsInt(obj4);
1710 if (PyErr_Occurred()) SWIG_fail;
1711 arg6 = (int) SWIG_AsInt(obj5);
1712 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1713 {
1714 PyThreadState* __tstate = wxPyBeginAllowThreads();
1715 result = (arg1)->GetBestSize(*arg2,*arg3,*arg4,arg5,arg6);
1716
1717 wxPyEndAllowThreads(__tstate);
1718 if (PyErr_Occurred()) SWIG_fail;
1719 }
1720 {
1721 wxSize * resultptr;
1722 resultptr = new wxSize((wxSize &) result);
2f4c0a16 1723 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1724 }
1725 return resultobj;
1726 fail:
1727 return NULL;
1728}
1729
1730
1731static PyObject *_wrap_GridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1732 PyObject *resultobj;
1733 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1734 wxGridCellRenderer *result;
1735 PyObject * obj0 = 0 ;
1736 char *kwnames[] = {
1737 (char *) "self", NULL
1738 };
1739
1740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1743 {
1744 PyThreadState* __tstate = wxPyBeginAllowThreads();
1745 result = (wxGridCellRenderer *)((wxGridCellRenderer const *)arg1)->Clone();
1746
1747 wxPyEndAllowThreads(__tstate);
1748 if (PyErr_Occurred()) SWIG_fail;
1749 }
1750 {
1751 resultobj = wxPyMake_wxGridCellRenderer(result);
1752 }
1753 return resultobj;
1754 fail:
1755 return NULL;
1756}
1757
1758
1759static PyObject * GridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1760 PyObject *obj;
1761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1762 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer, obj);
1763 Py_INCREF(obj);
1764 return Py_BuildValue((char *)"");
1765}
1766static PyObject *_wrap_new_PyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1767 PyObject *resultobj;
1768 wxPyGridCellRenderer *result;
1769 char *kwnames[] = {
1770 NULL
1771 };
1772
1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellRenderer",kwnames)) goto fail;
1774 {
1775 PyThreadState* __tstate = wxPyBeginAllowThreads();
1776 result = (wxPyGridCellRenderer *)new wxPyGridCellRenderer();
1777
1778 wxPyEndAllowThreads(__tstate);
1779 if (PyErr_Occurred()) SWIG_fail;
1780 }
2f4c0a16 1781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellRenderer, 1);
d14a1e28
RD
1782 return resultobj;
1783 fail:
1784 return NULL;
1785}
1786
1787
1788static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1789 PyObject *resultobj;
1790 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1791 PyObject *arg2 = (PyObject *) 0 ;
1792 PyObject *arg3 = (PyObject *) 0 ;
1793 PyObject * obj0 = 0 ;
1794 PyObject * obj1 = 0 ;
1795 PyObject * obj2 = 0 ;
1796 char *kwnames[] = {
1797 (char *) "self",(char *) "self",(char *) "_class", NULL
1798 };
1799
1800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1803 arg2 = obj1;
1804 arg3 = obj2;
1805 {
1806 PyThreadState* __tstate = wxPyBeginAllowThreads();
1807 (arg1)->_setCallbackInfo(arg2,arg3);
1808
1809 wxPyEndAllowThreads(__tstate);
1810 if (PyErr_Occurred()) SWIG_fail;
1811 }
1812 Py_INCREF(Py_None); resultobj = Py_None;
1813 return resultobj;
1814 fail:
1815 return NULL;
1816}
1817
1818
1819static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1820 PyObject *resultobj;
1821 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1822 wxString *arg2 = 0 ;
423f194a 1823 bool temp2 = False ;
d14a1e28
RD
1824 PyObject * obj0 = 0 ;
1825 PyObject * obj1 = 0 ;
1826 char *kwnames[] = {
1827 (char *) "self",(char *) "params", NULL
1828 };
1829
1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1833 {
1834 arg2 = wxString_in_helper(obj1);
1835 if (arg2 == NULL) SWIG_fail;
423f194a 1836 temp2 = True;
d14a1e28
RD
1837 }
1838 {
1839 PyThreadState* __tstate = wxPyBeginAllowThreads();
1840 (arg1)->base_SetParameters((wxString const &)*arg2);
1841
1842 wxPyEndAllowThreads(__tstate);
1843 if (PyErr_Occurred()) SWIG_fail;
1844 }
1845 Py_INCREF(Py_None); resultobj = Py_None;
1846 {
1847 if (temp2)
1848 delete arg2;
1849 }
1850 return resultobj;
1851 fail:
1852 {
1853 if (temp2)
1854 delete arg2;
1855 }
1856 return NULL;
1857}
1858
1859
1860static PyObject * PyGridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1861 PyObject *obj;
1862 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1863 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer, obj);
1864 Py_INCREF(obj);
1865 return Py_BuildValue((char *)"");
1866}
1867static PyObject *_wrap_new_GridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1868 PyObject *resultobj;
1869 wxGridCellStringRenderer *result;
1870 char *kwnames[] = {
1871 NULL
1872 };
1873
1874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellStringRenderer",kwnames)) goto fail;
1875 {
1876 PyThreadState* __tstate = wxPyBeginAllowThreads();
1877 result = (wxGridCellStringRenderer *)new wxGridCellStringRenderer();
1878
1879 wxPyEndAllowThreads(__tstate);
1880 if (PyErr_Occurred()) SWIG_fail;
1881 }
2f4c0a16 1882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellStringRenderer, 1);
d14a1e28
RD
1883 return resultobj;
1884 fail:
1885 return NULL;
1886}
1887
1888
1889static PyObject * GridCellStringRenderer_swigregister(PyObject *self, PyObject *args) {
1890 PyObject *obj;
1891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1892 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer, obj);
1893 Py_INCREF(obj);
1894 return Py_BuildValue((char *)"");
1895}
1896static PyObject *_wrap_new_GridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1897 PyObject *resultobj;
1898 wxGridCellNumberRenderer *result;
1899 char *kwnames[] = {
1900 NULL
1901 };
1902
1903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellNumberRenderer",kwnames)) goto fail;
1904 {
1905 PyThreadState* __tstate = wxPyBeginAllowThreads();
1906 result = (wxGridCellNumberRenderer *)new wxGridCellNumberRenderer();
1907
1908 wxPyEndAllowThreads(__tstate);
1909 if (PyErr_Occurred()) SWIG_fail;
1910 }
2f4c0a16 1911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberRenderer, 1);
d14a1e28
RD
1912 return resultobj;
1913 fail:
1914 return NULL;
1915}
1916
1917
1918static PyObject * GridCellNumberRenderer_swigregister(PyObject *self, PyObject *args) {
1919 PyObject *obj;
1920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1921 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer, obj);
1922 Py_INCREF(obj);
1923 return Py_BuildValue((char *)"");
1924}
1925static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1926 PyObject *resultobj;
1927 int arg1 = (int) -1 ;
1928 int arg2 = (int) -1 ;
1929 wxGridCellFloatRenderer *result;
8edf1c75
RD
1930 PyObject * obj0 = 0 ;
1931 PyObject * obj1 = 0 ;
d14a1e28
RD
1932 char *kwnames[] = {
1933 (char *) "width",(char *) "precision", NULL
1934 };
1935
8edf1c75
RD
1936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatRenderer",kwnames,&obj0,&obj1)) goto fail;
1937 if (obj0) {
2f4c0a16
RD
1938 arg1 = (int) SWIG_AsInt(obj0);
1939 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
1940 }
1941 if (obj1) {
2f4c0a16
RD
1942 arg2 = (int) SWIG_AsInt(obj1);
1943 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1944 }
d14a1e28
RD
1945 {
1946 PyThreadState* __tstate = wxPyBeginAllowThreads();
1947 result = (wxGridCellFloatRenderer *)new wxGridCellFloatRenderer(arg1,arg2);
1948
1949 wxPyEndAllowThreads(__tstate);
1950 if (PyErr_Occurred()) SWIG_fail;
1951 }
2f4c0a16 1952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatRenderer, 1);
d14a1e28
RD
1953 return resultobj;
1954 fail:
1955 return NULL;
1956}
1957
1958
1959static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1960 PyObject *resultobj;
1961 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1962 int result;
1963 PyObject * obj0 = 0 ;
1964 char *kwnames[] = {
1965 (char *) "self", NULL
1966 };
1967
1968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
1970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1971 {
1972 PyThreadState* __tstate = wxPyBeginAllowThreads();
1973 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetWidth();
1974
1975 wxPyEndAllowThreads(__tstate);
1976 if (PyErr_Occurred()) SWIG_fail;
1977 }
2f4c0a16 1978 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1979 return resultobj;
1980 fail:
1981 return NULL;
1982}
1983
1984
1985static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1986 PyObject *resultobj;
1987 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1988 int arg2 ;
1989 PyObject * obj0 = 0 ;
8edf1c75 1990 PyObject * obj1 = 0 ;
d14a1e28
RD
1991 char *kwnames[] = {
1992 (char *) "self",(char *) "width", NULL
1993 };
1994
8edf1c75 1995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
1997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1998 arg2 = (int) SWIG_AsInt(obj1);
1999 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2000 {
2001 PyThreadState* __tstate = wxPyBeginAllowThreads();
2002 (arg1)->SetWidth(arg2);
2003
2004 wxPyEndAllowThreads(__tstate);
2005 if (PyErr_Occurred()) SWIG_fail;
2006 }
2007 Py_INCREF(Py_None); resultobj = Py_None;
2008 return resultobj;
2009 fail:
2010 return NULL;
2011}
2012
2013
2014static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
2015 PyObject *resultobj;
2016 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2017 int result;
2018 PyObject * obj0 = 0 ;
2019 char *kwnames[] = {
2020 (char *) "self", NULL
2021 };
2022
2023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2026 {
2027 PyThreadState* __tstate = wxPyBeginAllowThreads();
2028 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetPrecision();
2029
2030 wxPyEndAllowThreads(__tstate);
2031 if (PyErr_Occurred()) SWIG_fail;
2032 }
2f4c0a16 2033 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2034 return resultobj;
2035 fail:
2036 return NULL;
2037}
2038
2039
2040static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
2041 PyObject *resultobj;
2042 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2043 int arg2 ;
2044 PyObject * obj0 = 0 ;
8edf1c75 2045 PyObject * obj1 = 0 ;
d14a1e28
RD
2046 char *kwnames[] = {
2047 (char *) "self",(char *) "precision", NULL
2048 };
2049
8edf1c75 2050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2053 arg2 = (int) SWIG_AsInt(obj1);
2054 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 (arg1)->SetPrecision(arg2);
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 Py_INCREF(Py_None); resultobj = Py_None;
2063 return resultobj;
2064 fail:
2065 return NULL;
2066}
2067
2068
2069static PyObject * GridCellFloatRenderer_swigregister(PyObject *self, PyObject *args) {
2070 PyObject *obj;
2071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2072 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer, obj);
2073 Py_INCREF(obj);
2074 return Py_BuildValue((char *)"");
2075}
2076static PyObject *_wrap_new_GridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2077 PyObject *resultobj;
2078 wxGridCellBoolRenderer *result;
2079 char *kwnames[] = {
2080 NULL
2081 };
2082
2083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolRenderer",kwnames)) goto fail;
2084 {
2085 PyThreadState* __tstate = wxPyBeginAllowThreads();
2086 result = (wxGridCellBoolRenderer *)new wxGridCellBoolRenderer();
2087
2088 wxPyEndAllowThreads(__tstate);
2089 if (PyErr_Occurred()) SWIG_fail;
2090 }
2f4c0a16 2091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolRenderer, 1);
d14a1e28
RD
2092 return resultobj;
2093 fail:
2094 return NULL;
2095}
2096
2097
2098static PyObject * GridCellBoolRenderer_swigregister(PyObject *self, PyObject *args) {
2099 PyObject *obj;
2100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2101 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer, obj);
2102 Py_INCREF(obj);
2103 return Py_BuildValue((char *)"");
2104}
2105static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2106 PyObject *resultobj;
2107 wxString arg1 = (wxString) wxPyDateTimeFormatStr ;
2108 wxString arg2 = (wxString) wxPyDateTimeFormatStr ;
2109 wxGridCellDateTimeRenderer *result;
d14a1e28
RD
2110 PyObject * obj0 = 0 ;
2111 PyObject * obj1 = 0 ;
2112 char *kwnames[] = {
2113 (char *) "outformat",(char *) "informat", NULL
2114 };
2115
2116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail;
2117 if (obj0) {
423f194a
RD
2118 {
2119 wxString* sptr = wxString_in_helper(obj0);
2120 if (sptr == NULL) SWIG_fail;
2121 arg1 = *sptr;
2122 delete sptr;
2123 }
d14a1e28
RD
2124 }
2125 if (obj1) {
423f194a
RD
2126 {
2127 wxString* sptr = wxString_in_helper(obj1);
2128 if (sptr == NULL) SWIG_fail;
2129 arg2 = *sptr;
2130 delete sptr;
2131 }
d14a1e28
RD
2132 }
2133 {
2134 PyThreadState* __tstate = wxPyBeginAllowThreads();
2135 result = (wxGridCellDateTimeRenderer *)new wxGridCellDateTimeRenderer(arg1,arg2);
2136
2137 wxPyEndAllowThreads(__tstate);
2138 if (PyErr_Occurred()) SWIG_fail;
2139 }
2f4c0a16 2140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellDateTimeRenderer, 1);
d14a1e28
RD
2141 return resultobj;
2142 fail:
2143 return NULL;
2144}
2145
2146
2147static PyObject * GridCellDateTimeRenderer_swigregister(PyObject *self, PyObject *args) {
2148 PyObject *obj;
2149 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2150 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer, obj);
2151 Py_INCREF(obj);
2152 return Py_BuildValue((char *)"");
2153}
2154static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2155 PyObject *resultobj;
2156 wxString const &arg1_defvalue = wxPyEmptyString ;
2157 wxString *arg1 = (wxString *) &arg1_defvalue ;
2158 wxGridCellEnumRenderer *result;
423f194a 2159 bool temp1 = False ;
d14a1e28
RD
2160 PyObject * obj0 = 0 ;
2161 char *kwnames[] = {
2162 (char *) "choices", NULL
2163 };
2164
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumRenderer",kwnames,&obj0)) goto fail;
2166 if (obj0) {
2167 {
2168 arg1 = wxString_in_helper(obj0);
2169 if (arg1 == NULL) SWIG_fail;
423f194a 2170 temp1 = True;
d14a1e28
RD
2171 }
2172 }
2173 {
2174 PyThreadState* __tstate = wxPyBeginAllowThreads();
2175 result = (wxGridCellEnumRenderer *)new wxGridCellEnumRenderer((wxString const &)*arg1);
2176
2177 wxPyEndAllowThreads(__tstate);
2178 if (PyErr_Occurred()) SWIG_fail;
2179 }
2f4c0a16 2180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumRenderer, 1);
d14a1e28
RD
2181 {
2182 if (temp1)
2183 delete arg1;
2184 }
2185 return resultobj;
2186 fail:
2187 {
2188 if (temp1)
2189 delete arg1;
2190 }
2191 return NULL;
2192}
2193
2194
2195static PyObject * GridCellEnumRenderer_swigregister(PyObject *self, PyObject *args) {
2196 PyObject *obj;
2197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2198 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer, obj);
2199 Py_INCREF(obj);
2200 return Py_BuildValue((char *)"");
2201}
2202static PyObject *_wrap_new_GridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2203 PyObject *resultobj;
2204 wxGridCellAutoWrapStringRenderer *result;
2205 char *kwnames[] = {
2206 NULL
2207 };
2208
2209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringRenderer",kwnames)) goto fail;
2210 {
2211 PyThreadState* __tstate = wxPyBeginAllowThreads();
2212 result = (wxGridCellAutoWrapStringRenderer *)new wxGridCellAutoWrapStringRenderer();
2213
2214 wxPyEndAllowThreads(__tstate);
2215 if (PyErr_Occurred()) SWIG_fail;
2216 }
2f4c0a16 2217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, 1);
d14a1e28
RD
2218 return resultobj;
2219 fail:
2220 return NULL;
2221}
2222
2223
2224static PyObject * GridCellAutoWrapStringRenderer_swigregister(PyObject *self, PyObject *args) {
2225 PyObject *obj;
2226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2227 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, obj);
2228 Py_INCREF(obj);
2229 return Py_BuildValue((char *)"");
2230}
2231static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2232 PyObject *resultobj;
2233 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2234 PyObject *arg2 = (PyObject *) 0 ;
2235 PyObject * obj0 = 0 ;
2236 PyObject * obj1 = 0 ;
2237 char *kwnames[] = {
2238 (char *) "self",(char *) "_self", NULL
2239 };
2240
2241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2244 arg2 = obj1;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 wxGridCellEditor__setOORInfo(arg1,arg2);
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 Py_INCREF(Py_None); resultobj = Py_None;
2253 return resultobj;
2254 fail:
2255 return NULL;
2256}
2257
2258
2259static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2262 bool result;
2263 PyObject * obj0 = 0 ;
2264 char *kwnames[] = {
2265 (char *) "self", NULL
2266 };
2267
2268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IsCreated",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2271 {
2272 PyThreadState* __tstate = wxPyBeginAllowThreads();
2273 result = (bool)(arg1)->IsCreated();
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
4f89f6a3
RD
2278 {
2279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2280 }
d14a1e28
RD
2281 return resultobj;
2282 fail:
2283 return NULL;
2284}
2285
2286
2287static PyObject *_wrap_GridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2288 PyObject *resultobj;
2289 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2290 wxControl *result;
2291 PyObject * obj0 = 0 ;
2292 char *kwnames[] = {
2293 (char *) "self", NULL
2294 };
2295
2296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2299 {
2300 PyThreadState* __tstate = wxPyBeginAllowThreads();
2301 result = (wxControl *)(arg1)->GetControl();
2302
2303 wxPyEndAllowThreads(__tstate);
2304 if (PyErr_Occurred()) SWIG_fail;
2305 }
2306 {
2307 resultobj = wxPyMake_wxObject(result);
2308 }
2309 return resultobj;
2310 fail:
2311 return NULL;
2312}
2313
2314
2315static PyObject *_wrap_GridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2316 PyObject *resultobj;
2317 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2318 wxControl *arg2 = (wxControl *) 0 ;
2319 PyObject * obj0 = 0 ;
2320 PyObject * obj1 = 0 ;
2321 char *kwnames[] = {
2322 (char *) "self",(char *) "control", NULL
2323 };
2324
2325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetControl",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2328 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
2329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2330 {
2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
2332 (arg1)->SetControl(arg2);
2333
2334 wxPyEndAllowThreads(__tstate);
2335 if (PyErr_Occurred()) SWIG_fail;
2336 }
2337 Py_INCREF(Py_None); resultobj = Py_None;
2338 return resultobj;
2339 fail:
2340 return NULL;
2341}
2342
2343
2344static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2345 PyObject *resultobj;
2346 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2347 wxGridCellAttr *result;
2348 PyObject * obj0 = 0 ;
2349 char *kwnames[] = {
2350 (char *) "self", NULL
2351 };
2352
2353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetCellAttr",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2356 {
2357 PyThreadState* __tstate = wxPyBeginAllowThreads();
2358 result = (wxGridCellAttr *)(arg1)->GetCellAttr();
2359
2360 wxPyEndAllowThreads(__tstate);
2361 if (PyErr_Occurred()) SWIG_fail;
2362 }
2363 {
2364 resultobj = wxPyMake_wxGridCellAttr(result);
2365 }
2366 return resultobj;
2367 fail:
2368 return NULL;
2369}
2370
2371
2372static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2373 PyObject *resultobj;
2374 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2375 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
2376 PyObject * obj0 = 0 ;
2377 PyObject * obj1 = 0 ;
2378 char *kwnames[] = {
2379 (char *) "self",(char *) "attr", NULL
2380 };
2381
2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetCellAttr",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2385 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
2386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2387 {
2388 PyThreadState* __tstate = wxPyBeginAllowThreads();
2389 (arg1)->SetCellAttr(arg2);
2390
2391 wxPyEndAllowThreads(__tstate);
2392 if (PyErr_Occurred()) SWIG_fail;
2393 }
2394 Py_INCREF(Py_None); resultobj = Py_None;
2395 return resultobj;
2396 fail:
2397 return NULL;
2398}
2399
2400
2401static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2402 PyObject *resultobj;
2403 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2404 wxString *arg2 = 0 ;
423f194a 2405 bool temp2 = False ;
d14a1e28
RD
2406 PyObject * obj0 = 0 ;
2407 PyObject * obj1 = 0 ;
2408 char *kwnames[] = {
2409 (char *) "self",(char *) "params", NULL
2410 };
2411
2412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetParameters",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2415 {
2416 arg2 = wxString_in_helper(obj1);
2417 if (arg2 == NULL) SWIG_fail;
423f194a 2418 temp2 = True;
d14a1e28
RD
2419 }
2420 {
2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
2422 (arg1)->SetParameters((wxString const &)*arg2);
2423
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
2427 Py_INCREF(Py_None); resultobj = Py_None;
2428 {
2429 if (temp2)
2430 delete arg2;
2431 }
2432 return resultobj;
2433 fail:
2434 {
2435 if (temp2)
2436 delete arg2;
2437 }
2438 return NULL;
2439}
2440
2441
2442static PyObject *_wrap_GridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2443 PyObject *resultobj;
2444 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2445 PyObject * obj0 = 0 ;
2446 char *kwnames[] = {
2447 (char *) "self", NULL
2448 };
2449
2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IncRef",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2453 {
2454 PyThreadState* __tstate = wxPyBeginAllowThreads();
2455 (arg1)->IncRef();
2456
2457 wxPyEndAllowThreads(__tstate);
2458 if (PyErr_Occurred()) SWIG_fail;
2459 }
2460 Py_INCREF(Py_None); resultobj = Py_None;
2461 return resultobj;
2462 fail:
2463 return NULL;
2464}
2465
2466
2467static PyObject *_wrap_GridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2468 PyObject *resultobj;
2469 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2470 PyObject * obj0 = 0 ;
2471 char *kwnames[] = {
2472 (char *) "self", NULL
2473 };
2474
2475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_DecRef",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2478 {
2479 PyThreadState* __tstate = wxPyBeginAllowThreads();
2480 (arg1)->DecRef();
2481
2482 wxPyEndAllowThreads(__tstate);
2483 if (PyErr_Occurred()) SWIG_fail;
2484 }
2485 Py_INCREF(Py_None); resultobj = Py_None;
2486 return resultobj;
2487 fail:
2488 return NULL;
2489}
2490
2491
2492static PyObject *_wrap_GridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2493 PyObject *resultobj;
2494 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2495 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 2496 int arg3 ;
d14a1e28
RD
2497 wxEvtHandler *arg4 = (wxEvtHandler *) 0 ;
2498 PyObject * obj0 = 0 ;
2499 PyObject * obj1 = 0 ;
8edf1c75 2500 PyObject * obj2 = 0 ;
d14a1e28
RD
2501 PyObject * obj3 = 0 ;
2502 char *kwnames[] = {
2503 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2504 };
2505
8edf1c75 2506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
2507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2511 arg3 = (int) SWIG_AsInt(obj2);
2512 if (PyErr_Occurred()) SWIG_fail;
2513 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxEvtHandler,
2514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2515 {
2516 PyThreadState* __tstate = wxPyBeginAllowThreads();
2517 (arg1)->Create(arg2,arg3,arg4);
2518
2519 wxPyEndAllowThreads(__tstate);
2520 if (PyErr_Occurred()) SWIG_fail;
2521 }
2522 Py_INCREF(Py_None); resultobj = Py_None;
2523 return resultobj;
2524 fail:
2525 return NULL;
2526}
2527
2528
2529static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2530 PyObject *resultobj;
2531 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2532 int arg2 ;
2533 int arg3 ;
2534 wxGrid *arg4 = (wxGrid *) 0 ;
2535 PyObject * obj0 = 0 ;
8edf1c75
RD
2536 PyObject * obj1 = 0 ;
2537 PyObject * obj2 = 0 ;
d14a1e28
RD
2538 PyObject * obj3 = 0 ;
2539 char *kwnames[] = {
2540 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2541 };
2542
8edf1c75 2543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
2544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2546 arg2 = (int) SWIG_AsInt(obj1);
2547 if (PyErr_Occurred()) SWIG_fail;
2548 arg3 = (int) SWIG_AsInt(obj2);
2549 if (PyErr_Occurred()) SWIG_fail;
2550 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2552 {
2553 PyThreadState* __tstate = wxPyBeginAllowThreads();
2554 (arg1)->BeginEdit(arg2,arg3,arg4);
2555
2556 wxPyEndAllowThreads(__tstate);
2557 if (PyErr_Occurred()) SWIG_fail;
2558 }
2559 Py_INCREF(Py_None); resultobj = Py_None;
2560 return resultobj;
2561 fail:
2562 return NULL;
2563}
2564
2565
2566static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2567 PyObject *resultobj;
2568 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2569 int arg2 ;
2570 int arg3 ;
2571 wxGrid *arg4 = (wxGrid *) 0 ;
2572 bool result;
2573 PyObject * obj0 = 0 ;
8edf1c75
RD
2574 PyObject * obj1 = 0 ;
2575 PyObject * obj2 = 0 ;
d14a1e28
RD
2576 PyObject * obj3 = 0 ;
2577 char *kwnames[] = {
2578 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2579 };
2580
8edf1c75 2581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_EndEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
2582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2584 arg2 = (int) SWIG_AsInt(obj1);
2585 if (PyErr_Occurred()) SWIG_fail;
2586 arg3 = (int) SWIG_AsInt(obj2);
2587 if (PyErr_Occurred()) SWIG_fail;
2588 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2590 {
2591 PyThreadState* __tstate = wxPyBeginAllowThreads();
2592 result = (bool)(arg1)->EndEdit(arg2,arg3,arg4);
2593
2594 wxPyEndAllowThreads(__tstate);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 }
4f89f6a3
RD
2597 {
2598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2599 }
d14a1e28
RD
2600 return resultobj;
2601 fail:
2602 return NULL;
2603}
2604
2605
2606static PyObject *_wrap_GridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
2607 PyObject *resultobj;
2608 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2609 PyObject * obj0 = 0 ;
2610 char *kwnames[] = {
2611 (char *) "self", NULL
2612 };
2613
2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Reset",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2617 {
2618 PyThreadState* __tstate = wxPyBeginAllowThreads();
2619 (arg1)->Reset();
2620
2621 wxPyEndAllowThreads(__tstate);
2622 if (PyErr_Occurred()) SWIG_fail;
2623 }
2624 Py_INCREF(Py_None); resultobj = Py_None;
2625 return resultobj;
2626 fail:
2627 return NULL;
2628}
2629
2630
2631static PyObject *_wrap_GridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2632 PyObject *resultobj;
2633 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2634 wxGridCellEditor *result;
2635 PyObject * obj0 = 0 ;
2636 char *kwnames[] = {
2637 (char *) "self", NULL
2638 };
2639
2640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2643 {
2644 PyThreadState* __tstate = wxPyBeginAllowThreads();
2645 result = (wxGridCellEditor *)((wxGridCellEditor const *)arg1)->Clone();
2646
2647 wxPyEndAllowThreads(__tstate);
2648 if (PyErr_Occurred()) SWIG_fail;
2649 }
2650 {
2651 resultobj = wxPyMake_wxGridCellEditor(result);
2652 }
2653 return resultobj;
2654 fail:
2655 return NULL;
2656}
2657
2658
2659static PyObject *_wrap_GridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2660 PyObject *resultobj;
2661 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2662 wxRect *arg2 = 0 ;
2663 wxRect temp2 ;
2664 PyObject * obj0 = 0 ;
2665 PyObject * obj1 = 0 ;
2666 char *kwnames[] = {
2667 (char *) "self",(char *) "rect", NULL
2668 };
2669
2670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2673 {
2674 arg2 = &temp2;
2675 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2676 }
2677 {
2678 PyThreadState* __tstate = wxPyBeginAllowThreads();
2679 (arg1)->SetSize((wxRect const &)*arg2);
2680
2681 wxPyEndAllowThreads(__tstate);
2682 if (PyErr_Occurred()) SWIG_fail;
2683 }
2684 Py_INCREF(Py_None); resultobj = Py_None;
2685 return resultobj;
2686 fail:
2687 return NULL;
2688}
2689
2690
2691static PyObject *_wrap_GridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2692 PyObject *resultobj;
2693 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2694 bool arg2 ;
2695 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
2696 PyObject * obj0 = 0 ;
2697 PyObject * obj1 = 0 ;
2698 PyObject * obj2 = 0 ;
2699 char *kwnames[] = {
2700 (char *) "self",(char *) "show",(char *) "attr", NULL
2701 };
2702
2703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridCellEditor_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2706 arg2 = (bool) SWIG_AsBool(obj1);
2707 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2708 if (obj2) {
2f4c0a16
RD
2709 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2711 }
2712 {
2713 PyThreadState* __tstate = wxPyBeginAllowThreads();
2714 (arg1)->Show(arg2,arg3);
2715
2716 wxPyEndAllowThreads(__tstate);
2717 if (PyErr_Occurred()) SWIG_fail;
2718 }
2719 Py_INCREF(Py_None); resultobj = Py_None;
2720 return resultobj;
2721 fail:
2722 return NULL;
2723}
2724
2725
2726static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2727 PyObject *resultobj;
2728 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2729 wxRect *arg2 = 0 ;
2730 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
2731 wxRect temp2 ;
2732 PyObject * obj0 = 0 ;
2733 PyObject * obj1 = 0 ;
2734 PyObject * obj2 = 0 ;
2735 char *kwnames[] = {
2736 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2737 };
2738
2739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellEditor_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2742 {
2743 arg2 = &temp2;
2744 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2745 }
2f4c0a16
RD
2746 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2748 {
2749 PyThreadState* __tstate = wxPyBeginAllowThreads();
2750 (arg1)->PaintBackground((wxRect const &)*arg2,arg3);
2751
2752 wxPyEndAllowThreads(__tstate);
2753 if (PyErr_Occurred()) SWIG_fail;
2754 }
2755 Py_INCREF(Py_None); resultobj = Py_None;
2756 return resultobj;
2757 fail:
2758 return NULL;
2759}
2760
2761
2762static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2763 PyObject *resultobj;
2764 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2765 wxKeyEvent *arg2 = 0 ;
2766 bool result;
2767 PyObject * obj0 = 0 ;
2768 PyObject * obj1 = 0 ;
2769 char *kwnames[] = {
2770 (char *) "self",(char *) "event", NULL
2771 };
2772
2773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2777 SWIG_POINTER_EXCEPTION | 0)) == -1)
2778 SWIG_fail;
d14a1e28 2779 if (arg2 == NULL) {
2f4c0a16
RD
2780 PyErr_SetString(PyExc_TypeError,"null reference");
2781 SWIG_fail;
d14a1e28
RD
2782 }
2783 {
2784 PyThreadState* __tstate = wxPyBeginAllowThreads();
2785 result = (bool)(arg1)->IsAcceptedKey(*arg2);
2786
2787 wxPyEndAllowThreads(__tstate);
2788 if (PyErr_Occurred()) SWIG_fail;
2789 }
4f89f6a3
RD
2790 {
2791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2792 }
d14a1e28
RD
2793 return resultobj;
2794 fail:
2795 return NULL;
2796}
2797
2798
2799static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2800 PyObject *resultobj;
2801 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2802 wxKeyEvent *arg2 = 0 ;
2803 PyObject * obj0 = 0 ;
2804 PyObject * obj1 = 0 ;
2805 char *kwnames[] = {
2806 (char *) "self",(char *) "event", NULL
2807 };
2808
2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_StartingKey",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2812 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2813 SWIG_POINTER_EXCEPTION | 0)) == -1)
2814 SWIG_fail;
d14a1e28 2815 if (arg2 == NULL) {
2f4c0a16
RD
2816 PyErr_SetString(PyExc_TypeError,"null reference");
2817 SWIG_fail;
d14a1e28
RD
2818 }
2819 {
2820 PyThreadState* __tstate = wxPyBeginAllowThreads();
2821 (arg1)->StartingKey(*arg2);
2822
2823 wxPyEndAllowThreads(__tstate);
2824 if (PyErr_Occurred()) SWIG_fail;
2825 }
2826 Py_INCREF(Py_None); resultobj = Py_None;
2827 return resultobj;
2828 fail:
2829 return NULL;
2830}
2831
2832
2833static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2834 PyObject *resultobj;
2835 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2836 PyObject * obj0 = 0 ;
2837 char *kwnames[] = {
2838 (char *) "self", NULL
2839 };
2840
2841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_StartingClick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2844 {
2845 PyThreadState* __tstate = wxPyBeginAllowThreads();
2846 (arg1)->StartingClick();
2847
2848 wxPyEndAllowThreads(__tstate);
2849 if (PyErr_Occurred()) SWIG_fail;
2850 }
2851 Py_INCREF(Py_None); resultobj = Py_None;
2852 return resultobj;
2853 fail:
2854 return NULL;
2855}
2856
2857
2858static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2859 PyObject *resultobj;
2860 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2861 wxKeyEvent *arg2 = 0 ;
2862 PyObject * obj0 = 0 ;
2863 PyObject * obj1 = 0 ;
2864 char *kwnames[] = {
2865 (char *) "self",(char *) "event", NULL
2866 };
2867
2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2871 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2872 SWIG_POINTER_EXCEPTION | 0)) == -1)
2873 SWIG_fail;
d14a1e28 2874 if (arg2 == NULL) {
2f4c0a16
RD
2875 PyErr_SetString(PyExc_TypeError,"null reference");
2876 SWIG_fail;
d14a1e28
RD
2877 }
2878 {
2879 PyThreadState* __tstate = wxPyBeginAllowThreads();
2880 (arg1)->HandleReturn(*arg2);
2881
2882 wxPyEndAllowThreads(__tstate);
2883 if (PyErr_Occurred()) SWIG_fail;
2884 }
2885 Py_INCREF(Py_None); resultobj = Py_None;
2886 return resultobj;
2887 fail:
2888 return NULL;
2889}
2890
2891
2892static PyObject *_wrap_GridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2893 PyObject *resultobj;
2894 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2895 PyObject * obj0 = 0 ;
2896 char *kwnames[] = {
2897 (char *) "self", NULL
2898 };
2899
2900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2903 {
2904 PyThreadState* __tstate = wxPyBeginAllowThreads();
2905 (arg1)->Destroy();
2906
2907 wxPyEndAllowThreads(__tstate);
2908 if (PyErr_Occurred()) SWIG_fail;
2909 }
2910 Py_INCREF(Py_None); resultobj = Py_None;
2911 return resultobj;
2912 fail:
2913 return NULL;
2914}
2915
2916
2917static PyObject * GridCellEditor_swigregister(PyObject *self, PyObject *args) {
2918 PyObject *obj;
2919 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2920 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor, obj);
2921 Py_INCREF(obj);
2922 return Py_BuildValue((char *)"");
2923}
2924static PyObject *_wrap_new_PyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2925 PyObject *resultobj;
2926 wxPyGridCellEditor *result;
2927 char *kwnames[] = {
2928 NULL
2929 };
2930
2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellEditor",kwnames)) goto fail;
2932 {
2933 PyThreadState* __tstate = wxPyBeginAllowThreads();
2934 result = (wxPyGridCellEditor *)new wxPyGridCellEditor();
2935
2936 wxPyEndAllowThreads(__tstate);
2937 if (PyErr_Occurred()) SWIG_fail;
2938 }
2f4c0a16 2939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellEditor, 1);
d14a1e28
RD
2940 return resultobj;
2941 fail:
2942 return NULL;
2943}
2944
2945
2946static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2947 PyObject *resultobj;
2948 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2949 PyObject *arg2 = (PyObject *) 0 ;
2950 PyObject *arg3 = (PyObject *) 0 ;
2951 PyObject * obj0 = 0 ;
2952 PyObject * obj1 = 0 ;
2953 PyObject * obj2 = 0 ;
2954 char *kwnames[] = {
2955 (char *) "self",(char *) "self",(char *) "_class", NULL
2956 };
2957
2958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
2960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2961 arg2 = obj1;
2962 arg3 = obj2;
2963 {
2964 PyThreadState* __tstate = wxPyBeginAllowThreads();
2965 (arg1)->_setCallbackInfo(arg2,arg3);
2966
2967 wxPyEndAllowThreads(__tstate);
2968 if (PyErr_Occurred()) SWIG_fail;
2969 }
2970 Py_INCREF(Py_None); resultobj = Py_None;
2971 return resultobj;
2972 fail:
2973 return NULL;
2974}
2975
2976
2977static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2978 PyObject *resultobj;
2979 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2980 wxRect *arg2 = 0 ;
2981 wxRect temp2 ;
2982 PyObject * obj0 = 0 ;
2983 PyObject * obj1 = 0 ;
2984 char *kwnames[] = {
2985 (char *) "self",(char *) "rect", NULL
2986 };
2987
2988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
2990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2991 {
2992 arg2 = &temp2;
2993 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2994 }
2995 {
2996 PyThreadState* __tstate = wxPyBeginAllowThreads();
2997 (arg1)->base_SetSize((wxRect const &)*arg2);
2998
2999 wxPyEndAllowThreads(__tstate);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
3002 Py_INCREF(Py_None); resultobj = Py_None;
3003 return resultobj;
3004 fail:
3005 return NULL;
3006}
3007
3008
3009static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
3010 PyObject *resultobj;
3011 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3012 bool arg2 ;
3013 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
3014 PyObject * obj0 = 0 ;
3015 PyObject * obj1 = 0 ;
3016 PyObject * obj2 = 0 ;
3017 char *kwnames[] = {
3018 (char *) "self",(char *) "show",(char *) "attr", NULL
3019 };
3020
3021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3024 arg2 = (bool) SWIG_AsBool(obj1);
3025 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3026 if (obj2) {
2f4c0a16
RD
3027 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3029 }
3030 {
3031 PyThreadState* __tstate = wxPyBeginAllowThreads();
3032 (arg1)->base_Show(arg2,arg3);
3033
3034 wxPyEndAllowThreads(__tstate);
3035 if (PyErr_Occurred()) SWIG_fail;
3036 }
3037 Py_INCREF(Py_None); resultobj = Py_None;
3038 return resultobj;
3039 fail:
3040 return NULL;
3041}
3042
3043
3044static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
3045 PyObject *resultobj;
3046 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3047 wxRect *arg2 = 0 ;
3048 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
3049 wxRect temp2 ;
3050 PyObject * obj0 = 0 ;
3051 PyObject * obj1 = 0 ;
3052 PyObject * obj2 = 0 ;
3053 char *kwnames[] = {
3054 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3055 };
3056
3057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3060 {
3061 arg2 = &temp2;
3062 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3063 }
2f4c0a16
RD
3064 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3066 {
3067 PyThreadState* __tstate = wxPyBeginAllowThreads();
3068 (arg1)->base_PaintBackground((wxRect const &)*arg2,arg3);
3069
3070 wxPyEndAllowThreads(__tstate);
3071 if (PyErr_Occurred()) SWIG_fail;
3072 }
3073 Py_INCREF(Py_None); resultobj = Py_None;
3074 return resultobj;
3075 fail:
3076 return NULL;
3077}
3078
3079
3080static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
3081 PyObject *resultobj;
3082 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3083 wxKeyEvent *arg2 = 0 ;
3084 bool result;
3085 PyObject * obj0 = 0 ;
3086 PyObject * obj1 = 0 ;
3087 char *kwnames[] = {
3088 (char *) "self",(char *) "event", NULL
3089 };
3090
3091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3094 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3095 SWIG_POINTER_EXCEPTION | 0)) == -1)
3096 SWIG_fail;
d14a1e28 3097 if (arg2 == NULL) {
2f4c0a16
RD
3098 PyErr_SetString(PyExc_TypeError,"null reference");
3099 SWIG_fail;
d14a1e28
RD
3100 }
3101 {
3102 PyThreadState* __tstate = wxPyBeginAllowThreads();
3103 result = (bool)(arg1)->base_IsAcceptedKey(*arg2);
3104
3105 wxPyEndAllowThreads(__tstate);
3106 if (PyErr_Occurred()) SWIG_fail;
3107 }
4f89f6a3
RD
3108 {
3109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3110 }
d14a1e28
RD
3111 return resultobj;
3112 fail:
3113 return NULL;
3114}
3115
3116
3117static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
3118 PyObject *resultobj;
3119 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3120 wxKeyEvent *arg2 = 0 ;
3121 PyObject * obj0 = 0 ;
3122 PyObject * obj1 = 0 ;
3123 char *kwnames[] = {
3124 (char *) "self",(char *) "event", NULL
3125 };
3126
3127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3130 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3131 SWIG_POINTER_EXCEPTION | 0)) == -1)
3132 SWIG_fail;
d14a1e28 3133 if (arg2 == NULL) {
2f4c0a16
RD
3134 PyErr_SetString(PyExc_TypeError,"null reference");
3135 SWIG_fail;
d14a1e28
RD
3136 }
3137 {
3138 PyThreadState* __tstate = wxPyBeginAllowThreads();
3139 (arg1)->base_StartingKey(*arg2);
3140
3141 wxPyEndAllowThreads(__tstate);
3142 if (PyErr_Occurred()) SWIG_fail;
3143 }
3144 Py_INCREF(Py_None); resultobj = Py_None;
3145 return resultobj;
3146 fail:
3147 return NULL;
3148}
3149
3150
3151static PyObject *_wrap_PyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3152 PyObject *resultobj;
3153 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3154 PyObject * obj0 = 0 ;
3155 char *kwnames[] = {
3156 (char *) "self", NULL
3157 };
3158
3159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3162 {
3163 PyThreadState* __tstate = wxPyBeginAllowThreads();
3164 (arg1)->base_StartingClick();
3165
3166 wxPyEndAllowThreads(__tstate);
3167 if (PyErr_Occurred()) SWIG_fail;
3168 }
3169 Py_INCREF(Py_None); resultobj = Py_None;
3170 return resultobj;
3171 fail:
3172 return NULL;
3173}
3174
3175
3176static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
3177 PyObject *resultobj;
3178 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3179 wxKeyEvent *arg2 = 0 ;
3180 PyObject * obj0 = 0 ;
3181 PyObject * obj1 = 0 ;
3182 char *kwnames[] = {
3183 (char *) "self",(char *) "event", NULL
3184 };
3185
3186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3189 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3190 SWIG_POINTER_EXCEPTION | 0)) == -1)
3191 SWIG_fail;
d14a1e28 3192 if (arg2 == NULL) {
2f4c0a16
RD
3193 PyErr_SetString(PyExc_TypeError,"null reference");
3194 SWIG_fail;
d14a1e28
RD
3195 }
3196 {
3197 PyThreadState* __tstate = wxPyBeginAllowThreads();
3198 (arg1)->base_HandleReturn(*arg2);
3199
3200 wxPyEndAllowThreads(__tstate);
3201 if (PyErr_Occurred()) SWIG_fail;
3202 }
3203 Py_INCREF(Py_None); resultobj = Py_None;
3204 return resultobj;
3205 fail:
3206 return NULL;
3207}
3208
3209
3210static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
3211 PyObject *resultobj;
3212 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3213 PyObject * obj0 = 0 ;
3214 char *kwnames[] = {
3215 (char *) "self", NULL
3216 };
3217
3218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3221 {
3222 PyThreadState* __tstate = wxPyBeginAllowThreads();
3223 (arg1)->base_Destroy();
3224
3225 wxPyEndAllowThreads(__tstate);
3226 if (PyErr_Occurred()) SWIG_fail;
3227 }
3228 Py_INCREF(Py_None); resultobj = Py_None;
3229 return resultobj;
3230 fail:
3231 return NULL;
3232}
3233
3234
3235static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
3236 PyObject *resultobj;
3237 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3238 wxString *arg2 = 0 ;
423f194a 3239 bool temp2 = False ;
d14a1e28
RD
3240 PyObject * obj0 = 0 ;
3241 PyObject * obj1 = 0 ;
3242 char *kwnames[] = {
3243 (char *) "self",(char *) "params", NULL
3244 };
3245
3246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3249 {
3250 arg2 = wxString_in_helper(obj1);
3251 if (arg2 == NULL) SWIG_fail;
423f194a 3252 temp2 = True;
d14a1e28
RD
3253 }
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 (arg1)->base_SetParameters((wxString const &)*arg2);
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 }
3261 Py_INCREF(Py_None); resultobj = Py_None;
3262 {
3263 if (temp2)
3264 delete arg2;
3265 }
3266 return resultobj;
3267 fail:
3268 {
3269 if (temp2)
3270 delete arg2;
3271 }
3272 return NULL;
3273}
3274
3275
3276static PyObject * PyGridCellEditor_swigregister(PyObject *self, PyObject *args) {
3277 PyObject *obj;
3278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3279 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor, obj);
3280 Py_INCREF(obj);
3281 return Py_BuildValue((char *)"");
3282}
3283static PyObject *_wrap_new_GridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3284 PyObject *resultobj;
3285 wxGridCellTextEditor *result;
3286 char *kwnames[] = {
3287 NULL
3288 };
3289
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellTextEditor",kwnames)) goto fail;
3291 {
3292 PyThreadState* __tstate = wxPyBeginAllowThreads();
3293 result = (wxGridCellTextEditor *)new wxGridCellTextEditor();
3294
3295 wxPyEndAllowThreads(__tstate);
3296 if (PyErr_Occurred()) SWIG_fail;
3297 }
2f4c0a16 3298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellTextEditor, 1);
d14a1e28
RD
3299 return resultobj;
3300 fail:
3301 return NULL;
3302}
3303
3304
3305static PyObject *_wrap_GridCellTextEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3306 PyObject *resultobj;
3307 wxGridCellTextEditor *arg1 = (wxGridCellTextEditor *) 0 ;
3308 wxString result;
3309 PyObject * obj0 = 0 ;
3310 char *kwnames[] = {
3311 (char *) "self", NULL
3312 };
3313
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellTextEditor_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellTextEditor,
3316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3317 {
3318 PyThreadState* __tstate = wxPyBeginAllowThreads();
3319 result = (arg1)->GetValue();
3320
3321 wxPyEndAllowThreads(__tstate);
3322 if (PyErr_Occurred()) SWIG_fail;
3323 }
3324 {
3325#if wxUSE_UNICODE
3326 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3327#else
3328 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3329#endif
3330 }
3331 return resultobj;
3332 fail:
3333 return NULL;
3334}
3335
3336
3337static PyObject * GridCellTextEditor_swigregister(PyObject *self, PyObject *args) {
3338 PyObject *obj;
3339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3340 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor, obj);
3341 Py_INCREF(obj);
3342 return Py_BuildValue((char *)"");
3343}
3344static PyObject *_wrap_new_GridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3345 PyObject *resultobj;
3346 int arg1 = (int) -1 ;
3347 int arg2 = (int) -1 ;
3348 wxGridCellNumberEditor *result;
8edf1c75
RD
3349 PyObject * obj0 = 0 ;
3350 PyObject * obj1 = 0 ;
d14a1e28
RD
3351 char *kwnames[] = {
3352 (char *) "min",(char *) "max", NULL
3353 };
3354
8edf1c75
RD
3355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellNumberEditor",kwnames,&obj0,&obj1)) goto fail;
3356 if (obj0) {
2f4c0a16
RD
3357 arg1 = (int) SWIG_AsInt(obj0);
3358 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3359 }
3360 if (obj1) {
2f4c0a16
RD
3361 arg2 = (int) SWIG_AsInt(obj1);
3362 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3363 }
d14a1e28
RD
3364 {
3365 PyThreadState* __tstate = wxPyBeginAllowThreads();
3366 result = (wxGridCellNumberEditor *)new wxGridCellNumberEditor(arg1,arg2);
3367
3368 wxPyEndAllowThreads(__tstate);
3369 if (PyErr_Occurred()) SWIG_fail;
3370 }
2f4c0a16 3371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberEditor, 1);
d14a1e28
RD
3372 return resultobj;
3373 fail:
3374 return NULL;
3375}
3376
3377
3378static PyObject *_wrap_GridCellNumberEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3379 PyObject *resultobj;
3380 wxGridCellNumberEditor *arg1 = (wxGridCellNumberEditor *) 0 ;
3381 wxString result;
3382 PyObject * obj0 = 0 ;
3383 char *kwnames[] = {
3384 (char *) "self", NULL
3385 };
3386
3387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellNumberEditor_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellNumberEditor,
3389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3390 {
3391 PyThreadState* __tstate = wxPyBeginAllowThreads();
3392 result = (arg1)->GetValue();
3393
3394 wxPyEndAllowThreads(__tstate);
3395 if (PyErr_Occurred()) SWIG_fail;
3396 }
3397 {
3398#if wxUSE_UNICODE
3399 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3400#else
3401 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3402#endif
3403 }
3404 return resultobj;
3405 fail:
3406 return NULL;
3407}
3408
3409
3410static PyObject * GridCellNumberEditor_swigregister(PyObject *self, PyObject *args) {
3411 PyObject *obj;
3412 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3413 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor, obj);
3414 Py_INCREF(obj);
3415 return Py_BuildValue((char *)"");
3416}
3417static PyObject *_wrap_new_GridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3418 PyObject *resultobj;
3419 wxGridCellFloatEditor *result;
3420 char *kwnames[] = {
3421 NULL
3422 };
3423
3424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellFloatEditor",kwnames)) goto fail;
3425 {
3426 PyThreadState* __tstate = wxPyBeginAllowThreads();
3427 result = (wxGridCellFloatEditor *)new wxGridCellFloatEditor();
3428
3429 wxPyEndAllowThreads(__tstate);
3430 if (PyErr_Occurred()) SWIG_fail;
3431 }
2f4c0a16 3432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatEditor, 1);
d14a1e28
RD
3433 return resultobj;
3434 fail:
3435 return NULL;
3436}
3437
3438
3439static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3440 PyObject *resultobj;
3441 wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ;
3442 wxString result;
3443 PyObject * obj0 = 0 ;
3444 char *kwnames[] = {
3445 (char *) "self", NULL
3446 };
3447
3448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatEditor_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatEditor,
3450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3451 {
3452 PyThreadState* __tstate = wxPyBeginAllowThreads();
3453 result = (arg1)->GetValue();
3454
3455 wxPyEndAllowThreads(__tstate);
3456 if (PyErr_Occurred()) SWIG_fail;
3457 }
3458 {
3459#if wxUSE_UNICODE
3460 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3461#else
3462 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3463#endif
3464 }
3465 return resultobj;
3466 fail:
3467 return NULL;
3468}
3469
3470
3471static PyObject * GridCellFloatEditor_swigregister(PyObject *self, PyObject *args) {
3472 PyObject *obj;
3473 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3474 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor, obj);
3475 Py_INCREF(obj);
3476 return Py_BuildValue((char *)"");
3477}
3478static PyObject *_wrap_new_GridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3479 PyObject *resultobj;
3480 wxGridCellBoolEditor *result;
3481 char *kwnames[] = {
3482 NULL
3483 };
3484
3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolEditor",kwnames)) goto fail;
3486 {
3487 PyThreadState* __tstate = wxPyBeginAllowThreads();
3488 result = (wxGridCellBoolEditor *)new wxGridCellBoolEditor();
3489
3490 wxPyEndAllowThreads(__tstate);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 }
2f4c0a16 3493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolEditor, 1);
d14a1e28
RD
3494 return resultobj;
3495 fail:
3496 return NULL;
3497}
3498
3499
3500static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3501 PyObject *resultobj;
3502 wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ;
3503 wxString result;
3504 PyObject * obj0 = 0 ;
3505 char *kwnames[] = {
3506 (char *) "self", NULL
3507 };
3508
3509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellBoolEditor_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellBoolEditor,
3511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3512 {
3513 PyThreadState* __tstate = wxPyBeginAllowThreads();
3514 result = (arg1)->GetValue();
3515
3516 wxPyEndAllowThreads(__tstate);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 {
3520#if wxUSE_UNICODE
3521 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3522#else
3523 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3524#endif
3525 }
3526 return resultobj;
3527 fail:
3528 return NULL;
3529}
3530
3531
3532static PyObject * GridCellBoolEditor_swigregister(PyObject *self, PyObject *args) {
3533 PyObject *obj;
3534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3535 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor, obj);
3536 Py_INCREF(obj);
3537 return Py_BuildValue((char *)"");
3538}
3539static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3540 PyObject *resultobj;
3541 int arg1 = (int) 0 ;
3542 wxString *arg2 = (wxString *) NULL ;
423f194a 3543 bool arg3 = (bool) False ;
d14a1e28 3544 wxGridCellChoiceEditor *result;
44127b65 3545 PyObject * obj0 = 0 ;
d14a1e28 3546 PyObject * obj1 = 0 ;
d14a1e28 3547 char *kwnames[] = {
44127b65 3548 (char *) "choices",(char *) "allowOthers", NULL
d14a1e28
RD
3549 };
3550
44127b65
RD
3551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellChoiceEditor",kwnames,&obj0,&obj1)) goto fail;
3552 if (obj0) {
3553 {
3554 arg1 = PyList_Size(obj0);
3555 arg2 = wxString_LIST_helper(obj0);
3556 if (arg2 == NULL) SWIG_fail;
3557 }
d14a1e28 3558 }
44127b65 3559 if (obj1) {
2f4c0a16
RD
3560 arg3 = (bool) SWIG_AsBool(obj1);
3561 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3562 }
3563 {
3564 PyThreadState* __tstate = wxPyBeginAllowThreads();
3565 result = (wxGridCellChoiceEditor *)new wxGridCellChoiceEditor(arg1,(wxString const *)arg2,arg3);
3566
3567 wxPyEndAllowThreads(__tstate);
3568 if (PyErr_Occurred()) SWIG_fail;
3569 }
2f4c0a16 3570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellChoiceEditor, 1);
44127b65
RD
3571 {
3572 if (arg2) delete [] arg2;
3573 }
d14a1e28
RD
3574 return resultobj;
3575 fail:
44127b65
RD
3576 {
3577 if (arg2) delete [] arg2;
3578 }
d14a1e28
RD
3579 return NULL;
3580}
3581
3582
3583static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3584 PyObject *resultobj;
3585 wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ;
3586 wxString result;
3587 PyObject * obj0 = 0 ;
3588 char *kwnames[] = {
3589 (char *) "self", NULL
3590 };
3591
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellChoiceEditor_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellChoiceEditor,
3594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3595 {
3596 PyThreadState* __tstate = wxPyBeginAllowThreads();
3597 result = (arg1)->GetValue();
3598
3599 wxPyEndAllowThreads(__tstate);
3600 if (PyErr_Occurred()) SWIG_fail;
3601 }
3602 {
3603#if wxUSE_UNICODE
3604 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3605#else
3606 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3607#endif
3608 }
3609 return resultobj;
3610 fail:
3611 return NULL;
3612}
3613
3614
3615static PyObject * GridCellChoiceEditor_swigregister(PyObject *self, PyObject *args) {
3616 PyObject *obj;
3617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3618 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor, obj);
3619 Py_INCREF(obj);
3620 return Py_BuildValue((char *)"");
3621}
3622static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3623 PyObject *resultobj;
3624 wxString const &arg1_defvalue = wxPyEmptyString ;
3625 wxString *arg1 = (wxString *) &arg1_defvalue ;
3626 wxGridCellEnumEditor *result;
423f194a 3627 bool temp1 = False ;
d14a1e28
RD
3628 PyObject * obj0 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "choices", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumEditor",kwnames,&obj0)) goto fail;
3634 if (obj0) {
3635 {
3636 arg1 = wxString_in_helper(obj0);
3637 if (arg1 == NULL) SWIG_fail;
423f194a 3638 temp1 = True;
d14a1e28
RD
3639 }
3640 }
3641 {
3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
3643 result = (wxGridCellEnumEditor *)new wxGridCellEnumEditor((wxString const &)*arg1);
3644
3645 wxPyEndAllowThreads(__tstate);
3646 if (PyErr_Occurred()) SWIG_fail;
3647 }
2f4c0a16 3648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumEditor, 1);
d14a1e28
RD
3649 {
3650 if (temp1)
3651 delete arg1;
3652 }
3653 return resultobj;
3654 fail:
3655 {
3656 if (temp1)
3657 delete arg1;
3658 }
3659 return NULL;
3660}
3661
3662
3663static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3664 PyObject *resultobj;
3665 wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ;
3666 wxString result;
3667 PyObject * obj0 = 0 ;
3668 char *kwnames[] = {
3669 (char *) "self", NULL
3670 };
3671
3672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEnumEditor_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEnumEditor,
3674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3675 {
3676 PyThreadState* __tstate = wxPyBeginAllowThreads();
3677 result = (arg1)->GetValue();
3678
3679 wxPyEndAllowThreads(__tstate);
3680 if (PyErr_Occurred()) SWIG_fail;
3681 }
3682 {
3683#if wxUSE_UNICODE
3684 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3685#else
3686 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3687#endif
3688 }
3689 return resultobj;
3690 fail:
3691 return NULL;
3692}
3693
3694
3695static PyObject * GridCellEnumEditor_swigregister(PyObject *self, PyObject *args) {
3696 PyObject *obj;
3697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3698 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor, obj);
3699 Py_INCREF(obj);
3700 return Py_BuildValue((char *)"");
3701}
3702static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3703 PyObject *resultobj;
3704 wxGridCellAutoWrapStringEditor *result;
3705 char *kwnames[] = {
3706 NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringEditor",kwnames)) goto fail;
3710 {
3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
3712 result = (wxGridCellAutoWrapStringEditor *)new wxGridCellAutoWrapStringEditor();
3713
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
2f4c0a16 3717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringEditor, 1);
d14a1e28
RD
3718 return resultobj;
3719 fail:
3720 return NULL;
3721}
3722
3723
3724static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj;
3726 wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ;
3727 wxString result;
3728 PyObject * obj0 = 0 ;
3729 char *kwnames[] = {
3730 (char *) "self", NULL
3731 };
3732
3733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAutoWrapStringEditor,
3735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3736 {
3737 PyThreadState* __tstate = wxPyBeginAllowThreads();
3738 result = (arg1)->GetValue();
3739
3740 wxPyEndAllowThreads(__tstate);
3741 if (PyErr_Occurred()) SWIG_fail;
3742 }
3743 {
3744#if wxUSE_UNICODE
3745 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3746#else
3747 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3748#endif
3749 }
3750 return resultobj;
3751 fail:
3752 return NULL;
3753}
3754
3755
3756static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *self, PyObject *args) {
3757 PyObject *obj;
3758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3759 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor, obj);
3760 Py_INCREF(obj);
3761 return Py_BuildValue((char *)"");
3762}
3763static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3764 PyObject *resultobj;
3765 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3766 PyObject *arg2 = (PyObject *) 0 ;
3767 PyObject * obj0 = 0 ;
3768 PyObject * obj1 = 0 ;
3769 char *kwnames[] = {
3770 (char *) "self",(char *) "_self", NULL
3771 };
3772
3773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3776 arg2 = obj1;
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 wxGridCellAttr__setOORInfo(arg1,arg2);
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 Py_INCREF(Py_None); resultobj = Py_None;
3785 return resultobj;
3786 fail:
3787 return NULL;
3788}
3789
3790
3791static PyObject *_wrap_new_GridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3792 PyObject *resultobj;
3793 wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ;
3794 wxGridCellAttr *result;
3795 PyObject * obj0 = 0 ;
3796 char *kwnames[] = {
3797 (char *) "attrDefault", NULL
3798 };
3799
3800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellAttr",kwnames,&obj0)) goto fail;
3801 if (obj0) {
2f4c0a16
RD
3802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3804 }
3805 {
3806 PyThreadState* __tstate = wxPyBeginAllowThreads();
3807 result = (wxGridCellAttr *)new wxGridCellAttr(arg1);
3808
3809 wxPyEndAllowThreads(__tstate);
3810 if (PyErr_Occurred()) SWIG_fail;
3811 }
3812 {
3813 resultobj = wxPyMake_wxGridCellAttr(result);
3814 }
3815 return resultobj;
3816 fail:
3817 return NULL;
3818}
3819
3820
3821static PyObject *_wrap_GridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3822 PyObject *resultobj;
3823 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3824 wxGridCellAttr *result;
3825 PyObject * obj0 = 0 ;
3826 char *kwnames[] = {
3827 (char *) "self", NULL
3828 };
3829
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3833 {
3834 PyThreadState* __tstate = wxPyBeginAllowThreads();
3835 result = (wxGridCellAttr *)((wxGridCellAttr const *)arg1)->Clone();
3836
3837 wxPyEndAllowThreads(__tstate);
3838 if (PyErr_Occurred()) SWIG_fail;
3839 }
3840 {
3841 resultobj = wxPyMake_wxGridCellAttr(result);
3842 }
3843 return resultobj;
3844 fail:
3845 return NULL;
3846}
3847
3848
3849static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3850 PyObject *resultobj;
3851 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3852 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
3853 PyObject * obj0 = 0 ;
3854 PyObject * obj1 = 0 ;
3855 char *kwnames[] = {
3856 (char *) "self",(char *) "mergefrom", NULL
3857 };
3858
3859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_MergeWith",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3862 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
3863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3864 {
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
3866 (arg1)->MergeWith(arg2);
3867
3868 wxPyEndAllowThreads(__tstate);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 Py_INCREF(Py_None); resultobj = Py_None;
3872 return resultobj;
3873 fail:
3874 return NULL;
3875}
3876
3877
3878static PyObject *_wrap_GridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3879 PyObject *resultobj;
3880 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3881 PyObject * obj0 = 0 ;
3882 char *kwnames[] = {
3883 (char *) "self", NULL
3884 };
3885
3886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IncRef",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3889 {
3890 PyThreadState* __tstate = wxPyBeginAllowThreads();
3891 (arg1)->IncRef();
3892
3893 wxPyEndAllowThreads(__tstate);
3894 if (PyErr_Occurred()) SWIG_fail;
3895 }
3896 Py_INCREF(Py_None); resultobj = Py_None;
3897 return resultobj;
3898 fail:
3899 return NULL;
3900}
3901
3902
3903static PyObject *_wrap_GridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3904 PyObject *resultobj;
3905 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3906 PyObject * obj0 = 0 ;
3907 char *kwnames[] = {
3908 (char *) "self", NULL
3909 };
3910
3911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_DecRef",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3914 {
3915 PyThreadState* __tstate = wxPyBeginAllowThreads();
3916 (arg1)->DecRef();
3917
3918 wxPyEndAllowThreads(__tstate);
3919 if (PyErr_Occurred()) SWIG_fail;
3920 }
3921 Py_INCREF(Py_None); resultobj = Py_None;
3922 return resultobj;
3923 fail:
3924 return NULL;
3925}
3926
3927
3928static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3929 PyObject *resultobj;
3930 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3931 wxColour *arg2 = 0 ;
3932 wxColour temp2 ;
3933 PyObject * obj0 = 0 ;
3934 PyObject * obj1 = 0 ;
3935 char *kwnames[] = {
3936 (char *) "self",(char *) "colText", NULL
3937 };
3938
3939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3942 {
3943 arg2 = &temp2;
3944 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3945 }
3946 {
3947 PyThreadState* __tstate = wxPyBeginAllowThreads();
3948 (arg1)->SetTextColour((wxColour const &)*arg2);
3949
3950 wxPyEndAllowThreads(__tstate);
3951 if (PyErr_Occurred()) SWIG_fail;
3952 }
3953 Py_INCREF(Py_None); resultobj = Py_None;
3954 return resultobj;
3955 fail:
3956 return NULL;
3957}
3958
3959
3960static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3961 PyObject *resultobj;
3962 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3963 wxColour *arg2 = 0 ;
3964 wxColour temp2 ;
3965 PyObject * obj0 = 0 ;
3966 PyObject * obj1 = 0 ;
3967 char *kwnames[] = {
3968 (char *) "self",(char *) "colBack", NULL
3969 };
3970
3971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3974 {
3975 arg2 = &temp2;
3976 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3977 }
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
3981
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) SWIG_fail;
3984 }
3985 Py_INCREF(Py_None); resultobj = Py_None;
3986 return resultobj;
3987 fail:
3988 return NULL;
3989}
3990
3991
3992static PyObject *_wrap_GridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj;
3994 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3995 wxFont *arg2 = 0 ;
3996 PyObject * obj0 = 0 ;
3997 PyObject * obj1 = 0 ;
3998 char *kwnames[] = {
3999 (char *) "self",(char *) "font", NULL
4000 };
4001
4002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
4006 SWIG_POINTER_EXCEPTION | 0)) == -1)
4007 SWIG_fail;
d14a1e28 4008 if (arg2 == NULL) {
2f4c0a16
RD
4009 PyErr_SetString(PyExc_TypeError,"null reference");
4010 SWIG_fail;
d14a1e28
RD
4011 }
4012 {
4013 PyThreadState* __tstate = wxPyBeginAllowThreads();
4014 (arg1)->SetFont((wxFont const &)*arg2);
4015
4016 wxPyEndAllowThreads(__tstate);
4017 if (PyErr_Occurred()) SWIG_fail;
4018 }
4019 Py_INCREF(Py_None); resultobj = Py_None;
4020 return resultobj;
4021 fail:
4022 return NULL;
4023}
4024
4025
4026static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4027 PyObject *resultobj;
4028 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4029 int arg2 ;
4030 int arg3 ;
4031 PyObject * obj0 = 0 ;
8edf1c75
RD
4032 PyObject * obj1 = 0 ;
4033 PyObject * obj2 = 0 ;
d14a1e28
RD
4034 char *kwnames[] = {
4035 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4036 };
4037
8edf1c75 4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4041 arg2 = (int) SWIG_AsInt(obj1);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 arg3 = (int) SWIG_AsInt(obj2);
4044 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4045 {
4046 PyThreadState* __tstate = wxPyBeginAllowThreads();
4047 (arg1)->SetAlignment(arg2,arg3);
4048
4049 wxPyEndAllowThreads(__tstate);
4050 if (PyErr_Occurred()) SWIG_fail;
4051 }
4052 Py_INCREF(Py_None); resultobj = Py_None;
4053 return resultobj;
4054 fail:
4055 return NULL;
4056}
4057
4058
4059static PyObject *_wrap_GridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4060 PyObject *resultobj;
4061 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4062 int arg2 ;
4063 int arg3 ;
4064 PyObject * obj0 = 0 ;
8edf1c75
RD
4065 PyObject * obj1 = 0 ;
4066 PyObject * obj2 = 0 ;
d14a1e28
RD
4067 char *kwnames[] = {
4068 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4069 };
4070
8edf1c75 4071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4074 arg2 = (int) SWIG_AsInt(obj1);
4075 if (PyErr_Occurred()) SWIG_fail;
4076 arg3 = (int) SWIG_AsInt(obj2);
4077 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4078 {
4079 PyThreadState* __tstate = wxPyBeginAllowThreads();
4080 (arg1)->SetSize(arg2,arg3);
4081
4082 wxPyEndAllowThreads(__tstate);
4083 if (PyErr_Occurred()) SWIG_fail;
4084 }
4085 Py_INCREF(Py_None); resultobj = Py_None;
4086 return resultobj;
4087 fail:
4088 return NULL;
4089}
4090
4091
4092static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4093 PyObject *resultobj;
4094 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
423f194a 4095 bool arg2 = (bool) True ;
d14a1e28
RD
4096 PyObject * obj0 = 0 ;
4097 PyObject * obj1 = 0 ;
4098 char *kwnames[] = {
4099 (char *) "self",(char *) "allow", NULL
4100 };
4101
4102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetOverflow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4105 if (obj1) {
2f4c0a16
RD
4106 arg2 = (bool) SWIG_AsBool(obj1);
4107 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4108 }
4109 {
4110 PyThreadState* __tstate = wxPyBeginAllowThreads();
4111 (arg1)->SetOverflow(arg2);
4112
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 Py_INCREF(Py_None); resultobj = Py_None;
4117 return resultobj;
4118 fail:
4119 return NULL;
4120}
4121
4122
4123static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4124 PyObject *resultobj;
4125 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
423f194a 4126 bool arg2 = (bool) True ;
d14a1e28
RD
4127 PyObject * obj0 = 0 ;
4128 PyObject * obj1 = 0 ;
4129 char *kwnames[] = {
4130 (char *) "self",(char *) "isReadOnly", NULL
4131 };
4132
4133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4136 if (obj1) {
2f4c0a16
RD
4137 arg2 = (bool) SWIG_AsBool(obj1);
4138 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4139 }
4140 {
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 (arg1)->SetReadOnly(arg2);
4143
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 Py_INCREF(Py_None); resultobj = Py_None;
4148 return resultobj;
4149 fail:
4150 return NULL;
4151}
4152
4153
4154static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4155 PyObject *resultobj;
4156 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4157 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
4158 PyObject * obj0 = 0 ;
4159 PyObject * obj1 = 0 ;
4160 char *kwnames[] = {
4161 (char *) "self",(char *) "renderer", NULL
4162 };
4163
4164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetRenderer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4167 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
4168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4169 {
4170 PyThreadState* __tstate = wxPyBeginAllowThreads();
4171 (arg1)->SetRenderer(arg2);
4172
4173 wxPyEndAllowThreads(__tstate);
4174 if (PyErr_Occurred()) SWIG_fail;
4175 }
4176 Py_INCREF(Py_None); resultobj = Py_None;
4177 return resultobj;
4178 fail:
4179 return NULL;
4180}
4181
4182
4183static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4184 PyObject *resultobj;
4185 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4186 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
4187 PyObject * obj0 = 0 ;
4188 PyObject * obj1 = 0 ;
4189 char *kwnames[] = {
4190 (char *) "self",(char *) "editor", NULL
4191 };
4192
4193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetEditor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
4197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4198 {
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 (arg1)->SetEditor(arg2);
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 Py_INCREF(Py_None); resultobj = Py_None;
4206 return resultobj;
4207 fail:
4208 return NULL;
4209}
4210
4211
4212static PyObject *_wrap_GridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
4213 PyObject *resultobj;
4214 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4215 int arg2 ;
4216 PyObject * obj0 = 0 ;
8edf1c75 4217 PyObject * obj1 = 0 ;
d14a1e28
RD
4218 char *kwnames[] = {
4219 (char *) "self",(char *) "kind", NULL
4220 };
4221
8edf1c75 4222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetKind",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4225 arg2 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj1);
4226 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 (arg1)->SetKind((wxGridCellAttr::wxAttrKind )arg2);
4230
4231 wxPyEndAllowThreads(__tstate);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 }
4234 Py_INCREF(Py_None); resultobj = Py_None;
4235 return resultobj;
4236 fail:
4237 return NULL;
4238}
4239
4240
4241static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4242 PyObject *resultobj;
4243 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4244 bool result;
4245 PyObject * obj0 = 0 ;
4246 char *kwnames[] = {
4247 (char *) "self", NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4253 {
4254 PyThreadState* __tstate = wxPyBeginAllowThreads();
4255 result = (bool)((wxGridCellAttr const *)arg1)->HasTextColour();
4256
4257 wxPyEndAllowThreads(__tstate);
4258 if (PyErr_Occurred()) SWIG_fail;
4259 }
4f89f6a3
RD
4260 {
4261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4262 }
d14a1e28
RD
4263 return resultobj;
4264 fail:
4265 return NULL;
4266}
4267
4268
4269static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4270 PyObject *resultobj;
4271 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4272 bool result;
4273 PyObject * obj0 = 0 ;
4274 char *kwnames[] = {
4275 (char *) "self", NULL
4276 };
4277
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4281 {
4282 PyThreadState* __tstate = wxPyBeginAllowThreads();
4283 result = (bool)((wxGridCellAttr const *)arg1)->HasBackgroundColour();
4284
4285 wxPyEndAllowThreads(__tstate);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4f89f6a3
RD
4288 {
4289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4290 }
d14a1e28
RD
4291 return resultobj;
4292 fail:
4293 return NULL;
4294}
4295
4296
4297static PyObject *_wrap_GridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4298 PyObject *resultobj;
4299 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4300 bool result;
4301 PyObject * obj0 = 0 ;
4302 char *kwnames[] = {
4303 (char *) "self", NULL
4304 };
4305
4306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 result = (bool)((wxGridCellAttr const *)arg1)->HasFont();
4312
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
4f89f6a3
RD
4316 {
4317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4318 }
d14a1e28
RD
4319 return resultobj;
4320 fail:
4321 return NULL;
4322}
4323
4324
4325static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4326 PyObject *resultobj;
4327 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4328 bool result;
4329 PyObject * obj0 = 0 ;
4330 char *kwnames[] = {
4331 (char *) "self", NULL
4332 };
4333
4334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasAlignment",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4337 {
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 result = (bool)((wxGridCellAttr const *)arg1)->HasAlignment();
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4f89f6a3
RD
4344 {
4345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4346 }
d14a1e28
RD
4347 return resultobj;
4348 fail:
4349 return NULL;
4350}
4351
4352
4353static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4354 PyObject *resultobj;
4355 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4356 bool result;
4357 PyObject * obj0 = 0 ;
4358 char *kwnames[] = {
4359 (char *) "self", NULL
4360 };
4361
4362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasRenderer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4365 {
4366 PyThreadState* __tstate = wxPyBeginAllowThreads();
4367 result = (bool)((wxGridCellAttr const *)arg1)->HasRenderer();
4368
4369 wxPyEndAllowThreads(__tstate);
4370 if (PyErr_Occurred()) SWIG_fail;
4371 }
4f89f6a3
RD
4372 {
4373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4374 }
d14a1e28
RD
4375 return resultobj;
4376 fail:
4377 return NULL;
4378}
4379
4380
4381static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4382 PyObject *resultobj;
4383 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4384 bool result;
4385 PyObject * obj0 = 0 ;
4386 char *kwnames[] = {
4387 (char *) "self", NULL
4388 };
4389
4390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasEditor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4393 {
4394 PyThreadState* __tstate = wxPyBeginAllowThreads();
4395 result = (bool)((wxGridCellAttr const *)arg1)->HasEditor();
4396
4397 wxPyEndAllowThreads(__tstate);
4398 if (PyErr_Occurred()) SWIG_fail;
4399 }
4f89f6a3
RD
4400 {
4401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4402 }
d14a1e28
RD
4403 return resultobj;
4404 fail:
4405 return NULL;
4406}
4407
4408
4409static PyObject *_wrap_GridCellAttr_HasReadWriteMode(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_HasReadWriteMode",kwnames,&obj0)) goto fail;
2f4c0a16
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)->HasReadWriteMode();
4424
4425 wxPyEndAllowThreads(__tstate);
4426 if (PyErr_Occurred()) SWIG_fail;
4427 }
4f89f6a3
RD
4428 {
4429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4430 }
d14a1e28
RD
4431 return resultobj;
4432 fail:
4433 return NULL;
4434}
4435
4436
4437static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4438 PyObject *resultobj;
4439 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4440 bool result;
4441 PyObject * obj0 = 0 ;
4442 char *kwnames[] = {
4443 (char *) "self", NULL
4444 };
4445
4446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasOverflowMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4449 {
4450 PyThreadState* __tstate = wxPyBeginAllowThreads();
4451 result = (bool)((wxGridCellAttr const *)arg1)->HasOverflowMode();
4452
4453 wxPyEndAllowThreads(__tstate);
4454 if (PyErr_Occurred()) SWIG_fail;
4455 }
4f89f6a3
RD
4456 {
4457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4458 }
d14a1e28
RD
4459 return resultobj;
4460 fail:
4461 return NULL;
4462}
4463
4464
4465static PyObject *_wrap_GridCellAttr_GetTextColour(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_GetTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
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)->GetTextColour();
4480
4481 wxPyEndAllowThreads(__tstate);
4482 if (PyErr_Occurred()) SWIG_fail;
4483 }
4484 {
4485 wxColour * resultptr;
4486 resultptr = new wxColour((wxColour &) result);
2f4c0a16 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_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4496 PyObject *resultobj;
4497 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4498 wxColour result;
4499 PyObject * obj0 = 0 ;
4500 char *kwnames[] = {
4501 (char *) "self", NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
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)->GetBackgroundColour();
4510
4511 wxPyEndAllowThreads(__tstate);
4512 if (PyErr_Occurred()) SWIG_fail;
4513 }
4514 {
4515 wxColour * resultptr;
4516 resultptr = new wxColour((wxColour &) result);
2f4c0a16 4517 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4518 }
4519 return resultobj;
4520 fail:
4521 return NULL;
4522}
4523
4524
4525static PyObject *_wrap_GridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4526 PyObject *resultobj;
4527 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4528 wxFont result;
4529 PyObject * obj0 = 0 ;
4530 char *kwnames[] = {
4531 (char *) "self", NULL
4532 };
4533
4534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 result = ((wxGridCellAttr const *)arg1)->GetFont();
4540
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 {
4545 wxFont * resultptr;
4546 resultptr = new wxFont((wxFont &) result);
2f4c0a16 4547 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
4548 }
4549 return resultobj;
4550 fail:
4551 return NULL;
4552}
4553
4554
4555static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4556 PyObject *resultobj;
4557 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4558 int *arg2 = (int *) 0 ;
4559 int *arg3 = (int *) 0 ;
4560 int temp2 ;
4561 int temp3 ;
4562 PyObject * obj0 = 0 ;
4563 char *kwnames[] = {
4564 (char *) "self", NULL
4565 };
4566
4567 arg2 = &temp2;
4568 arg3 = &temp3;
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetAlignment",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4572 {
4573 PyThreadState* __tstate = wxPyBeginAllowThreads();
4574 ((wxGridCellAttr const *)arg1)->GetAlignment(arg2,arg3);
4575
4576 wxPyEndAllowThreads(__tstate);
4577 if (PyErr_Occurred()) SWIG_fail;
4578 }
4579 Py_INCREF(Py_None); resultobj = Py_None;
4580 {
4581 PyObject *o = PyInt_FromLong((long) (*arg2));
4582 resultobj = t_output_helper(resultobj,o);
4583 }
4584 {
4585 PyObject *o = PyInt_FromLong((long) (*arg3));
4586 resultobj = t_output_helper(resultobj,o);
4587 }
4588 return resultobj;
4589 fail:
4590 return NULL;
4591}
4592
4593
4594static PyObject *_wrap_GridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4595 PyObject *resultobj;
4596 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4597 int *arg2 = (int *) 0 ;
4598 int *arg3 = (int *) 0 ;
4599 int temp2 ;
4600 int temp3 ;
4601 PyObject * obj0 = 0 ;
4602 char *kwnames[] = {
4603 (char *) "self", NULL
4604 };
4605
4606 arg2 = &temp2;
4607 arg3 = &temp3;
4608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4611 {
4612 PyThreadState* __tstate = wxPyBeginAllowThreads();
4613 ((wxGridCellAttr const *)arg1)->GetSize(arg2,arg3);
4614
4615 wxPyEndAllowThreads(__tstate);
4616 if (PyErr_Occurred()) SWIG_fail;
4617 }
4618 Py_INCREF(Py_None); resultobj = Py_None;
4619 {
4620 PyObject *o = PyInt_FromLong((long) (*arg2));
4621 resultobj = t_output_helper(resultobj,o);
4622 }
4623 {
4624 PyObject *o = PyInt_FromLong((long) (*arg3));
4625 resultobj = t_output_helper(resultobj,o);
4626 }
4627 return resultobj;
4628 fail:
4629 return NULL;
4630}
4631
4632
4633static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4634 PyObject *resultobj;
4635 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4636 bool result;
4637 PyObject * obj0 = 0 ;
4638 char *kwnames[] = {
4639 (char *) "self", NULL
4640 };
4641
4642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetOverflow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4645 {
4646 PyThreadState* __tstate = wxPyBeginAllowThreads();
4647 result = (bool)((wxGridCellAttr const *)arg1)->GetOverflow();
4648
4649 wxPyEndAllowThreads(__tstate);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 }
4f89f6a3
RD
4652 {
4653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4654 }
d14a1e28
RD
4655 return resultobj;
4656 fail:
4657 return NULL;
4658}
4659
4660
4661static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4662 PyObject *resultobj;
4663 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4664 wxGrid *arg2 = (wxGrid *) 0 ;
4665 int arg3 ;
4666 int arg4 ;
4667 wxGridCellRenderer *result;
4668 PyObject * obj0 = 0 ;
4669 PyObject * obj1 = 0 ;
8edf1c75
RD
4670 PyObject * obj2 = 0 ;
4671 PyObject * obj3 = 0 ;
d14a1e28
RD
4672 char *kwnames[] = {
4673 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4674 };
4675
8edf1c75 4676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
4677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4681 arg3 = (int) SWIG_AsInt(obj2);
4682 if (PyErr_Occurred()) SWIG_fail;
4683 arg4 = (int) SWIG_AsInt(obj3);
4684 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4685 {
4686 PyThreadState* __tstate = wxPyBeginAllowThreads();
4687 result = (wxGridCellRenderer *)((wxGridCellAttr const *)arg1)->GetRenderer(arg2,arg3,arg4);
4688
4689 wxPyEndAllowThreads(__tstate);
4690 if (PyErr_Occurred()) SWIG_fail;
4691 }
4692 {
4693 resultobj = wxPyMake_wxGridCellRenderer(result);
4694 }
4695 return resultobj;
4696 fail:
4697 return NULL;
4698}
4699
4700
4701static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4702 PyObject *resultobj;
4703 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4704 wxGrid *arg2 = (wxGrid *) 0 ;
4705 int arg3 ;
4706 int arg4 ;
4707 wxGridCellEditor *result;
4708 PyObject * obj0 = 0 ;
4709 PyObject * obj1 = 0 ;
8edf1c75
RD
4710 PyObject * obj2 = 0 ;
4711 PyObject * obj3 = 0 ;
d14a1e28
RD
4712 char *kwnames[] = {
4713 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4714 };
4715
8edf1c75 4716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
4717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4721 arg3 = (int) SWIG_AsInt(obj2);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 arg4 = (int) SWIG_AsInt(obj3);
4724 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4725 {
4726 PyThreadState* __tstate = wxPyBeginAllowThreads();
4727 result = (wxGridCellEditor *)((wxGridCellAttr const *)arg1)->GetEditor(arg2,arg3,arg4);
4728
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 {
4733 resultobj = wxPyMake_wxGridCellEditor(result);
4734 }
4735 return resultobj;
4736 fail:
4737 return NULL;
4738}
4739
4740
4741static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4742 PyObject *resultobj;
4743 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4744 bool result;
4745 PyObject * obj0 = 0 ;
4746 char *kwnames[] = {
4747 (char *) "self", NULL
4748 };
4749
4750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IsReadOnly",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4753 {
4754 PyThreadState* __tstate = wxPyBeginAllowThreads();
4755 result = (bool)((wxGridCellAttr const *)arg1)->IsReadOnly();
4756
4757 wxPyEndAllowThreads(__tstate);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4f89f6a3
RD
4760 {
4761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4762 }
d14a1e28
RD
4763 return resultobj;
4764 fail:
4765 return NULL;
4766}
4767
4768
4769static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4770 PyObject *resultobj;
4771 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4772 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4773 PyObject * obj0 = 0 ;
4774 PyObject * obj1 = 0 ;
4775 char *kwnames[] = {
4776 (char *) "self",(char *) "defAttr", NULL
4777 };
4778
4779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetDefAttr",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4782 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4784 {
4785 PyThreadState* __tstate = wxPyBeginAllowThreads();
4786 (arg1)->SetDefAttr(arg2);
4787
4788 wxPyEndAllowThreads(__tstate);
4789 if (PyErr_Occurred()) SWIG_fail;
4790 }
4791 Py_INCREF(Py_None); resultobj = Py_None;
4792 return resultobj;
4793 fail:
4794 return NULL;
4795}
4796
4797
4798static PyObject * GridCellAttr_swigregister(PyObject *self, PyObject *args) {
4799 PyObject *obj;
4800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4801 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr, obj);
4802 Py_INCREF(obj);
4803 return Py_BuildValue((char *)"");
4804}
4805static PyObject *_wrap_new_GridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4806 PyObject *resultobj;
4807 wxGridCellAttrProvider *result;
4808 char *kwnames[] = {
4809 NULL
4810 };
4811
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAttrProvider",kwnames)) goto fail;
4813 {
4814 PyThreadState* __tstate = wxPyBeginAllowThreads();
4815 result = (wxGridCellAttrProvider *)new wxGridCellAttrProvider();
4816
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 {
4821 resultobj = wxPyMake_wxGridCellAttrProvider(result);
4822 }
4823 return resultobj;
4824 fail:
4825 return NULL;
4826}
4827
4828
4829static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4830 PyObject *resultobj;
4831 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4832 PyObject *arg2 = (PyObject *) 0 ;
4833 PyObject * obj0 = 0 ;
4834 PyObject * obj1 = 0 ;
4835 char *kwnames[] = {
4836 (char *) "self",(char *) "_self", NULL
4837 };
4838
4839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4842 arg2 = obj1;
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 wxGridCellAttrProvider__setOORInfo(arg1,arg2);
4846
4847 wxPyEndAllowThreads(__tstate);
4848 if (PyErr_Occurred()) SWIG_fail;
4849 }
4850 Py_INCREF(Py_None); resultobj = Py_None;
4851 return resultobj;
4852 fail:
4853 return NULL;
4854}
4855
4856
4857static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4858 PyObject *resultobj;
4859 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4860 int arg2 ;
4861 int arg3 ;
4862 int arg4 ;
4863 wxGridCellAttr *result;
4864 PyObject * obj0 = 0 ;
8edf1c75
RD
4865 PyObject * obj1 = 0 ;
4866 PyObject * obj2 = 0 ;
4867 PyObject * obj3 = 0 ;
d14a1e28
RD
4868 char *kwnames[] = {
4869 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4870 };
4871
8edf1c75 4872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
4873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4875 arg2 = (int) SWIG_AsInt(obj1);
4876 if (PyErr_Occurred()) SWIG_fail;
4877 arg3 = (int) SWIG_AsInt(obj2);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
4880 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4881 {
4882 PyThreadState* __tstate = wxPyBeginAllowThreads();
4883 result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
4884
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 {
4889 resultobj = wxPyMake_wxGridCellAttr(result);
4890 }
4891 return resultobj;
4892 fail:
4893 return NULL;
4894}
4895
4896
4897static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4898 PyObject *resultobj;
4899 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4900 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4901 int arg3 ;
4902 int arg4 ;
4903 PyObject * obj0 = 0 ;
4904 PyObject * obj1 = 0 ;
8edf1c75
RD
4905 PyObject * obj2 = 0 ;
4906 PyObject * obj3 = 0 ;
d14a1e28
RD
4907 char *kwnames[] = {
4908 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4909 };
4910
8edf1c75 4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
4912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4916 arg3 = (int) SWIG_AsInt(obj2);
4917 if (PyErr_Occurred()) SWIG_fail;
4918 arg4 = (int) SWIG_AsInt(obj3);
4919 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4920 {
4921 PyThreadState* __tstate = wxPyBeginAllowThreads();
4922 (arg1)->SetAttr(arg2,arg3,arg4);
4923
4924 wxPyEndAllowThreads(__tstate);
4925 if (PyErr_Occurred()) SWIG_fail;
4926 }
4927 Py_INCREF(Py_None); resultobj = Py_None;
4928 return resultobj;
4929 fail:
4930 return NULL;
4931}
4932
4933
4934static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4935 PyObject *resultobj;
4936 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4937 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4938 int arg3 ;
4939 PyObject * obj0 = 0 ;
4940 PyObject * obj1 = 0 ;
8edf1c75 4941 PyObject * obj2 = 0 ;
d14a1e28
RD
4942 char *kwnames[] = {
4943 (char *) "self",(char *) "attr",(char *) "row", NULL
4944 };
4945
8edf1c75 4946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4951 arg3 = (int) SWIG_AsInt(obj2);
4952 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4953 {
4954 PyThreadState* __tstate = wxPyBeginAllowThreads();
4955 (arg1)->SetRowAttr(arg2,arg3);
4956
4957 wxPyEndAllowThreads(__tstate);
4958 if (PyErr_Occurred()) SWIG_fail;
4959 }
4960 Py_INCREF(Py_None); resultobj = Py_None;
4961 return resultobj;
4962 fail:
4963 return NULL;
4964}
4965
4966
4967static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4968 PyObject *resultobj;
4969 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4970 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4971 int arg3 ;
4972 PyObject * obj0 = 0 ;
4973 PyObject * obj1 = 0 ;
8edf1c75 4974 PyObject * obj2 = 0 ;
d14a1e28
RD
4975 char *kwnames[] = {
4976 (char *) "self",(char *) "attr",(char *) "col", NULL
4977 };
4978
8edf1c75 4979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4982 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4984 arg3 = (int) SWIG_AsInt(obj2);
4985 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 (arg1)->SetColAttr(arg2,arg3);
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 Py_INCREF(Py_None); resultobj = Py_None;
4994 return resultobj;
4995 fail:
4996 return NULL;
4997}
4998
4999
5000static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5001 PyObject *resultobj;
5002 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5003 size_t arg2 ;
5004 int arg3 ;
5005 PyObject * obj0 = 0 ;
5006 PyObject * obj1 = 0 ;
8edf1c75 5007 PyObject * obj2 = 0 ;
d14a1e28
RD
5008 char *kwnames[] = {
5009 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5010 };
5011
8edf1c75 5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5015 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 arg3 = (int) SWIG_AsInt(obj2);
5018 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5019 {
5020 PyThreadState* __tstate = wxPyBeginAllowThreads();
5021 (arg1)->UpdateAttrRows(arg2,arg3);
5022
5023 wxPyEndAllowThreads(__tstate);
5024 if (PyErr_Occurred()) SWIG_fail;
5025 }
5026 Py_INCREF(Py_None); resultobj = Py_None;
5027 return resultobj;
5028 fail:
5029 return NULL;
5030}
5031
5032
5033static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5034 PyObject *resultobj;
5035 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5036 size_t arg2 ;
5037 int arg3 ;
5038 PyObject * obj0 = 0 ;
5039 PyObject * obj1 = 0 ;
8edf1c75 5040 PyObject * obj2 = 0 ;
d14a1e28
RD
5041 char *kwnames[] = {
5042 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5043 };
5044
8edf1c75 5045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5048 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5049 if (PyErr_Occurred()) SWIG_fail;
5050 arg3 = (int) SWIG_AsInt(obj2);
5051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5052 {
5053 PyThreadState* __tstate = wxPyBeginAllowThreads();
5054 (arg1)->UpdateAttrCols(arg2,arg3);
5055
5056 wxPyEndAllowThreads(__tstate);
5057 if (PyErr_Occurred()) SWIG_fail;
5058 }
5059 Py_INCREF(Py_None); resultobj = Py_None;
5060 return resultobj;
5061 fail:
5062 return NULL;
5063}
5064
5065
5066static PyObject * GridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
5067 PyObject *obj;
5068 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5069 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider, obj);
5070 Py_INCREF(obj);
5071 return Py_BuildValue((char *)"");
5072}
5073static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5074 PyObject *resultobj;
5075 wxPyGridCellAttrProvider *result;
5076 char *kwnames[] = {
5077 NULL
5078 };
5079
5080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellAttrProvider",kwnames)) goto fail;
5081 {
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 result = (wxPyGridCellAttrProvider *)new wxPyGridCellAttrProvider();
5084
5085 wxPyEndAllowThreads(__tstate);
5086 if (PyErr_Occurred()) SWIG_fail;
5087 }
2f4c0a16 5088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellAttrProvider, 1);
d14a1e28
RD
5089 return resultobj;
5090 fail:
5091 return NULL;
5092}
5093
5094
5095static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5096 PyObject *resultobj;
5097 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5098 PyObject *arg2 = (PyObject *) 0 ;
5099 PyObject *arg3 = (PyObject *) 0 ;
5100 PyObject * obj0 = 0 ;
5101 PyObject * obj1 = 0 ;
5102 PyObject * obj2 = 0 ;
5103 char *kwnames[] = {
5104 (char *) "self",(char *) "self",(char *) "_class", NULL
5105 };
5106
5107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5110 arg2 = obj1;
5111 arg3 = obj2;
5112 {
5113 PyThreadState* __tstate = wxPyBeginAllowThreads();
5114 (arg1)->_setCallbackInfo(arg2,arg3);
5115
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 Py_INCREF(Py_None); resultobj = Py_None;
5120 return resultobj;
5121 fail:
5122 return NULL;
5123}
5124
5125
5126static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj;
5128 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5129 int arg2 ;
5130 int arg3 ;
5131 int arg4 ;
5132 wxGridCellAttr *result;
5133 PyObject * obj0 = 0 ;
8edf1c75
RD
5134 PyObject * obj1 = 0 ;
5135 PyObject * obj2 = 0 ;
5136 PyObject * obj3 = 0 ;
d14a1e28
RD
5137 char *kwnames[] = {
5138 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5139 };
5140
8edf1c75 5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5144 arg2 = (int) SWIG_AsInt(obj1);
5145 if (PyErr_Occurred()) SWIG_fail;
5146 arg3 = (int) SWIG_AsInt(obj2);
5147 if (PyErr_Occurred()) SWIG_fail;
5148 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
5149 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
5153
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 {
5158 resultobj = wxPyMake_wxGridCellAttr(result);
5159 }
5160 return resultobj;
5161 fail:
5162 return NULL;
5163}
5164
5165
5166static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5167 PyObject *resultobj;
5168 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5169 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5170 int arg3 ;
5171 int arg4 ;
5172 PyObject * obj0 = 0 ;
5173 PyObject * obj1 = 0 ;
8edf1c75
RD
5174 PyObject * obj2 = 0 ;
5175 PyObject * obj3 = 0 ;
d14a1e28
RD
5176 char *kwnames[] = {
5177 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5178 };
5179
8edf1c75 5180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5183 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5185 arg3 = (int) SWIG_AsInt(obj2);
5186 if (PyErr_Occurred()) SWIG_fail;
5187 arg4 = (int) SWIG_AsInt(obj3);
5188 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5189 {
5190 PyThreadState* __tstate = wxPyBeginAllowThreads();
5191 (arg1)->base_SetAttr(arg2,arg3,arg4);
5192
5193 wxPyEndAllowThreads(__tstate);
5194 if (PyErr_Occurred()) SWIG_fail;
5195 }
5196 Py_INCREF(Py_None); resultobj = Py_None;
5197 return resultobj;
5198 fail:
5199 return NULL;
5200}
5201
5202
5203static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5204 PyObject *resultobj;
5205 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5206 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5207 int arg3 ;
5208 PyObject * obj0 = 0 ;
5209 PyObject * obj1 = 0 ;
8edf1c75 5210 PyObject * obj2 = 0 ;
d14a1e28
RD
5211 char *kwnames[] = {
5212 (char *) "self",(char *) "attr",(char *) "row", NULL
5213 };
5214
8edf1c75 5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5220 arg3 = (int) SWIG_AsInt(obj2);
5221 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 (arg1)->base_SetRowAttr(arg2,arg3);
5225
5226 wxPyEndAllowThreads(__tstate);
5227 if (PyErr_Occurred()) SWIG_fail;
5228 }
5229 Py_INCREF(Py_None); resultobj = Py_None;
5230 return resultobj;
5231 fail:
5232 return NULL;
5233}
5234
5235
5236static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5237 PyObject *resultobj;
5238 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5239 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5240 int arg3 ;
5241 PyObject * obj0 = 0 ;
5242 PyObject * obj1 = 0 ;
8edf1c75 5243 PyObject * obj2 = 0 ;
d14a1e28
RD
5244 char *kwnames[] = {
5245 (char *) "self",(char *) "attr",(char *) "col", NULL
5246 };
5247
8edf1c75 5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5251 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5253 arg3 = (int) SWIG_AsInt(obj2);
5254 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5255 {
5256 PyThreadState* __tstate = wxPyBeginAllowThreads();
5257 (arg1)->base_SetColAttr(arg2,arg3);
5258
5259 wxPyEndAllowThreads(__tstate);
5260 if (PyErr_Occurred()) SWIG_fail;
5261 }
5262 Py_INCREF(Py_None); resultobj = Py_None;
5263 return resultobj;
5264 fail:
5265 return NULL;
5266}
5267
5268
5269static PyObject * PyGridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
5270 PyObject *obj;
5271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5272 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider, obj);
5273 Py_INCREF(obj);
5274 return Py_BuildValue((char *)"");
5275}
5276static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5277 PyObject *resultobj;
5278 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5279 PyObject *arg2 = (PyObject *) 0 ;
5280 PyObject * obj0 = 0 ;
5281 PyObject * obj1 = 0 ;
5282 char *kwnames[] = {
5283 (char *) "self",(char *) "_self", NULL
5284 };
5285
5286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5289 arg2 = obj1;
5290 {
5291 PyThreadState* __tstate = wxPyBeginAllowThreads();
5292 wxGridTableBase__setOORInfo(arg1,arg2);
5293
5294 wxPyEndAllowThreads(__tstate);
5295 if (PyErr_Occurred()) SWIG_fail;
5296 }
5297 Py_INCREF(Py_None); resultobj = Py_None;
5298 return resultobj;
5299 fail:
5300 return NULL;
5301}
5302
5303
5304static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5305 PyObject *resultobj;
5306 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5307 wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ;
5308 PyObject * obj0 = 0 ;
5309 PyObject * obj1 = 0 ;
5310 char *kwnames[] = {
5311 (char *) "self",(char *) "attrProvider", NULL
5312 };
5313
5314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetAttrProvider",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttrProvider,
5318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5319 {
5320 PyThreadState* __tstate = wxPyBeginAllowThreads();
5321 (arg1)->SetAttrProvider(arg2);
5322
5323 wxPyEndAllowThreads(__tstate);
5324 if (PyErr_Occurred()) SWIG_fail;
5325 }
5326 Py_INCREF(Py_None); resultobj = Py_None;
5327 return resultobj;
5328 fail:
5329 return NULL;
5330}
5331
5332
5333static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5334 PyObject *resultobj;
5335 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5336 wxGridCellAttrProvider *result;
5337 PyObject * obj0 = 0 ;
5338 char *kwnames[] = {
5339 (char *) "self", NULL
5340 };
5341
5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetAttrProvider",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5345 {
5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
5347 result = (wxGridCellAttrProvider *)((wxGridTableBase const *)arg1)->GetAttrProvider();
5348
5349 wxPyEndAllowThreads(__tstate);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 {
5353 resultobj = wxPyMake_wxGridCellAttrProvider(result);
5354 }
5355 return resultobj;
5356 fail:
5357 return NULL;
5358}
5359
5360
5361static PyObject *_wrap_GridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5362 PyObject *resultobj;
5363 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5364 wxGrid *arg2 = (wxGrid *) 0 ;
5365 PyObject * obj0 = 0 ;
5366 PyObject * obj1 = 0 ;
5367 char *kwnames[] = {
5368 (char *) "self",(char *) "grid", NULL
5369 };
5370
5371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetView",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5374 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
5375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 (arg1)->SetView(arg2);
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 Py_INCREF(Py_None); resultobj = Py_None;
5384 return resultobj;
5385 fail:
5386 return NULL;
5387}
5388
5389
5390static PyObject *_wrap_GridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5391 PyObject *resultobj;
5392 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5393 wxGrid *result;
5394 PyObject * obj0 = 0 ;
5395 char *kwnames[] = {
5396 (char *) "self", NULL
5397 };
5398
5399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetView",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 result = (wxGrid *)((wxGridTableBase const *)arg1)->GetView();
5405
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 {
5410 resultobj = wxPyMake_wxObject(result);
5411 }
5412 return resultobj;
5413 fail:
5414 return NULL;
5415}
5416
5417
5418static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj;
5420 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5421 int result;
5422 PyObject * obj0 = 0 ;
5423 char *kwnames[] = {
5424 (char *) "self", NULL
5425 };
5426
5427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberRows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5430 {
5431 PyThreadState* __tstate = wxPyBeginAllowThreads();
5432 result = (int)(arg1)->GetNumberRows();
5433
5434 wxPyEndAllowThreads(__tstate);
5435 if (PyErr_Occurred()) SWIG_fail;
5436 }
2f4c0a16 5437 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5438 return resultobj;
5439 fail:
5440 return NULL;
5441}
5442
5443
5444static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5445 PyObject *resultobj;
5446 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5447 int result;
5448 PyObject * obj0 = 0 ;
5449 char *kwnames[] = {
5450 (char *) "self", NULL
5451 };
5452
5453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberCols",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5456 {
5457 PyThreadState* __tstate = wxPyBeginAllowThreads();
5458 result = (int)(arg1)->GetNumberCols();
5459
5460 wxPyEndAllowThreads(__tstate);
5461 if (PyErr_Occurred()) SWIG_fail;
5462 }
2f4c0a16 5463 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5464 return resultobj;
5465 fail:
5466 return NULL;
5467}
5468
5469
5470static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5471 PyObject *resultobj;
5472 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5473 int arg2 ;
5474 int arg3 ;
5475 bool result;
5476 PyObject * obj0 = 0 ;
8edf1c75
RD
5477 PyObject * obj1 = 0 ;
5478 PyObject * obj2 = 0 ;
d14a1e28
RD
5479 char *kwnames[] = {
5480 (char *) "self",(char *) "row",(char *) "col", NULL
5481 };
5482
8edf1c75 5483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
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 = (bool)(arg1)->IsEmptyCell(arg2,arg3);
5493
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
4f89f6a3
RD
5497 {
5498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5499 }
d14a1e28
RD
5500 return resultobj;
5501 fail:
5502 return NULL;
5503}
5504
5505
5506static PyObject *_wrap_GridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5507 PyObject *resultobj;
5508 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5509 int arg2 ;
5510 int arg3 ;
5511 wxString result;
5512 PyObject * obj0 = 0 ;
8edf1c75
RD
5513 PyObject * obj1 = 0 ;
5514 PyObject * obj2 = 0 ;
d14a1e28
RD
5515 char *kwnames[] = {
5516 (char *) "self",(char *) "row",(char *) "col", NULL
5517 };
5518
8edf1c75 5519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5522 arg2 = (int) SWIG_AsInt(obj1);
5523 if (PyErr_Occurred()) SWIG_fail;
5524 arg3 = (int) SWIG_AsInt(obj2);
5525 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 result = (arg1)->GetValue(arg2,arg3);
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 {
5534#if wxUSE_UNICODE
5535 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5536#else
5537 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5538#endif
5539 }
5540 return resultobj;
5541 fail:
5542 return NULL;
5543}
5544
5545
5546static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5547 PyObject *resultobj;
5548 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5549 int arg2 ;
5550 int arg3 ;
5551 wxString *arg4 = 0 ;
423f194a 5552 bool temp4 = False ;
d14a1e28 5553 PyObject * obj0 = 0 ;
8edf1c75
RD
5554 PyObject * obj1 = 0 ;
5555 PyObject * obj2 = 0 ;
d14a1e28
RD
5556 PyObject * obj3 = 0 ;
5557 char *kwnames[] = {
5558 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5559 };
5560
8edf1c75 5561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5564 arg2 = (int) SWIG_AsInt(obj1);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 arg3 = (int) SWIG_AsInt(obj2);
5567 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5568 {
5569 arg4 = wxString_in_helper(obj3);
5570 if (arg4 == NULL) SWIG_fail;
423f194a 5571 temp4 = True;
d14a1e28
RD
5572 }
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 (arg1)->SetValue(arg2,arg3,(wxString const &)*arg4);
5576
5577 wxPyEndAllowThreads(__tstate);
5578 if (PyErr_Occurred()) SWIG_fail;
5579 }
5580 Py_INCREF(Py_None); resultobj = Py_None;
5581 {
5582 if (temp4)
5583 delete arg4;
5584 }
5585 return resultobj;
5586 fail:
5587 {
5588 if (temp4)
5589 delete arg4;
5590 }
5591 return NULL;
5592}
5593
5594
5595static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5596 PyObject *resultobj;
5597 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5598 int arg2 ;
5599 int arg3 ;
5600 wxString result;
5601 PyObject * obj0 = 0 ;
8edf1c75
RD
5602 PyObject * obj1 = 0 ;
5603 PyObject * obj2 = 0 ;
d14a1e28
RD
5604 char *kwnames[] = {
5605 (char *) "self",(char *) "row",(char *) "col", NULL
5606 };
5607
8edf1c75 5608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5611 arg2 = (int) SWIG_AsInt(obj1);
5612 if (PyErr_Occurred()) SWIG_fail;
5613 arg3 = (int) SWIG_AsInt(obj2);
5614 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5615 {
5616 PyThreadState* __tstate = wxPyBeginAllowThreads();
5617 result = (arg1)->GetTypeName(arg2,arg3);
5618
5619 wxPyEndAllowThreads(__tstate);
5620 if (PyErr_Occurred()) SWIG_fail;
5621 }
5622 {
5623#if wxUSE_UNICODE
5624 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5625#else
5626 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5627#endif
5628 }
5629 return resultobj;
5630 fail:
5631 return NULL;
5632}
5633
5634
5635static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj;
5637 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5638 int arg2 ;
5639 int arg3 ;
5640 wxString *arg4 = 0 ;
5641 bool result;
423f194a 5642 bool temp4 = False ;
d14a1e28 5643 PyObject * obj0 = 0 ;
8edf1c75
RD
5644 PyObject * obj1 = 0 ;
5645 PyObject * obj2 = 0 ;
d14a1e28
RD
5646 PyObject * obj3 = 0 ;
5647 char *kwnames[] = {
5648 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5649 };
5650
8edf1c75 5651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5654 arg2 = (int) SWIG_AsInt(obj1);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 arg3 = (int) SWIG_AsInt(obj2);
5657 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5658 {
5659 arg4 = wxString_in_helper(obj3);
5660 if (arg4 == NULL) SWIG_fail;
423f194a 5661 temp4 = True;
d14a1e28
RD
5662 }
5663 {
5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
5665 result = (bool)(arg1)->CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
5666
5667 wxPyEndAllowThreads(__tstate);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 }
4f89f6a3
RD
5670 {
5671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5672 }
d14a1e28
RD
5673 {
5674 if (temp4)
5675 delete arg4;
5676 }
5677 return resultobj;
5678 fail:
5679 {
5680 if (temp4)
5681 delete arg4;
5682 }
5683 return NULL;
5684}
5685
5686
5687static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5690 int arg2 ;
5691 int arg3 ;
5692 wxString *arg4 = 0 ;
5693 bool result;
423f194a 5694 bool temp4 = False ;
d14a1e28 5695 PyObject * obj0 = 0 ;
8edf1c75
RD
5696 PyObject * obj1 = 0 ;
5697 PyObject * obj2 = 0 ;
d14a1e28
RD
5698 PyObject * obj3 = 0 ;
5699 char *kwnames[] = {
5700 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5701 };
5702
8edf1c75 5703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5706 arg2 = (int) SWIG_AsInt(obj1);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 arg3 = (int) SWIG_AsInt(obj2);
5709 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5710 {
5711 arg4 = wxString_in_helper(obj3);
5712 if (arg4 == NULL) SWIG_fail;
423f194a 5713 temp4 = True;
d14a1e28
RD
5714 }
5715 {
5716 PyThreadState* __tstate = wxPyBeginAllowThreads();
5717 result = (bool)(arg1)->CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
5718
5719 wxPyEndAllowThreads(__tstate);
5720 if (PyErr_Occurred()) SWIG_fail;
5721 }
4f89f6a3
RD
5722 {
5723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5724 }
d14a1e28
RD
5725 {
5726 if (temp4)
5727 delete arg4;
5728 }
5729 return resultobj;
5730 fail:
5731 {
5732 if (temp4)
5733 delete arg4;
5734 }
5735 return NULL;
5736}
5737
5738
5739static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5740 PyObject *resultobj;
5741 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5742 int arg2 ;
5743 int arg3 ;
5744 long result;
5745 PyObject * obj0 = 0 ;
8edf1c75
RD
5746 PyObject * obj1 = 0 ;
5747 PyObject * obj2 = 0 ;
d14a1e28
RD
5748 char *kwnames[] = {
5749 (char *) "self",(char *) "row",(char *) "col", NULL
5750 };
5751
8edf1c75 5752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5755 arg2 = (int) SWIG_AsInt(obj1);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 arg3 = (int) SWIG_AsInt(obj2);
5758 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5759 {
5760 PyThreadState* __tstate = wxPyBeginAllowThreads();
5761 result = (long)(arg1)->GetValueAsLong(arg2,arg3);
5762
5763 wxPyEndAllowThreads(__tstate);
5764 if (PyErr_Occurred()) SWIG_fail;
5765 }
2f4c0a16 5766 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
5767 return resultobj;
5768 fail:
5769 return NULL;
5770}
5771
5772
5773static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5774 PyObject *resultobj;
5775 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5776 int arg2 ;
5777 int arg3 ;
5778 double result;
5779 PyObject * obj0 = 0 ;
8edf1c75
RD
5780 PyObject * obj1 = 0 ;
5781 PyObject * obj2 = 0 ;
d14a1e28
RD
5782 char *kwnames[] = {
5783 (char *) "self",(char *) "row",(char *) "col", NULL
5784 };
5785
8edf1c75 5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5789 arg2 = (int) SWIG_AsInt(obj1);
5790 if (PyErr_Occurred()) SWIG_fail;
5791 arg3 = (int) SWIG_AsInt(obj2);
5792 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5793 {
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 result = (double)(arg1)->GetValueAsDouble(arg2,arg3);
5796
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
2f4c0a16 5800 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5801 return resultobj;
5802 fail:
5803 return NULL;
5804}
5805
5806
5807static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5808 PyObject *resultobj;
5809 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5810 int arg2 ;
5811 int arg3 ;
5812 bool result;
5813 PyObject * obj0 = 0 ;
8edf1c75
RD
5814 PyObject * obj1 = 0 ;
5815 PyObject * obj2 = 0 ;
d14a1e28
RD
5816 char *kwnames[] = {
5817 (char *) "self",(char *) "row",(char *) "col", NULL
5818 };
5819
8edf1c75 5820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5823 arg2 = (int) SWIG_AsInt(obj1);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 arg3 = (int) SWIG_AsInt(obj2);
5826 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5827 {
5828 PyThreadState* __tstate = wxPyBeginAllowThreads();
5829 result = (bool)(arg1)->GetValueAsBool(arg2,arg3);
5830
5831 wxPyEndAllowThreads(__tstate);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 }
4f89f6a3
RD
5834 {
5835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5836 }
d14a1e28
RD
5837 return resultobj;
5838 fail:
5839 return NULL;
5840}
5841
5842
5843static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5844 PyObject *resultobj;
5845 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5846 int arg2 ;
5847 int arg3 ;
5848 long arg4 ;
5849 PyObject * obj0 = 0 ;
8edf1c75
RD
5850 PyObject * obj1 = 0 ;
5851 PyObject * obj2 = 0 ;
5852 PyObject * obj3 = 0 ;
d14a1e28
RD
5853 char *kwnames[] = {
5854 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5855 };
5856
8edf1c75 5857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5860 arg2 = (int) SWIG_AsInt(obj1);
5861 if (PyErr_Occurred()) SWIG_fail;
5862 arg3 = (int) SWIG_AsInt(obj2);
5863 if (PyErr_Occurred()) SWIG_fail;
5864 arg4 = (long) SWIG_AsLong(obj3);
5865 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5866 {
5867 PyThreadState* __tstate = wxPyBeginAllowThreads();
5868 (arg1)->SetValueAsLong(arg2,arg3,arg4);
5869
5870 wxPyEndAllowThreads(__tstate);
5871 if (PyErr_Occurred()) SWIG_fail;
5872 }
5873 Py_INCREF(Py_None); resultobj = Py_None;
5874 return resultobj;
5875 fail:
5876 return NULL;
5877}
5878
5879
5880static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5881 PyObject *resultobj;
5882 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5883 int arg2 ;
5884 int arg3 ;
5885 double arg4 ;
5886 PyObject * obj0 = 0 ;
8edf1c75
RD
5887 PyObject * obj1 = 0 ;
5888 PyObject * obj2 = 0 ;
5889 PyObject * obj3 = 0 ;
d14a1e28
RD
5890 char *kwnames[] = {
5891 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5892 };
5893
8edf1c75 5894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5897 arg2 = (int) SWIG_AsInt(obj1);
5898 if (PyErr_Occurred()) SWIG_fail;
5899 arg3 = (int) SWIG_AsInt(obj2);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 arg4 = (double) SWIG_AsDouble(obj3);
5902 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5903 {
5904 PyThreadState* __tstate = wxPyBeginAllowThreads();
5905 (arg1)->SetValueAsDouble(arg2,arg3,arg4);
5906
5907 wxPyEndAllowThreads(__tstate);
5908 if (PyErr_Occurred()) SWIG_fail;
5909 }
5910 Py_INCREF(Py_None); resultobj = Py_None;
5911 return resultobj;
5912 fail:
5913 return NULL;
5914}
5915
5916
5917static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5918 PyObject *resultobj;
5919 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5920 int arg2 ;
5921 int arg3 ;
5922 bool arg4 ;
5923 PyObject * obj0 = 0 ;
8edf1c75
RD
5924 PyObject * obj1 = 0 ;
5925 PyObject * obj2 = 0 ;
d14a1e28
RD
5926 PyObject * obj3 = 0 ;
5927 char *kwnames[] = {
5928 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5929 };
5930
8edf1c75 5931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5934 arg2 = (int) SWIG_AsInt(obj1);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 arg3 = (int) SWIG_AsInt(obj2);
5937 if (PyErr_Occurred()) SWIG_fail;
5938 arg4 = (bool) SWIG_AsBool(obj3);
5939 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 (arg1)->SetValueAsBool(arg2,arg3,arg4);
5943
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 Py_INCREF(Py_None); resultobj = Py_None;
5948 return resultobj;
5949 fail:
5950 return NULL;
5951}
5952
5953
5954static PyObject *_wrap_GridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5955 PyObject *resultobj;
5956 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5957 PyObject * obj0 = 0 ;
5958 char *kwnames[] = {
5959 (char *) "self", NULL
5960 };
5961
5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 (arg1)->Clear();
5968
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 Py_INCREF(Py_None); resultobj = Py_None;
5973 return resultobj;
5974 fail:
5975 return NULL;
5976}
5977
5978
5979static PyObject *_wrap_GridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5980 PyObject *resultobj;
5981 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5982 size_t arg2 = (size_t) 0 ;
5983 size_t arg3 = (size_t) 1 ;
5984 bool result;
5985 PyObject * obj0 = 0 ;
5986 PyObject * obj1 = 0 ;
5987 PyObject * obj2 = 0 ;
5988 char *kwnames[] = {
5989 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5990 };
5991
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 5995 if (obj1) {
2f4c0a16
RD
5996 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5997 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5998 }
5999 if (obj2) {
2f4c0a16
RD
6000 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6001 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6002 }
6003 {
6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6005 result = (bool)(arg1)->InsertRows(arg2,arg3);
6006
6007 wxPyEndAllowThreads(__tstate);
6008 if (PyErr_Occurred()) SWIG_fail;
6009 }
4f89f6a3
RD
6010 {
6011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6012 }
d14a1e28
RD
6013 return resultobj;
6014 fail:
6015 return NULL;
6016}
6017
6018
6019static PyObject *_wrap_GridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6020 PyObject *resultobj;
6021 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6022 size_t arg2 = (size_t) 1 ;
6023 bool result;
6024 PyObject * obj0 = 0 ;
6025 PyObject * obj1 = 0 ;
6026 char *kwnames[] = {
6027 (char *) "self",(char *) "numRows", NULL
6028 };
6029
6030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendRows",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6033 if (obj1) {
2f4c0a16
RD
6034 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6035 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6036 }
6037 {
6038 PyThreadState* __tstate = wxPyBeginAllowThreads();
6039 result = (bool)(arg1)->AppendRows(arg2);
6040
6041 wxPyEndAllowThreads(__tstate);
6042 if (PyErr_Occurred()) SWIG_fail;
6043 }
4f89f6a3
RD
6044 {
6045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6046 }
d14a1e28
RD
6047 return resultobj;
6048 fail:
6049 return NULL;
6050}
6051
6052
6053static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6054 PyObject *resultobj;
6055 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6056 size_t arg2 = (size_t) 0 ;
6057 size_t arg3 = (size_t) 1 ;
6058 bool result;
6059 PyObject * obj0 = 0 ;
6060 PyObject * obj1 = 0 ;
6061 PyObject * obj2 = 0 ;
6062 char *kwnames[] = {
6063 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6064 };
6065
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6069 if (obj1) {
2f4c0a16
RD
6070 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6071 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6072 }
6073 if (obj2) {
2f4c0a16
RD
6074 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6075 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6076 }
6077 {
6078 PyThreadState* __tstate = wxPyBeginAllowThreads();
6079 result = (bool)(arg1)->DeleteRows(arg2,arg3);
6080
6081 wxPyEndAllowThreads(__tstate);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 }
4f89f6a3
RD
6084 {
6085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6086 }
d14a1e28
RD
6087 return resultobj;
6088 fail:
6089 return NULL;
6090}
6091
6092
6093static PyObject *_wrap_GridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6094 PyObject *resultobj;
6095 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6096 size_t arg2 = (size_t) 0 ;
6097 size_t arg3 = (size_t) 1 ;
6098 bool result;
6099 PyObject * obj0 = 0 ;
6100 PyObject * obj1 = 0 ;
6101 PyObject * obj2 = 0 ;
6102 char *kwnames[] = {
6103 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6104 };
6105
6106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6109 if (obj1) {
2f4c0a16
RD
6110 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6111 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6112 }
6113 if (obj2) {
2f4c0a16
RD
6114 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6115 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6116 }
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 result = (bool)(arg1)->InsertCols(arg2,arg3);
6120
6121 wxPyEndAllowThreads(__tstate);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
4f89f6a3
RD
6124 {
6125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6126 }
d14a1e28
RD
6127 return resultobj;
6128 fail:
6129 return NULL;
6130}
6131
6132
6133static PyObject *_wrap_GridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6134 PyObject *resultobj;
6135 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6136 size_t arg2 = (size_t) 1 ;
6137 bool result;
6138 PyObject * obj0 = 0 ;
6139 PyObject * obj1 = 0 ;
6140 char *kwnames[] = {
6141 (char *) "self",(char *) "numCols", NULL
6142 };
6143
6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendCols",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6147 if (obj1) {
2f4c0a16
RD
6148 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6149 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6150 }
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 result = (bool)(arg1)->AppendCols(arg2);
6154
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) SWIG_fail;
6157 }
4f89f6a3
RD
6158 {
6159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6160 }
d14a1e28
RD
6161 return resultobj;
6162 fail:
6163 return NULL;
6164}
6165
6166
6167static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6168 PyObject *resultobj;
6169 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6170 size_t arg2 = (size_t) 0 ;
6171 size_t arg3 = (size_t) 1 ;
6172 bool result;
6173 PyObject * obj0 = 0 ;
6174 PyObject * obj1 = 0 ;
6175 PyObject * obj2 = 0 ;
6176 char *kwnames[] = {
6177 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6178 };
6179
6180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6183 if (obj1) {
2f4c0a16
RD
6184 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6185 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6186 }
6187 if (obj2) {
2f4c0a16
RD
6188 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6189 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6190 }
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
6193 result = (bool)(arg1)->DeleteCols(arg2,arg3);
6194
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
4f89f6a3
RD
6198 {
6199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6200 }
d14a1e28
RD
6201 return resultobj;
6202 fail:
6203 return NULL;
6204}
6205
6206
6207static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6208 PyObject *resultobj;
6209 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6210 int arg2 ;
6211 wxString result;
6212 PyObject * obj0 = 0 ;
8edf1c75 6213 PyObject * obj1 = 0 ;
d14a1e28
RD
6214 char *kwnames[] = {
6215 (char *) "self",(char *) "row", NULL
6216 };
6217
8edf1c75 6218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6221 arg2 = (int) SWIG_AsInt(obj1);
6222 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6223 {
6224 PyThreadState* __tstate = wxPyBeginAllowThreads();
6225 result = (arg1)->GetRowLabelValue(arg2);
6226
6227 wxPyEndAllowThreads(__tstate);
6228 if (PyErr_Occurred()) SWIG_fail;
6229 }
6230 {
6231#if wxUSE_UNICODE
6232 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6233#else
6234 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6235#endif
6236 }
6237 return resultobj;
6238 fail:
6239 return NULL;
6240}
6241
6242
6243static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6244 PyObject *resultobj;
6245 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6246 int arg2 ;
6247 wxString result;
6248 PyObject * obj0 = 0 ;
8edf1c75 6249 PyObject * obj1 = 0 ;
d14a1e28
RD
6250 char *kwnames[] = {
6251 (char *) "self",(char *) "col", NULL
6252 };
6253
8edf1c75 6254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6257 arg2 = (int) SWIG_AsInt(obj1);
6258 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6259 {
6260 PyThreadState* __tstate = wxPyBeginAllowThreads();
6261 result = (arg1)->GetColLabelValue(arg2);
6262
6263 wxPyEndAllowThreads(__tstate);
6264 if (PyErr_Occurred()) SWIG_fail;
6265 }
6266 {
6267#if wxUSE_UNICODE
6268 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6269#else
6270 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6271#endif
6272 }
6273 return resultobj;
6274 fail:
6275 return NULL;
6276}
6277
6278
6279static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6280 PyObject *resultobj;
6281 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6282 int arg2 ;
6283 wxString *arg3 = 0 ;
423f194a 6284 bool temp3 = False ;
d14a1e28 6285 PyObject * obj0 = 0 ;
8edf1c75 6286 PyObject * obj1 = 0 ;
d14a1e28
RD
6287 PyObject * obj2 = 0 ;
6288 char *kwnames[] = {
6289 (char *) "self",(char *) "row",(char *) "value", NULL
6290 };
6291
8edf1c75 6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6295 arg2 = (int) SWIG_AsInt(obj1);
6296 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6297 {
6298 arg3 = wxString_in_helper(obj2);
6299 if (arg3 == NULL) SWIG_fail;
423f194a 6300 temp3 = True;
d14a1e28
RD
6301 }
6302 {
6303 PyThreadState* __tstate = wxPyBeginAllowThreads();
6304 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
6305
6306 wxPyEndAllowThreads(__tstate);
6307 if (PyErr_Occurred()) SWIG_fail;
6308 }
6309 Py_INCREF(Py_None); resultobj = Py_None;
6310 {
6311 if (temp3)
6312 delete arg3;
6313 }
6314 return resultobj;
6315 fail:
6316 {
6317 if (temp3)
6318 delete arg3;
6319 }
6320 return NULL;
6321}
6322
6323
6324static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6325 PyObject *resultobj;
6326 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6327 int arg2 ;
6328 wxString *arg3 = 0 ;
423f194a 6329 bool temp3 = False ;
d14a1e28 6330 PyObject * obj0 = 0 ;
8edf1c75 6331 PyObject * obj1 = 0 ;
d14a1e28
RD
6332 PyObject * obj2 = 0 ;
6333 char *kwnames[] = {
6334 (char *) "self",(char *) "col",(char *) "value", NULL
6335 };
6336
8edf1c75 6337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6340 arg2 = (int) SWIG_AsInt(obj1);
6341 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6342 {
6343 arg3 = wxString_in_helper(obj2);
6344 if (arg3 == NULL) SWIG_fail;
423f194a 6345 temp3 = True;
d14a1e28
RD
6346 }
6347 {
6348 PyThreadState* __tstate = wxPyBeginAllowThreads();
6349 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
6350
6351 wxPyEndAllowThreads(__tstate);
6352 if (PyErr_Occurred()) SWIG_fail;
6353 }
6354 Py_INCREF(Py_None); resultobj = Py_None;
6355 {
6356 if (temp3)
6357 delete arg3;
6358 }
6359 return resultobj;
6360 fail:
6361 {
6362 if (temp3)
6363 delete arg3;
6364 }
6365 return NULL;
6366}
6367
6368
6369static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6370 PyObject *resultobj;
6371 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6372 bool result;
6373 PyObject * obj0 = 0 ;
6374 char *kwnames[] = {
6375 (char *) "self", NULL
6376 };
6377
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_CanHaveAttributes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6381 {
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 result = (bool)(arg1)->CanHaveAttributes();
6384
6385 wxPyEndAllowThreads(__tstate);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 }
4f89f6a3
RD
6388 {
6389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6390 }
d14a1e28
RD
6391 return resultobj;
6392 fail:
6393 return NULL;
6394}
6395
6396
6397static PyObject *_wrap_GridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6398 PyObject *resultobj;
6399 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6400 int arg2 ;
6401 int arg3 ;
6402 int arg4 ;
6403 wxGridCellAttr *result;
6404 PyObject * obj0 = 0 ;
8edf1c75
RD
6405 PyObject * obj1 = 0 ;
6406 PyObject * obj2 = 0 ;
6407 PyObject * obj3 = 0 ;
d14a1e28
RD
6408 char *kwnames[] = {
6409 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6410 };
6411
8edf1c75 6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6415 arg2 = (int) SWIG_AsInt(obj1);
6416 if (PyErr_Occurred()) SWIG_fail;
6417 arg3 = (int) SWIG_AsInt(obj2);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
6420 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6421 {
6422 PyThreadState* __tstate = wxPyBeginAllowThreads();
6423 result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
6424
6425 wxPyEndAllowThreads(__tstate);
6426 if (PyErr_Occurred()) SWIG_fail;
6427 }
6428 {
6429 resultobj = wxPyMake_wxGridCellAttr(result);
6430 }
6431 return resultobj;
6432 fail:
6433 return NULL;
6434}
6435
6436
6437static PyObject *_wrap_GridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj;
6439 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6440 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6441 int arg3 ;
6442 int arg4 ;
6443 PyObject * obj0 = 0 ;
6444 PyObject * obj1 = 0 ;
8edf1c75
RD
6445 PyObject * obj2 = 0 ;
6446 PyObject * obj3 = 0 ;
d14a1e28
RD
6447 char *kwnames[] = {
6448 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6449 };
6450
8edf1c75 6451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6454 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6456 arg3 = (int) SWIG_AsInt(obj2);
6457 if (PyErr_Occurred()) SWIG_fail;
6458 arg4 = (int) SWIG_AsInt(obj3);
6459 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 (arg1)->SetAttr(arg2,arg3,arg4);
6463
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
6467 Py_INCREF(Py_None); resultobj = Py_None;
6468 return resultobj;
6469 fail:
6470 return NULL;
6471}
6472
6473
6474static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6475 PyObject *resultobj;
6476 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6477 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6478 int arg3 ;
6479 PyObject * obj0 = 0 ;
6480 PyObject * obj1 = 0 ;
8edf1c75 6481 PyObject * obj2 = 0 ;
d14a1e28
RD
6482 char *kwnames[] = {
6483 (char *) "self",(char *) "attr",(char *) "row", NULL
6484 };
6485
8edf1c75 6486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6489 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6491 arg3 = (int) SWIG_AsInt(obj2);
6492 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6493 {
6494 PyThreadState* __tstate = wxPyBeginAllowThreads();
6495 (arg1)->SetRowAttr(arg2,arg3);
6496
6497 wxPyEndAllowThreads(__tstate);
6498 if (PyErr_Occurred()) SWIG_fail;
6499 }
6500 Py_INCREF(Py_None); resultobj = Py_None;
6501 return resultobj;
6502 fail:
6503 return NULL;
6504}
6505
6506
6507static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6508 PyObject *resultobj;
6509 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6510 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6511 int arg3 ;
6512 PyObject * obj0 = 0 ;
6513 PyObject * obj1 = 0 ;
8edf1c75 6514 PyObject * obj2 = 0 ;
d14a1e28
RD
6515 char *kwnames[] = {
6516 (char *) "self",(char *) "attr",(char *) "col", NULL
6517 };
6518
8edf1c75 6519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6524 arg3 = (int) SWIG_AsInt(obj2);
6525 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6526 {
6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
6528 (arg1)->SetColAttr(arg2,arg3);
6529
6530 wxPyEndAllowThreads(__tstate);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 }
6533 Py_INCREF(Py_None); resultobj = Py_None;
6534 return resultobj;
6535 fail:
6536 return NULL;
6537}
6538
6539
6540static PyObject * GridTableBase_swigregister(PyObject *self, PyObject *args) {
6541 PyObject *obj;
6542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6543 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase, obj);
6544 Py_INCREF(obj);
6545 return Py_BuildValue((char *)"");
6546}
6547static PyObject *_wrap_new_PyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
6548 PyObject *resultobj;
6549 wxPyGridTableBase *result;
6550 char *kwnames[] = {
6551 NULL
6552 };
6553
6554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridTableBase",kwnames)) goto fail;
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 result = (wxPyGridTableBase *)new wxPyGridTableBase();
6558
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
2f4c0a16 6562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridTableBase, 1);
d14a1e28
RD
6563 return resultobj;
6564 fail:
6565 return NULL;
6566}
6567
6568
6569static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6572 PyObject *arg2 = (PyObject *) 0 ;
6573 PyObject *arg3 = (PyObject *) 0 ;
6574 PyObject * obj0 = 0 ;
6575 PyObject * obj1 = 0 ;
6576 PyObject * obj2 = 0 ;
6577 char *kwnames[] = {
6578 (char *) "self",(char *) "self",(char *) "_class", NULL
6579 };
6580
6581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6584 arg2 = obj1;
6585 arg3 = obj2;
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 (arg1)->_setCallbackInfo(arg2,arg3);
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 Py_INCREF(Py_None); resultobj = Py_None;
6594 return resultobj;
6595 fail:
6596 return NULL;
6597}
6598
6599
6600static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj;
6602 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6603 PyObject * obj0 = 0 ;
6604 char *kwnames[] = {
6605 (char *) "self", NULL
6606 };
6607
6608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 wxPyGridTableBase_Destroy(arg1);
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 Py_INCREF(Py_None); resultobj = Py_None;
6619 return resultobj;
6620 fail:
6621 return NULL;
6622}
6623
6624
6625static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj;
6627 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6628 int arg2 ;
6629 int arg3 ;
6630 wxString result;
6631 PyObject * obj0 = 0 ;
8edf1c75
RD
6632 PyObject * obj1 = 0 ;
6633 PyObject * obj2 = 0 ;
d14a1e28
RD
6634 char *kwnames[] = {
6635 (char *) "self",(char *) "row",(char *) "col", NULL
6636 };
6637
8edf1c75 6638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6641 arg2 = (int) SWIG_AsInt(obj1);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 arg3 = (int) SWIG_AsInt(obj2);
6644 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6645 {
6646 PyThreadState* __tstate = wxPyBeginAllowThreads();
6647 result = (arg1)->base_GetTypeName(arg2,arg3);
6648
6649 wxPyEndAllowThreads(__tstate);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 }
6652 {
6653#if wxUSE_UNICODE
6654 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6655#else
6656 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6657#endif
6658 }
6659 return resultobj;
6660 fail:
6661 return NULL;
6662}
6663
6664
6665static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6666 PyObject *resultobj;
6667 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6668 int arg2 ;
6669 int arg3 ;
6670 wxString *arg4 = 0 ;
6671 bool result;
423f194a 6672 bool temp4 = False ;
d14a1e28 6673 PyObject * obj0 = 0 ;
8edf1c75
RD
6674 PyObject * obj1 = 0 ;
6675 PyObject * obj2 = 0 ;
d14a1e28
RD
6676 PyObject * obj3 = 0 ;
6677 char *kwnames[] = {
6678 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6679 };
6680
8edf1c75 6681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6684 arg2 = (int) SWIG_AsInt(obj1);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 arg3 = (int) SWIG_AsInt(obj2);
6687 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6688 {
6689 arg4 = wxString_in_helper(obj3);
6690 if (arg4 == NULL) SWIG_fail;
423f194a 6691 temp4 = True;
d14a1e28
RD
6692 }
6693 {
6694 PyThreadState* __tstate = wxPyBeginAllowThreads();
6695 result = (bool)(arg1)->base_CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
6696
6697 wxPyEndAllowThreads(__tstate);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 }
4f89f6a3
RD
6700 {
6701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6702 }
d14a1e28
RD
6703 {
6704 if (temp4)
6705 delete arg4;
6706 }
6707 return resultobj;
6708 fail:
6709 {
6710 if (temp4)
6711 delete arg4;
6712 }
6713 return NULL;
6714}
6715
6716
6717static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6718 PyObject *resultobj;
6719 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6720 int arg2 ;
6721 int arg3 ;
6722 wxString *arg4 = 0 ;
6723 bool result;
423f194a 6724 bool temp4 = False ;
d14a1e28 6725 PyObject * obj0 = 0 ;
8edf1c75
RD
6726 PyObject * obj1 = 0 ;
6727 PyObject * obj2 = 0 ;
d14a1e28
RD
6728 PyObject * obj3 = 0 ;
6729 char *kwnames[] = {
6730 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6731 };
6732
8edf1c75 6733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6736 arg2 = (int) SWIG_AsInt(obj1);
6737 if (PyErr_Occurred()) SWIG_fail;
6738 arg3 = (int) SWIG_AsInt(obj2);
6739 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6740 {
6741 arg4 = wxString_in_helper(obj3);
6742 if (arg4 == NULL) SWIG_fail;
423f194a 6743 temp4 = True;
d14a1e28
RD
6744 }
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 result = (bool)(arg1)->base_CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
6748
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
4f89f6a3
RD
6752 {
6753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6754 }
d14a1e28
RD
6755 {
6756 if (temp4)
6757 delete arg4;
6758 }
6759 return resultobj;
6760 fail:
6761 {
6762 if (temp4)
6763 delete arg4;
6764 }
6765 return NULL;
6766}
6767
6768
6769static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6770 PyObject *resultobj;
6771 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6772 PyObject * obj0 = 0 ;
6773 char *kwnames[] = {
6774 (char *) "self", NULL
6775 };
6776
6777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6780 {
6781 PyThreadState* __tstate = wxPyBeginAllowThreads();
6782 (arg1)->base_Clear();
6783
6784 wxPyEndAllowThreads(__tstate);
6785 if (PyErr_Occurred()) SWIG_fail;
6786 }
6787 Py_INCREF(Py_None); resultobj = Py_None;
6788 return resultobj;
6789 fail:
6790 return NULL;
6791}
6792
6793
6794static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6795 PyObject *resultobj;
6796 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6797 size_t arg2 = (size_t) 0 ;
6798 size_t arg3 = (size_t) 1 ;
6799 bool result;
6800 PyObject * obj0 = 0 ;
6801 PyObject * obj1 = 0 ;
6802 PyObject * obj2 = 0 ;
6803 char *kwnames[] = {
6804 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6810 if (obj1) {
2f4c0a16
RD
6811 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6812 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6813 }
6814 if (obj2) {
2f4c0a16
RD
6815 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6816 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6817 }
6818 {
6819 PyThreadState* __tstate = wxPyBeginAllowThreads();
6820 result = (bool)(arg1)->base_InsertRows(arg2,arg3);
6821
6822 wxPyEndAllowThreads(__tstate);
6823 if (PyErr_Occurred()) SWIG_fail;
6824 }
4f89f6a3
RD
6825 {
6826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6827 }
d14a1e28
RD
6828 return resultobj;
6829 fail:
6830 return NULL;
6831}
6832
6833
6834static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6835 PyObject *resultobj;
6836 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6837 size_t arg2 = (size_t) 1 ;
6838 bool result;
6839 PyObject * obj0 = 0 ;
6840 PyObject * obj1 = 0 ;
6841 char *kwnames[] = {
6842 (char *) "self",(char *) "numRows", NULL
6843 };
6844
6845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6848 if (obj1) {
2f4c0a16
RD
6849 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6850 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6851 }
6852 {
6853 PyThreadState* __tstate = wxPyBeginAllowThreads();
6854 result = (bool)(arg1)->base_AppendRows(arg2);
6855
6856 wxPyEndAllowThreads(__tstate);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 }
4f89f6a3
RD
6859 {
6860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6861 }
d14a1e28
RD
6862 return resultobj;
6863 fail:
6864 return NULL;
6865}
6866
6867
6868static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6869 PyObject *resultobj;
6870 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6871 size_t arg2 = (size_t) 0 ;
6872 size_t arg3 = (size_t) 1 ;
6873 bool result;
6874 PyObject * obj0 = 0 ;
6875 PyObject * obj1 = 0 ;
6876 PyObject * obj2 = 0 ;
6877 char *kwnames[] = {
6878 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6879 };
6880
6881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6884 if (obj1) {
2f4c0a16
RD
6885 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6886 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6887 }
6888 if (obj2) {
2f4c0a16
RD
6889 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6890 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6891 }
6892 {
6893 PyThreadState* __tstate = wxPyBeginAllowThreads();
6894 result = (bool)(arg1)->base_DeleteRows(arg2,arg3);
6895
6896 wxPyEndAllowThreads(__tstate);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
4f89f6a3
RD
6899 {
6900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6901 }
d14a1e28
RD
6902 return resultobj;
6903 fail:
6904 return NULL;
6905}
6906
6907
6908static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6909 PyObject *resultobj;
6910 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6911 size_t arg2 = (size_t) 0 ;
6912 size_t arg3 = (size_t) 1 ;
6913 bool result;
6914 PyObject * obj0 = 0 ;
6915 PyObject * obj1 = 0 ;
6916 PyObject * obj2 = 0 ;
6917 char *kwnames[] = {
6918 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6919 };
6920
6921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6924 if (obj1) {
2f4c0a16
RD
6925 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6926 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6927 }
6928 if (obj2) {
2f4c0a16
RD
6929 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6930 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6931 }
6932 {
6933 PyThreadState* __tstate = wxPyBeginAllowThreads();
6934 result = (bool)(arg1)->base_InsertCols(arg2,arg3);
6935
6936 wxPyEndAllowThreads(__tstate);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 }
4f89f6a3
RD
6939 {
6940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6941 }
d14a1e28
RD
6942 return resultobj;
6943 fail:
6944 return NULL;
6945}
6946
6947
6948static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6949 PyObject *resultobj;
6950 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6951 size_t arg2 = (size_t) 1 ;
6952 bool result;
6953 PyObject * obj0 = 0 ;
6954 PyObject * obj1 = 0 ;
6955 char *kwnames[] = {
6956 (char *) "self",(char *) "numCols", NULL
6957 };
6958
6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6962 if (obj1) {
2f4c0a16
RD
6963 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6964 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6965 }
6966 {
6967 PyThreadState* __tstate = wxPyBeginAllowThreads();
6968 result = (bool)(arg1)->base_AppendCols(arg2);
6969
6970 wxPyEndAllowThreads(__tstate);
6971 if (PyErr_Occurred()) SWIG_fail;
6972 }
4f89f6a3
RD
6973 {
6974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6975 }
d14a1e28
RD
6976 return resultobj;
6977 fail:
6978 return NULL;
6979}
6980
6981
6982static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6983 PyObject *resultobj;
6984 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6985 size_t arg2 = (size_t) 0 ;
6986 size_t arg3 = (size_t) 1 ;
6987 bool result;
6988 PyObject * obj0 = 0 ;
6989 PyObject * obj1 = 0 ;
6990 PyObject * obj2 = 0 ;
6991 char *kwnames[] = {
6992 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6993 };
6994
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6998 if (obj1) {
2f4c0a16
RD
6999 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
7000 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7001 }
7002 if (obj2) {
2f4c0a16
RD
7003 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
7004 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7005 }
7006 {
7007 PyThreadState* __tstate = wxPyBeginAllowThreads();
7008 result = (bool)(arg1)->base_DeleteCols(arg2,arg3);
7009
7010 wxPyEndAllowThreads(__tstate);
7011 if (PyErr_Occurred()) SWIG_fail;
7012 }
4f89f6a3
RD
7013 {
7014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7015 }
d14a1e28
RD
7016 return resultobj;
7017 fail:
7018 return NULL;
7019}
7020
7021
7022static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7023 PyObject *resultobj;
7024 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7025 int arg2 ;
7026 wxString result;
7027 PyObject * obj0 = 0 ;
8edf1c75 7028 PyObject * obj1 = 0 ;
d14a1e28
RD
7029 char *kwnames[] = {
7030 (char *) "self",(char *) "row", NULL
7031 };
7032
8edf1c75 7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7036 arg2 = (int) SWIG_AsInt(obj1);
7037 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7038 {
7039 PyThreadState* __tstate = wxPyBeginAllowThreads();
7040 result = (arg1)->base_GetRowLabelValue(arg2);
7041
7042 wxPyEndAllowThreads(__tstate);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 }
7045 {
7046#if wxUSE_UNICODE
7047 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7048#else
7049 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7050#endif
7051 }
7052 return resultobj;
7053 fail:
7054 return NULL;
7055}
7056
7057
7058static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7059 PyObject *resultobj;
7060 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7061 int arg2 ;
7062 wxString result;
7063 PyObject * obj0 = 0 ;
8edf1c75 7064 PyObject * obj1 = 0 ;
d14a1e28
RD
7065 char *kwnames[] = {
7066 (char *) "self",(char *) "col", NULL
7067 };
7068
8edf1c75 7069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7072 arg2 = (int) SWIG_AsInt(obj1);
7073 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7074 {
7075 PyThreadState* __tstate = wxPyBeginAllowThreads();
7076 result = (arg1)->base_GetColLabelValue(arg2);
7077
7078 wxPyEndAllowThreads(__tstate);
7079 if (PyErr_Occurred()) SWIG_fail;
7080 }
7081 {
7082#if wxUSE_UNICODE
7083 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7084#else
7085 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7086#endif
7087 }
7088 return resultobj;
7089 fail:
7090 return NULL;
7091}
7092
7093
7094static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7095 PyObject *resultobj;
7096 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7097 int arg2 ;
7098 wxString *arg3 = 0 ;
423f194a 7099 bool temp3 = False ;
d14a1e28 7100 PyObject * obj0 = 0 ;
8edf1c75 7101 PyObject * obj1 = 0 ;
d14a1e28
RD
7102 PyObject * obj2 = 0 ;
7103 char *kwnames[] = {
7104 (char *) "self",(char *) "row",(char *) "value", NULL
7105 };
7106
8edf1c75 7107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7110 arg2 = (int) SWIG_AsInt(obj1);
7111 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7112 {
7113 arg3 = wxString_in_helper(obj2);
7114 if (arg3 == NULL) SWIG_fail;
423f194a 7115 temp3 = True;
d14a1e28
RD
7116 }
7117 {
7118 PyThreadState* __tstate = wxPyBeginAllowThreads();
7119 (arg1)->base_SetRowLabelValue(arg2,(wxString const &)*arg3);
7120
7121 wxPyEndAllowThreads(__tstate);
7122 if (PyErr_Occurred()) SWIG_fail;
7123 }
7124 Py_INCREF(Py_None); resultobj = Py_None;
7125 {
7126 if (temp3)
7127 delete arg3;
7128 }
7129 return resultobj;
7130 fail:
7131 {
7132 if (temp3)
7133 delete arg3;
7134 }
7135 return NULL;
7136}
7137
7138
7139static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7140 PyObject *resultobj;
7141 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7142 int arg2 ;
7143 wxString *arg3 = 0 ;
423f194a 7144 bool temp3 = False ;
d14a1e28 7145 PyObject * obj0 = 0 ;
8edf1c75 7146 PyObject * obj1 = 0 ;
d14a1e28
RD
7147 PyObject * obj2 = 0 ;
7148 char *kwnames[] = {
7149 (char *) "self",(char *) "col",(char *) "value", NULL
7150 };
7151
8edf1c75 7152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7155 arg2 = (int) SWIG_AsInt(obj1);
7156 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7157 {
7158 arg3 = wxString_in_helper(obj2);
7159 if (arg3 == NULL) SWIG_fail;
423f194a 7160 temp3 = True;
d14a1e28
RD
7161 }
7162 {
7163 PyThreadState* __tstate = wxPyBeginAllowThreads();
7164 (arg1)->base_SetColLabelValue(arg2,(wxString const &)*arg3);
7165
7166 wxPyEndAllowThreads(__tstate);
7167 if (PyErr_Occurred()) SWIG_fail;
7168 }
7169 Py_INCREF(Py_None); resultobj = Py_None;
7170 {
7171 if (temp3)
7172 delete arg3;
7173 }
7174 return resultobj;
7175 fail:
7176 {
7177 if (temp3)
7178 delete arg3;
7179 }
7180 return NULL;
7181}
7182
7183
7184static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
7185 PyObject *resultobj;
7186 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7187 bool result;
7188 PyObject * obj0 = 0 ;
7189 char *kwnames[] = {
7190 (char *) "self", NULL
7191 };
7192
7193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 result = (bool)(arg1)->base_CanHaveAttributes();
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
4f89f6a3
RD
7203 {
7204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7205 }
d14a1e28
RD
7206 return resultobj;
7207 fail:
7208 return NULL;
7209}
7210
7211
7212static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7213 PyObject *resultobj;
7214 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7215 int arg2 ;
7216 int arg3 ;
7217 int arg4 ;
7218 wxGridCellAttr *result;
7219 PyObject * obj0 = 0 ;
8edf1c75
RD
7220 PyObject * obj1 = 0 ;
7221 PyObject * obj2 = 0 ;
7222 PyObject * obj3 = 0 ;
d14a1e28
RD
7223 char *kwnames[] = {
7224 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7225 };
7226
8edf1c75 7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7230 arg2 = (int) SWIG_AsInt(obj1);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 arg3 = (int) SWIG_AsInt(obj2);
7233 if (PyErr_Occurred()) SWIG_fail;
7234 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
7235 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7236 {
7237 PyThreadState* __tstate = wxPyBeginAllowThreads();
7238 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
7239
7240 wxPyEndAllowThreads(__tstate);
7241 if (PyErr_Occurred()) SWIG_fail;
7242 }
7243 {
7244 resultobj = wxPyMake_wxGridCellAttr(result);
7245 }
7246 return resultobj;
7247 fail:
7248 return NULL;
7249}
7250
7251
7252static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj;
7254 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7255 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7256 int arg3 ;
7257 int arg4 ;
7258 PyObject * obj0 = 0 ;
7259 PyObject * obj1 = 0 ;
8edf1c75
RD
7260 PyObject * obj2 = 0 ;
7261 PyObject * obj3 = 0 ;
d14a1e28
RD
7262 char *kwnames[] = {
7263 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7264 };
7265
8edf1c75 7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7271 arg3 = (int) SWIG_AsInt(obj2);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 arg4 = (int) SWIG_AsInt(obj3);
7274 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7275 {
7276 PyThreadState* __tstate = wxPyBeginAllowThreads();
7277 (arg1)->base_SetAttr(arg2,arg3,arg4);
7278
7279 wxPyEndAllowThreads(__tstate);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 }
7282 Py_INCREF(Py_None); resultobj = Py_None;
7283 return resultobj;
7284 fail:
7285 return NULL;
7286}
7287
7288
7289static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7290 PyObject *resultobj;
7291 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7292 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7293 int arg3 ;
7294 PyObject * obj0 = 0 ;
7295 PyObject * obj1 = 0 ;
8edf1c75 7296 PyObject * obj2 = 0 ;
d14a1e28
RD
7297 char *kwnames[] = {
7298 (char *) "self",(char *) "attr",(char *) "row", NULL
7299 };
7300
8edf1c75 7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7306 arg3 = (int) SWIG_AsInt(obj2);
7307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7308 {
7309 PyThreadState* __tstate = wxPyBeginAllowThreads();
7310 (arg1)->base_SetRowAttr(arg2,arg3);
7311
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 Py_INCREF(Py_None); resultobj = Py_None;
7316 return resultobj;
7317 fail:
7318 return NULL;
7319}
7320
7321
7322static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7323 PyObject *resultobj;
7324 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7325 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7326 int arg3 ;
7327 PyObject * obj0 = 0 ;
7328 PyObject * obj1 = 0 ;
8edf1c75 7329 PyObject * obj2 = 0 ;
d14a1e28
RD
7330 char *kwnames[] = {
7331 (char *) "self",(char *) "attr",(char *) "col", NULL
7332 };
7333
8edf1c75 7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7337 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7339 arg3 = (int) SWIG_AsInt(obj2);
7340 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 (arg1)->base_SetColAttr(arg2,arg3);
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 Py_INCREF(Py_None); resultobj = Py_None;
7349 return resultobj;
7350 fail:
7351 return NULL;
7352}
7353
7354
7355static PyObject * PyGridTableBase_swigregister(PyObject *self, PyObject *args) {
7356 PyObject *obj;
7357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7358 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase, obj);
7359 Py_INCREF(obj);
7360 return Py_BuildValue((char *)"");
7361}
7362static PyObject *_wrap_new_GridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 int arg1 = (int) 0 ;
7365 int arg2 = (int) 0 ;
7366 wxGridStringTable *result;
8edf1c75
RD
7367 PyObject * obj0 = 0 ;
7368 PyObject * obj1 = 0 ;
d14a1e28
RD
7369 char *kwnames[] = {
7370 (char *) "numRows",(char *) "numCols", NULL
7371 };
7372
8edf1c75
RD
7373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridStringTable",kwnames,&obj0,&obj1)) goto fail;
7374 if (obj0) {
2f4c0a16
RD
7375 arg1 = (int) SWIG_AsInt(obj0);
7376 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7377 }
7378 if (obj1) {
2f4c0a16
RD
7379 arg2 = (int) SWIG_AsInt(obj1);
7380 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7381 }
d14a1e28
RD
7382 {
7383 PyThreadState* __tstate = wxPyBeginAllowThreads();
7384 result = (wxGridStringTable *)new wxGridStringTable(arg1,arg2);
7385
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
2f4c0a16 7389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridStringTable, 1);
d14a1e28
RD
7390 return resultobj;
7391 fail:
7392 return NULL;
7393}
7394
7395
7396static PyObject * GridStringTable_swigregister(PyObject *self, PyObject *args) {
7397 PyObject *obj;
7398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7399 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable, obj);
7400 Py_INCREF(obj);
7401 return Py_BuildValue((char *)"");
7402}
7403static PyObject *_wrap_new_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7404 PyObject *resultobj;
7405 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7406 int arg2 ;
7407 int arg3 = (int) -1 ;
7408 int arg4 = (int) -1 ;
7409 wxGridTableMessage *result;
7410 PyObject * obj0 = 0 ;
8edf1c75
RD
7411 PyObject * obj1 = 0 ;
7412 PyObject * obj2 = 0 ;
7413 PyObject * obj3 = 0 ;
d14a1e28
RD
7414 char *kwnames[] = {
7415 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7416 };
7417
8edf1c75 7418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_GridTableMessage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
7420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7421 arg2 = (int) SWIG_AsInt(obj1);
7422 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7423 if (obj2) {
2f4c0a16
RD
7424 arg3 = (int) SWIG_AsInt(obj2);
7425 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7426 }
7427 if (obj3) {
2f4c0a16
RD
7428 arg4 = (int) SWIG_AsInt(obj3);
7429 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7430 }
d14a1e28
RD
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 result = (wxGridTableMessage *)new wxGridTableMessage(arg1,arg2,arg3,arg4);
7434
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
2f4c0a16 7438 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridTableMessage, 1);
d14a1e28
RD
7439 return resultobj;
7440 fail:
7441 return NULL;
7442}
7443
7444
7445static PyObject *_wrap_delete_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj;
7447 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7448 PyObject * obj0 = 0 ;
7449 char *kwnames[] = {
7450 (char *) "self", NULL
7451 };
7452
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridTableMessage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 delete arg1;
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 Py_INCREF(Py_None); resultobj = Py_None;
7464 return resultobj;
7465 fail:
7466 return NULL;
7467}
7468
7469
7470static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7471 PyObject *resultobj;
7472 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7473 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
7474 PyObject * obj0 = 0 ;
7475 PyObject * obj1 = 0 ;
7476 char *kwnames[] = {
7477 (char *) "self",(char *) "table", NULL
7478 };
7479
7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetTableObject",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7483 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
7484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7485 {
7486 PyThreadState* __tstate = wxPyBeginAllowThreads();
7487 (arg1)->SetTableObject(arg2);
7488
7489 wxPyEndAllowThreads(__tstate);
7490 if (PyErr_Occurred()) SWIG_fail;
7491 }
7492 Py_INCREF(Py_None); resultobj = Py_None;
7493 return resultobj;
7494 fail:
7495 return NULL;
7496}
7497
7498
7499static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7500 PyObject *resultobj;
7501 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7502 wxGridTableBase *result;
7503 PyObject * obj0 = 0 ;
7504 char *kwnames[] = {
7505 (char *) "self", NULL
7506 };
7507
7508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetTableObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7511 {
7512 PyThreadState* __tstate = wxPyBeginAllowThreads();
7513 result = (wxGridTableBase *)((wxGridTableMessage const *)arg1)->GetTableObject();
7514
7515 wxPyEndAllowThreads(__tstate);
7516 if (PyErr_Occurred()) SWIG_fail;
7517 }
7518 {
7519 resultobj = wxPyMake_wxGridTableBase(result);
7520 }
7521 return resultobj;
7522 fail:
7523 return NULL;
7524}
7525
7526
7527static PyObject *_wrap_GridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7528 PyObject *resultobj;
7529 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7530 int arg2 ;
7531 PyObject * obj0 = 0 ;
8edf1c75 7532 PyObject * obj1 = 0 ;
d14a1e28
RD
7533 char *kwnames[] = {
7534 (char *) "self",(char *) "id", NULL
7535 };
7536
8edf1c75 7537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7540 arg2 = (int) SWIG_AsInt(obj1);
7541 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 (arg1)->SetId(arg2);
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 Py_INCREF(Py_None); resultobj = Py_None;
7550 return resultobj;
7551 fail:
7552 return NULL;
7553}
7554
7555
7556static PyObject *_wrap_GridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7557 PyObject *resultobj;
7558 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7559 int result;
7560 PyObject * obj0 = 0 ;
7561 char *kwnames[] = {
7562 (char *) "self", NULL
7563 };
7564
7565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7568 {
7569 PyThreadState* __tstate = wxPyBeginAllowThreads();
7570 result = (int)(arg1)->GetId();
7571
7572 wxPyEndAllowThreads(__tstate);
7573 if (PyErr_Occurred()) SWIG_fail;
7574 }
2f4c0a16 7575 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7576 return resultobj;
7577 fail:
7578 return NULL;
7579}
7580
7581
7582static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7583 PyObject *resultobj;
7584 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7585 int arg2 ;
7586 PyObject * obj0 = 0 ;
8edf1c75 7587 PyObject * obj1 = 0 ;
d14a1e28
RD
7588 char *kwnames[] = {
7589 (char *) "self",(char *) "comInt1", NULL
7590 };
7591
8edf1c75 7592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7595 arg2 = (int) SWIG_AsInt(obj1);
7596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7597 {
7598 PyThreadState* __tstate = wxPyBeginAllowThreads();
7599 (arg1)->SetCommandInt(arg2);
7600
7601 wxPyEndAllowThreads(__tstate);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 }
7604 Py_INCREF(Py_None); resultobj = Py_None;
7605 return resultobj;
7606 fail:
7607 return NULL;
7608}
7609
7610
7611static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7612 PyObject *resultobj;
7613 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7614 int result;
7615 PyObject * obj0 = 0 ;
7616 char *kwnames[] = {
7617 (char *) "self", NULL
7618 };
7619
7620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7623 {
7624 PyThreadState* __tstate = wxPyBeginAllowThreads();
7625 result = (int)(arg1)->GetCommandInt();
7626
7627 wxPyEndAllowThreads(__tstate);
7628 if (PyErr_Occurred()) SWIG_fail;
7629 }
2f4c0a16 7630 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7631 return resultobj;
7632 fail:
7633 return NULL;
7634}
7635
7636
7637static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7638 PyObject *resultobj;
7639 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7640 int arg2 ;
7641 PyObject * obj0 = 0 ;
8edf1c75 7642 PyObject * obj1 = 0 ;
d14a1e28
RD
7643 char *kwnames[] = {
7644 (char *) "self",(char *) "comInt2", NULL
7645 };
7646
8edf1c75 7647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7650 arg2 = (int) SWIG_AsInt(obj1);
7651 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7652 {
7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7654 (arg1)->SetCommandInt2(arg2);
7655
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
7659 Py_INCREF(Py_None); resultobj = Py_None;
7660 return resultobj;
7661 fail:
7662 return NULL;
7663}
7664
7665
7666static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7667 PyObject *resultobj;
7668 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7669 int result;
7670 PyObject * obj0 = 0 ;
7671 char *kwnames[] = {
7672 (char *) "self", NULL
7673 };
7674
7675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt2",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 result = (int)(arg1)->GetCommandInt2();
7681
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
2f4c0a16 7685 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7686 return resultobj;
7687 fail:
7688 return NULL;
7689}
7690
7691
7692static PyObject * GridTableMessage_swigregister(PyObject *self, PyObject *args) {
7693 PyObject *obj;
7694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7695 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage, obj);
7696 Py_INCREF(obj);
7697 return Py_BuildValue((char *)"");
7698}
7699static PyObject *_wrap_new_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7700 PyObject *resultobj;
7701 int arg1 = (int) -1 ;
7702 int arg2 = (int) -1 ;
7703 wxGridCellCoords *result;
8edf1c75
RD
7704 PyObject * obj0 = 0 ;
7705 PyObject * obj1 = 0 ;
d14a1e28
RD
7706 char *kwnames[] = {
7707 (char *) "r",(char *) "c", NULL
7708 };
7709
8edf1c75
RD
7710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellCoords",kwnames,&obj0,&obj1)) goto fail;
7711 if (obj0) {
2f4c0a16
RD
7712 arg1 = (int) SWIG_AsInt(obj0);
7713 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7714 }
7715 if (obj1) {
2f4c0a16
RD
7716 arg2 = (int) SWIG_AsInt(obj1);
7717 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7718 }
d14a1e28
RD
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 result = (wxGridCellCoords *)new wxGridCellCoords(arg1,arg2);
7722
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
2f4c0a16 7726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
7727 return resultobj;
7728 fail:
7729 return NULL;
7730}
7731
7732
7733static PyObject *_wrap_delete_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject *resultobj;
7735 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7736 PyObject * obj0 = 0 ;
7737 char *kwnames[] = {
7738 (char *) "self", NULL
7739 };
7740
7741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridCellCoords",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 delete arg1;
7747
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 Py_INCREF(Py_None); resultobj = Py_None;
7752 return resultobj;
7753 fail:
7754 return NULL;
7755}
7756
7757
7758static PyObject *_wrap_GridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj;
7760 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7761 int result;
7762 PyObject * obj0 = 0 ;
7763 char *kwnames[] = {
7764 (char *) "self", NULL
7765 };
7766
7767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 result = (int)((wxGridCellCoords const *)arg1)->GetRow();
7773
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
2f4c0a16 7777 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7778 return resultobj;
7779 fail:
7780 return NULL;
7781}
7782
7783
7784static PyObject *_wrap_GridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj;
7786 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7787 int arg2 ;
7788 PyObject * obj0 = 0 ;
8edf1c75 7789 PyObject * obj1 = 0 ;
d14a1e28
RD
7790 char *kwnames[] = {
7791 (char *) "self",(char *) "n", NULL
7792 };
7793
8edf1c75 7794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7797 arg2 = (int) SWIG_AsInt(obj1);
7798 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7799 {
7800 PyThreadState* __tstate = wxPyBeginAllowThreads();
7801 (arg1)->SetRow(arg2);
7802
7803 wxPyEndAllowThreads(__tstate);
7804 if (PyErr_Occurred()) SWIG_fail;
7805 }
7806 Py_INCREF(Py_None); resultobj = Py_None;
7807 return resultobj;
7808 fail:
7809 return NULL;
7810}
7811
7812
7813static PyObject *_wrap_GridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7814 PyObject *resultobj;
7815 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7816 int result;
7817 PyObject * obj0 = 0 ;
7818 char *kwnames[] = {
7819 (char *) "self", NULL
7820 };
7821
7822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7825 {
7826 PyThreadState* __tstate = wxPyBeginAllowThreads();
7827 result = (int)((wxGridCellCoords const *)arg1)->GetCol();
7828
7829 wxPyEndAllowThreads(__tstate);
7830 if (PyErr_Occurred()) SWIG_fail;
7831 }
2f4c0a16 7832 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7833 return resultobj;
7834 fail:
7835 return NULL;
7836}
7837
7838
7839static PyObject *_wrap_GridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7840 PyObject *resultobj;
7841 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7842 int arg2 ;
7843 PyObject * obj0 = 0 ;
8edf1c75 7844 PyObject * obj1 = 0 ;
d14a1e28
RD
7845 char *kwnames[] = {
7846 (char *) "self",(char *) "n", NULL
7847 };
7848
8edf1c75 7849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7852 arg2 = (int) SWIG_AsInt(obj1);
7853 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7854 {
7855 PyThreadState* __tstate = wxPyBeginAllowThreads();
7856 (arg1)->SetCol(arg2);
7857
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
7861 Py_INCREF(Py_None); resultobj = Py_None;
7862 return resultobj;
7863 fail:
7864 return NULL;
7865}
7866
7867
7868static PyObject *_wrap_GridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7869 PyObject *resultobj;
7870 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7871 int arg2 ;
7872 int arg3 ;
7873 PyObject * obj0 = 0 ;
8edf1c75
RD
7874 PyObject * obj1 = 0 ;
7875 PyObject * obj2 = 0 ;
d14a1e28
RD
7876 char *kwnames[] = {
7877 (char *) "self",(char *) "row",(char *) "col", NULL
7878 };
7879
8edf1c75 7880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellCoords_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7883 arg2 = (int) SWIG_AsInt(obj1);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 arg3 = (int) SWIG_AsInt(obj2);
7886 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 (arg1)->Set(arg2,arg3);
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 Py_INCREF(Py_None); resultobj = Py_None;
7895 return resultobj;
7896 fail:
7897 return NULL;
7898}
7899
7900
7901static PyObject *_wrap_GridCellCoords___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
7902 PyObject *resultobj;
7903 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7904 wxGridCellCoords *arg2 = 0 ;
7905 bool result;
328fcd84 7906 wxGridCellCoords temp2 ;
d14a1e28
RD
7907 PyObject * obj0 = 0 ;
7908 PyObject * obj1 = 0 ;
7909 char *kwnames[] = {
7910 (char *) "self",(char *) "other", NULL
7911 };
7912
7913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
328fcd84
RD
7916 {
7917 arg2 = &temp2;
7918 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
7919 }
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 result = (bool)((wxGridCellCoords const *)arg1)->operator ==((wxGridCellCoords const &)*arg2);
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
4f89f6a3
RD
7927 {
7928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7929 }
d14a1e28
RD
7930 return resultobj;
7931 fail:
7932 return NULL;
7933}
7934
7935
7936static PyObject *_wrap_GridCellCoords___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
7937 PyObject *resultobj;
7938 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7939 wxGridCellCoords *arg2 = 0 ;
7940 bool result;
328fcd84 7941 wxGridCellCoords temp2 ;
d14a1e28
RD
7942 PyObject * obj0 = 0 ;
7943 PyObject * obj1 = 0 ;
7944 char *kwnames[] = {
7945 (char *) "self",(char *) "other", NULL
7946 };
7947
7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
328fcd84
RD
7951 {
7952 arg2 = &temp2;
7953 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
7954 }
7955 {
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 result = (bool)((wxGridCellCoords const *)arg1)->operator !=((wxGridCellCoords const &)*arg2);
7958
7959 wxPyEndAllowThreads(__tstate);
7960 if (PyErr_Occurred()) SWIG_fail;
7961 }
4f89f6a3
RD
7962 {
7963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7964 }
d14a1e28
RD
7965 return resultobj;
7966 fail:
7967 return NULL;
7968}
7969
7970
7971static PyObject *_wrap_GridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
7972 PyObject *resultobj;
7973 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7974 PyObject *result;
7975 PyObject * obj0 = 0 ;
7976 char *kwnames[] = {
7977 (char *) "self", NULL
7978 };
7979
7980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_asTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7983 {
7984 PyThreadState* __tstate = wxPyBeginAllowThreads();
7985 result = (PyObject *)wxGridCellCoords_asTuple(arg1);
7986
7987 wxPyEndAllowThreads(__tstate);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 resultobj = result;
7991 return resultobj;
7992 fail:
7993 return NULL;
7994}
7995
7996
7997static PyObject * GridCellCoords_swigregister(PyObject *self, PyObject *args) {
7998 PyObject *obj;
7999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8000 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords, obj);
8001 Py_INCREF(obj);
8002 return Py_BuildValue((char *)"");
8003}
8004static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs) {
8005 PyObject *resultobj;
8006 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 8007 int arg2 ;
d14a1e28
RD
8008 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8009 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8010 wxSize const &arg4_defvalue = wxDefaultSize ;
8011 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8012 long arg5 = (long) wxWANTS_CHARS ;
8013 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8014 wxString *arg6 = (wxString *) &arg6_defvalue ;
8015 wxGrid *result;
8016 wxPoint temp3 ;
8017 wxSize temp4 ;
423f194a 8018 bool temp6 = False ;
d14a1e28 8019 PyObject * obj0 = 0 ;
8edf1c75 8020 PyObject * obj1 = 0 ;
d14a1e28
RD
8021 PyObject * obj2 = 0 ;
8022 PyObject * obj3 = 0 ;
8edf1c75 8023 PyObject * obj4 = 0 ;
d14a1e28
RD
8024 PyObject * obj5 = 0 ;
8025 char *kwnames[] = {
8026 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8027 };
8028
8edf1c75 8029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Grid",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
8030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8032 arg2 = (int) SWIG_AsInt(obj1);
8033 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8034 if (obj2) {
8035 {
8036 arg3 = &temp3;
8037 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8038 }
8039 }
8040 if (obj3) {
8041 {
8042 arg4 = &temp4;
8043 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8044 }
8045 }
8edf1c75 8046 if (obj4) {
2f4c0a16
RD
8047 arg5 = (long) SWIG_AsLong(obj4);
8048 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8049 }
d14a1e28
RD
8050 if (obj5) {
8051 {
8052 arg6 = wxString_in_helper(obj5);
8053 if (arg6 == NULL) SWIG_fail;
423f194a 8054 temp6 = True;
d14a1e28
RD
8055 }
8056 }
8057 {
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 result = (wxGrid *)new wxGrid(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8060
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 {
8065 resultobj = wxPyMake_wxObject(result);
8066 }
8067 {
8068 if (temp6)
8069 delete arg6;
8070 }
8071 return resultobj;
8072 fail:
8073 {
8074 if (temp6)
8075 delete arg6;
8076 }
8077 return NULL;
8078}
8079
8080
8081static PyObject *_wrap_Grid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8082 PyObject *resultobj;
8083 wxGrid *arg1 = (wxGrid *) 0 ;
8084 int arg2 ;
8085 int arg3 ;
8086 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8087 bool result;
8088 PyObject * obj0 = 0 ;
8edf1c75
RD
8089 PyObject * obj1 = 0 ;
8090 PyObject * obj2 = 0 ;
8091 PyObject * obj3 = 0 ;
d14a1e28
RD
8092 char *kwnames[] = {
8093 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8094 };
8095
8edf1c75 8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_CreateGrid",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8099 arg2 = (int) SWIG_AsInt(obj1);
8100 if (PyErr_Occurred()) SWIG_fail;
8101 arg3 = (int) SWIG_AsInt(obj2);
8102 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8103 if (obj3) {
2f4c0a16
RD
8104 arg4 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj3);
8105 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8106 }
d14a1e28
RD
8107 {
8108 PyThreadState* __tstate = wxPyBeginAllowThreads();
8109 result = (bool)(arg1)->CreateGrid(arg2,arg3,arg4);
8110
8111 wxPyEndAllowThreads(__tstate);
8112 if (PyErr_Occurred()) SWIG_fail;
8113 }
4f89f6a3
RD
8114 {
8115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8116 }
d14a1e28
RD
8117 return resultobj;
8118 fail:
8119 return NULL;
8120}
8121
8122
8123static PyObject *_wrap_Grid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8124 PyObject *resultobj;
8125 wxGrid *arg1 = (wxGrid *) 0 ;
8126 WXGRIDSELECTIONMODES arg2 ;
8127 PyObject * obj0 = 0 ;
8edf1c75 8128 PyObject * obj1 = 0 ;
d14a1e28
RD
8129 char *kwnames[] = {
8130 (char *) "self",(char *) "selmode", NULL
8131 };
8132
8edf1c75 8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8136 arg2 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj1);
8137 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8138 {
8139 PyThreadState* __tstate = wxPyBeginAllowThreads();
8140 (arg1)->SetSelectionMode(arg2);
8141
8142 wxPyEndAllowThreads(__tstate);
8143 if (PyErr_Occurred()) SWIG_fail;
8144 }
8145 Py_INCREF(Py_None); resultobj = Py_None;
8146 return resultobj;
8147 fail:
8148 return NULL;
8149}
8150
8151
8152static PyObject *_wrap_Grid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8153 PyObject *resultobj;
8154 wxGrid *arg1 = (wxGrid *) 0 ;
8155 WXGRIDSELECTIONMODES result;
8156 PyObject * obj0 = 0 ;
8157 char *kwnames[] = {
8158 (char *) "self", NULL
8159 };
8160
8161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8164 {
8165 PyThreadState* __tstate = wxPyBeginAllowThreads();
8166 result = (WXGRIDSELECTIONMODES)(arg1)->GetSelectionMode();
8167
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
2f4c0a16 8171 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8172 return resultobj;
8173 fail:
8174 return NULL;
8175}
8176
8177
8178static PyObject *_wrap_Grid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8179 PyObject *resultobj;
8180 wxGrid *arg1 = (wxGrid *) 0 ;
8181 int result;
8182 PyObject * obj0 = 0 ;
8183 char *kwnames[] = {
8184 (char *) "self", NULL
8185 };
8186
8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberRows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8190 {
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 result = (int)(arg1)->GetNumberRows();
8193
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
2f4c0a16 8197 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8198 return resultobj;
8199 fail:
8200 return NULL;
8201}
8202
8203
8204static PyObject *_wrap_Grid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8205 PyObject *resultobj;
8206 wxGrid *arg1 = (wxGrid *) 0 ;
8207 int result;
8208 PyObject * obj0 = 0 ;
8209 char *kwnames[] = {
8210 (char *) "self", NULL
8211 };
8212
8213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberCols",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8216 {
8217 PyThreadState* __tstate = wxPyBeginAllowThreads();
8218 result = (int)(arg1)->GetNumberCols();
8219
8220 wxPyEndAllowThreads(__tstate);
8221 if (PyErr_Occurred()) SWIG_fail;
8222 }
2f4c0a16 8223 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8224 return resultobj;
8225 fail:
8226 return NULL;
8227}
8228
8229
8230static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8231 PyObject *resultobj;
8232 wxGrid *arg1 = (wxGrid *) 0 ;
8233 wxGridTableMessage *arg2 = 0 ;
8234 bool result;
8235 PyObject * obj0 = 0 ;
8236 PyObject * obj1 = 0 ;
8237 char *kwnames[] = {
8238 (char *) "self","arg2", NULL
8239 };
8240
8241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_ProcessTableMessage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8244 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableMessage,
8245 SWIG_POINTER_EXCEPTION | 0)) == -1)
8246 SWIG_fail;
d14a1e28 8247 if (arg2 == NULL) {
2f4c0a16
RD
8248 PyErr_SetString(PyExc_TypeError,"null reference");
8249 SWIG_fail;
d14a1e28
RD
8250 }
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 result = (bool)(arg1)->ProcessTableMessage(*arg2);
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
4f89f6a3
RD
8258 {
8259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8260 }
d14a1e28
RD
8261 return resultobj;
8262 fail:
8263 return NULL;
8264}
8265
8266
8267static PyObject *_wrap_Grid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8268 PyObject *resultobj;
8269 wxGrid *arg1 = (wxGrid *) 0 ;
8270 wxGridTableBase *result;
8271 PyObject * obj0 = 0 ;
8272 char *kwnames[] = {
8273 (char *) "self", NULL
8274 };
8275
8276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetTable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8279 {
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 result = (wxGridTableBase *)((wxGrid const *)arg1)->GetTable();
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 {
8287 resultobj = wxPyMake_wxGridTableBase(result);
8288 }
8289 return resultobj;
8290 fail:
8291 return NULL;
8292}
8293
8294
8295static PyObject *_wrap_Grid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8296 PyObject *resultobj;
8297 wxGrid *arg1 = (wxGrid *) 0 ;
8298 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
423f194a 8299 bool arg3 = (bool) False ;
d14a1e28
RD
8300 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8301 bool result;
8302 PyObject * obj0 = 0 ;
8303 PyObject * obj1 = 0 ;
8304 PyObject * obj2 = 0 ;
8edf1c75 8305 PyObject * obj3 = 0 ;
d14a1e28
RD
8306 char *kwnames[] = {
8307 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8308 };
8309
8edf1c75 8310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetTable",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
8314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8315 if (obj2) {
2f4c0a16
RD
8316 arg3 = (bool) SWIG_AsBool(obj2);
8317 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8318 }
8319 if (obj3) {
2f4c0a16
RD
8320 arg4 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj3);
8321 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8322 }
8323 {
8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
8325 result = (bool)(arg1)->SetTable(arg2,arg3,arg4);
8326
8327 wxPyEndAllowThreads(__tstate);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
4f89f6a3
RD
8330 {
8331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8332 }
d14a1e28
RD
8333 return resultobj;
8334 fail:
8335 return NULL;
8336}
8337
8338
8339static PyObject *_wrap_Grid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8340 PyObject *resultobj;
8341 wxGrid *arg1 = (wxGrid *) 0 ;
8342 PyObject * obj0 = 0 ;
8343 char *kwnames[] = {
8344 (char *) "self", NULL
8345 };
8346
8347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearGrid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8350 {
8351 PyThreadState* __tstate = wxPyBeginAllowThreads();
8352 (arg1)->ClearGrid();
8353
8354 wxPyEndAllowThreads(__tstate);
8355 if (PyErr_Occurred()) SWIG_fail;
8356 }
8357 Py_INCREF(Py_None); resultobj = Py_None;
8358 return resultobj;
8359 fail:
8360 return NULL;
8361}
8362
8363
8364static PyObject *_wrap_Grid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8365 PyObject *resultobj;
8366 wxGrid *arg1 = (wxGrid *) 0 ;
8367 int arg2 = (int) 0 ;
8368 int arg3 = (int) 1 ;
423f194a 8369 bool arg4 = (bool) True ;
d14a1e28
RD
8370 bool result;
8371 PyObject * obj0 = 0 ;
8edf1c75
RD
8372 PyObject * obj1 = 0 ;
8373 PyObject * obj2 = 0 ;
d14a1e28
RD
8374 PyObject * obj3 = 0 ;
8375 char *kwnames[] = {
8376 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8377 };
8378
8edf1c75 8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 8382 if (obj1) {
2f4c0a16
RD
8383 arg2 = (int) SWIG_AsInt(obj1);
8384 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8385 }
8386 if (obj2) {
2f4c0a16
RD
8387 arg3 = (int) SWIG_AsInt(obj2);
8388 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8389 }
d14a1e28 8390 if (obj3) {
2f4c0a16
RD
8391 arg4 = (bool) SWIG_AsBool(obj3);
8392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8393 }
8394 {
8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
8396 result = (bool)(arg1)->InsertRows(arg2,arg3,arg4);
8397
8398 wxPyEndAllowThreads(__tstate);
8399 if (PyErr_Occurred()) SWIG_fail;
8400 }
4f89f6a3
RD
8401 {
8402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8403 }
d14a1e28
RD
8404 return resultobj;
8405 fail:
8406 return NULL;
8407}
8408
8409
8410static PyObject *_wrap_Grid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8411 PyObject *resultobj;
8412 wxGrid *arg1 = (wxGrid *) 0 ;
8413 int arg2 = (int) 1 ;
423f194a 8414 bool arg3 = (bool) True ;
d14a1e28
RD
8415 bool result;
8416 PyObject * obj0 = 0 ;
8edf1c75 8417 PyObject * obj1 = 0 ;
d14a1e28
RD
8418 PyObject * obj2 = 0 ;
8419 char *kwnames[] = {
8420 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8421 };
8422
8edf1c75 8423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 8426 if (obj1) {
2f4c0a16
RD
8427 arg2 = (int) SWIG_AsInt(obj1);
8428 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8429 }
d14a1e28 8430 if (obj2) {
2f4c0a16
RD
8431 arg3 = (bool) SWIG_AsBool(obj2);
8432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8433 }
8434 {
8435 PyThreadState* __tstate = wxPyBeginAllowThreads();
8436 result = (bool)(arg1)->AppendRows(arg2,arg3);
8437
8438 wxPyEndAllowThreads(__tstate);
8439 if (PyErr_Occurred()) SWIG_fail;
8440 }
4f89f6a3
RD
8441 {
8442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8443 }
d14a1e28
RD
8444 return resultobj;
8445 fail:
8446 return NULL;
8447}
8448
8449
8450static PyObject *_wrap_Grid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8451 PyObject *resultobj;
8452 wxGrid *arg1 = (wxGrid *) 0 ;
8453 int arg2 = (int) 0 ;
8454 int arg3 = (int) 1 ;
423f194a 8455 bool arg4 = (bool) True ;
d14a1e28
RD
8456 bool result;
8457 PyObject * obj0 = 0 ;
8edf1c75
RD
8458 PyObject * obj1 = 0 ;
8459 PyObject * obj2 = 0 ;
d14a1e28
RD
8460 PyObject * obj3 = 0 ;
8461 char *kwnames[] = {
8462 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8463 };
8464
8edf1c75 8465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 8468 if (obj1) {
2f4c0a16
RD
8469 arg2 = (int) SWIG_AsInt(obj1);
8470 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8471 }
8472 if (obj2) {
2f4c0a16
RD
8473 arg3 = (int) SWIG_AsInt(obj2);
8474 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8475 }
d14a1e28 8476 if (obj3) {
2f4c0a16
RD
8477 arg4 = (bool) SWIG_AsBool(obj3);
8478 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8479 }
8480 {
8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
8482 result = (bool)(arg1)->DeleteRows(arg2,arg3,arg4);
8483
8484 wxPyEndAllowThreads(__tstate);
8485 if (PyErr_Occurred()) SWIG_fail;
8486 }
4f89f6a3
RD
8487 {
8488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8489 }
d14a1e28
RD
8490 return resultobj;
8491 fail:
8492 return NULL;
8493}
8494
8495
8496static PyObject *_wrap_Grid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8497 PyObject *resultobj;
8498 wxGrid *arg1 = (wxGrid *) 0 ;
8499 int arg2 = (int) 0 ;
8500 int arg3 = (int) 1 ;
423f194a 8501 bool arg4 = (bool) True ;
d14a1e28
RD
8502 bool result;
8503 PyObject * obj0 = 0 ;
8edf1c75
RD
8504 PyObject * obj1 = 0 ;
8505 PyObject * obj2 = 0 ;
d14a1e28
RD
8506 PyObject * obj3 = 0 ;
8507 char *kwnames[] = {
8508 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8509 };
8510
8edf1c75 8511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 8514 if (obj1) {
2f4c0a16
RD
8515 arg2 = (int) SWIG_AsInt(obj1);
8516 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8517 }
8518 if (obj2) {
2f4c0a16
RD
8519 arg3 = (int) SWIG_AsInt(obj2);
8520 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8521 }
d14a1e28 8522 if (obj3) {
2f4c0a16
RD
8523 arg4 = (bool) SWIG_AsBool(obj3);
8524 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8525 }
8526 {
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 result = (bool)(arg1)->InsertCols(arg2,arg3,arg4);
8529
8530 wxPyEndAllowThreads(__tstate);
8531 if (PyErr_Occurred()) SWIG_fail;
8532 }
4f89f6a3
RD
8533 {
8534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8535 }
d14a1e28
RD
8536 return resultobj;
8537 fail:
8538 return NULL;
8539}
8540
8541
8542static PyObject *_wrap_Grid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8543 PyObject *resultobj;
8544 wxGrid *arg1 = (wxGrid *) 0 ;
8545 int arg2 = (int) 1 ;
423f194a 8546 bool arg3 = (bool) True ;
d14a1e28
RD
8547 bool result;
8548 PyObject * obj0 = 0 ;
8edf1c75 8549 PyObject * obj1 = 0 ;
d14a1e28
RD
8550 PyObject * obj2 = 0 ;
8551 char *kwnames[] = {
8552 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8553 };
8554
8edf1c75 8555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 8558 if (obj1) {
2f4c0a16
RD
8559 arg2 = (int) SWIG_AsInt(obj1);
8560 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8561 }
d14a1e28 8562 if (obj2) {
2f4c0a16
RD
8563 arg3 = (bool) SWIG_AsBool(obj2);
8564 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8565 }
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 result = (bool)(arg1)->AppendCols(arg2,arg3);
8569
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
4f89f6a3
RD
8573 {
8574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8575 }
d14a1e28
RD
8576 return resultobj;
8577 fail:
8578 return NULL;
8579}
8580
8581
8582static PyObject *_wrap_Grid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8583 PyObject *resultobj;
8584 wxGrid *arg1 = (wxGrid *) 0 ;
8585 int arg2 = (int) 0 ;
8586 int arg3 = (int) 1 ;
423f194a 8587 bool arg4 = (bool) True ;
d14a1e28
RD
8588 bool result;
8589 PyObject * obj0 = 0 ;
8edf1c75
RD
8590 PyObject * obj1 = 0 ;
8591 PyObject * obj2 = 0 ;
d14a1e28
RD
8592 PyObject * obj3 = 0 ;
8593 char *kwnames[] = {
8594 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8595 };
8596
8edf1c75 8597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 8600 if (obj1) {
2f4c0a16
RD
8601 arg2 = (int) SWIG_AsInt(obj1);
8602 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8603 }
8604 if (obj2) {
2f4c0a16
RD
8605 arg3 = (int) SWIG_AsInt(obj2);
8606 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8607 }
d14a1e28 8608 if (obj3) {
2f4c0a16
RD
8609 arg4 = (bool) SWIG_AsBool(obj3);
8610 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8611 }
8612 {
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 result = (bool)(arg1)->DeleteCols(arg2,arg3,arg4);
8615
8616 wxPyEndAllowThreads(__tstate);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 }
4f89f6a3
RD
8619 {
8620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8621 }
d14a1e28
RD
8622 return resultobj;
8623 fail:
8624 return NULL;
8625}
8626
8627
8628static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8629 PyObject *resultobj;
8630 wxGrid *arg1 = (wxGrid *) 0 ;
8631 wxDC *arg2 = 0 ;
8632 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
8633 PyObject * obj0 = 0 ;
8634 PyObject * obj1 = 0 ;
8635 PyObject * obj2 = 0 ;
8636 char *kwnames[] = {
8637 (char *) "self",(char *) "dc",(char *) "attr", NULL
8638 };
8639
8640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DrawCellHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8643 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8644 SWIG_POINTER_EXCEPTION | 0)) == -1)
8645 SWIG_fail;
d14a1e28 8646 if (arg2 == NULL) {
2f4c0a16
RD
8647 PyErr_SetString(PyExc_TypeError,"null reference");
8648 SWIG_fail;
d14a1e28 8649 }
2f4c0a16
RD
8650 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
8651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 (arg1)->DrawCellHighlight(*arg2,(wxGridCellAttr const *)arg3);
8655
8656 wxPyEndAllowThreads(__tstate);
8657 if (PyErr_Occurred()) SWIG_fail;
8658 }
8659 Py_INCREF(Py_None); resultobj = Py_None;
8660 return resultobj;
8661 fail:
8662 return NULL;
8663}
8664
8665
8666static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8667 PyObject *resultobj;
8668 wxGrid *arg1 = (wxGrid *) 0 ;
8669 wxDC *arg2 = 0 ;
8670 wxString *arg3 = 0 ;
8671 wxRect *arg4 = 0 ;
8672 int arg5 = (int) wxLEFT ;
8673 int arg6 = (int) wxTOP ;
8674 int arg7 = (int) wxHORIZONTAL ;
423f194a 8675 bool temp3 = False ;
d14a1e28
RD
8676 wxRect temp4 ;
8677 PyObject * obj0 = 0 ;
8678 PyObject * obj1 = 0 ;
8679 PyObject * obj2 = 0 ;
8680 PyObject * obj3 = 0 ;
8edf1c75
RD
8681 PyObject * obj4 = 0 ;
8682 PyObject * obj5 = 0 ;
8683 PyObject * obj6 = 0 ;
d14a1e28
RD
8684 char *kwnames[] = {
8685 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8686 };
8687
8edf1c75 8688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
8689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8691 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8692 SWIG_POINTER_EXCEPTION | 0)) == -1)
8693 SWIG_fail;
d14a1e28 8694 if (arg2 == NULL) {
2f4c0a16
RD
8695 PyErr_SetString(PyExc_TypeError,"null reference");
8696 SWIG_fail;
d14a1e28
RD
8697 }
8698 {
8699 arg3 = wxString_in_helper(obj2);
8700 if (arg3 == NULL) SWIG_fail;
423f194a 8701 temp3 = True;
d14a1e28
RD
8702 }
8703 {
8704 arg4 = &temp4;
8705 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
8706 }
8edf1c75 8707 if (obj4) {
2f4c0a16
RD
8708 arg5 = (int) SWIG_AsInt(obj4);
8709 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8710 }
8711 if (obj5) {
2f4c0a16
RD
8712 arg6 = (int) SWIG_AsInt(obj5);
8713 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8714 }
8715 if (obj6) {
2f4c0a16
RD
8716 arg7 = (int) SWIG_AsInt(obj6);
8717 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8718 }
d14a1e28
RD
8719 {
8720 PyThreadState* __tstate = wxPyBeginAllowThreads();
8721 (arg1)->DrawTextRectangle(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
8722
8723 wxPyEndAllowThreads(__tstate);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 Py_INCREF(Py_None); resultobj = Py_None;
8727 {
8728 if (temp3)
8729 delete arg3;
8730 }
8731 return resultobj;
8732 fail:
8733 {
8734 if (temp3)
8735 delete arg3;
8736 }
8737 return NULL;
8738}
8739
8740
8741static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8742 PyObject *resultobj;
8743 wxGrid *arg1 = (wxGrid *) 0 ;
8744 wxDC *arg2 = 0 ;
8745 wxArrayString *arg3 = 0 ;
8746 long *arg4 = (long *) 0 ;
8747 long *arg5 = (long *) 0 ;
db914595 8748 bool temp3 = False ;
d14a1e28
RD
8749 long temp4 ;
8750 long temp5 ;
8751 PyObject * obj0 = 0 ;
8752 PyObject * obj1 = 0 ;
8753 PyObject * obj2 = 0 ;
8754 char *kwnames[] = {
8755 (char *) "self",(char *) "dc",(char *) "lines", NULL
8756 };
8757
8758 arg4 = &temp4;
8759 arg5 = &temp5;
8760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetTextBoxSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8763 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8764 SWIG_POINTER_EXCEPTION | 0)) == -1)
8765 SWIG_fail;
d14a1e28 8766 if (arg2 == NULL) {
2f4c0a16
RD
8767 PyErr_SetString(PyExc_TypeError,"null reference");
8768 SWIG_fail;
d14a1e28
RD
8769 }
8770 {
8771 if (! PySequence_Check(obj2)) {
8772 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8773 SWIG_fail;
8774 }
8775 arg3 = new wxArrayString;
db914595 8776 temp3 = True;
d14a1e28
RD
8777 int i, len=PySequence_Length(obj2);
8778 for (i=0; i<len; i++) {
8779 PyObject* item = PySequence_GetItem(obj2, i);
8780#if wxUSE_UNICODE
8781 PyObject* str = PyObject_Unicode(item);
8782#else
8783 PyObject* str = PyObject_Str(item);
8784#endif
74a57fcd 8785 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8786 arg3->Add(Py2wxString(str));
8787 Py_DECREF(item);
8788 Py_DECREF(str);
8789 }
8790 }
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 (arg1)->GetTextBoxSize(*arg2,*arg3,arg4,arg5);
8794
8795 wxPyEndAllowThreads(__tstate);
8796 if (PyErr_Occurred()) SWIG_fail;
8797 }
8798 Py_INCREF(Py_None); resultobj = Py_None;
8799 {
8800 PyObject *o = PyInt_FromLong((long) (*arg4));
8801 resultobj = t_output_helper(resultobj,o);
8802 }
8803 {
8804 PyObject *o = PyInt_FromLong((long) (*arg5));
8805 resultobj = t_output_helper(resultobj,o);
8806 }
8807 {
db914595 8808 if (temp3) delete arg3;
d14a1e28
RD
8809 }
8810 return resultobj;
8811 fail:
8812 {
db914595 8813 if (temp3) delete arg3;
d14a1e28
RD
8814 }
8815 return NULL;
8816}
8817
8818
8819static PyObject *_wrap_Grid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8820 PyObject *resultobj;
8821 wxGrid *arg1 = (wxGrid *) 0 ;
8822 PyObject * obj0 = 0 ;
8823 char *kwnames[] = {
8824 (char *) "self", NULL
8825 };
8826
8827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_BeginBatch",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8830 {
8831 PyThreadState* __tstate = wxPyBeginAllowThreads();
8832 (arg1)->BeginBatch();
8833
8834 wxPyEndAllowThreads(__tstate);
8835 if (PyErr_Occurred()) SWIG_fail;
8836 }
8837 Py_INCREF(Py_None); resultobj = Py_None;
8838 return resultobj;
8839 fail:
8840 return NULL;
8841}
8842
8843
8844static PyObject *_wrap_Grid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8845 PyObject *resultobj;
8846 wxGrid *arg1 = (wxGrid *) 0 ;
8847 PyObject * obj0 = 0 ;
8848 char *kwnames[] = {
8849 (char *) "self", NULL
8850 };
8851
8852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_EndBatch",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8855 {
8856 PyThreadState* __tstate = wxPyBeginAllowThreads();
8857 (arg1)->EndBatch();
8858
8859 wxPyEndAllowThreads(__tstate);
8860 if (PyErr_Occurred()) SWIG_fail;
8861 }
8862 Py_INCREF(Py_None); resultobj = Py_None;
8863 return resultobj;
8864 fail:
8865 return NULL;
8866}
8867
8868
8869static PyObject *_wrap_Grid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8870 PyObject *resultobj;
8871 wxGrid *arg1 = (wxGrid *) 0 ;
8872 int result;
8873 PyObject * obj0 = 0 ;
8874 char *kwnames[] = {
8875 (char *) "self", NULL
8876 };
8877
8878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetBatchCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
8883 result = (int)(arg1)->GetBatchCount();
8884
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
2f4c0a16 8888 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8889 return resultobj;
8890 fail:
8891 return NULL;
8892}
8893
8894
8895static PyObject *_wrap_Grid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8896 PyObject *resultobj;
8897 wxGrid *arg1 = (wxGrid *) 0 ;
8898 PyObject * obj0 = 0 ;
8899 char *kwnames[] = {
8900 (char *) "self", NULL
8901 };
8902
8903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ForceRefresh",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8906 {
8907 PyThreadState* __tstate = wxPyBeginAllowThreads();
8908 (arg1)->ForceRefresh();
8909
8910 wxPyEndAllowThreads(__tstate);
8911 if (PyErr_Occurred()) SWIG_fail;
8912 }
8913 Py_INCREF(Py_None); resultobj = Py_None;
8914 return resultobj;
8915 fail:
8916 return NULL;
8917}
8918
8919
d14a1e28
RD
8920static PyObject *_wrap_Grid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8921 PyObject *resultobj;
8922 wxGrid *arg1 = (wxGrid *) 0 ;
8923 bool result;
8924 PyObject * obj0 = 0 ;
8925 char *kwnames[] = {
8926 (char *) "self", NULL
8927 };
8928
8929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsEditable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8932 {
8933 PyThreadState* __tstate = wxPyBeginAllowThreads();
8934 result = (bool)(arg1)->IsEditable();
8935
8936 wxPyEndAllowThreads(__tstate);
8937 if (PyErr_Occurred()) SWIG_fail;
8938 }
4f89f6a3
RD
8939 {
8940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8941 }
d14a1e28
RD
8942 return resultobj;
8943 fail:
8944 return NULL;
8945}
8946
8947
8948static PyObject *_wrap_Grid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj;
8950 wxGrid *arg1 = (wxGrid *) 0 ;
8951 bool arg2 ;
8952 PyObject * obj0 = 0 ;
8953 PyObject * obj1 = 0 ;
8954 char *kwnames[] = {
8955 (char *) "self",(char *) "edit", NULL
8956 };
8957
8958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_EnableEditing",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8961 arg2 = (bool) SWIG_AsBool(obj1);
8962 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8963 {
8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
8965 (arg1)->EnableEditing(arg2);
8966
8967 wxPyEndAllowThreads(__tstate);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 }
8970 Py_INCREF(Py_None); resultobj = Py_None;
8971 return resultobj;
8972 fail:
8973 return NULL;
8974}
8975
8976
8977static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8978 PyObject *resultobj;
8979 wxGrid *arg1 = (wxGrid *) 0 ;
423f194a 8980 bool arg2 = (bool) True ;
d14a1e28
RD
8981 PyObject * obj0 = 0 ;
8982 PyObject * obj1 = 0 ;
8983 char *kwnames[] = {
8984 (char *) "self",(char *) "enable", NULL
8985 };
8986
8987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableCellEditControl",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8990 if (obj1) {
2f4c0a16
RD
8991 arg2 = (bool) SWIG_AsBool(obj1);
8992 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8993 }
8994 {
8995 PyThreadState* __tstate = wxPyBeginAllowThreads();
8996 (arg1)->EnableCellEditControl(arg2);
8997
8998 wxPyEndAllowThreads(__tstate);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
9001 Py_INCREF(Py_None); resultobj = Py_None;
9002 return resultobj;
9003 fail:
9004 return NULL;
9005}
9006
9007
9008static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj;
9010 wxGrid *arg1 = (wxGrid *) 0 ;
9011 PyObject * obj0 = 0 ;
9012 char *kwnames[] = {
9013 (char *) "self", NULL
9014 };
9015
9016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableCellEditControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9019 {
9020 PyThreadState* __tstate = wxPyBeginAllowThreads();
9021 (arg1)->DisableCellEditControl();
9022
9023 wxPyEndAllowThreads(__tstate);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 }
9026 Py_INCREF(Py_None); resultobj = Py_None;
9027 return resultobj;
9028 fail:
9029 return NULL;
9030}
9031
9032
9033static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9034 PyObject *resultobj;
9035 wxGrid *arg1 = (wxGrid *) 0 ;
9036 bool result;
9037 PyObject * obj0 = 0 ;
9038 char *kwnames[] = {
9039 (char *) "self", NULL
9040 };
9041
9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanEnableCellControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9045 {
9046 PyThreadState* __tstate = wxPyBeginAllowThreads();
9047 result = (bool)((wxGrid const *)arg1)->CanEnableCellControl();
9048
9049 wxPyEndAllowThreads(__tstate);
9050 if (PyErr_Occurred()) SWIG_fail;
9051 }
4f89f6a3
RD
9052 {
9053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9054 }
d14a1e28
RD
9055 return resultobj;
9056 fail:
9057 return NULL;
9058}
9059
9060
9061static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9062 PyObject *resultobj;
9063 wxGrid *arg1 = (wxGrid *) 0 ;
9064 bool result;
9065 PyObject * obj0 = 0 ;
9066 char *kwnames[] = {
9067 (char *) "self", NULL
9068 };
9069
9070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9073 {
9074 PyThreadState* __tstate = wxPyBeginAllowThreads();
9075 result = (bool)((wxGrid const *)arg1)->IsCellEditControlEnabled();
9076
9077 wxPyEndAllowThreads(__tstate);
9078 if (PyErr_Occurred()) SWIG_fail;
9079 }
4f89f6a3
RD
9080 {
9081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9082 }
d14a1e28
RD
9083 return resultobj;
9084 fail:
9085 return NULL;
9086}
9087
9088
9089static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
9090 PyObject *resultobj;
9091 wxGrid *arg1 = (wxGrid *) 0 ;
9092 bool result;
9093 PyObject * obj0 = 0 ;
9094 char *kwnames[] = {
9095 (char *) "self", NULL
9096 };
9097
9098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlShown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 result = (bool)((wxGrid const *)arg1)->IsCellEditControlShown();
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
4f89f6a3
RD
9108 {
9109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9110 }
d14a1e28
RD
9111 return resultobj;
9112 fail:
9113 return NULL;
9114}
9115
9116
9117static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
9118 PyObject *resultobj;
9119 wxGrid *arg1 = (wxGrid *) 0 ;
9120 bool result;
9121 PyObject * obj0 = 0 ;
9122 char *kwnames[] = {
9123 (char *) "self", NULL
9124 };
9125
9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 result = (bool)((wxGrid const *)arg1)->IsCurrentCellReadOnly();
9132
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
4f89f6a3
RD
9136 {
9137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9138 }
d14a1e28
RD
9139 return resultobj;
9140 fail:
9141 return NULL;
9142}
9143
9144
9145static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9146 PyObject *resultobj;
9147 wxGrid *arg1 = (wxGrid *) 0 ;
9148 PyObject * obj0 = 0 ;
9149 char *kwnames[] = {
9150 (char *) "self", NULL
9151 };
9152
9153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ShowCellEditControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 (arg1)->ShowCellEditControl();
9159
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 }
9163 Py_INCREF(Py_None); resultobj = Py_None;
9164 return resultobj;
9165 fail:
9166 return NULL;
9167}
9168
9169
9170static PyObject *_wrap_Grid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9171 PyObject *resultobj;
9172 wxGrid *arg1 = (wxGrid *) 0 ;
9173 PyObject * obj0 = 0 ;
9174 char *kwnames[] = {
9175 (char *) "self", NULL
9176 };
9177
9178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_HideCellEditControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 (arg1)->HideCellEditControl();
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 Py_INCREF(Py_None); resultobj = Py_None;
9189 return resultobj;
9190 fail:
9191 return NULL;
9192}
9193
9194
9195static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9196 PyObject *resultobj;
9197 wxGrid *arg1 = (wxGrid *) 0 ;
9198 PyObject * obj0 = 0 ;
9199 char *kwnames[] = {
9200 (char *) "self", NULL
9201 };
9202
9203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SaveEditControlValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9206 {
9207 PyThreadState* __tstate = wxPyBeginAllowThreads();
9208 (arg1)->SaveEditControlValue();
9209
9210 wxPyEndAllowThreads(__tstate);
9211 if (PyErr_Occurred()) SWIG_fail;
9212 }
9213 Py_INCREF(Py_None); resultobj = Py_None;
9214 return resultobj;
9215 fail:
9216 return NULL;
9217}
9218
9219
9220static PyObject *_wrap_Grid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
9221 PyObject *resultobj;
9222 wxGrid *arg1 = (wxGrid *) 0 ;
9223 int arg2 ;
9224 int arg3 ;
9225 wxGridCellCoords result;
9226 PyObject * obj0 = 0 ;
8edf1c75
RD
9227 PyObject * obj1 = 0 ;
9228 PyObject * obj2 = 0 ;
d14a1e28
RD
9229 char *kwnames[] = {
9230 (char *) "self",(char *) "x",(char *) "y", NULL
9231 };
9232
8edf1c75 9233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_XYToCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9236 arg2 = (int) SWIG_AsInt(obj1);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 arg3 = (int) SWIG_AsInt(obj2);
9239 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9240 {
9241 PyThreadState* __tstate = wxPyBeginAllowThreads();
9242 result = wxGrid_XYToCell(arg1,arg2,arg3);
9243
9244 wxPyEndAllowThreads(__tstate);
9245 if (PyErr_Occurred()) SWIG_fail;
9246 }
9247 {
9248 wxGridCellCoords * resultptr;
9249 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
2f4c0a16 9250 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
9251 }
9252 return resultobj;
9253 fail:
9254 return NULL;
9255}
9256
9257
9258static PyObject *_wrap_Grid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9259 PyObject *resultobj;
9260 wxGrid *arg1 = (wxGrid *) 0 ;
9261 int arg2 ;
9262 int result;
9263 PyObject * obj0 = 0 ;
8edf1c75 9264 PyObject * obj1 = 0 ;
d14a1e28
RD
9265 char *kwnames[] = {
9266 (char *) "self",(char *) "y", NULL
9267 };
9268
8edf1c75 9269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9272 arg2 = (int) SWIG_AsInt(obj1);
9273 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9274 {
9275 PyThreadState* __tstate = wxPyBeginAllowThreads();
9276 result = (int)(arg1)->YToRow(arg2);
9277
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
2f4c0a16 9281 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9282 return resultobj;
9283 fail:
9284 return NULL;
9285}
9286
9287
9288static PyObject *_wrap_Grid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9289 PyObject *resultobj;
9290 wxGrid *arg1 = (wxGrid *) 0 ;
9291 int arg2 ;
9292 int result;
9293 PyObject * obj0 = 0 ;
8edf1c75 9294 PyObject * obj1 = 0 ;
d14a1e28
RD
9295 char *kwnames[] = {
9296 (char *) "self",(char *) "x", NULL
9297 };
9298
8edf1c75 9299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9302 arg2 = (int) SWIG_AsInt(obj1);
9303 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9304 {
9305 PyThreadState* __tstate = wxPyBeginAllowThreads();
9306 result = (int)(arg1)->XToCol(arg2);
9307
9308 wxPyEndAllowThreads(__tstate);
9309 if (PyErr_Occurred()) SWIG_fail;
9310 }
2f4c0a16 9311 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9312 return resultobj;
9313 fail:
9314 return NULL;
9315}
9316
9317
9318static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9319 PyObject *resultobj;
9320 wxGrid *arg1 = (wxGrid *) 0 ;
9321 int arg2 ;
9322 int result;
9323 PyObject * obj0 = 0 ;
8edf1c75 9324 PyObject * obj1 = 0 ;
d14a1e28
RD
9325 char *kwnames[] = {
9326 (char *) "self",(char *) "y", NULL
9327 };
9328
8edf1c75 9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToEdgeOfRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9332 arg2 = (int) SWIG_AsInt(obj1);
9333 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9334 {
9335 PyThreadState* __tstate = wxPyBeginAllowThreads();
9336 result = (int)(arg1)->YToEdgeOfRow(arg2);
9337
9338 wxPyEndAllowThreads(__tstate);
9339 if (PyErr_Occurred()) SWIG_fail;
9340 }
2f4c0a16 9341 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9342 return resultobj;
9343 fail:
9344 return NULL;
9345}
9346
9347
9348static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9349 PyObject *resultobj;
9350 wxGrid *arg1 = (wxGrid *) 0 ;
9351 int arg2 ;
9352 int result;
9353 PyObject * obj0 = 0 ;
8edf1c75 9354 PyObject * obj1 = 0 ;
d14a1e28
RD
9355 char *kwnames[] = {
9356 (char *) "self",(char *) "x", NULL
9357 };
9358
8edf1c75 9359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToEdgeOfCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9362 arg2 = (int) SWIG_AsInt(obj1);
9363 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9364 {
9365 PyThreadState* __tstate = wxPyBeginAllowThreads();
9366 result = (int)(arg1)->XToEdgeOfCol(arg2);
9367
9368 wxPyEndAllowThreads(__tstate);
9369 if (PyErr_Occurred()) SWIG_fail;
9370 }
2f4c0a16 9371 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9372 return resultobj;
9373 fail:
9374 return NULL;
9375}
9376
9377
9378static PyObject *_wrap_Grid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9379 PyObject *resultobj;
9380 wxGrid *arg1 = (wxGrid *) 0 ;
9381 int arg2 ;
9382 int arg3 ;
9383 wxRect result;
9384 PyObject * obj0 = 0 ;
8edf1c75
RD
9385 PyObject * obj1 = 0 ;
9386 PyObject * obj2 = 0 ;
d14a1e28
RD
9387 char *kwnames[] = {
9388 (char *) "self",(char *) "row",(char *) "col", NULL
2f4c0a16
RD
9389 };
9390
9391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_CellToRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
9392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9394 arg2 = (int) SWIG_AsInt(obj1);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 arg3 = (int) SWIG_AsInt(obj2);
9397 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9398 {
9399 PyThreadState* __tstate = wxPyBeginAllowThreads();
9400 result = (arg1)->CellToRect(arg2,arg3);
9401
9402 wxPyEndAllowThreads(__tstate);
9403 if (PyErr_Occurred()) SWIG_fail;
9404 }
9405 {
9406 wxRect * resultptr;
9407 resultptr = new wxRect((wxRect &) result);
2f4c0a16 9408 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
9409 }
9410 return resultobj;
9411 fail:
9412 return NULL;
9413}
9414
9415
9416static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9417 PyObject *resultobj;
9418 wxGrid *arg1 = (wxGrid *) 0 ;
9419 int result;
9420 PyObject * obj0 = 0 ;
9421 char *kwnames[] = {
9422 (char *) "self", NULL
9423 };
9424
9425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9428 {
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 result = (int)(arg1)->GetGridCursorRow();
9431
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
2f4c0a16 9435 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9436 return resultobj;
9437 fail:
9438 return NULL;
9439}
9440
9441
9442static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9443 PyObject *resultobj;
9444 wxGrid *arg1 = (wxGrid *) 0 ;
9445 int result;
9446 PyObject * obj0 = 0 ;
9447 char *kwnames[] = {
9448 (char *) "self", NULL
9449 };
9450
9451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9454 {
9455 PyThreadState* __tstate = wxPyBeginAllowThreads();
9456 result = (int)(arg1)->GetGridCursorCol();
9457
9458 wxPyEndAllowThreads(__tstate);
9459 if (PyErr_Occurred()) SWIG_fail;
9460 }
2f4c0a16 9461 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9462 return resultobj;
9463 fail:
9464 return NULL;
9465}
9466
9467
9468static PyObject *_wrap_Grid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9469 PyObject *resultobj;
9470 wxGrid *arg1 = (wxGrid *) 0 ;
9471 int arg2 ;
9472 int arg3 ;
423f194a 9473 bool arg4 = (bool) True ;
d14a1e28
RD
9474 bool result;
9475 PyObject * obj0 = 0 ;
8edf1c75
RD
9476 PyObject * obj1 = 0 ;
9477 PyObject * obj2 = 0 ;
d14a1e28
RD
9478 PyObject * obj3 = 0 ;
9479 char *kwnames[] = {
9480 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9481 };
9482
8edf1c75 9483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_IsVisible",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9486 arg2 = (int) SWIG_AsInt(obj1);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 arg3 = (int) SWIG_AsInt(obj2);
9489 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9490 if (obj3) {
2f4c0a16
RD
9491 arg4 = (bool) SWIG_AsBool(obj3);
9492 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9493 }
9494 {
9495 PyThreadState* __tstate = wxPyBeginAllowThreads();
9496 result = (bool)(arg1)->IsVisible(arg2,arg3,arg4);
9497
9498 wxPyEndAllowThreads(__tstate);
9499 if (PyErr_Occurred()) SWIG_fail;
9500 }
4f89f6a3
RD
9501 {
9502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9503 }
d14a1e28
RD
9504 return resultobj;
9505 fail:
9506 return NULL;
9507}
9508
9509
9510static PyObject *_wrap_Grid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9511 PyObject *resultobj;
9512 wxGrid *arg1 = (wxGrid *) 0 ;
9513 int arg2 ;
9514 int arg3 ;
9515 PyObject * obj0 = 0 ;
8edf1c75
RD
9516 PyObject * obj1 = 0 ;
9517 PyObject * obj2 = 0 ;
d14a1e28
RD
9518 char *kwnames[] = {
9519 (char *) "self",(char *) "row",(char *) "col", NULL
9520 };
9521
8edf1c75 9522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_MakeCellVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9525 arg2 = (int) SWIG_AsInt(obj1);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 arg3 = (int) SWIG_AsInt(obj2);
9528 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9529 {
9530 PyThreadState* __tstate = wxPyBeginAllowThreads();
9531 (arg1)->MakeCellVisible(arg2,arg3);
9532
9533 wxPyEndAllowThreads(__tstate);
9534 if (PyErr_Occurred()) SWIG_fail;
9535 }
9536 Py_INCREF(Py_None); resultobj = Py_None;
9537 return resultobj;
9538 fail:
9539 return NULL;
9540}
9541
9542
9543static PyObject *_wrap_Grid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9544 PyObject *resultobj;
9545 wxGrid *arg1 = (wxGrid *) 0 ;
9546 int arg2 ;
9547 int arg3 ;
9548 PyObject * obj0 = 0 ;
8edf1c75
RD
9549 PyObject * obj1 = 0 ;
9550 PyObject * obj2 = 0 ;
d14a1e28
RD
9551 char *kwnames[] = {
9552 (char *) "self",(char *) "row",(char *) "col", NULL
9553 };
9554
8edf1c75 9555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetGridCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9558 arg2 = (int) SWIG_AsInt(obj1);
9559 if (PyErr_Occurred()) SWIG_fail;
9560 arg3 = (int) SWIG_AsInt(obj2);
9561 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9562 {
9563 PyThreadState* __tstate = wxPyBeginAllowThreads();
9564 (arg1)->SetGridCursor(arg2,arg3);
9565
9566 wxPyEndAllowThreads(__tstate);
9567 if (PyErr_Occurred()) SWIG_fail;
9568 }
9569 Py_INCREF(Py_None); resultobj = Py_None;
9570 return resultobj;
9571 fail:
9572 return NULL;
9573}
9574
9575
9576static PyObject *_wrap_Grid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9577 PyObject *resultobj;
9578 wxGrid *arg1 = (wxGrid *) 0 ;
9579 bool arg2 ;
9580 bool result;
9581 PyObject * obj0 = 0 ;
9582 PyObject * obj1 = 0 ;
9583 char *kwnames[] = {
9584 (char *) "self",(char *) "expandSelection", NULL
9585 };
9586
9587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9590 arg2 = (bool) SWIG_AsBool(obj1);
9591 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9592 {
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 result = (bool)(arg1)->MoveCursorUp(arg2);
9595
9596 wxPyEndAllowThreads(__tstate);
9597 if (PyErr_Occurred()) SWIG_fail;
9598 }
4f89f6a3
RD
9599 {
9600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9601 }
d14a1e28
RD
9602 return resultobj;
9603 fail:
9604 return NULL;
9605}
9606
9607
9608static PyObject *_wrap_Grid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9609 PyObject *resultobj;
9610 wxGrid *arg1 = (wxGrid *) 0 ;
9611 bool arg2 ;
9612 bool result;
9613 PyObject * obj0 = 0 ;
9614 PyObject * obj1 = 0 ;
9615 char *kwnames[] = {
9616 (char *) "self",(char *) "expandSelection", NULL
9617 };
9618
9619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9622 arg2 = (bool) SWIG_AsBool(obj1);
9623 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 result = (bool)(arg1)->MoveCursorDown(arg2);
9627
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
4f89f6a3
RD
9631 {
9632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9633 }
d14a1e28
RD
9634 return resultobj;
9635 fail:
9636 return NULL;
9637}
9638
9639
9640static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9641 PyObject *resultobj;
9642 wxGrid *arg1 = (wxGrid *) 0 ;
9643 bool arg2 ;
9644 bool result;
9645 PyObject * obj0 = 0 ;
9646 PyObject * obj1 = 0 ;
9647 char *kwnames[] = {
9648 (char *) "self",(char *) "expandSelection", NULL
9649 };
9650
9651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeft",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9654 arg2 = (bool) SWIG_AsBool(obj1);
9655 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9656 {
9657 PyThreadState* __tstate = wxPyBeginAllowThreads();
9658 result = (bool)(arg1)->MoveCursorLeft(arg2);
9659
9660 wxPyEndAllowThreads(__tstate);
9661 if (PyErr_Occurred()) SWIG_fail;
9662 }
4f89f6a3
RD
9663 {
9664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9665 }
d14a1e28
RD
9666 return resultobj;
9667 fail:
9668 return NULL;
9669}
9670
9671
9672static PyObject *_wrap_Grid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9673 PyObject *resultobj;
9674 wxGrid *arg1 = (wxGrid *) 0 ;
9675 bool arg2 ;
9676 bool result;
9677 PyObject * obj0 = 0 ;
9678 PyObject * obj1 = 0 ;
9679 char *kwnames[] = {
9680 (char *) "self",(char *) "expandSelection", NULL
9681 };
9682
9683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9686 arg2 = (bool) SWIG_AsBool(obj1);
9687 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
9690 result = (bool)(arg1)->MoveCursorRight(arg2);
9691
9692 wxPyEndAllowThreads(__tstate);
9693 if (PyErr_Occurred()) SWIG_fail;
9694 }
4f89f6a3
RD
9695 {
9696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9697 }
d14a1e28
RD
9698 return resultobj;
9699 fail:
9700 return NULL;
9701}
9702
9703
9704static PyObject *_wrap_Grid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9705 PyObject *resultobj;
9706 wxGrid *arg1 = (wxGrid *) 0 ;
9707 bool result;
9708 PyObject * obj0 = 0 ;
9709 char *kwnames[] = {
9710 (char *) "self", NULL
9711 };
9712
9713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9716 {
9717 PyThreadState* __tstate = wxPyBeginAllowThreads();
9718 result = (bool)(arg1)->MovePageDown();
9719
9720 wxPyEndAllowThreads(__tstate);
9721 if (PyErr_Occurred()) SWIG_fail;
9722 }
4f89f6a3
RD
9723 {
9724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9725 }
d14a1e28
RD
9726 return resultobj;
9727 fail:
9728 return NULL;
9729}
9730
9731
9732static PyObject *_wrap_Grid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9733 PyObject *resultobj;
9734 wxGrid *arg1 = (wxGrid *) 0 ;
9735 bool result;
9736 PyObject * obj0 = 0 ;
9737 char *kwnames[] = {
9738 (char *) "self", NULL
9739 };
9740
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9744 {
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 result = (bool)(arg1)->MovePageUp();
9747
9748 wxPyEndAllowThreads(__tstate);
9749 if (PyErr_Occurred()) SWIG_fail;
9750 }
4f89f6a3
RD
9751 {
9752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9753 }
d14a1e28
RD
9754 return resultobj;
9755 fail:
9756 return NULL;
9757}
9758
9759
9760static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9761 PyObject *resultobj;
9762 wxGrid *arg1 = (wxGrid *) 0 ;
9763 bool arg2 ;
9764 bool result;
9765 PyObject * obj0 = 0 ;
9766 PyObject * obj1 = 0 ;
9767 char *kwnames[] = {
9768 (char *) "self",(char *) "expandSelection", NULL
9769 };
9770
9771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUpBlock",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9774 arg2 = (bool) SWIG_AsBool(obj1);
9775 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9776 {
9777 PyThreadState* __tstate = wxPyBeginAllowThreads();
9778 result = (bool)(arg1)->MoveCursorUpBlock(arg2);
9779
9780 wxPyEndAllowThreads(__tstate);
9781 if (PyErr_Occurred()) SWIG_fail;
9782 }
4f89f6a3
RD
9783 {
9784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9785 }
d14a1e28
RD
9786 return resultobj;
9787 fail:
9788 return NULL;
9789}
9790
9791
9792static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9793 PyObject *resultobj;
9794 wxGrid *arg1 = (wxGrid *) 0 ;
9795 bool arg2 ;
9796 bool result;
9797 PyObject * obj0 = 0 ;
9798 PyObject * obj1 = 0 ;
9799 char *kwnames[] = {
9800 (char *) "self",(char *) "expandSelection", NULL
9801 };
9802
9803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDownBlock",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9806 arg2 = (bool) SWIG_AsBool(obj1);
9807 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 result = (bool)(arg1)->MoveCursorDownBlock(arg2);
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
4f89f6a3
RD
9815 {
9816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9817 }
d14a1e28
RD
9818 return resultobj;
9819 fail:
9820 return NULL;
9821}
9822
9823
9824static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9825 PyObject *resultobj;
9826 wxGrid *arg1 = (wxGrid *) 0 ;
9827 bool arg2 ;
9828 bool result;
9829 PyObject * obj0 = 0 ;
9830 PyObject * obj1 = 0 ;
9831 char *kwnames[] = {
9832 (char *) "self",(char *) "expandSelection", NULL
9833 };
9834
9835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9838 arg2 = (bool) SWIG_AsBool(obj1);
9839 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9840 {
9841 PyThreadState* __tstate = wxPyBeginAllowThreads();
9842 result = (bool)(arg1)->MoveCursorLeftBlock(arg2);
9843
9844 wxPyEndAllowThreads(__tstate);
9845 if (PyErr_Occurred()) SWIG_fail;
9846 }
4f89f6a3
RD
9847 {
9848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9849 }
d14a1e28
RD
9850 return resultobj;
9851 fail:
9852 return NULL;
9853}
9854
9855
9856static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9857 PyObject *resultobj;
9858 wxGrid *arg1 = (wxGrid *) 0 ;
9859 bool arg2 ;
9860 bool result;
9861 PyObject * obj0 = 0 ;
9862 PyObject * obj1 = 0 ;
9863 char *kwnames[] = {
9864 (char *) "self",(char *) "expandSelection", NULL
9865 };
9866
9867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRightBlock",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9870 arg2 = (bool) SWIG_AsBool(obj1);
9871 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9872 {
9873 PyThreadState* __tstate = wxPyBeginAllowThreads();
9874 result = (bool)(arg1)->MoveCursorRightBlock(arg2);
9875
9876 wxPyEndAllowThreads(__tstate);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 }
4f89f6a3
RD
9879 {
9880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9881 }
d14a1e28
RD
9882 return resultobj;
9883 fail:
9884 return NULL;
9885}
9886
9887
9888static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9889 PyObject *resultobj;
9890 wxGrid *arg1 = (wxGrid *) 0 ;
9891 int result;
9892 PyObject * obj0 = 0 ;
9893 char *kwnames[] = {
9894 (char *) "self", NULL
9895 };
9896
9897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9900 {
9901 PyThreadState* __tstate = wxPyBeginAllowThreads();
9902 result = (int)(arg1)->GetDefaultRowLabelSize();
9903
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
2f4c0a16 9907 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9908 return resultobj;
9909 fail:
9910 return NULL;
9911}
9912
9913
9914static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9915 PyObject *resultobj;
9916 wxGrid *arg1 = (wxGrid *) 0 ;
9917 int result;
9918 PyObject * obj0 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9926 {
9927 PyThreadState* __tstate = wxPyBeginAllowThreads();
9928 result = (int)(arg1)->GetRowLabelSize();
9929
9930 wxPyEndAllowThreads(__tstate);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 }
2f4c0a16 9933 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9934 return resultobj;
9935 fail:
9936 return NULL;
9937}
9938
9939
9940static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9941 PyObject *resultobj;
9942 wxGrid *arg1 = (wxGrid *) 0 ;
9943 int result;
9944 PyObject * obj0 = 0 ;
9945 char *kwnames[] = {
9946 (char *) "self", NULL
9947 };
9948
9949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColLabelSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9952 {
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
9954 result = (int)(arg1)->GetDefaultColLabelSize();
9955
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 }
2f4c0a16 9959 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9960 return resultobj;
9961 fail:
9962 return NULL;
9963}
9964
9965
9966static PyObject *_wrap_Grid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9967 PyObject *resultobj;
9968 wxGrid *arg1 = (wxGrid *) 0 ;
9969 int result;
9970 PyObject * obj0 = 0 ;
9971 char *kwnames[] = {
9972 (char *) "self", NULL
9973 };
9974
9975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 result = (int)(arg1)->GetColLabelSize();
9981
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
2f4c0a16 9985 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9986 return resultobj;
9987 fail:
9988 return NULL;
9989}
9990
9991
9992static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9993 PyObject *resultobj;
9994 wxGrid *arg1 = (wxGrid *) 0 ;
9995 wxColour result;
9996 PyObject * obj0 = 0 ;
9997 char *kwnames[] = {
9998 (char *) "self", NULL
9999 };
10000
10001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = (arg1)->GetLabelBackgroundColour();
10007
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 {
10012 wxColour * resultptr;
10013 resultptr = new wxColour((wxColour &) result);
2f4c0a16 10014 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10015 }
10016 return resultobj;
10017 fail:
10018 return NULL;
10019}
10020
10021
10022static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10023 PyObject *resultobj;
10024 wxGrid *arg1 = (wxGrid *) 0 ;
10025 wxColour result;
10026 PyObject * obj0 = 0 ;
10027 char *kwnames[] = {
10028 (char *) "self", NULL
10029 };
10030
10031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10034 {
10035 PyThreadState* __tstate = wxPyBeginAllowThreads();
10036 result = (arg1)->GetLabelTextColour();
10037
10038 wxPyEndAllowThreads(__tstate);
10039 if (PyErr_Occurred()) SWIG_fail;
10040 }
10041 {
10042 wxColour * resultptr;
10043 resultptr = new wxColour((wxColour &) result);
2f4c0a16 10044 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10045 }
10046 return resultobj;
10047 fail:
10048 return NULL;
10049}
10050
10051
10052static PyObject *_wrap_Grid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10053 PyObject *resultobj;
10054 wxGrid *arg1 = (wxGrid *) 0 ;
10055 wxFont result;
10056 PyObject * obj0 = 0 ;
10057 char *kwnames[] = {
10058 (char *) "self", NULL
10059 };
10060
10061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10064 {
10065 PyThreadState* __tstate = wxPyBeginAllowThreads();
10066 result = (arg1)->GetLabelFont();
10067
10068 wxPyEndAllowThreads(__tstate);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 }
10071 {
10072 wxFont * resultptr;
10073 resultptr = new wxFont((wxFont &) result);
2f4c0a16 10074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
10075 }
10076 return resultobj;
10077 fail:
10078 return NULL;
10079}
10080
10081
10082static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10083 PyObject *resultobj;
10084 wxGrid *arg1 = (wxGrid *) 0 ;
10085 int *arg2 = (int *) 0 ;
10086 int *arg3 = (int *) 0 ;
10087 int temp2 ;
10088 int temp3 ;
10089 PyObject * obj0 = 0 ;
10090 char *kwnames[] = {
10091 (char *) "self", NULL
10092 };
10093
10094 arg2 = &temp2;
10095 arg3 = &temp3;
10096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelAlignment",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 (arg1)->GetRowLabelAlignment(arg2,arg3);
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 Py_INCREF(Py_None); resultobj = Py_None;
10107 {
10108 PyObject *o = PyInt_FromLong((long) (*arg2));
10109 resultobj = t_output_helper(resultobj,o);
10110 }
10111 {
10112 PyObject *o = PyInt_FromLong((long) (*arg3));
10113 resultobj = t_output_helper(resultobj,o);
10114 }
10115 return resultobj;
10116 fail:
10117 return NULL;
10118}
10119
10120
10121static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj;
10123 wxGrid *arg1 = (wxGrid *) 0 ;
10124 int *arg2 = (int *) 0 ;
10125 int *arg3 = (int *) 0 ;
10126 int temp2 ;
10127 int temp3 ;
10128 PyObject * obj0 = 0 ;
10129 char *kwnames[] = {
10130 (char *) "self", NULL
10131 };
10132
10133 arg2 = &temp2;
10134 arg3 = &temp3;
10135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelAlignment",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
10140 (arg1)->GetColLabelAlignment(arg2,arg3);
10141
10142 wxPyEndAllowThreads(__tstate);
10143 if (PyErr_Occurred()) SWIG_fail;
10144 }
10145 Py_INCREF(Py_None); resultobj = Py_None;
10146 {
10147 PyObject *o = PyInt_FromLong((long) (*arg2));
10148 resultobj = t_output_helper(resultobj,o);
10149 }
10150 {
10151 PyObject *o = PyInt_FromLong((long) (*arg3));
10152 resultobj = t_output_helper(resultobj,o);
10153 }
10154 return resultobj;
10155 fail:
10156 return NULL;
10157}
10158
10159
10160static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10161 PyObject *resultobj;
10162 wxGrid *arg1 = (wxGrid *) 0 ;
10163 int result;
10164 PyObject * obj0 = 0 ;
10165 char *kwnames[] = {
10166 (char *) "self", NULL
10167 };
10168
10169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelTextOrientation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10172 {
10173 PyThreadState* __tstate = wxPyBeginAllowThreads();
10174 result = (int)(arg1)->GetColLabelTextOrientation();
10175
10176 wxPyEndAllowThreads(__tstate);
10177 if (PyErr_Occurred()) SWIG_fail;
10178 }
2f4c0a16 10179 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10180 return resultobj;
10181 fail:
10182 return NULL;
10183}
10184
10185
10186static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10187 PyObject *resultobj;
10188 wxGrid *arg1 = (wxGrid *) 0 ;
10189 int arg2 ;
10190 wxString result;
10191 PyObject * obj0 = 0 ;
8edf1c75 10192 PyObject * obj1 = 0 ;
d14a1e28
RD
10193 char *kwnames[] = {
10194 (char *) "self",(char *) "row", NULL
10195 };
10196
8edf1c75 10197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10200 arg2 = (int) SWIG_AsInt(obj1);
10201 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10202 {
10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
10204 result = (arg1)->GetRowLabelValue(arg2);
10205
10206 wxPyEndAllowThreads(__tstate);
10207 if (PyErr_Occurred()) SWIG_fail;
10208 }
10209 {
10210#if wxUSE_UNICODE
10211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10212#else
10213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10214#endif
10215 }
10216 return resultobj;
10217 fail:
10218 return NULL;
10219}
10220
10221
10222static PyObject *_wrap_Grid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10223 PyObject *resultobj;
10224 wxGrid *arg1 = (wxGrid *) 0 ;
10225 int arg2 ;
10226 wxString result;
10227 PyObject * obj0 = 0 ;
8edf1c75 10228 PyObject * obj1 = 0 ;
d14a1e28
RD
10229 char *kwnames[] = {
10230 (char *) "self",(char *) "col", NULL
10231 };
10232
8edf1c75 10233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10236 arg2 = (int) SWIG_AsInt(obj1);
10237 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10238 {
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 result = (arg1)->GetColLabelValue(arg2);
10241
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 {
10246#if wxUSE_UNICODE
10247 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10248#else
10249 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10250#endif
10251 }
10252 return resultobj;
10253 fail:
10254 return NULL;
10255}
10256
10257
10258static PyObject *_wrap_Grid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10259 PyObject *resultobj;
10260 wxGrid *arg1 = (wxGrid *) 0 ;
10261 wxColour result;
10262 PyObject * obj0 = 0 ;
10263 char *kwnames[] = {
10264 (char *) "self", NULL
10265 };
10266
10267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridLineColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10270 {
10271 PyThreadState* __tstate = wxPyBeginAllowThreads();
10272 result = (arg1)->GetGridLineColour();
10273
10274 wxPyEndAllowThreads(__tstate);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 }
10277 {
10278 wxColour * resultptr;
10279 resultptr = new wxColour((wxColour &) result);
2f4c0a16 10280 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10281 }
10282 return resultobj;
10283 fail:
10284 return NULL;
10285}
10286
10287
10288static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10289 PyObject *resultobj;
10290 wxGrid *arg1 = (wxGrid *) 0 ;
10291 wxColour result;
10292 PyObject * obj0 = 0 ;
10293 char *kwnames[] = {
10294 (char *) "self", NULL
10295 };
10296
10297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10300 {
10301 PyThreadState* __tstate = wxPyBeginAllowThreads();
10302 result = (arg1)->GetCellHighlightColour();
10303
10304 wxPyEndAllowThreads(__tstate);
10305 if (PyErr_Occurred()) SWIG_fail;
10306 }
10307 {
10308 wxColour * resultptr;
10309 resultptr = new wxColour((wxColour &) result);
2f4c0a16 10310 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10311 }
10312 return resultobj;
10313 fail:
10314 return NULL;
10315}
10316
10317
10318static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10319 PyObject *resultobj;
10320 wxGrid *arg1 = (wxGrid *) 0 ;
10321 int result;
10322 PyObject * obj0 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "self", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10330 {
10331 PyThreadState* __tstate = wxPyBeginAllowThreads();
10332 result = (int)(arg1)->GetCellHighlightPenWidth();
10333
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
2f4c0a16 10337 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10338 return resultobj;
10339 fail:
10340 return NULL;
10341}
10342
10343
10344static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10345 PyObject *resultobj;
10346 wxGrid *arg1 = (wxGrid *) 0 ;
10347 int result;
10348 PyObject * obj0 = 0 ;
10349 char *kwnames[] = {
10350 (char *) "self", NULL
10351 };
10352
10353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 result = (int)(arg1)->GetCellHighlightROPenWidth();
10359
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
2f4c0a16 10363 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10364 return resultobj;
10365 fail:
10366 return NULL;
10367}
10368
10369
10370static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10371 PyObject *resultobj;
10372 wxGrid *arg1 = (wxGrid *) 0 ;
10373 int arg2 ;
10374 PyObject * obj0 = 0 ;
8edf1c75 10375 PyObject * obj1 = 0 ;
d14a1e28
RD
10376 char *kwnames[] = {
10377 (char *) "self",(char *) "width", NULL
10378 };
10379
8edf1c75 10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10383 arg2 = (int) SWIG_AsInt(obj1);
10384 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
10387 (arg1)->SetRowLabelSize(arg2);
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 Py_INCREF(Py_None); resultobj = Py_None;
10393 return resultobj;
10394 fail:
10395 return NULL;
10396}
10397
10398
10399static PyObject *_wrap_Grid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10400 PyObject *resultobj;
10401 wxGrid *arg1 = (wxGrid *) 0 ;
10402 int arg2 ;
10403 PyObject * obj0 = 0 ;
8edf1c75 10404 PyObject * obj1 = 0 ;
d14a1e28
RD
10405 char *kwnames[] = {
10406 (char *) "self",(char *) "height", NULL
10407 };
10408
8edf1c75 10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
d14a1e28
RD
10414 {
10415 PyThreadState* __tstate = wxPyBeginAllowThreads();
10416 (arg1)->SetColLabelSize(arg2);
10417
10418 wxPyEndAllowThreads(__tstate);
10419 if (PyErr_Occurred()) SWIG_fail;
10420 }
10421 Py_INCREF(Py_None); resultobj = Py_None;
10422 return resultobj;
10423 fail:
10424 return NULL;
10425}
10426
10427
10428static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10429 PyObject *resultobj;
10430 wxGrid *arg1 = (wxGrid *) 0 ;
10431 wxColour *arg2 = 0 ;
10432 wxColour temp2 ;
10433 PyObject * obj0 = 0 ;
10434 PyObject * obj1 = 0 ;
10435 char *kwnames[] = {
10436 (char *) "self","arg2", NULL
10437 };
10438
10439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10442 {
10443 arg2 = &temp2;
10444 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10445 }
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 (arg1)->SetLabelBackgroundColour((wxColour const &)*arg2);
10449
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 }
10453 Py_INCREF(Py_None); resultobj = Py_None;
10454 return resultobj;
10455 fail:
10456 return NULL;
10457}
10458
10459
10460static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10461 PyObject *resultobj;
10462 wxGrid *arg1 = (wxGrid *) 0 ;
10463 wxColour *arg2 = 0 ;
10464 wxColour temp2 ;
10465 PyObject * obj0 = 0 ;
10466 PyObject * obj1 = 0 ;
10467 char *kwnames[] = {
10468 (char *) "self","arg2", NULL
10469 };
10470
10471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10474 {
10475 arg2 = &temp2;
10476 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10477 }
10478 {
10479 PyThreadState* __tstate = wxPyBeginAllowThreads();
10480 (arg1)->SetLabelTextColour((wxColour const &)*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_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10493 PyObject *resultobj;
10494 wxGrid *arg1 = (wxGrid *) 0 ;
10495 wxFont *arg2 = 0 ;
10496 PyObject * obj0 = 0 ;
10497 PyObject * obj1 = 0 ;
10498 char *kwnames[] = {
10499 (char *) "self","arg2", NULL
10500 };
10501
10502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
10506 SWIG_POINTER_EXCEPTION | 0)) == -1)
10507 SWIG_fail;
d14a1e28 10508 if (arg2 == NULL) {
2f4c0a16
RD
10509 PyErr_SetString(PyExc_TypeError,"null reference");
10510 SWIG_fail;
d14a1e28
RD
10511 }
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 (arg1)->SetLabelFont((wxFont const &)*arg2);
10515
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 Py_INCREF(Py_None); resultobj = Py_None;
10520 return resultobj;
10521 fail:
10522 return NULL;
10523}
10524
10525
10526static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10527 PyObject *resultobj;
10528 wxGrid *arg1 = (wxGrid *) 0 ;
10529 int arg2 ;
10530 int arg3 ;
10531 PyObject * obj0 = 0 ;
8edf1c75
RD
10532 PyObject * obj1 = 0 ;
10533 PyObject * obj2 = 0 ;
d14a1e28
RD
10534 char *kwnames[] = {
10535 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10536 };
10537
8edf1c75 10538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10541 arg2 = (int) SWIG_AsInt(obj1);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 arg3 = (int) SWIG_AsInt(obj2);
10544 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10545 {
10546 PyThreadState* __tstate = wxPyBeginAllowThreads();
10547 (arg1)->SetRowLabelAlignment(arg2,arg3);
10548
10549 wxPyEndAllowThreads(__tstate);
10550 if (PyErr_Occurred()) SWIG_fail;
10551 }
10552 Py_INCREF(Py_None); resultobj = Py_None;
10553 return resultobj;
10554 fail:
10555 return NULL;
10556}
10557
10558
10559static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10560 PyObject *resultobj;
10561 wxGrid *arg1 = (wxGrid *) 0 ;
10562 int arg2 ;
10563 int arg3 ;
10564 PyObject * obj0 = 0 ;
8edf1c75
RD
10565 PyObject * obj1 = 0 ;
10566 PyObject * obj2 = 0 ;
d14a1e28
RD
10567 char *kwnames[] = {
10568 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10569 };
10570
8edf1c75 10571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10574 arg2 = (int) SWIG_AsInt(obj1);
10575 if (PyErr_Occurred()) SWIG_fail;
10576 arg3 = (int) SWIG_AsInt(obj2);
10577 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 (arg1)->SetColLabelAlignment(arg2,arg3);
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 Py_INCREF(Py_None); resultobj = Py_None;
10586 return resultobj;
10587 fail:
10588 return NULL;
10589}
10590
10591
10592static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10593 PyObject *resultobj;
10594 wxGrid *arg1 = (wxGrid *) 0 ;
10595 int arg2 ;
10596 PyObject * obj0 = 0 ;
8edf1c75 10597 PyObject * obj1 = 0 ;
d14a1e28
RD
10598 char *kwnames[] = {
10599 (char *) "self",(char *) "textOrientation", NULL
10600 };
10601
8edf1c75 10602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10605 arg2 = (int) SWIG_AsInt(obj1);
10606 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10607 {
10608 PyThreadState* __tstate = wxPyBeginAllowThreads();
10609 (arg1)->SetColLabelTextOrientation(arg2);
10610
10611 wxPyEndAllowThreads(__tstate);
10612 if (PyErr_Occurred()) SWIG_fail;
10613 }
10614 Py_INCREF(Py_None); resultobj = Py_None;
10615 return resultobj;
10616 fail:
10617 return NULL;
10618}
10619
10620
10621static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10622 PyObject *resultobj;
10623 wxGrid *arg1 = (wxGrid *) 0 ;
10624 int arg2 ;
10625 wxString *arg3 = 0 ;
423f194a 10626 bool temp3 = False ;
d14a1e28 10627 PyObject * obj0 = 0 ;
8edf1c75 10628 PyObject * obj1 = 0 ;
d14a1e28
RD
10629 PyObject * obj2 = 0 ;
10630 char *kwnames[] = {
10631 (char *) "self",(char *) "row","arg3", NULL
10632 };
10633
8edf1c75 10634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10637 arg2 = (int) SWIG_AsInt(obj1);
10638 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10639 {
10640 arg3 = wxString_in_helper(obj2);
10641 if (arg3 == NULL) SWIG_fail;
423f194a 10642 temp3 = True;
d14a1e28
RD
10643 }
10644 {
10645 PyThreadState* __tstate = wxPyBeginAllowThreads();
10646 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
10647
10648 wxPyEndAllowThreads(__tstate);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 }
10651 Py_INCREF(Py_None); resultobj = Py_None;
10652 {
10653 if (temp3)
10654 delete arg3;
10655 }
10656 return resultobj;
10657 fail:
10658 {
10659 if (temp3)
10660 delete arg3;
10661 }
10662 return NULL;
10663}
10664
10665
10666static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10667 PyObject *resultobj;
10668 wxGrid *arg1 = (wxGrid *) 0 ;
10669 int arg2 ;
10670 wxString *arg3 = 0 ;
423f194a 10671 bool temp3 = False ;
d14a1e28 10672 PyObject * obj0 = 0 ;
8edf1c75 10673 PyObject * obj1 = 0 ;
d14a1e28
RD
10674 PyObject * obj2 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "self",(char *) "col","arg3", NULL
10677 };
10678
8edf1c75 10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10682 arg2 = (int) SWIG_AsInt(obj1);
10683 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10684 {
10685 arg3 = wxString_in_helper(obj2);
10686 if (arg3 == NULL) SWIG_fail;
423f194a 10687 temp3 = True;
d14a1e28
RD
10688 }
10689 {
10690 PyThreadState* __tstate = wxPyBeginAllowThreads();
10691 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
10692
10693 wxPyEndAllowThreads(__tstate);
10694 if (PyErr_Occurred()) SWIG_fail;
10695 }
10696 Py_INCREF(Py_None); resultobj = Py_None;
10697 {
10698 if (temp3)
10699 delete arg3;
10700 }
10701 return resultobj;
10702 fail:
10703 {
10704 if (temp3)
10705 delete arg3;
10706 }
10707 return NULL;
10708}
10709
10710
10711static PyObject *_wrap_Grid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10712 PyObject *resultobj;
10713 wxGrid *arg1 = (wxGrid *) 0 ;
10714 wxColour *arg2 = 0 ;
10715 wxColour temp2 ;
10716 PyObject * obj0 = 0 ;
10717 PyObject * obj1 = 0 ;
10718 char *kwnames[] = {
10719 (char *) "self","arg2", NULL
10720 };
10721
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetGridLineColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10725 {
10726 arg2 = &temp2;
10727 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10728 }
10729 {
10730 PyThreadState* __tstate = wxPyBeginAllowThreads();
10731 (arg1)->SetGridLineColour((wxColour const &)*arg2);
10732
10733 wxPyEndAllowThreads(__tstate);
10734 if (PyErr_Occurred()) SWIG_fail;
10735 }
10736 Py_INCREF(Py_None); resultobj = Py_None;
10737 return resultobj;
10738 fail:
10739 return NULL;
10740}
10741
10742
10743static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10744 PyObject *resultobj;
10745 wxGrid *arg1 = (wxGrid *) 0 ;
10746 wxColour *arg2 = 0 ;
10747 wxColour temp2 ;
10748 PyObject * obj0 = 0 ;
10749 PyObject * obj1 = 0 ;
10750 char *kwnames[] = {
10751 (char *) "self","arg2", NULL
10752 };
10753
10754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10757 {
10758 arg2 = &temp2;
10759 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10760 }
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 (arg1)->SetCellHighlightColour((wxColour const &)*arg2);
10764
10765 wxPyEndAllowThreads(__tstate);
10766 if (PyErr_Occurred()) SWIG_fail;
10767 }
10768 Py_INCREF(Py_None); resultobj = Py_None;
10769 return resultobj;
10770 fail:
10771 return NULL;
10772}
10773
10774
10775static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10776 PyObject *resultobj;
10777 wxGrid *arg1 = (wxGrid *) 0 ;
10778 int arg2 ;
10779 PyObject * obj0 = 0 ;
8edf1c75 10780 PyObject * obj1 = 0 ;
d14a1e28
RD
10781 char *kwnames[] = {
10782 (char *) "self",(char *) "width", NULL
10783 };
10784
8edf1c75 10785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10788 arg2 = (int) SWIG_AsInt(obj1);
10789 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10790 {
10791 PyThreadState* __tstate = wxPyBeginAllowThreads();
10792 (arg1)->SetCellHighlightPenWidth(arg2);
10793
10794 wxPyEndAllowThreads(__tstate);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 Py_INCREF(Py_None); resultobj = Py_None;
10798 return resultobj;
10799 fail:
10800 return NULL;
10801}
10802
10803
10804static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10805 PyObject *resultobj;
10806 wxGrid *arg1 = (wxGrid *) 0 ;
10807 int arg2 ;
10808 PyObject * obj0 = 0 ;
8edf1c75 10809 PyObject * obj1 = 0 ;
d14a1e28
RD
10810 char *kwnames[] = {
10811 (char *) "self",(char *) "width", NULL
10812 };
10813
8edf1c75 10814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10817 arg2 = (int) SWIG_AsInt(obj1);
10818 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 (arg1)->SetCellHighlightROPenWidth(arg2);
10822
10823 wxPyEndAllowThreads(__tstate);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 Py_INCREF(Py_None); resultobj = Py_None;
10827 return resultobj;
10828 fail:
10829 return NULL;
10830}
10831
10832
10833static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10834 PyObject *resultobj;
10835 wxGrid *arg1 = (wxGrid *) 0 ;
423f194a 10836 bool arg2 = (bool) True ;
d14a1e28
RD
10837 PyObject * obj0 = 0 ;
10838 PyObject * obj1 = 0 ;
10839 char *kwnames[] = {
10840 (char *) "self",(char *) "enable", NULL
10841 };
10842
10843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragRowSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10846 if (obj1) {
2f4c0a16
RD
10847 arg2 = (bool) SWIG_AsBool(obj1);
10848 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10849 }
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 (arg1)->EnableDragRowSize(arg2);
10853
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 Py_INCREF(Py_None); resultobj = Py_None;
10858 return resultobj;
10859 fail:
10860 return NULL;
10861}
10862
10863
10864static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10865 PyObject *resultobj;
10866 wxGrid *arg1 = (wxGrid *) 0 ;
10867 PyObject * obj0 = 0 ;
10868 char *kwnames[] = {
10869 (char *) "self", NULL
10870 };
10871
10872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragRowSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10875 {
10876 PyThreadState* __tstate = wxPyBeginAllowThreads();
10877 (arg1)->DisableDragRowSize();
10878
10879 wxPyEndAllowThreads(__tstate);
10880 if (PyErr_Occurred()) SWIG_fail;
10881 }
10882 Py_INCREF(Py_None); resultobj = Py_None;
10883 return resultobj;
10884 fail:
10885 return NULL;
10886}
10887
10888
10889static PyObject *_wrap_Grid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10890 PyObject *resultobj;
10891 wxGrid *arg1 = (wxGrid *) 0 ;
10892 bool result;
10893 PyObject * obj0 = 0 ;
10894 char *kwnames[] = {
10895 (char *) "self", NULL
10896 };
10897
10898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragRowSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 result = (bool)(arg1)->CanDragRowSize();
10904
10905 wxPyEndAllowThreads(__tstate);
10906 if (PyErr_Occurred()) SWIG_fail;
10907 }
4f89f6a3
RD
10908 {
10909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10910 }
d14a1e28
RD
10911 return resultobj;
10912 fail:
10913 return NULL;
10914}
10915
10916
10917static PyObject *_wrap_Grid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10918 PyObject *resultobj;
10919 wxGrid *arg1 = (wxGrid *) 0 ;
423f194a 10920 bool arg2 = (bool) True ;
d14a1e28
RD
10921 PyObject * obj0 = 0 ;
10922 PyObject * obj1 = 0 ;
10923 char *kwnames[] = {
10924 (char *) "self",(char *) "enable", NULL
10925 };
10926
10927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragColSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10930 if (obj1) {
2f4c0a16
RD
10931 arg2 = (bool) SWIG_AsBool(obj1);
10932 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10933 }
10934 {
10935 PyThreadState* __tstate = wxPyBeginAllowThreads();
10936 (arg1)->EnableDragColSize(arg2);
10937
10938 wxPyEndAllowThreads(__tstate);
10939 if (PyErr_Occurred()) SWIG_fail;
10940 }
10941 Py_INCREF(Py_None); resultobj = Py_None;
10942 return resultobj;
10943 fail:
10944 return NULL;
10945}
10946
10947
10948static PyObject *_wrap_Grid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10949 PyObject *resultobj;
10950 wxGrid *arg1 = (wxGrid *) 0 ;
10951 PyObject * obj0 = 0 ;
10952 char *kwnames[] = {
10953 (char *) "self", NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragColSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10959 {
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 (arg1)->DisableDragColSize();
10962
10963 wxPyEndAllowThreads(__tstate);
10964 if (PyErr_Occurred()) SWIG_fail;
10965 }
10966 Py_INCREF(Py_None); resultobj = Py_None;
10967 return resultobj;
10968 fail:
10969 return NULL;
10970}
10971
10972
10973static PyObject *_wrap_Grid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10974 PyObject *resultobj;
10975 wxGrid *arg1 = (wxGrid *) 0 ;
10976 bool result;
10977 PyObject * obj0 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragColSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 result = (bool)(arg1)->CanDragColSize();
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
4f89f6a3
RD
10992 {
10993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10994 }
d14a1e28
RD
10995 return resultobj;
10996 fail:
10997 return NULL;
10998}
10999
11000
11001static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj;
11003 wxGrid *arg1 = (wxGrid *) 0 ;
423f194a 11004 bool arg2 = (bool) True ;
d14a1e28
RD
11005 PyObject * obj0 = 0 ;
11006 PyObject * obj1 = 0 ;
11007 char *kwnames[] = {
11008 (char *) "self",(char *) "enable", NULL
11009 };
11010
11011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragGridSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11014 if (obj1) {
2f4c0a16
RD
11015 arg2 = (bool) SWIG_AsBool(obj1);
11016 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11017 }
11018 {
11019 PyThreadState* __tstate = wxPyBeginAllowThreads();
11020 (arg1)->EnableDragGridSize(arg2);
11021
11022 wxPyEndAllowThreads(__tstate);
11023 if (PyErr_Occurred()) SWIG_fail;
11024 }
11025 Py_INCREF(Py_None); resultobj = Py_None;
11026 return resultobj;
11027 fail:
11028 return NULL;
11029}
11030
11031
11032static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11033 PyObject *resultobj;
11034 wxGrid *arg1 = (wxGrid *) 0 ;
11035 PyObject * obj0 = 0 ;
11036 char *kwnames[] = {
11037 (char *) "self", NULL
11038 };
11039
11040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragGridSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11043 {
11044 PyThreadState* __tstate = wxPyBeginAllowThreads();
11045 (arg1)->DisableDragGridSize();
11046
11047 wxPyEndAllowThreads(__tstate);
11048 if (PyErr_Occurred()) SWIG_fail;
11049 }
11050 Py_INCREF(Py_None); resultobj = Py_None;
11051 return resultobj;
11052 fail:
11053 return NULL;
11054}
11055
11056
11057static PyObject *_wrap_Grid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11058 PyObject *resultobj;
11059 wxGrid *arg1 = (wxGrid *) 0 ;
11060 bool result;
11061 PyObject * obj0 = 0 ;
11062 char *kwnames[] = {
11063 (char *) "self", NULL
11064 };
11065
11066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragGridSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11069 {
11070 PyThreadState* __tstate = wxPyBeginAllowThreads();
11071 result = (bool)(arg1)->CanDragGridSize();
11072
11073 wxPyEndAllowThreads(__tstate);
11074 if (PyErr_Occurred()) SWIG_fail;
11075 }
4f89f6a3
RD
11076 {
11077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11078 }
d14a1e28
RD
11079 return resultobj;
11080 fail:
11081 return NULL;
11082}
11083
11084
11085static PyObject *_wrap_Grid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11086 PyObject *resultobj;
11087 wxGrid *arg1 = (wxGrid *) 0 ;
11088 int arg2 ;
11089 int arg3 ;
11090 wxGridCellAttr *arg4 = (wxGridCellAttr *) 0 ;
11091 PyObject * obj0 = 0 ;
8edf1c75
RD
11092 PyObject * obj1 = 0 ;
11093 PyObject * obj2 = 0 ;
d14a1e28
RD
11094 PyObject * obj3 = 0 ;
11095 char *kwnames[] = {
11096 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11097 };
11098
8edf1c75 11099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11102 arg2 = (int) SWIG_AsInt(obj1);
11103 if (PyErr_Occurred()) SWIG_fail;
11104 arg3 = (int) SWIG_AsInt(obj2);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellAttr,
11107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11108 {
11109 PyThreadState* __tstate = wxPyBeginAllowThreads();
11110 (arg1)->SetAttr(arg2,arg3,arg4);
11111
11112 wxPyEndAllowThreads(__tstate);
11113 if (PyErr_Occurred()) SWIG_fail;
11114 }
11115 Py_INCREF(Py_None); resultobj = Py_None;
11116 return resultobj;
11117 fail:
11118 return NULL;
11119}
11120
11121
11122static PyObject *_wrap_Grid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11123 PyObject *resultobj;
11124 wxGrid *arg1 = (wxGrid *) 0 ;
11125 int arg2 ;
11126 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11127 PyObject * obj0 = 0 ;
8edf1c75 11128 PyObject * obj1 = 0 ;
d14a1e28
RD
11129 PyObject * obj2 = 0 ;
11130 char *kwnames[] = {
11131 (char *) "self",(char *) "row",(char *) "attr", NULL
11132 };
11133
8edf1c75 11134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11137 arg2 = (int) SWIG_AsInt(obj1);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11141 {
11142 PyThreadState* __tstate = wxPyBeginAllowThreads();
11143 (arg1)->SetRowAttr(arg2,arg3);
11144
11145 wxPyEndAllowThreads(__tstate);
11146 if (PyErr_Occurred()) SWIG_fail;
11147 }
11148 Py_INCREF(Py_None); resultobj = Py_None;
11149 return resultobj;
11150 fail:
11151 return NULL;
11152}
11153
11154
11155static PyObject *_wrap_Grid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11156 PyObject *resultobj;
11157 wxGrid *arg1 = (wxGrid *) 0 ;
11158 int arg2 ;
11159 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11160 PyObject * obj0 = 0 ;
8edf1c75 11161 PyObject * obj1 = 0 ;
d14a1e28
RD
11162 PyObject * obj2 = 0 ;
11163 char *kwnames[] = {
11164 (char *) "self",(char *) "col",(char *) "attr", NULL
11165 };
11166
8edf1c75 11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11170 arg2 = (int) SWIG_AsInt(obj1);
11171 if (PyErr_Occurred()) SWIG_fail;
11172 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11174 {
11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
11176 (arg1)->SetColAttr(arg2,arg3);
11177
11178 wxPyEndAllowThreads(__tstate);
11179 if (PyErr_Occurred()) SWIG_fail;
11180 }
11181 Py_INCREF(Py_None); resultobj = Py_None;
11182 return resultobj;
11183 fail:
11184 return NULL;
11185}
11186
11187
11188static PyObject *_wrap_Grid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
11189 PyObject *resultobj;
11190 wxGrid *arg1 = (wxGrid *) 0 ;
11191 int arg2 ;
11192 PyObject * obj0 = 0 ;
8edf1c75 11193 PyObject * obj1 = 0 ;
d14a1e28
RD
11194 char *kwnames[] = {
11195 (char *) "self",(char *) "col", NULL
11196 };
11197
8edf1c75 11198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatBool",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11201 arg2 = (int) SWIG_AsInt(obj1);
11202 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11203 {
11204 PyThreadState* __tstate = wxPyBeginAllowThreads();
11205 (arg1)->SetColFormatBool(arg2);
11206
11207 wxPyEndAllowThreads(__tstate);
11208 if (PyErr_Occurred()) SWIG_fail;
11209 }
11210 Py_INCREF(Py_None); resultobj = Py_None;
11211 return resultobj;
11212 fail:
11213 return NULL;
11214}
11215
11216
11217static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
11218 PyObject *resultobj;
11219 wxGrid *arg1 = (wxGrid *) 0 ;
11220 int arg2 ;
11221 PyObject * obj0 = 0 ;
8edf1c75 11222 PyObject * obj1 = 0 ;
d14a1e28
RD
11223 char *kwnames[] = {
11224 (char *) "self",(char *) "col", NULL
11225 };
11226
8edf1c75 11227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatNumber",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11230 arg2 = (int) SWIG_AsInt(obj1);
11231 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11232 {
11233 PyThreadState* __tstate = wxPyBeginAllowThreads();
11234 (arg1)->SetColFormatNumber(arg2);
11235
11236 wxPyEndAllowThreads(__tstate);
11237 if (PyErr_Occurred()) SWIG_fail;
11238 }
11239 Py_INCREF(Py_None); resultobj = Py_None;
11240 return resultobj;
11241 fail:
11242 return NULL;
11243}
11244
11245
11246static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
11247 PyObject *resultobj;
11248 wxGrid *arg1 = (wxGrid *) 0 ;
11249 int arg2 ;
11250 int arg3 = (int) -1 ;
11251 int arg4 = (int) -1 ;
11252 PyObject * obj0 = 0 ;
8edf1c75
RD
11253 PyObject * obj1 = 0 ;
11254 PyObject * obj2 = 0 ;
11255 PyObject * obj3 = 0 ;
d14a1e28
RD
11256 char *kwnames[] = {
11257 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11258 };
11259
8edf1c75 11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11263 arg2 = (int) SWIG_AsInt(obj1);
11264 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11265 if (obj2) {
2f4c0a16
RD
11266 arg3 = (int) SWIG_AsInt(obj2);
11267 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11268 }
11269 if (obj3) {
2f4c0a16
RD
11270 arg4 = (int) SWIG_AsInt(obj3);
11271 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11272 }
d14a1e28
RD
11273 {
11274 PyThreadState* __tstate = wxPyBeginAllowThreads();
11275 (arg1)->SetColFormatFloat(arg2,arg3,arg4);
11276
11277 wxPyEndAllowThreads(__tstate);
11278 if (PyErr_Occurred()) SWIG_fail;
11279 }
11280 Py_INCREF(Py_None); resultobj = Py_None;
11281 return resultobj;
11282 fail:
11283 return NULL;
11284}
11285
11286
11287static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
11288 PyObject *resultobj;
11289 wxGrid *arg1 = (wxGrid *) 0 ;
11290 int arg2 ;
11291 wxString *arg3 = 0 ;
423f194a 11292 bool temp3 = False ;
d14a1e28 11293 PyObject * obj0 = 0 ;
8edf1c75 11294 PyObject * obj1 = 0 ;
d14a1e28
RD
11295 PyObject * obj2 = 0 ;
11296 char *kwnames[] = {
11297 (char *) "self",(char *) "col",(char *) "typeName", NULL
11298 };
11299
8edf1c75 11300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColFormatCustom",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11303 arg2 = (int) SWIG_AsInt(obj1);
11304 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11305 {
11306 arg3 = wxString_in_helper(obj2);
11307 if (arg3 == NULL) SWIG_fail;
423f194a 11308 temp3 = True;
d14a1e28
RD
11309 }
11310 {
11311 PyThreadState* __tstate = wxPyBeginAllowThreads();
11312 (arg1)->SetColFormatCustom(arg2,(wxString const &)*arg3);
11313
11314 wxPyEndAllowThreads(__tstate);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
11317 Py_INCREF(Py_None); resultobj = Py_None;
11318 {
11319 if (temp3)
11320 delete arg3;
11321 }
11322 return resultobj;
11323 fail:
11324 {
11325 if (temp3)
11326 delete arg3;
11327 }
11328 return NULL;
11329}
11330
11331
11332static PyObject *_wrap_Grid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
11333 PyObject *resultobj;
11334 wxGrid *arg1 = (wxGrid *) 0 ;
423f194a 11335 bool arg2 = (bool) True ;
d14a1e28
RD
11336 PyObject * obj0 = 0 ;
11337 PyObject * obj1 = 0 ;
11338 char *kwnames[] = {
11339 (char *) "self",(char *) "enable", NULL
11340 };
11341
11342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableGridLines",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11345 if (obj1) {
2f4c0a16
RD
11346 arg2 = (bool) SWIG_AsBool(obj1);
11347 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11348 }
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 (arg1)->EnableGridLines(arg2);
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 Py_INCREF(Py_None); resultobj = Py_None;
11357 return resultobj;
11358 fail:
11359 return NULL;
11360}
11361
11362
11363static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11364 PyObject *resultobj;
11365 wxGrid *arg1 = (wxGrid *) 0 ;
11366 bool result;
11367 PyObject * obj0 = 0 ;
11368 char *kwnames[] = {
11369 (char *) "self", NULL
11370 };
11371
11372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GridLinesEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11375 {
11376 PyThreadState* __tstate = wxPyBeginAllowThreads();
11377 result = (bool)(arg1)->GridLinesEnabled();
11378
11379 wxPyEndAllowThreads(__tstate);
11380 if (PyErr_Occurred()) SWIG_fail;
11381 }
4f89f6a3
RD
11382 {
11383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11384 }
d14a1e28
RD
11385 return resultobj;
11386 fail:
11387 return NULL;
11388}
11389
11390
11391static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11392 PyObject *resultobj;
11393 wxGrid *arg1 = (wxGrid *) 0 ;
11394 int result;
11395 PyObject * obj0 = 0 ;
11396 char *kwnames[] = {
11397 (char *) "self", NULL
11398 };
11399
11400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11403 {
11404 PyThreadState* __tstate = wxPyBeginAllowThreads();
11405 result = (int)(arg1)->GetDefaultRowSize();
11406
11407 wxPyEndAllowThreads(__tstate);
11408 if (PyErr_Occurred()) SWIG_fail;
11409 }
2f4c0a16 11410 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11411 return resultobj;
11412 fail:
11413 return NULL;
11414}
11415
11416
11417static PyObject *_wrap_Grid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11418 PyObject *resultobj;
11419 wxGrid *arg1 = (wxGrid *) 0 ;
11420 int arg2 ;
11421 int result;
11422 PyObject * obj0 = 0 ;
8edf1c75 11423 PyObject * obj1 = 0 ;
d14a1e28
RD
11424 char *kwnames[] = {
11425 (char *) "self",(char *) "row", NULL
11426 };
11427
8edf1c75 11428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11431 arg2 = (int) SWIG_AsInt(obj1);
11432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11433 {
11434 PyThreadState* __tstate = wxPyBeginAllowThreads();
11435 result = (int)(arg1)->GetRowSize(arg2);
11436
11437 wxPyEndAllowThreads(__tstate);
11438 if (PyErr_Occurred()) SWIG_fail;
11439 }
2f4c0a16 11440 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11441 return resultobj;
11442 fail:
11443 return NULL;
11444}
11445
11446
11447static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11448 PyObject *resultobj;
11449 wxGrid *arg1 = (wxGrid *) 0 ;
11450 int result;
11451 PyObject * obj0 = 0 ;
11452 char *kwnames[] = {
11453 (char *) "self", NULL
11454 };
11455
11456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11459 {
11460 PyThreadState* __tstate = wxPyBeginAllowThreads();
11461 result = (int)(arg1)->GetDefaultColSize();
11462
11463 wxPyEndAllowThreads(__tstate);
11464 if (PyErr_Occurred()) SWIG_fail;
11465 }
2f4c0a16 11466 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11467 return resultobj;
11468 fail:
11469 return NULL;
11470}
11471
11472
11473static PyObject *_wrap_Grid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11474 PyObject *resultobj;
11475 wxGrid *arg1 = (wxGrid *) 0 ;
11476 int arg2 ;
11477 int result;
11478 PyObject * obj0 = 0 ;
8edf1c75 11479 PyObject * obj1 = 0 ;
d14a1e28
RD
11480 char *kwnames[] = {
11481 (char *) "self",(char *) "col", NULL
11482 };
11483
8edf1c75 11484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11487 arg2 = (int) SWIG_AsInt(obj1);
11488 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11489 {
11490 PyThreadState* __tstate = wxPyBeginAllowThreads();
11491 result = (int)(arg1)->GetColSize(arg2);
11492
11493 wxPyEndAllowThreads(__tstate);
11494 if (PyErr_Occurred()) SWIG_fail;
11495 }
2f4c0a16 11496 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11497 return resultobj;
11498 fail:
11499 return NULL;
11500}
11501
11502
11503static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11504 PyObject *resultobj;
11505 wxGrid *arg1 = (wxGrid *) 0 ;
11506 wxColour result;
11507 PyObject * obj0 = 0 ;
11508 char *kwnames[] = {
11509 (char *) "self", NULL
11510 };
11511
11512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11515 {
11516 PyThreadState* __tstate = wxPyBeginAllowThreads();
11517 result = (arg1)->GetDefaultCellBackgroundColour();
11518
11519 wxPyEndAllowThreads(__tstate);
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 {
11523 wxColour * resultptr;
11524 resultptr = new wxColour((wxColour &) result);
2f4c0a16 11525 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11526 }
11527 return resultobj;
11528 fail:
11529 return NULL;
11530}
11531
11532
11533static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11534 PyObject *resultobj;
11535 wxGrid *arg1 = (wxGrid *) 0 ;
11536 int arg2 ;
11537 int arg3 ;
11538 wxColour result;
11539 PyObject * obj0 = 0 ;
8edf1c75
RD
11540 PyObject * obj1 = 0 ;
11541 PyObject * obj2 = 0 ;
d14a1e28
RD
11542 char *kwnames[] = {
11543 (char *) "self",(char *) "row",(char *) "col", NULL
11544 };
11545
8edf1c75 11546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11549 arg2 = (int) SWIG_AsInt(obj1);
11550 if (PyErr_Occurred()) SWIG_fail;
11551 arg3 = (int) SWIG_AsInt(obj2);
11552 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11553 {
11554 PyThreadState* __tstate = wxPyBeginAllowThreads();
11555 result = (arg1)->GetCellBackgroundColour(arg2,arg3);
11556
11557 wxPyEndAllowThreads(__tstate);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 }
11560 {
11561 wxColour * resultptr;
11562 resultptr = new wxColour((wxColour &) result);
2f4c0a16 11563 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11564 }
11565 return resultobj;
11566 fail:
11567 return NULL;
11568}
11569
11570
11571static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11572 PyObject *resultobj;
11573 wxGrid *arg1 = (wxGrid *) 0 ;
11574 wxColour result;
11575 PyObject * obj0 = 0 ;
11576 char *kwnames[] = {
11577 (char *) "self", NULL
11578 };
11579
11580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11583 {
11584 PyThreadState* __tstate = wxPyBeginAllowThreads();
11585 result = (arg1)->GetDefaultCellTextColour();
11586
11587 wxPyEndAllowThreads(__tstate);
11588 if (PyErr_Occurred()) SWIG_fail;
11589 }
11590 {
11591 wxColour * resultptr;
11592 resultptr = new wxColour((wxColour &) result);
2f4c0a16 11593 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11594 }
11595 return resultobj;
11596 fail:
11597 return NULL;
11598}
11599
11600
11601static PyObject *_wrap_Grid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11602 PyObject *resultobj;
11603 wxGrid *arg1 = (wxGrid *) 0 ;
11604 int arg2 ;
11605 int arg3 ;
11606 wxColour result;
11607 PyObject * obj0 = 0 ;
8edf1c75
RD
11608 PyObject * obj1 = 0 ;
11609 PyObject * obj2 = 0 ;
d14a1e28
RD
11610 char *kwnames[] = {
11611 (char *) "self",(char *) "row",(char *) "col", NULL
11612 };
11613
8edf1c75 11614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11617 arg2 = (int) SWIG_AsInt(obj1);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 arg3 = (int) SWIG_AsInt(obj2);
11620 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11621 {
11622 PyThreadState* __tstate = wxPyBeginAllowThreads();
11623 result = (arg1)->GetCellTextColour(arg2,arg3);
11624
11625 wxPyEndAllowThreads(__tstate);
11626 if (PyErr_Occurred()) SWIG_fail;
11627 }
11628 {
11629 wxColour * resultptr;
11630 resultptr = new wxColour((wxColour &) result);
2f4c0a16 11631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11632 }
11633 return resultobj;
11634 fail:
11635 return NULL;
11636}
11637
11638
11639static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11640 PyObject *resultobj;
11641 wxGrid *arg1 = (wxGrid *) 0 ;
11642 wxFont result;
11643 PyObject * obj0 = 0 ;
11644 char *kwnames[] = {
11645 (char *) "self", NULL
11646 };
11647
11648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11651 {
11652 PyThreadState* __tstate = wxPyBeginAllowThreads();
11653 result = (arg1)->GetDefaultCellFont();
11654
11655 wxPyEndAllowThreads(__tstate);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 }
11658 {
11659 wxFont * resultptr;
11660 resultptr = new wxFont((wxFont &) result);
2f4c0a16 11661 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
11662 }
11663 return resultobj;
11664 fail:
11665 return NULL;
11666}
11667
11668
11669static PyObject *_wrap_Grid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11670 PyObject *resultobj;
11671 wxGrid *arg1 = (wxGrid *) 0 ;
11672 int arg2 ;
11673 int arg3 ;
11674 wxFont result;
11675 PyObject * obj0 = 0 ;
8edf1c75
RD
11676 PyObject * obj1 = 0 ;
11677 PyObject * obj2 = 0 ;
d14a1e28
RD
11678 char *kwnames[] = {
11679 (char *) "self",(char *) "row",(char *) "col", NULL
11680 };
11681
8edf1c75 11682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11685 arg2 = (int) SWIG_AsInt(obj1);
11686 if (PyErr_Occurred()) SWIG_fail;
11687 arg3 = (int) SWIG_AsInt(obj2);
11688 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11689 {
11690 PyThreadState* __tstate = wxPyBeginAllowThreads();
11691 result = (arg1)->GetCellFont(arg2,arg3);
11692
11693 wxPyEndAllowThreads(__tstate);
11694 if (PyErr_Occurred()) SWIG_fail;
11695 }
11696 {
11697 wxFont * resultptr;
11698 resultptr = new wxFont((wxFont &) result);
2f4c0a16 11699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
11700 }
11701 return resultobj;
11702 fail:
11703 return NULL;
11704}
11705
11706
11707static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11708 PyObject *resultobj;
11709 wxGrid *arg1 = (wxGrid *) 0 ;
11710 int *arg2 = (int *) 0 ;
11711 int *arg3 = (int *) 0 ;
11712 int temp2 ;
11713 int temp3 ;
11714 PyObject * obj0 = 0 ;
11715 char *kwnames[] = {
11716 (char *) "self", NULL
11717 };
11718
11719 arg2 = &temp2;
11720 arg3 = &temp3;
11721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellAlignment",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11724 {
11725 PyThreadState* __tstate = wxPyBeginAllowThreads();
11726 (arg1)->GetDefaultCellAlignment(arg2,arg3);
11727
11728 wxPyEndAllowThreads(__tstate);
11729 if (PyErr_Occurred()) SWIG_fail;
11730 }
11731 Py_INCREF(Py_None); resultobj = Py_None;
11732 {
11733 PyObject *o = PyInt_FromLong((long) (*arg2));
11734 resultobj = t_output_helper(resultobj,o);
11735 }
11736 {
11737 PyObject *o = PyInt_FromLong((long) (*arg3));
11738 resultobj = t_output_helper(resultobj,o);
11739 }
11740 return resultobj;
11741 fail:
11742 return NULL;
11743}
11744
11745
11746static PyObject *_wrap_Grid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11747 PyObject *resultobj;
11748 wxGrid *arg1 = (wxGrid *) 0 ;
11749 int arg2 ;
11750 int arg3 ;
11751 int *arg4 = (int *) 0 ;
11752 int *arg5 = (int *) 0 ;
11753 int temp4 ;
11754 int temp5 ;
11755 PyObject * obj0 = 0 ;
8edf1c75
RD
11756 PyObject * obj1 = 0 ;
11757 PyObject * obj2 = 0 ;
d14a1e28
RD
11758 char *kwnames[] = {
11759 (char *) "self",(char *) "row",(char *) "col", NULL
11760 };
11761
11762 arg4 = &temp4;
11763 arg5 = &temp5;
8edf1c75 11764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11767 arg2 = (int) SWIG_AsInt(obj1);
11768 if (PyErr_Occurred()) SWIG_fail;
11769 arg3 = (int) SWIG_AsInt(obj2);
11770 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11771 {
11772 PyThreadState* __tstate = wxPyBeginAllowThreads();
11773 (arg1)->GetCellAlignment(arg2,arg3,arg4,arg5);
11774
11775 wxPyEndAllowThreads(__tstate);
11776 if (PyErr_Occurred()) SWIG_fail;
11777 }
11778 Py_INCREF(Py_None); resultobj = Py_None;
11779 {
11780 PyObject *o = PyInt_FromLong((long) (*arg4));
11781 resultobj = t_output_helper(resultobj,o);
11782 }
11783 {
11784 PyObject *o = PyInt_FromLong((long) (*arg5));
11785 resultobj = t_output_helper(resultobj,o);
11786 }
11787 return resultobj;
11788 fail:
11789 return NULL;
11790}
11791
11792
11793static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11794 PyObject *resultobj;
11795 wxGrid *arg1 = (wxGrid *) 0 ;
11796 bool result;
11797 PyObject * obj0 = 0 ;
11798 char *kwnames[] = {
11799 (char *) "self", NULL
11800 };
11801
11802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellOverflow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11805 {
11806 PyThreadState* __tstate = wxPyBeginAllowThreads();
11807 result = (bool)(arg1)->GetDefaultCellOverflow();
11808
11809 wxPyEndAllowThreads(__tstate);
11810 if (PyErr_Occurred()) SWIG_fail;
11811 }
4f89f6a3
RD
11812 {
11813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11814 }
d14a1e28
RD
11815 return resultobj;
11816 fail:
11817 return NULL;
11818}
11819
11820
11821static PyObject *_wrap_Grid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11822 PyObject *resultobj;
11823 wxGrid *arg1 = (wxGrid *) 0 ;
11824 int arg2 ;
11825 int arg3 ;
11826 bool result;
11827 PyObject * obj0 = 0 ;
8edf1c75
RD
11828 PyObject * obj1 = 0 ;
11829 PyObject * obj2 = 0 ;
d14a1e28
RD
11830 char *kwnames[] = {
11831 (char *) "self",(char *) "row",(char *) "col", NULL
11832 };
11833
8edf1c75 11834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellOverflow",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11837 arg2 = (int) SWIG_AsInt(obj1);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 arg3 = (int) SWIG_AsInt(obj2);
11840 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11841 {
11842 PyThreadState* __tstate = wxPyBeginAllowThreads();
11843 result = (bool)(arg1)->GetCellOverflow(arg2,arg3);
11844
11845 wxPyEndAllowThreads(__tstate);
11846 if (PyErr_Occurred()) SWIG_fail;
11847 }
4f89f6a3
RD
11848 {
11849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11850 }
d14a1e28
RD
11851 return resultobj;
11852 fail:
11853 return NULL;
11854}
11855
11856
11857static PyObject *_wrap_Grid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11858 PyObject *resultobj;
11859 wxGrid *arg1 = (wxGrid *) 0 ;
11860 int arg2 ;
11861 int arg3 ;
11862 int *arg4 = (int *) 0 ;
11863 int *arg5 = (int *) 0 ;
11864 int temp4 ;
11865 int temp5 ;
11866 PyObject * obj0 = 0 ;
8edf1c75
RD
11867 PyObject * obj1 = 0 ;
11868 PyObject * obj2 = 0 ;
d14a1e28
RD
11869 char *kwnames[] = {
11870 (char *) "self",(char *) "row",(char *) "col", NULL
11871 };
11872
11873 arg4 = &temp4;
11874 arg5 = &temp5;
8edf1c75 11875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11878 arg2 = (int) SWIG_AsInt(obj1);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 arg3 = (int) SWIG_AsInt(obj2);
11881 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11882 {
11883 PyThreadState* __tstate = wxPyBeginAllowThreads();
11884 (arg1)->GetCellSize(arg2,arg3,arg4,arg5);
11885
11886 wxPyEndAllowThreads(__tstate);
11887 if (PyErr_Occurred()) SWIG_fail;
11888 }
11889 Py_INCREF(Py_None); resultobj = Py_None;
11890 {
11891 PyObject *o = PyInt_FromLong((long) (*arg4));
11892 resultobj = t_output_helper(resultobj,o);
11893 }
11894 {
11895 PyObject *o = PyInt_FromLong((long) (*arg5));
11896 resultobj = t_output_helper(resultobj,o);
11897 }
11898 return resultobj;
11899 fail:
11900 return NULL;
11901}
11902
11903
11904static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11905 PyObject *resultobj;
11906 wxGrid *arg1 = (wxGrid *) 0 ;
11907 int arg2 ;
423f194a 11908 bool arg3 = (bool) False ;
d14a1e28 11909 PyObject * obj0 = 0 ;
8edf1c75 11910 PyObject * obj1 = 0 ;
d14a1e28
RD
11911 PyObject * obj2 = 0 ;
11912 char *kwnames[] = {
11913 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
11914 };
11915
8edf1c75 11916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11919 arg2 = (int) SWIG_AsInt(obj1);
11920 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11921 if (obj2) {
2f4c0a16
RD
11922 arg3 = (bool) SWIG_AsBool(obj2);
11923 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11924 }
11925 {
11926 PyThreadState* __tstate = wxPyBeginAllowThreads();
11927 (arg1)->SetDefaultRowSize(arg2,arg3);
11928
11929 wxPyEndAllowThreads(__tstate);
11930 if (PyErr_Occurred()) SWIG_fail;
11931 }
11932 Py_INCREF(Py_None); resultobj = Py_None;
11933 return resultobj;
11934 fail:
11935 return NULL;
11936}
11937
11938
11939static PyObject *_wrap_Grid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj;
11941 wxGrid *arg1 = (wxGrid *) 0 ;
11942 int arg2 ;
11943 int arg3 ;
11944 PyObject * obj0 = 0 ;
8edf1c75
RD
11945 PyObject * obj1 = 0 ;
11946 PyObject * obj2 = 0 ;
d14a1e28
RD
11947 char *kwnames[] = {
11948 (char *) "self",(char *) "row",(char *) "height", NULL
11949 };
11950
8edf1c75 11951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11954 arg2 = (int) SWIG_AsInt(obj1);
11955 if (PyErr_Occurred()) SWIG_fail;
11956 arg3 = (int) SWIG_AsInt(obj2);
11957 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11958 {
11959 PyThreadState* __tstate = wxPyBeginAllowThreads();
11960 (arg1)->SetRowSize(arg2,arg3);
11961
11962 wxPyEndAllowThreads(__tstate);
11963 if (PyErr_Occurred()) SWIG_fail;
11964 }
11965 Py_INCREF(Py_None); resultobj = Py_None;
11966 return resultobj;
11967 fail:
11968 return NULL;
11969}
11970
11971
11972static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11973 PyObject *resultobj;
11974 wxGrid *arg1 = (wxGrid *) 0 ;
11975 int arg2 ;
423f194a 11976 bool arg3 = (bool) False ;
d14a1e28 11977 PyObject * obj0 = 0 ;
8edf1c75 11978 PyObject * obj1 = 0 ;
d14a1e28
RD
11979 PyObject * obj2 = 0 ;
11980 char *kwnames[] = {
11981 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
11982 };
11983
8edf1c75 11984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11987 arg2 = (int) SWIG_AsInt(obj1);
11988 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11989 if (obj2) {
2f4c0a16
RD
11990 arg3 = (bool) SWIG_AsBool(obj2);
11991 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11992 }
11993 {
11994 PyThreadState* __tstate = wxPyBeginAllowThreads();
11995 (arg1)->SetDefaultColSize(arg2,arg3);
11996
11997 wxPyEndAllowThreads(__tstate);
11998 if (PyErr_Occurred()) SWIG_fail;
11999 }
12000 Py_INCREF(Py_None); resultobj = Py_None;
12001 return resultobj;
12002 fail:
12003 return NULL;
12004}
12005
12006
12007static PyObject *_wrap_Grid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12008 PyObject *resultobj;
12009 wxGrid *arg1 = (wxGrid *) 0 ;
12010 int arg2 ;
12011 int arg3 ;
12012 PyObject * obj0 = 0 ;
8edf1c75
RD
12013 PyObject * obj1 = 0 ;
12014 PyObject * obj2 = 0 ;
d14a1e28
RD
12015 char *kwnames[] = {
12016 (char *) "self",(char *) "col",(char *) "width", NULL
12017 };
12018
8edf1c75 12019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12022 arg2 = (int) SWIG_AsInt(obj1);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 arg3 = (int) SWIG_AsInt(obj2);
12025 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12026 {
12027 PyThreadState* __tstate = wxPyBeginAllowThreads();
12028 (arg1)->SetColSize(arg2,arg3);
12029
12030 wxPyEndAllowThreads(__tstate);
12031 if (PyErr_Occurred()) SWIG_fail;
12032 }
12033 Py_INCREF(Py_None); resultobj = Py_None;
12034 return resultobj;
12035 fail:
12036 return NULL;
12037}
12038
12039
12040static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
12041 PyObject *resultobj;
12042 wxGrid *arg1 = (wxGrid *) 0 ;
12043 int arg2 ;
423f194a 12044 bool arg3 = (bool) True ;
d14a1e28 12045 PyObject * obj0 = 0 ;
8edf1c75 12046 PyObject * obj1 = 0 ;
d14a1e28
RD
12047 PyObject * obj2 = 0 ;
12048 char *kwnames[] = {
12049 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
12050 };
12051
8edf1c75 12052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12055 arg2 = (int) SWIG_AsInt(obj1);
12056 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12057 if (obj2) {
2f4c0a16
RD
12058 arg3 = (bool) SWIG_AsBool(obj2);
12059 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12060 }
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 (arg1)->AutoSizeColumn(arg2,arg3);
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 Py_INCREF(Py_None); resultobj = Py_None;
12069 return resultobj;
12070 fail:
12071 return NULL;
12072}
12073
12074
12075static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12076 PyObject *resultobj;
12077 wxGrid *arg1 = (wxGrid *) 0 ;
12078 int arg2 ;
423f194a 12079 bool arg3 = (bool) True ;
d14a1e28 12080 PyObject * obj0 = 0 ;
8edf1c75 12081 PyObject * obj1 = 0 ;
d14a1e28
RD
12082 PyObject * obj2 = 0 ;
12083 char *kwnames[] = {
12084 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
12085 };
12086
8edf1c75 12087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12090 arg2 = (int) SWIG_AsInt(obj1);
12091 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12092 if (obj2) {
2f4c0a16
RD
12093 arg3 = (bool) SWIG_AsBool(obj2);
12094 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12095 }
12096 {
12097 PyThreadState* __tstate = wxPyBeginAllowThreads();
12098 (arg1)->AutoSizeRow(arg2,arg3);
12099
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) SWIG_fail;
12102 }
12103 Py_INCREF(Py_None); resultobj = Py_None;
12104 return resultobj;
12105 fail:
12106 return NULL;
12107}
12108
12109
12110static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
12111 PyObject *resultobj;
12112 wxGrid *arg1 = (wxGrid *) 0 ;
423f194a 12113 bool arg2 = (bool) True ;
d14a1e28
RD
12114 PyObject * obj0 = 0 ;
12115 PyObject * obj1 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self",(char *) "setAsMin", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeColumns",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12123 if (obj1) {
2f4c0a16
RD
12124 arg2 = (bool) SWIG_AsBool(obj1);
12125 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12126 }
12127 {
12128 PyThreadState* __tstate = wxPyBeginAllowThreads();
12129 (arg1)->AutoSizeColumns(arg2);
12130
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 Py_INCREF(Py_None); resultobj = Py_None;
12135 return resultobj;
12136 fail:
12137 return NULL;
12138}
12139
12140
12141static PyObject *_wrap_Grid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
12142 PyObject *resultobj;
12143 wxGrid *arg1 = (wxGrid *) 0 ;
423f194a 12144 bool arg2 = (bool) True ;
d14a1e28
RD
12145 PyObject * obj0 = 0 ;
12146 PyObject * obj1 = 0 ;
12147 char *kwnames[] = {
12148 (char *) "self",(char *) "setAsMin", NULL
12149 };
12150
12151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeRows",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12154 if (obj1) {
2f4c0a16
RD
12155 arg2 = (bool) SWIG_AsBool(obj1);
12156 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12157 }
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 (arg1)->AutoSizeRows(arg2);
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 Py_INCREF(Py_None); resultobj = Py_None;
12166 return resultobj;
12167 fail:
12168 return NULL;
12169}
12170
12171
12172static PyObject *_wrap_Grid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12173 PyObject *resultobj;
12174 wxGrid *arg1 = (wxGrid *) 0 ;
12175 PyObject * obj0 = 0 ;
12176 char *kwnames[] = {
12177 (char *) "self", NULL
12178 };
12179
12180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_AutoSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12183 {
12184 PyThreadState* __tstate = wxPyBeginAllowThreads();
12185 (arg1)->AutoSize();
12186
12187 wxPyEndAllowThreads(__tstate);
12188 if (PyErr_Occurred()) SWIG_fail;
12189 }
12190 Py_INCREF(Py_None); resultobj = Py_None;
12191 return resultobj;
12192 fail:
12193 return NULL;
12194}
12195
12196
12197static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj;
12199 wxGrid *arg1 = (wxGrid *) 0 ;
12200 int arg2 ;
12201 PyObject * obj0 = 0 ;
8edf1c75 12202 PyObject * obj1 = 0 ;
d14a1e28
RD
12203 char *kwnames[] = {
12204 (char *) "self",(char *) "row", NULL
12205 };
12206
8edf1c75 12207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12210 arg2 = (int) SWIG_AsInt(obj1);
12211 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12212 {
12213 PyThreadState* __tstate = wxPyBeginAllowThreads();
12214 (arg1)->AutoSizeRowLabelSize(arg2);
12215
12216 wxPyEndAllowThreads(__tstate);
12217 if (PyErr_Occurred()) SWIG_fail;
12218 }
12219 Py_INCREF(Py_None); resultobj = Py_None;
12220 return resultobj;
12221 fail:
12222 return NULL;
12223}
12224
12225
12226static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12227 PyObject *resultobj;
12228 wxGrid *arg1 = (wxGrid *) 0 ;
12229 int arg2 ;
12230 PyObject * obj0 = 0 ;
8edf1c75 12231 PyObject * obj1 = 0 ;
d14a1e28
RD
12232 char *kwnames[] = {
12233 (char *) "self",(char *) "col", NULL
12234 };
12235
8edf1c75 12236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12239 arg2 = (int) SWIG_AsInt(obj1);
12240 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12241 {
12242 PyThreadState* __tstate = wxPyBeginAllowThreads();
12243 (arg1)->AutoSizeColLabelSize(arg2);
12244
12245 wxPyEndAllowThreads(__tstate);
12246 if (PyErr_Occurred()) SWIG_fail;
12247 }
12248 Py_INCREF(Py_None); resultobj = Py_None;
12249 return resultobj;
12250 fail:
12251 return NULL;
12252}
12253
12254
12255static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12256 PyObject *resultobj;
12257 wxGrid *arg1 = (wxGrid *) 0 ;
12258 int arg2 ;
12259 int arg3 ;
12260 PyObject * obj0 = 0 ;
8edf1c75
RD
12261 PyObject * obj1 = 0 ;
12262 PyObject * obj2 = 0 ;
d14a1e28
RD
12263 char *kwnames[] = {
12264 (char *) "self",(char *) "col",(char *) "width", NULL
12265 };
12266
8edf1c75 12267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColMinimalWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12270 arg2 = (int) SWIG_AsInt(obj1);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 arg3 = (int) SWIG_AsInt(obj2);
12273 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12274 {
12275 PyThreadState* __tstate = wxPyBeginAllowThreads();
12276 (arg1)->SetColMinimalWidth(arg2,arg3);
12277
12278 wxPyEndAllowThreads(__tstate);
12279 if (PyErr_Occurred()) SWIG_fail;
12280 }
12281 Py_INCREF(Py_None); resultobj = Py_None;
12282 return resultobj;
12283 fail:
12284 return NULL;
12285}
12286
12287
12288static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12289 PyObject *resultobj;
12290 wxGrid *arg1 = (wxGrid *) 0 ;
12291 int arg2 ;
12292 int arg3 ;
12293 PyObject * obj0 = 0 ;
8edf1c75
RD
12294 PyObject * obj1 = 0 ;
12295 PyObject * obj2 = 0 ;
d14a1e28
RD
12296 char *kwnames[] = {
12297 (char *) "self",(char *) "row",(char *) "width", NULL
12298 };
12299
8edf1c75 12300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12303 arg2 = (int) SWIG_AsInt(obj1);
12304 if (PyErr_Occurred()) SWIG_fail;
12305 arg3 = (int) SWIG_AsInt(obj2);
12306 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12307 {
12308 PyThreadState* __tstate = wxPyBeginAllowThreads();
12309 (arg1)->SetRowMinimalHeight(arg2,arg3);
12310
12311 wxPyEndAllowThreads(__tstate);
12312 if (PyErr_Occurred()) SWIG_fail;
12313 }
12314 Py_INCREF(Py_None); resultobj = Py_None;
12315 return resultobj;
12316 fail:
12317 return NULL;
12318}
12319
12320
12321static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12322 PyObject *resultobj;
12323 wxGrid *arg1 = (wxGrid *) 0 ;
12324 int arg2 ;
12325 PyObject * obj0 = 0 ;
8edf1c75 12326 PyObject * obj1 = 0 ;
d14a1e28
RD
12327 char *kwnames[] = {
12328 (char *) "self",(char *) "width", NULL
12329 };
12330
8edf1c75 12331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12334 arg2 = (int) SWIG_AsInt(obj1);
12335 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12336 {
12337 PyThreadState* __tstate = wxPyBeginAllowThreads();
12338 (arg1)->SetColMinimalAcceptableWidth(arg2);
12339
12340 wxPyEndAllowThreads(__tstate);
12341 if (PyErr_Occurred()) SWIG_fail;
12342 }
12343 Py_INCREF(Py_None); resultobj = Py_None;
12344 return resultobj;
12345 fail:
12346 return NULL;
12347}
12348
12349
12350static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12351 PyObject *resultobj;
12352 wxGrid *arg1 = (wxGrid *) 0 ;
12353 int arg2 ;
12354 PyObject * obj0 = 0 ;
8edf1c75 12355 PyObject * obj1 = 0 ;
d14a1e28
RD
12356 char *kwnames[] = {
12357 (char *) "self",(char *) "width", NULL
12358 };
12359
8edf1c75 12360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12363 arg2 = (int) SWIG_AsInt(obj1);
12364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12365 {
12366 PyThreadState* __tstate = wxPyBeginAllowThreads();
12367 (arg1)->SetRowMinimalAcceptableHeight(arg2);
12368
12369 wxPyEndAllowThreads(__tstate);
12370 if (PyErr_Occurred()) SWIG_fail;
12371 }
12372 Py_INCREF(Py_None); resultobj = Py_None;
12373 return resultobj;
12374 fail:
12375 return NULL;
12376}
12377
12378
12379static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12380 PyObject *resultobj;
12381 wxGrid *arg1 = (wxGrid *) 0 ;
12382 int result;
12383 PyObject * obj0 = 0 ;
12384 char *kwnames[] = {
12385 (char *) "self", NULL
12386 };
12387
12388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12391 {
12392 PyThreadState* __tstate = wxPyBeginAllowThreads();
12393 result = (int)((wxGrid const *)arg1)->GetColMinimalAcceptableWidth();
12394
12395 wxPyEndAllowThreads(__tstate);
12396 if (PyErr_Occurred()) SWIG_fail;
12397 }
2f4c0a16 12398 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12399 return resultobj;
12400 fail:
12401 return NULL;
12402}
12403
12404
12405static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12406 PyObject *resultobj;
12407 wxGrid *arg1 = (wxGrid *) 0 ;
12408 int result;
12409 PyObject * obj0 = 0 ;
12410 char *kwnames[] = {
12411 (char *) "self", NULL
12412 };
12413
12414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12417 {
12418 PyThreadState* __tstate = wxPyBeginAllowThreads();
12419 result = (int)((wxGrid const *)arg1)->GetRowMinimalAcceptableHeight();
12420
12421 wxPyEndAllowThreads(__tstate);
12422 if (PyErr_Occurred()) SWIG_fail;
12423 }
2f4c0a16 12424 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12425 return resultobj;
12426 fail:
12427 return NULL;
12428}
12429
12430
12431static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12432 PyObject *resultobj;
12433 wxGrid *arg1 = (wxGrid *) 0 ;
12434 wxColour *arg2 = 0 ;
12435 wxColour temp2 ;
12436 PyObject * obj0 = 0 ;
12437 PyObject * obj1 = 0 ;
12438 char *kwnames[] = {
12439 (char *) "self","arg2", NULL
12440 };
12441
12442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12445 {
12446 arg2 = &temp2;
12447 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12448 }
12449 {
12450 PyThreadState* __tstate = wxPyBeginAllowThreads();
12451 (arg1)->SetDefaultCellBackgroundColour((wxColour const &)*arg2);
12452
12453 wxPyEndAllowThreads(__tstate);
12454 if (PyErr_Occurred()) SWIG_fail;
12455 }
12456 Py_INCREF(Py_None); resultobj = Py_None;
12457 return resultobj;
12458 fail:
12459 return NULL;
12460}
12461
12462
12463static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12464 PyObject *resultobj;
12465 wxGrid *arg1 = (wxGrid *) 0 ;
12466 int arg2 ;
12467 int arg3 ;
12468 wxColour *arg4 = 0 ;
12469 wxColour temp4 ;
12470 PyObject * obj0 = 0 ;
8edf1c75
RD
12471 PyObject * obj1 = 0 ;
12472 PyObject * obj2 = 0 ;
d14a1e28
RD
12473 PyObject * obj3 = 0 ;
12474 char *kwnames[] = {
12475 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12476 };
12477
8edf1c75 12478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
12479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12481 arg2 = (int) SWIG_AsInt(obj1);
12482 if (PyErr_Occurred()) SWIG_fail;
12483 arg3 = (int) SWIG_AsInt(obj2);
12484 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12485 {
12486 arg4 = &temp4;
12487 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12488 }
12489 {
12490 PyThreadState* __tstate = wxPyBeginAllowThreads();
12491 (arg1)->SetCellBackgroundColour(arg2,arg3,(wxColour const &)*arg4);
12492
12493 wxPyEndAllowThreads(__tstate);
12494 if (PyErr_Occurred()) SWIG_fail;
12495 }
12496 Py_INCREF(Py_None); resultobj = Py_None;
12497 return resultobj;
12498 fail:
12499 return NULL;
12500}
12501
12502
12503static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12504 PyObject *resultobj;
12505 wxGrid *arg1 = (wxGrid *) 0 ;
12506 wxColour *arg2 = 0 ;
12507 wxColour temp2 ;
12508 PyObject * obj0 = 0 ;
12509 PyObject * obj1 = 0 ;
12510 char *kwnames[] = {
12511 (char *) "self","arg2", NULL
12512 };
12513
12514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12517 {
12518 arg2 = &temp2;
12519 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12520 }
12521 {
12522 PyThreadState* __tstate = wxPyBeginAllowThreads();
12523 (arg1)->SetDefaultCellTextColour((wxColour const &)*arg2);
12524
12525 wxPyEndAllowThreads(__tstate);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 }
12528 Py_INCREF(Py_None); resultobj = Py_None;
12529 return resultobj;
12530 fail:
12531 return NULL;
12532}
12533
12534
12535static PyObject *_wrap_Grid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12536 PyObject *resultobj;
12537 wxGrid *arg1 = (wxGrid *) 0 ;
12538 int arg2 ;
12539 int arg3 ;
12540 wxColour *arg4 = 0 ;
12541 wxColour temp4 ;
12542 PyObject * obj0 = 0 ;
8edf1c75
RD
12543 PyObject * obj1 = 0 ;
12544 PyObject * obj2 = 0 ;
d14a1e28
RD
12545 PyObject * obj3 = 0 ;
12546 char *kwnames[] = {
12547 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12548 };
12549
8edf1c75 12550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellTextColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
12551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12553 arg2 = (int) SWIG_AsInt(obj1);
12554 if (PyErr_Occurred()) SWIG_fail;
12555 arg3 = (int) SWIG_AsInt(obj2);
12556 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12557 {
12558 arg4 = &temp4;
12559 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12560 }
12561 {
12562 PyThreadState* __tstate = wxPyBeginAllowThreads();
12563 (arg1)->SetCellTextColour(arg2,arg3,(wxColour const &)*arg4);
12564
12565 wxPyEndAllowThreads(__tstate);
12566 if (PyErr_Occurred()) SWIG_fail;
12567 }
12568 Py_INCREF(Py_None); resultobj = Py_None;
12569 return resultobj;
12570 fail:
12571 return NULL;
12572}
12573
12574
12575static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12576 PyObject *resultobj;
12577 wxGrid *arg1 = (wxGrid *) 0 ;
12578 wxFont *arg2 = 0 ;
12579 PyObject * obj0 = 0 ;
12580 PyObject * obj1 = 0 ;
12581 char *kwnames[] = {
12582 (char *) "self","arg2", NULL
12583 };
12584
12585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12589 SWIG_POINTER_EXCEPTION | 0)) == -1)
12590 SWIG_fail;
d14a1e28 12591 if (arg2 == NULL) {
2f4c0a16
RD
12592 PyErr_SetString(PyExc_TypeError,"null reference");
12593 SWIG_fail;
d14a1e28
RD
12594 }
12595 {
12596 PyThreadState* __tstate = wxPyBeginAllowThreads();
12597 (arg1)->SetDefaultCellFont((wxFont const &)*arg2);
12598
12599 wxPyEndAllowThreads(__tstate);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
12602 Py_INCREF(Py_None); resultobj = Py_None;
12603 return resultobj;
12604 fail:
12605 return NULL;
12606}
12607
12608
12609static PyObject *_wrap_Grid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12610 PyObject *resultobj;
12611 wxGrid *arg1 = (wxGrid *) 0 ;
12612 int arg2 ;
12613 int arg3 ;
12614 wxFont *arg4 = 0 ;
12615 PyObject * obj0 = 0 ;
8edf1c75
RD
12616 PyObject * obj1 = 0 ;
12617 PyObject * obj2 = 0 ;
d14a1e28
RD
12618 PyObject * obj3 = 0 ;
12619 char *kwnames[] = {
12620 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12621 };
12622
2f4c0a16
RD
12623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellFont",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12626 arg2 = (int) SWIG_AsInt(obj1);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 arg3 = (int) SWIG_AsInt(obj2);
12629 if (PyErr_Occurred()) SWIG_fail;
12630 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxFont,
12631 SWIG_POINTER_EXCEPTION | 0)) == -1)
12632 SWIG_fail;
d14a1e28 12633 if (arg4 == NULL) {
2f4c0a16
RD
12634 PyErr_SetString(PyExc_TypeError,"null reference");
12635 SWIG_fail;
d14a1e28
RD
12636 }
12637 {
12638 PyThreadState* __tstate = wxPyBeginAllowThreads();
12639 (arg1)->SetCellFont(arg2,arg3,(wxFont const &)*arg4);
12640
12641 wxPyEndAllowThreads(__tstate);
12642 if (PyErr_Occurred()) SWIG_fail;
12643 }
12644 Py_INCREF(Py_None); resultobj = Py_None;
12645 return resultobj;
12646 fail:
12647 return NULL;
12648}
12649
12650
12651static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12652 PyObject *resultobj;
12653 wxGrid *arg1 = (wxGrid *) 0 ;
12654 int arg2 ;
12655 int arg3 ;
12656 PyObject * obj0 = 0 ;
8edf1c75
RD
12657 PyObject * obj1 = 0 ;
12658 PyObject * obj2 = 0 ;
d14a1e28
RD
12659 char *kwnames[] = {
12660 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12661 };
12662
8edf1c75 12663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12666 arg2 = (int) SWIG_AsInt(obj1);
12667 if (PyErr_Occurred()) SWIG_fail;
12668 arg3 = (int) SWIG_AsInt(obj2);
12669 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12670 {
12671 PyThreadState* __tstate = wxPyBeginAllowThreads();
12672 (arg1)->SetDefaultCellAlignment(arg2,arg3);
12673
12674 wxPyEndAllowThreads(__tstate);
12675 if (PyErr_Occurred()) SWIG_fail;
12676 }
12677 Py_INCREF(Py_None); resultobj = Py_None;
12678 return resultobj;
12679 fail:
12680 return NULL;
12681}
12682
12683
12684static PyObject *_wrap_Grid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12685 PyObject *resultobj;
12686 wxGrid *arg1 = (wxGrid *) 0 ;
12687 int arg2 ;
12688 int arg3 ;
12689 int arg4 ;
12690 int arg5 ;
12691 PyObject * obj0 = 0 ;
8edf1c75
RD
12692 PyObject * obj1 = 0 ;
12693 PyObject * obj2 = 0 ;
12694 PyObject * obj3 = 0 ;
12695 PyObject * obj4 = 0 ;
d14a1e28
RD
12696 char *kwnames[] = {
12697 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12698 };
12699
8edf1c75 12700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellAlignment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12703 arg2 = (int) SWIG_AsInt(obj1);
12704 if (PyErr_Occurred()) SWIG_fail;
12705 arg3 = (int) SWIG_AsInt(obj2);
12706 if (PyErr_Occurred()) SWIG_fail;
12707 arg4 = (int) SWIG_AsInt(obj3);
12708 if (PyErr_Occurred()) SWIG_fail;
12709 arg5 = (int) SWIG_AsInt(obj4);
12710 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12711 {
12712 PyThreadState* __tstate = wxPyBeginAllowThreads();
12713 (arg1)->SetCellAlignment(arg2,arg3,arg4,arg5);
12714
12715 wxPyEndAllowThreads(__tstate);
12716 if (PyErr_Occurred()) SWIG_fail;
12717 }
12718 Py_INCREF(Py_None); resultobj = Py_None;
12719 return resultobj;
12720 fail:
12721 return NULL;
12722}
12723
12724
12725static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj;
12727 wxGrid *arg1 = (wxGrid *) 0 ;
12728 bool arg2 ;
12729 PyObject * obj0 = 0 ;
12730 PyObject * obj1 = 0 ;
12731 char *kwnames[] = {
12732 (char *) "self",(char *) "allow", NULL
12733 };
12734
12735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12738 arg2 = (bool) SWIG_AsBool(obj1);
12739 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12740 {
12741 PyThreadState* __tstate = wxPyBeginAllowThreads();
12742 (arg1)->SetDefaultCellOverflow(arg2);
12743
12744 wxPyEndAllowThreads(__tstate);
12745 if (PyErr_Occurred()) SWIG_fail;
12746 }
12747 Py_INCREF(Py_None); resultobj = Py_None;
12748 return resultobj;
12749 fail:
12750 return NULL;
12751}
12752
12753
12754static PyObject *_wrap_Grid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12755 PyObject *resultobj;
12756 wxGrid *arg1 = (wxGrid *) 0 ;
12757 int arg2 ;
12758 int arg3 ;
12759 bool arg4 ;
12760 PyObject * obj0 = 0 ;
8edf1c75
RD
12761 PyObject * obj1 = 0 ;
12762 PyObject * obj2 = 0 ;
d14a1e28
RD
12763 PyObject * obj3 = 0 ;
12764 char *kwnames[] = {
12765 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
12766 };
12767
8edf1c75 12768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellOverflow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
12769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12771 arg2 = (int) SWIG_AsInt(obj1);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 arg3 = (int) SWIG_AsInt(obj2);
12774 if (PyErr_Occurred()) SWIG_fail;
12775 arg4 = (bool) SWIG_AsBool(obj3);
12776 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12777 {
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 (arg1)->SetCellOverflow(arg2,arg3,arg4);
12780
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 Py_INCREF(Py_None); resultobj = Py_None;
12785 return resultobj;
12786 fail:
12787 return NULL;
12788}
12789
12790
12791static PyObject *_wrap_Grid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12792 PyObject *resultobj;
12793 wxGrid *arg1 = (wxGrid *) 0 ;
12794 int arg2 ;
12795 int arg3 ;
12796 int arg4 ;
12797 int arg5 ;
12798 PyObject * obj0 = 0 ;
8edf1c75
RD
12799 PyObject * obj1 = 0 ;
12800 PyObject * obj2 = 0 ;
12801 PyObject * obj3 = 0 ;
12802 PyObject * obj4 = 0 ;
d14a1e28
RD
12803 char *kwnames[] = {
12804 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
12805 };
12806
8edf1c75 12807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12810 arg2 = (int) SWIG_AsInt(obj1);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 arg3 = (int) SWIG_AsInt(obj2);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 arg4 = (int) SWIG_AsInt(obj3);
12815 if (PyErr_Occurred()) SWIG_fail;
12816 arg5 = (int) SWIG_AsInt(obj4);
12817 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12818 {
12819 PyThreadState* __tstate = wxPyBeginAllowThreads();
12820 (arg1)->SetCellSize(arg2,arg3,arg4,arg5);
12821
12822 wxPyEndAllowThreads(__tstate);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 }
12825 Py_INCREF(Py_None); resultobj = Py_None;
12826 return resultobj;
12827 fail:
12828 return NULL;
12829}
12830
12831
12832static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12833 PyObject *resultobj;
12834 wxGrid *arg1 = (wxGrid *) 0 ;
12835 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
12836 PyObject * obj0 = 0 ;
12837 PyObject * obj1 = 0 ;
12838 char *kwnames[] = {
12839 (char *) "self",(char *) "renderer", NULL
12840 };
12841
12842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultRenderer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
12846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12847 {
12848 PyThreadState* __tstate = wxPyBeginAllowThreads();
12849 (arg1)->SetDefaultRenderer(arg2);
12850
12851 wxPyEndAllowThreads(__tstate);
12852 if (PyErr_Occurred()) SWIG_fail;
12853 }
12854 Py_INCREF(Py_None); resultobj = Py_None;
12855 return resultobj;
12856 fail:
12857 return NULL;
12858}
12859
12860
12861static PyObject *_wrap_Grid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12862 PyObject *resultobj;
12863 wxGrid *arg1 = (wxGrid *) 0 ;
12864 int arg2 ;
12865 int arg3 ;
12866 wxGridCellRenderer *arg4 = (wxGridCellRenderer *) 0 ;
12867 PyObject * obj0 = 0 ;
8edf1c75
RD
12868 PyObject * obj1 = 0 ;
12869 PyObject * obj2 = 0 ;
d14a1e28
RD
12870 PyObject * obj3 = 0 ;
12871 char *kwnames[] = {
12872 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
12873 };
12874
8edf1c75 12875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
12876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12878 arg2 = (int) SWIG_AsInt(obj1);
12879 if (PyErr_Occurred()) SWIG_fail;
12880 arg3 = (int) SWIG_AsInt(obj2);
12881 if (PyErr_Occurred()) SWIG_fail;
12882 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellRenderer,
12883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 (arg1)->SetCellRenderer(arg2,arg3,arg4);
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 Py_INCREF(Py_None); resultobj = Py_None;
12892 return resultobj;
12893 fail:
12894 return NULL;
12895}
12896
12897
12898static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj;
12900 wxGrid *arg1 = (wxGrid *) 0 ;
12901 wxGridCellRenderer *result;
12902 PyObject * obj0 = 0 ;
12903 char *kwnames[] = {
12904 (char *) "self", NULL
12905 };
12906
12907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRenderer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12910 {
12911 PyThreadState* __tstate = wxPyBeginAllowThreads();
12912 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRenderer();
12913
12914 wxPyEndAllowThreads(__tstate);
12915 if (PyErr_Occurred()) SWIG_fail;
12916 }
12917 {
12918 resultobj = wxPyMake_wxGridCellRenderer(result);
12919 }
12920 return resultobj;
12921 fail:
12922 return NULL;
12923}
12924
12925
12926static PyObject *_wrap_Grid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12927 PyObject *resultobj;
12928 wxGrid *arg1 = (wxGrid *) 0 ;
12929 int arg2 ;
12930 int arg3 ;
12931 wxGridCellRenderer *result;
12932 PyObject * obj0 = 0 ;
8edf1c75
RD
12933 PyObject * obj1 = 0 ;
12934 PyObject * obj2 = 0 ;
d14a1e28
RD
12935 char *kwnames[] = {
12936 (char *) "self",(char *) "row",(char *) "col", NULL
12937 };
12938
8edf1c75 12939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellRenderer",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12942 arg2 = (int) SWIG_AsInt(obj1);
12943 if (PyErr_Occurred()) SWIG_fail;
12944 arg3 = (int) SWIG_AsInt(obj2);
12945 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12946 {
12947 PyThreadState* __tstate = wxPyBeginAllowThreads();
12948 result = (wxGridCellRenderer *)(arg1)->GetCellRenderer(arg2,arg3);
12949
12950 wxPyEndAllowThreads(__tstate);
12951 if (PyErr_Occurred()) SWIG_fail;
12952 }
12953 {
12954 resultobj = wxPyMake_wxGridCellRenderer(result);
12955 }
12956 return resultobj;
12957 fail:
12958 return NULL;
12959}
12960
12961
12962static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12963 PyObject *resultobj;
12964 wxGrid *arg1 = (wxGrid *) 0 ;
12965 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
12966 PyObject * obj0 = 0 ;
12967 PyObject * obj1 = 0 ;
12968 char *kwnames[] = {
12969 (char *) "self",(char *) "editor", NULL
12970 };
12971
12972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultEditor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
12976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 (arg1)->SetDefaultEditor(arg2);
12980
12981 wxPyEndAllowThreads(__tstate);
12982 if (PyErr_Occurred()) SWIG_fail;
12983 }
12984 Py_INCREF(Py_None); resultobj = Py_None;
12985 return resultobj;
12986 fail:
12987 return NULL;
12988}
12989
12990
12991static PyObject *_wrap_Grid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12992 PyObject *resultobj;
12993 wxGrid *arg1 = (wxGrid *) 0 ;
12994 int arg2 ;
12995 int arg3 ;
12996 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
12997 PyObject * obj0 = 0 ;
8edf1c75
RD
12998 PyObject * obj1 = 0 ;
12999 PyObject * obj2 = 0 ;
d14a1e28
RD
13000 PyObject * obj3 = 0 ;
13001 char *kwnames[] = {
13002 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
13003 };
13004
8edf1c75 13005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
13006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13008 arg2 = (int) SWIG_AsInt(obj1);
13009 if (PyErr_Occurred()) SWIG_fail;
13010 arg3 = (int) SWIG_AsInt(obj2);
13011 if (PyErr_Occurred()) SWIG_fail;
13012 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
13013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13014 {
13015 PyThreadState* __tstate = wxPyBeginAllowThreads();
13016 (arg1)->SetCellEditor(arg2,arg3,arg4);
13017
13018 wxPyEndAllowThreads(__tstate);
13019 if (PyErr_Occurred()) SWIG_fail;
13020 }
13021 Py_INCREF(Py_None); resultobj = Py_None;
13022 return resultobj;
13023 fail:
13024 return NULL;
13025}
13026
13027
13028static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13029 PyObject *resultobj;
13030 wxGrid *arg1 = (wxGrid *) 0 ;
13031 wxGridCellEditor *result;
13032 PyObject * obj0 = 0 ;
13033 char *kwnames[] = {
13034 (char *) "self", NULL
13035 };
13036
13037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultEditor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13040 {
13041 PyThreadState* __tstate = wxPyBeginAllowThreads();
13042 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditor();
13043
13044 wxPyEndAllowThreads(__tstate);
13045 if (PyErr_Occurred()) SWIG_fail;
13046 }
13047 {
13048 resultobj = wxPyMake_wxGridCellEditor(result);
13049 }
13050 return resultobj;
13051 fail:
13052 return NULL;
13053}
13054
13055
13056static PyObject *_wrap_Grid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13057 PyObject *resultobj;
13058 wxGrid *arg1 = (wxGrid *) 0 ;
13059 int arg2 ;
13060 int arg3 ;
13061 wxGridCellEditor *result;
13062 PyObject * obj0 = 0 ;
8edf1c75
RD
13063 PyObject * obj1 = 0 ;
13064 PyObject * obj2 = 0 ;
d14a1e28
RD
13065 char *kwnames[] = {
13066 (char *) "self",(char *) "row",(char *) "col", NULL
13067 };
13068
8edf1c75 13069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellEditor",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13072 arg2 = (int) SWIG_AsInt(obj1);
13073 if (PyErr_Occurred()) SWIG_fail;
13074 arg3 = (int) SWIG_AsInt(obj2);
13075 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13076 {
13077 PyThreadState* __tstate = wxPyBeginAllowThreads();
13078 result = (wxGridCellEditor *)(arg1)->GetCellEditor(arg2,arg3);
13079
13080 wxPyEndAllowThreads(__tstate);
13081 if (PyErr_Occurred()) SWIG_fail;
13082 }
13083 {
13084 resultobj = wxPyMake_wxGridCellEditor(result);
13085 }
13086 return resultobj;
13087 fail:
13088 return NULL;
13089}
13090
13091
13092static PyObject *_wrap_Grid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13093 PyObject *resultobj;
13094 wxGrid *arg1 = (wxGrid *) 0 ;
13095 int arg2 ;
13096 int arg3 ;
13097 wxString result;
13098 PyObject * obj0 = 0 ;
8edf1c75
RD
13099 PyObject * obj1 = 0 ;
13100 PyObject * obj2 = 0 ;
d14a1e28
RD
13101 char *kwnames[] = {
13102 (char *) "self",(char *) "row",(char *) "col", NULL
13103 };
13104
8edf1c75 13105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13108 arg2 = (int) SWIG_AsInt(obj1);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 arg3 = (int) SWIG_AsInt(obj2);
13111 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 result = (arg1)->GetCellValue(arg2,arg3);
13115
13116 wxPyEndAllowThreads(__tstate);
13117 if (PyErr_Occurred()) SWIG_fail;
13118 }
13119 {
13120#if wxUSE_UNICODE
13121 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13122#else
13123 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13124#endif
13125 }
13126 return resultobj;
13127 fail:
13128 return NULL;
13129}
13130
13131
13132static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13133 PyObject *resultobj;
13134 wxGrid *arg1 = (wxGrid *) 0 ;
13135 int arg2 ;
13136 int arg3 ;
13137 wxString *arg4 = 0 ;
423f194a 13138 bool temp4 = False ;
d14a1e28 13139 PyObject * obj0 = 0 ;
8edf1c75
RD
13140 PyObject * obj1 = 0 ;
13141 PyObject * obj2 = 0 ;
d14a1e28
RD
13142 PyObject * obj3 = 0 ;
13143 char *kwnames[] = {
13144 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13145 };
13146
8edf1c75 13147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
13148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13150 arg2 = (int) SWIG_AsInt(obj1);
13151 if (PyErr_Occurred()) SWIG_fail;
13152 arg3 = (int) SWIG_AsInt(obj2);
13153 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13154 {
13155 arg4 = wxString_in_helper(obj3);
13156 if (arg4 == NULL) SWIG_fail;
423f194a 13157 temp4 = True;
d14a1e28
RD
13158 }
13159 {
13160 PyThreadState* __tstate = wxPyBeginAllowThreads();
13161 (arg1)->SetCellValue(arg2,arg3,(wxString const &)*arg4);
13162
13163 wxPyEndAllowThreads(__tstate);
13164 if (PyErr_Occurred()) SWIG_fail;
13165 }
13166 Py_INCREF(Py_None); resultobj = Py_None;
13167 {
13168 if (temp4)
13169 delete arg4;
13170 }
13171 return resultobj;
13172 fail:
13173 {
13174 if (temp4)
13175 delete arg4;
13176 }
13177 return NULL;
13178}
13179
13180
13181static PyObject *_wrap_Grid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13182 PyObject *resultobj;
13183 wxGrid *arg1 = (wxGrid *) 0 ;
13184 int arg2 ;
13185 int arg3 ;
13186 bool result;
13187 PyObject * obj0 = 0 ;
8edf1c75
RD
13188 PyObject * obj1 = 0 ;
13189 PyObject * obj2 = 0 ;
d14a1e28
RD
13190 char *kwnames[] = {
13191 (char *) "self",(char *) "row",(char *) "col", NULL
13192 };
13193
8edf1c75 13194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsReadOnly",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13197 arg2 = (int) SWIG_AsInt(obj1);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 arg3 = (int) SWIG_AsInt(obj2);
13200 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13201 {
13202 PyThreadState* __tstate = wxPyBeginAllowThreads();
13203 result = (bool)((wxGrid const *)arg1)->IsReadOnly(arg2,arg3);
13204
13205 wxPyEndAllowThreads(__tstate);
13206 if (PyErr_Occurred()) SWIG_fail;
13207 }
4f89f6a3
RD
13208 {
13209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13210 }
d14a1e28
RD
13211 return resultobj;
13212 fail:
13213 return NULL;
13214}
13215
13216
13217static PyObject *_wrap_Grid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13218 PyObject *resultobj;
13219 wxGrid *arg1 = (wxGrid *) 0 ;
13220 int arg2 ;
13221 int arg3 ;
423f194a 13222 bool arg4 = (bool) True ;
d14a1e28 13223 PyObject * obj0 = 0 ;
8edf1c75
RD
13224 PyObject * obj1 = 0 ;
13225 PyObject * obj2 = 0 ;
d14a1e28
RD
13226 PyObject * obj3 = 0 ;
13227 char *kwnames[] = {
13228 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13229 };
13230
8edf1c75 13231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_SetReadOnly",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
13232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13234 arg2 = (int) SWIG_AsInt(obj1);
13235 if (PyErr_Occurred()) SWIG_fail;
13236 arg3 = (int) SWIG_AsInt(obj2);
13237 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13238 if (obj3) {
2f4c0a16
RD
13239 arg4 = (bool) SWIG_AsBool(obj3);
13240 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13241 }
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 (arg1)->SetReadOnly(arg2,arg3,arg4);
13245
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 Py_INCREF(Py_None); resultobj = Py_None;
13250 return resultobj;
13251 fail:
13252 return NULL;
13253}
13254
13255
13256static PyObject *_wrap_Grid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13257 PyObject *resultobj;
13258 wxGrid *arg1 = (wxGrid *) 0 ;
13259 int arg2 ;
423f194a 13260 bool arg3 = (bool) False ;
d14a1e28 13261 PyObject * obj0 = 0 ;
8edf1c75 13262 PyObject * obj1 = 0 ;
d14a1e28
RD
13263 PyObject * obj2 = 0 ;
13264 char *kwnames[] = {
13265 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13266 };
13267
8edf1c75 13268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13271 arg2 = (int) SWIG_AsInt(obj1);
13272 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13273 if (obj2) {
2f4c0a16
RD
13274 arg3 = (bool) SWIG_AsBool(obj2);
13275 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13276 }
13277 {
13278 PyThreadState* __tstate = wxPyBeginAllowThreads();
13279 (arg1)->SelectRow(arg2,arg3);
13280
13281 wxPyEndAllowThreads(__tstate);
13282 if (PyErr_Occurred()) SWIG_fail;
13283 }
13284 Py_INCREF(Py_None); resultobj = Py_None;
13285 return resultobj;
13286 fail:
13287 return NULL;
13288}
13289
13290
13291static PyObject *_wrap_Grid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13292 PyObject *resultobj;
13293 wxGrid *arg1 = (wxGrid *) 0 ;
13294 int arg2 ;
423f194a 13295 bool arg3 = (bool) False ;
d14a1e28 13296 PyObject * obj0 = 0 ;
8edf1c75 13297 PyObject * obj1 = 0 ;
d14a1e28
RD
13298 PyObject * obj2 = 0 ;
13299 char *kwnames[] = {
13300 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13301 };
13302
8edf1c75 13303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13306 arg2 = (int) SWIG_AsInt(obj1);
13307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13308 if (obj2) {
2f4c0a16
RD
13309 arg3 = (bool) SWIG_AsBool(obj2);
13310 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13311 }
13312 {
13313 PyThreadState* __tstate = wxPyBeginAllowThreads();
13314 (arg1)->SelectCol(arg2,arg3);
13315
13316 wxPyEndAllowThreads(__tstate);
13317 if (PyErr_Occurred()) SWIG_fail;
13318 }
13319 Py_INCREF(Py_None); resultobj = Py_None;
13320 return resultobj;
13321 fail:
13322 return NULL;
13323}
13324
13325
13326static PyObject *_wrap_Grid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
13327 PyObject *resultobj;
13328 wxGrid *arg1 = (wxGrid *) 0 ;
13329 int arg2 ;
13330 int arg3 ;
13331 int arg4 ;
13332 int arg5 ;
423f194a 13333 bool arg6 = (bool) False ;
d14a1e28 13334 PyObject * obj0 = 0 ;
8edf1c75
RD
13335 PyObject * obj1 = 0 ;
13336 PyObject * obj2 = 0 ;
13337 PyObject * obj3 = 0 ;
13338 PyObject * obj4 = 0 ;
d14a1e28
RD
13339 PyObject * obj5 = 0 ;
13340 char *kwnames[] = {
13341 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13342 };
13343
8edf1c75 13344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Grid_SelectBlock",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
13345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13347 arg2 = (int) SWIG_AsInt(obj1);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 arg3 = (int) SWIG_AsInt(obj2);
13350 if (PyErr_Occurred()) SWIG_fail;
13351 arg4 = (int) SWIG_AsInt(obj3);
13352 if (PyErr_Occurred()) SWIG_fail;
13353 arg5 = (int) SWIG_AsInt(obj4);
13354 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13355 if (obj5) {
2f4c0a16
RD
13356 arg6 = (bool) SWIG_AsBool(obj5);
13357 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13358 }
13359 {
13360 PyThreadState* __tstate = wxPyBeginAllowThreads();
13361 (arg1)->SelectBlock(arg2,arg3,arg4,arg5,arg6);
13362
13363 wxPyEndAllowThreads(__tstate);
13364 if (PyErr_Occurred()) SWIG_fail;
13365 }
13366 Py_INCREF(Py_None); resultobj = Py_None;
13367 return resultobj;
13368 fail:
13369 return NULL;
13370}
13371
13372
13373static PyObject *_wrap_Grid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
13374 PyObject *resultobj;
13375 wxGrid *arg1 = (wxGrid *) 0 ;
13376 PyObject * obj0 = 0 ;
13377 char *kwnames[] = {
13378 (char *) "self", NULL
13379 };
13380
13381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SelectAll",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13384 {
13385 PyThreadState* __tstate = wxPyBeginAllowThreads();
13386 (arg1)->SelectAll();
13387
13388 wxPyEndAllowThreads(__tstate);
13389 if (PyErr_Occurred()) SWIG_fail;
13390 }
13391 Py_INCREF(Py_None); resultobj = Py_None;
13392 return resultobj;
13393 fail:
13394 return NULL;
13395}
13396
13397
13398static PyObject *_wrap_Grid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13399 PyObject *resultobj;
13400 wxGrid *arg1 = (wxGrid *) 0 ;
13401 bool result;
13402 PyObject * obj0 = 0 ;
13403 char *kwnames[] = {
13404 (char *) "self", NULL
13405 };
13406
13407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 result = (bool)(arg1)->IsSelection();
13413
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
4f89f6a3
RD
13417 {
13418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13419 }
d14a1e28
RD
13420 return resultobj;
13421 fail:
13422 return NULL;
13423}
13424
13425
13426static PyObject *_wrap_Grid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13427 PyObject *resultobj;
13428 wxGrid *arg1 = (wxGrid *) 0 ;
13429 PyObject * obj0 = 0 ;
13430 char *kwnames[] = {
13431 (char *) "self", NULL
13432 };
13433
13434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13437 {
13438 PyThreadState* __tstate = wxPyBeginAllowThreads();
13439 (arg1)->ClearSelection();
13440
13441 wxPyEndAllowThreads(__tstate);
13442 if (PyErr_Occurred()) SWIG_fail;
13443 }
13444 Py_INCREF(Py_None); resultobj = Py_None;
13445 return resultobj;
13446 fail:
13447 return NULL;
13448}
13449
13450
13451static PyObject *_wrap_Grid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13452 PyObject *resultobj;
13453 wxGrid *arg1 = (wxGrid *) 0 ;
13454 int arg2 ;
13455 int arg3 ;
13456 bool result;
13457 PyObject * obj0 = 0 ;
8edf1c75
RD
13458 PyObject * obj1 = 0 ;
13459 PyObject * obj2 = 0 ;
d14a1e28
RD
13460 char *kwnames[] = {
13461 (char *) "self",(char *) "row",(char *) "col", NULL
13462 };
13463
8edf1c75 13464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsInSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13467 arg2 = (int) SWIG_AsInt(obj1);
13468 if (PyErr_Occurred()) SWIG_fail;
13469 arg3 = (int) SWIG_AsInt(obj2);
13470 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13471 {
13472 PyThreadState* __tstate = wxPyBeginAllowThreads();
13473 result = (bool)(arg1)->IsInSelection(arg2,arg3);
13474
13475 wxPyEndAllowThreads(__tstate);
13476 if (PyErr_Occurred()) SWIG_fail;
13477 }
4f89f6a3
RD
13478 {
13479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13480 }
d14a1e28
RD
13481 return resultobj;
13482 fail:
13483 return NULL;
13484}
13485
13486
13487static PyObject *_wrap_Grid_GetSelectedCells(PyObject *self, PyObject *args, PyObject *kwargs) {
13488 PyObject *resultobj;
13489 wxGrid *arg1 = (wxGrid *) 0 ;
13490 wxGridCellCoordsArray result;
13491 PyObject * obj0 = 0 ;
13492 char *kwnames[] = {
13493 (char *) "self", NULL
13494 };
13495
13496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCells",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 result = ((wxGrid const *)arg1)->GetSelectedCells();
13502
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 {
13507 resultobj = wxGridCellCoordsArray_helper(result);
13508 }
13509 return resultobj;
13510 fail:
13511 return NULL;
13512}
13513
13514
13515static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13516 PyObject *resultobj;
13517 wxGrid *arg1 = (wxGrid *) 0 ;
13518 wxGridCellCoordsArray result;
13519 PyObject * obj0 = 0 ;
13520 char *kwnames[] = {
13521 (char *) "self", NULL
13522 };
13523
13524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13527 {
13528 PyThreadState* __tstate = wxPyBeginAllowThreads();
13529 result = ((wxGrid const *)arg1)->GetSelectionBlockTopLeft();
13530
13531 wxPyEndAllowThreads(__tstate);
13532 if (PyErr_Occurred()) SWIG_fail;
13533 }
13534 {
13535 resultobj = wxGridCellCoordsArray_helper(result);
13536 }
13537 return resultobj;
13538 fail:
13539 return NULL;
13540}
13541
13542
13543static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13544 PyObject *resultobj;
13545 wxGrid *arg1 = (wxGrid *) 0 ;
13546 wxGridCellCoordsArray result;
13547 PyObject * obj0 = 0 ;
13548 char *kwnames[] = {
13549 (char *) "self", NULL
13550 };
13551
13552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13555 {
13556 PyThreadState* __tstate = wxPyBeginAllowThreads();
13557 result = ((wxGrid const *)arg1)->GetSelectionBlockBottomRight();
13558
13559 wxPyEndAllowThreads(__tstate);
13560 if (PyErr_Occurred()) SWIG_fail;
13561 }
13562 {
13563 resultobj = wxGridCellCoordsArray_helper(result);
13564 }
13565 return resultobj;
13566 fail:
13567 return NULL;
13568}
13569
13570
13571static PyObject *_wrap_Grid_GetSelectedRows(PyObject *self, PyObject *args, PyObject *kwargs) {
13572 PyObject *resultobj;
13573 wxGrid *arg1 = (wxGrid *) 0 ;
13574 wxArrayInt result;
13575 PyObject * obj0 = 0 ;
13576 char *kwnames[] = {
13577 (char *) "self", NULL
13578 };
13579
13580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedRows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13583 {
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 result = ((wxGrid const *)arg1)->GetSelectedRows();
13586
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 {
13591 resultobj = PyList_New(0);
13592 size_t idx;
13593 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13594 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13595 PyList_Append(resultobj, val);
13596 Py_DECREF(val);
13597 }
13598 }
13599 return resultobj;
13600 fail:
13601 return NULL;
13602}
13603
13604
13605static PyObject *_wrap_Grid_GetSelectedCols(PyObject *self, PyObject *args, PyObject *kwargs) {
13606 PyObject *resultobj;
13607 wxGrid *arg1 = (wxGrid *) 0 ;
13608 wxArrayInt result;
13609 PyObject * obj0 = 0 ;
13610 char *kwnames[] = {
13611 (char *) "self", NULL
13612 };
13613
13614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCols",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13617 {
13618 PyThreadState* __tstate = wxPyBeginAllowThreads();
13619 result = ((wxGrid const *)arg1)->GetSelectedCols();
13620
13621 wxPyEndAllowThreads(__tstate);
13622 if (PyErr_Occurred()) SWIG_fail;
13623 }
13624 {
13625 resultobj = PyList_New(0);
13626 size_t idx;
13627 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13628 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13629 PyList_Append(resultobj, val);
13630 Py_DECREF(val);
13631 }
13632 }
13633 return resultobj;
13634 fail:
13635 return NULL;
13636}
13637
13638
13639static PyObject *_wrap_Grid_DeselectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13640 PyObject *resultobj;
13641 wxGrid *arg1 = (wxGrid *) 0 ;
13642 int arg2 ;
13643 PyObject * obj0 = 0 ;
8edf1c75 13644 PyObject * obj1 = 0 ;
d14a1e28
RD
13645 char *kwnames[] = {
13646 (char *) "self",(char *) "row", NULL
13647 };
13648
8edf1c75 13649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13652 arg2 = (int) SWIG_AsInt(obj1);
13653 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13654 {
13655 PyThreadState* __tstate = wxPyBeginAllowThreads();
13656 (arg1)->DeselectRow(arg2);
13657
13658 wxPyEndAllowThreads(__tstate);
13659 if (PyErr_Occurred()) SWIG_fail;
13660 }
13661 Py_INCREF(Py_None); resultobj = Py_None;
13662 return resultobj;
13663 fail:
13664 return NULL;
13665}
13666
13667
13668static PyObject *_wrap_Grid_DeselectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13669 PyObject *resultobj;
13670 wxGrid *arg1 = (wxGrid *) 0 ;
13671 int arg2 ;
13672 PyObject * obj0 = 0 ;
8edf1c75 13673 PyObject * obj1 = 0 ;
d14a1e28
RD
13674 char *kwnames[] = {
13675 (char *) "self",(char *) "col", NULL
13676 };
13677
8edf1c75 13678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13681 arg2 = (int) SWIG_AsInt(obj1);
13682 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13683 {
13684 PyThreadState* __tstate = wxPyBeginAllowThreads();
13685 (arg1)->DeselectCol(arg2);
13686
13687 wxPyEndAllowThreads(__tstate);
13688 if (PyErr_Occurred()) SWIG_fail;
13689 }
13690 Py_INCREF(Py_None); resultobj = Py_None;
13691 return resultobj;
13692 fail:
13693 return NULL;
13694}
13695
13696
13697static PyObject *_wrap_Grid_DeselectCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13698 PyObject *resultobj;
13699 wxGrid *arg1 = (wxGrid *) 0 ;
13700 int arg2 ;
13701 int arg3 ;
13702 PyObject * obj0 = 0 ;
8edf1c75
RD
13703 PyObject * obj1 = 0 ;
13704 PyObject * obj2 = 0 ;
d14a1e28
RD
13705 char *kwnames[] = {
13706 (char *) "self",(char *) "row",(char *) "col", NULL
13707 };
13708
8edf1c75 13709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DeselectCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13712 arg2 = (int) SWIG_AsInt(obj1);
13713 if (PyErr_Occurred()) SWIG_fail;
13714 arg3 = (int) SWIG_AsInt(obj2);
13715 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13716 {
13717 PyThreadState* __tstate = wxPyBeginAllowThreads();
13718 (arg1)->DeselectCell(arg2,arg3);
13719
13720 wxPyEndAllowThreads(__tstate);
13721 if (PyErr_Occurred()) SWIG_fail;
13722 }
13723 Py_INCREF(Py_None); resultobj = Py_None;
13724 return resultobj;
13725 fail:
13726 return NULL;
13727}
13728
13729
13730static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
13731 PyObject *resultobj;
13732 wxGrid *arg1 = (wxGrid *) 0 ;
13733 wxGridCellCoords *arg2 = 0 ;
13734 wxGridCellCoords *arg3 = 0 ;
13735 wxRect result;
13736 wxGridCellCoords temp2 ;
13737 wxGridCellCoords temp3 ;
13738 PyObject * obj0 = 0 ;
13739 PyObject * obj1 = 0 ;
13740 PyObject * obj2 = 0 ;
13741 char *kwnames[] = {
13742 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13743 };
13744
13745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_BlockToDeviceRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13748 {
13749 arg2 = &temp2;
13750 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
13751 }
13752 {
13753 arg3 = &temp3;
13754 if (! wxGridCellCoords_helper(obj2, &arg3)) SWIG_fail;
13755 }
13756 {
13757 PyThreadState* __tstate = wxPyBeginAllowThreads();
13758 result = (arg1)->BlockToDeviceRect((wxGridCellCoords const &)*arg2,(wxGridCellCoords const &)*arg3);
13759
13760 wxPyEndAllowThreads(__tstate);
13761 if (PyErr_Occurred()) SWIG_fail;
13762 }
13763 {
13764 wxRect * resultptr;
13765 resultptr = new wxRect((wxRect &) result);
2f4c0a16 13766 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
13767 }
13768 return resultobj;
13769 fail:
13770 return NULL;
13771}
13772
13773
13774static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13775 PyObject *resultobj;
13776 wxGrid *arg1 = (wxGrid *) 0 ;
13777 wxColour result;
13778 PyObject * obj0 = 0 ;
13779 char *kwnames[] = {
13780 (char *) "self", NULL
13781 };
13782
13783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBackground",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13786 {
13787 PyThreadState* __tstate = wxPyBeginAllowThreads();
13788 result = ((wxGrid const *)arg1)->GetSelectionBackground();
13789
13790 wxPyEndAllowThreads(__tstate);
13791 if (PyErr_Occurred()) SWIG_fail;
13792 }
13793 {
13794 wxColour * resultptr;
13795 resultptr = new wxColour((wxColour &) result);
2f4c0a16 13796 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13797 }
13798 return resultobj;
13799 fail:
13800 return NULL;
13801}
13802
13803
13804static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13805 PyObject *resultobj;
13806 wxGrid *arg1 = (wxGrid *) 0 ;
13807 wxColour result;
13808 PyObject * obj0 = 0 ;
13809 char *kwnames[] = {
13810 (char *) "self", NULL
13811 };
13812
13813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionForeground",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
13818 result = ((wxGrid const *)arg1)->GetSelectionForeground();
13819
13820 wxPyEndAllowThreads(__tstate);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 }
13823 {
13824 wxColour * resultptr;
13825 resultptr = new wxColour((wxColour &) result);
2f4c0a16 13826 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13827 }
13828 return resultobj;
13829 fail:
13830 return NULL;
13831}
13832
13833
13834static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13835 PyObject *resultobj;
13836 wxGrid *arg1 = (wxGrid *) 0 ;
13837 wxColour *arg2 = 0 ;
13838 wxColour temp2 ;
13839 PyObject * obj0 = 0 ;
13840 PyObject * obj1 = 0 ;
13841 char *kwnames[] = {
13842 (char *) "self",(char *) "c", NULL
13843 };
13844
13845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13848 {
13849 arg2 = &temp2;
13850 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13851 }
13852 {
13853 PyThreadState* __tstate = wxPyBeginAllowThreads();
13854 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
13855
13856 wxPyEndAllowThreads(__tstate);
13857 if (PyErr_Occurred()) SWIG_fail;
13858 }
13859 Py_INCREF(Py_None); resultobj = Py_None;
13860 return resultobj;
13861 fail:
13862 return NULL;
13863}
13864
13865
13866static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13867 PyObject *resultobj;
13868 wxGrid *arg1 = (wxGrid *) 0 ;
13869 wxColour *arg2 = 0 ;
13870 wxColour temp2 ;
13871 PyObject * obj0 = 0 ;
13872 PyObject * obj1 = 0 ;
13873 char *kwnames[] = {
13874 (char *) "self",(char *) "c", NULL
13875 };
13876
13877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionForeground",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13880 {
13881 arg2 = &temp2;
13882 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13883 }
13884 {
13885 PyThreadState* __tstate = wxPyBeginAllowThreads();
13886 (arg1)->SetSelectionForeground((wxColour const &)*arg2);
13887
13888 wxPyEndAllowThreads(__tstate);
13889 if (PyErr_Occurred()) SWIG_fail;
13890 }
13891 Py_INCREF(Py_None); resultobj = Py_None;
13892 return resultobj;
13893 fail:
13894 return NULL;
13895}
13896
13897
13898static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
13899 PyObject *resultobj;
13900 wxGrid *arg1 = (wxGrid *) 0 ;
13901 wxString *arg2 = 0 ;
13902 wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
13903 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
423f194a 13904 bool temp2 = False ;
d14a1e28
RD
13905 PyObject * obj0 = 0 ;
13906 PyObject * obj1 = 0 ;
13907 PyObject * obj2 = 0 ;
13908 PyObject * obj3 = 0 ;
13909 char *kwnames[] = {
13910 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
13911 };
13912
13913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_RegisterDataType",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
13914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13916 {
13917 arg2 = wxString_in_helper(obj1);
13918 if (arg2 == NULL) SWIG_fail;
423f194a 13919 temp2 = True;
d14a1e28 13920 }
2f4c0a16
RD
13921 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellRenderer,
13922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13923 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
13924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13925 {
13926 PyThreadState* __tstate = wxPyBeginAllowThreads();
13927 (arg1)->RegisterDataType((wxString const &)*arg2,arg3,arg4);
13928
13929 wxPyEndAllowThreads(__tstate);
13930 if (PyErr_Occurred()) SWIG_fail;
13931 }
13932 Py_INCREF(Py_None); resultobj = Py_None;
13933 {
13934 if (temp2)
13935 delete arg2;
13936 }
13937 return resultobj;
13938 fail:
13939 {
13940 if (temp2)
13941 delete arg2;
13942 }
13943 return NULL;
13944}
13945
13946
13947static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13948 PyObject *resultobj;
13949 wxGrid *arg1 = (wxGrid *) 0 ;
13950 int arg2 ;
13951 int arg3 ;
13952 wxGridCellEditor *result;
13953 PyObject * obj0 = 0 ;
8edf1c75
RD
13954 PyObject * obj1 = 0 ;
13955 PyObject * obj2 = 0 ;
d14a1e28
RD
13956 char *kwnames[] = {
13957 (char *) "self",(char *) "row",(char *) "col", NULL
13958 };
13959
8edf1c75 13960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13963 arg2 = (int) SWIG_AsInt(obj1);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 arg3 = (int) SWIG_AsInt(obj2);
13966 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13967 {
13968 PyThreadState* __tstate = wxPyBeginAllowThreads();
13969 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForCell(arg2,arg3);
13970
13971 wxPyEndAllowThreads(__tstate);
13972 if (PyErr_Occurred()) SWIG_fail;
13973 }
13974 {
13975 resultobj = wxPyMake_wxGridCellEditor(result);
13976 }
13977 return resultobj;
13978 fail:
13979 return NULL;
13980}
13981
13982
13983static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13984 PyObject *resultobj;
13985 wxGrid *arg1 = (wxGrid *) 0 ;
13986 int arg2 ;
13987 int arg3 ;
13988 wxGridCellRenderer *result;
13989 PyObject * obj0 = 0 ;
8edf1c75
RD
13990 PyObject * obj1 = 0 ;
13991 PyObject * obj2 = 0 ;
d14a1e28
RD
13992 char *kwnames[] = {
13993 (char *) "self",(char *) "row",(char *) "col", NULL
13994 };
13995
8edf1c75 13996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13999 arg2 = (int) SWIG_AsInt(obj1);
14000 if (PyErr_Occurred()) SWIG_fail;
14001 arg3 = (int) SWIG_AsInt(obj2);
14002 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14003 {
14004 PyThreadState* __tstate = wxPyBeginAllowThreads();
14005 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForCell(arg2,arg3);
14006
14007 wxPyEndAllowThreads(__tstate);
14008 if (PyErr_Occurred()) SWIG_fail;
14009 }
14010 {
14011 resultobj = wxPyMake_wxGridCellRenderer(result);
14012 }
14013 return resultobj;
14014 fail:
14015 return NULL;
14016}
14017
14018
14019static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
14020 PyObject *resultobj;
14021 wxGrid *arg1 = (wxGrid *) 0 ;
14022 wxString *arg2 = 0 ;
14023 wxGridCellEditor *result;
423f194a 14024 bool temp2 = False ;
d14a1e28
RD
14025 PyObject * obj0 = 0 ;
14026 PyObject * obj1 = 0 ;
14027 char *kwnames[] = {
14028 (char *) "self",(char *) "typeName", NULL
14029 };
14030
14031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultEditorForType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14034 {
14035 arg2 = wxString_in_helper(obj1);
14036 if (arg2 == NULL) SWIG_fail;
423f194a 14037 temp2 = True;
d14a1e28
RD
14038 }
14039 {
14040 PyThreadState* __tstate = wxPyBeginAllowThreads();
14041 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForType((wxString const &)*arg2);
14042
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 {
14047 resultobj = wxPyMake_wxGridCellEditor(result);
14048 }
14049 {
14050 if (temp2)
14051 delete arg2;
14052 }
14053 return resultobj;
14054 fail:
14055 {
14056 if (temp2)
14057 delete arg2;
14058 }
14059 return NULL;
14060}
14061
14062
14063static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
14064 PyObject *resultobj;
14065 wxGrid *arg1 = (wxGrid *) 0 ;
14066 wxString *arg2 = 0 ;
14067 wxGridCellRenderer *result;
423f194a 14068 bool temp2 = False ;
d14a1e28
RD
14069 PyObject * obj0 = 0 ;
14070 PyObject * obj1 = 0 ;
14071 char *kwnames[] = {
14072 (char *) "self",(char *) "typeName", NULL
14073 };
14074
14075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultRendererForType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14078 {
14079 arg2 = wxString_in_helper(obj1);
14080 if (arg2 == NULL) SWIG_fail;
423f194a 14081 temp2 = True;
d14a1e28
RD
14082 }
14083 {
14084 PyThreadState* __tstate = wxPyBeginAllowThreads();
14085 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForType((wxString const &)*arg2);
14086
14087 wxPyEndAllowThreads(__tstate);
14088 if (PyErr_Occurred()) SWIG_fail;
14089 }
14090 {
14091 resultobj = wxPyMake_wxGridCellRenderer(result);
14092 }
14093 {
14094 if (temp2)
14095 delete arg2;
14096 }
14097 return resultobj;
14098 fail:
14099 {
14100 if (temp2)
14101 delete arg2;
14102 }
14103 return NULL;
14104}
14105
14106
14107static PyObject *_wrap_Grid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14108 PyObject *resultobj;
14109 wxGrid *arg1 = (wxGrid *) 0 ;
14110 int arg2 ;
14111 int arg3 ;
14112 PyObject * obj0 = 0 ;
8edf1c75
RD
14113 PyObject * obj1 = 0 ;
14114 PyObject * obj2 = 0 ;
d14a1e28
RD
14115 char *kwnames[] = {
14116 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14117 };
14118
8edf1c75 14119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14122 arg2 = (int) SWIG_AsInt(obj1);
14123 if (PyErr_Occurred()) SWIG_fail;
14124 arg3 = (int) SWIG_AsInt(obj2);
14125 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14126 {
14127 PyThreadState* __tstate = wxPyBeginAllowThreads();
14128 (arg1)->SetMargins(arg2,arg3);
14129
14130 wxPyEndAllowThreads(__tstate);
14131 if (PyErr_Occurred()) SWIG_fail;
14132 }
14133 Py_INCREF(Py_None); resultobj = Py_None;
14134 return resultobj;
14135 fail:
14136 return NULL;
14137}
14138
14139
14140static PyObject *_wrap_Grid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14141 PyObject *resultobj;
14142 wxGrid *arg1 = (wxGrid *) 0 ;
14143 wxWindow *result;
14144 PyObject * obj0 = 0 ;
14145 char *kwnames[] = {
14146 (char *) "self", NULL
14147 };
14148
14149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14152 {
14153 PyThreadState* __tstate = wxPyBeginAllowThreads();
14154 result = (wxWindow *)(arg1)->GetGridWindow();
14155
14156 wxPyEndAllowThreads(__tstate);
14157 if (PyErr_Occurred()) SWIG_fail;
14158 }
14159 {
14160 resultobj = wxPyMake_wxObject(result);
14161 }
14162 return resultobj;
14163 fail:
14164 return NULL;
14165}
14166
14167
14168static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14169 PyObject *resultobj;
14170 wxGrid *arg1 = (wxGrid *) 0 ;
14171 wxWindow *result;
14172 PyObject * obj0 = 0 ;
14173 char *kwnames[] = {
14174 (char *) "self", NULL
14175 };
14176
14177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridRowLabelWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14180 {
14181 PyThreadState* __tstate = wxPyBeginAllowThreads();
14182 result = (wxWindow *)(arg1)->GetGridRowLabelWindow();
14183
14184 wxPyEndAllowThreads(__tstate);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 {
14188 resultobj = wxPyMake_wxObject(result);
14189 }
14190 return resultobj;
14191 fail:
14192 return NULL;
14193}
14194
14195
14196static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14197 PyObject *resultobj;
14198 wxGrid *arg1 = (wxGrid *) 0 ;
14199 wxWindow *result;
14200 PyObject * obj0 = 0 ;
14201 char *kwnames[] = {
14202 (char *) "self", NULL
14203 };
14204
14205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridColLabelWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14208 {
14209 PyThreadState* __tstate = wxPyBeginAllowThreads();
14210 result = (wxWindow *)(arg1)->GetGridColLabelWindow();
14211
14212 wxPyEndAllowThreads(__tstate);
14213 if (PyErr_Occurred()) SWIG_fail;
14214 }
14215 {
14216 resultobj = wxPyMake_wxObject(result);
14217 }
14218 return resultobj;
14219 fail:
14220 return NULL;
14221}
14222
14223
14224static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14225 PyObject *resultobj;
14226 wxGrid *arg1 = (wxGrid *) 0 ;
14227 wxWindow *result;
14228 PyObject * obj0 = 0 ;
14229 char *kwnames[] = {
14230 (char *) "self", NULL
14231 };
14232
14233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14236 {
14237 PyThreadState* __tstate = wxPyBeginAllowThreads();
14238 result = (wxWindow *)(arg1)->GetGridCornerLabelWindow();
14239
14240 wxPyEndAllowThreads(__tstate);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 }
14243 {
14244 resultobj = wxPyMake_wxObject(result);
14245 }
14246 return resultobj;
14247 fail:
14248 return NULL;
14249}
14250
14251
14252static PyObject * Grid_swigregister(PyObject *self, PyObject *args) {
14253 PyObject *obj;
14254 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14255 SWIG_TypeClientData(SWIGTYPE_p_wxGrid, obj);
14256 Py_INCREF(obj);
14257 return Py_BuildValue((char *)"");
14258}
14259static PyObject *_wrap_new_GridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14260 PyObject *resultobj;
14261 int arg1 ;
14262 wxEventType arg2 ;
14263 wxGrid *arg3 = (wxGrid *) 0 ;
14264 int arg4 = (int) -1 ;
14265 int arg5 = (int) -1 ;
14266 int arg6 = (int) -1 ;
14267 int arg7 = (int) -1 ;
423f194a
RD
14268 bool arg8 = (bool) True ;
14269 bool arg9 = (bool) False ;
14270 bool arg10 = (bool) False ;
14271 bool arg11 = (bool) False ;
14272 bool arg12 = (bool) False ;
d14a1e28 14273 wxGridEvent *result;
8edf1c75
RD
14274 PyObject * obj0 = 0 ;
14275 PyObject * obj1 = 0 ;
d14a1e28 14276 PyObject * obj2 = 0 ;
8edf1c75
RD
14277 PyObject * obj3 = 0 ;
14278 PyObject * obj4 = 0 ;
14279 PyObject * obj5 = 0 ;
14280 PyObject * obj6 = 0 ;
d14a1e28
RD
14281 PyObject * obj7 = 0 ;
14282 PyObject * obj8 = 0 ;
14283 PyObject * obj9 = 0 ;
14284 PyObject * obj10 = 0 ;
14285 PyObject * obj11 = 0 ;
14286 char *kwnames[] = {
14287 (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
14288 };
14289
8edf1c75 14290 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;
2f4c0a16
RD
14291 arg1 = (int) SWIG_AsInt(obj0);
14292 if (PyErr_Occurred()) SWIG_fail;
14293 arg2 = (wxEventType) SWIG_AsInt(obj1);
14294 if (PyErr_Occurred()) SWIG_fail;
14295 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 14297 if (obj3) {
2f4c0a16
RD
14298 arg4 = (int) SWIG_AsInt(obj3);
14299 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14300 }
14301 if (obj4) {
2f4c0a16
RD
14302 arg5 = (int) SWIG_AsInt(obj4);
14303 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14304 }
14305 if (obj5) {
2f4c0a16
RD
14306 arg6 = (int) SWIG_AsInt(obj5);
14307 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14308 }
14309 if (obj6) {
2f4c0a16
RD
14310 arg7 = (int) SWIG_AsInt(obj6);
14311 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14312 }
d14a1e28 14313 if (obj7) {
2f4c0a16
RD
14314 arg8 = (bool) SWIG_AsBool(obj7);
14315 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14316 }
14317 if (obj8) {
2f4c0a16
RD
14318 arg9 = (bool) SWIG_AsBool(obj8);
14319 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14320 }
14321 if (obj9) {
2f4c0a16
RD
14322 arg10 = (bool) SWIG_AsBool(obj9);
14323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14324 }
14325 if (obj10) {
2f4c0a16
RD
14326 arg11 = (bool) SWIG_AsBool(obj10);
14327 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14328 }
14329 if (obj11) {
2f4c0a16
RD
14330 arg12 = (bool) SWIG_AsBool(obj11);
14331 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14332 }
14333 {
14334 PyThreadState* __tstate = wxPyBeginAllowThreads();
14335 result = (wxGridEvent *)new wxGridEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
14336
14337 wxPyEndAllowThreads(__tstate);
14338 if (PyErr_Occurred()) SWIG_fail;
14339 }
2f4c0a16 14340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEvent, 1);
d14a1e28
RD
14341 return resultobj;
14342 fail:
14343 return NULL;
14344}
14345
14346
14347static PyObject *_wrap_GridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14348 PyObject *resultobj;
14349 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14350 int result;
14351 PyObject * obj0 = 0 ;
14352 char *kwnames[] = {
14353 (char *) "self", NULL
14354 };
14355
14356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14359 {
14360 PyThreadState* __tstate = wxPyBeginAllowThreads();
14361 result = (int)(arg1)->GetRow();
14362
14363 wxPyEndAllowThreads(__tstate);
14364 if (PyErr_Occurred()) SWIG_fail;
14365 }
2f4c0a16 14366 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14367 return resultobj;
14368 fail:
14369 return NULL;
14370}
14371
14372
14373static PyObject *_wrap_GridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14374 PyObject *resultobj;
14375 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14376 int result;
14377 PyObject * obj0 = 0 ;
14378 char *kwnames[] = {
14379 (char *) "self", NULL
14380 };
14381
14382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14385 {
14386 PyThreadState* __tstate = wxPyBeginAllowThreads();
14387 result = (int)(arg1)->GetCol();
14388
14389 wxPyEndAllowThreads(__tstate);
14390 if (PyErr_Occurred()) SWIG_fail;
14391 }
2f4c0a16 14392 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14393 return resultobj;
14394 fail:
14395 return NULL;
14396}
14397
14398
14399static PyObject *_wrap_GridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14400 PyObject *resultobj;
14401 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14402 wxPoint result;
14403 PyObject * obj0 = 0 ;
14404 char *kwnames[] = {
14405 (char *) "self", NULL
14406 };
14407
14408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14411 {
14412 PyThreadState* __tstate = wxPyBeginAllowThreads();
14413 result = (arg1)->GetPosition();
14414
14415 wxPyEndAllowThreads(__tstate);
14416 if (PyErr_Occurred()) SWIG_fail;
14417 }
14418 {
14419 wxPoint * resultptr;
14420 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 14421 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14422 }
14423 return resultobj;
14424 fail:
14425 return NULL;
14426}
14427
14428
14429static PyObject *_wrap_GridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
14430 PyObject *resultobj;
14431 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14432 bool result;
14433 PyObject * obj0 = 0 ;
14434 char *kwnames[] = {
14435 (char *) "self", NULL
14436 };
14437
14438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_Selecting",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14441 {
14442 PyThreadState* __tstate = wxPyBeginAllowThreads();
14443 result = (bool)(arg1)->Selecting();
14444
14445 wxPyEndAllowThreads(__tstate);
14446 if (PyErr_Occurred()) SWIG_fail;
14447 }
4f89f6a3
RD
14448 {
14449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14450 }
d14a1e28
RD
14451 return resultobj;
14452 fail:
14453 return NULL;
14454}
14455
14456
14457static PyObject *_wrap_GridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14458 PyObject *resultobj;
14459 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14460 bool result;
14461 PyObject * obj0 = 0 ;
14462 char *kwnames[] = {
14463 (char *) "self", NULL
14464 };
14465
14466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ControlDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14469 {
14470 PyThreadState* __tstate = wxPyBeginAllowThreads();
14471 result = (bool)(arg1)->ControlDown();
14472
14473 wxPyEndAllowThreads(__tstate);
14474 if (PyErr_Occurred()) SWIG_fail;
14475 }
4f89f6a3
RD
14476 {
14477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14478 }
d14a1e28
RD
14479 return resultobj;
14480 fail:
14481 return NULL;
14482}
14483
14484
14485static PyObject *_wrap_GridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14486 PyObject *resultobj;
14487 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14488 bool result;
14489 PyObject * obj0 = 0 ;
14490 char *kwnames[] = {
14491 (char *) "self", NULL
14492 };
14493
14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_MetaDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14497 {
14498 PyThreadState* __tstate = wxPyBeginAllowThreads();
14499 result = (bool)(arg1)->MetaDown();
14500
14501 wxPyEndAllowThreads(__tstate);
14502 if (PyErr_Occurred()) SWIG_fail;
14503 }
4f89f6a3
RD
14504 {
14505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14506 }
d14a1e28
RD
14507 return resultobj;
14508 fail:
14509 return NULL;
14510}
14511
14512
14513static PyObject *_wrap_GridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14514 PyObject *resultobj;
14515 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14516 bool result;
14517 PyObject * obj0 = 0 ;
14518 char *kwnames[] = {
14519 (char *) "self", NULL
14520 };
14521
14522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ShiftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14525 {
14526 PyThreadState* __tstate = wxPyBeginAllowThreads();
14527 result = (bool)(arg1)->ShiftDown();
14528
14529 wxPyEndAllowThreads(__tstate);
14530 if (PyErr_Occurred()) SWIG_fail;
14531 }
4f89f6a3
RD
14532 {
14533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14534 }
d14a1e28
RD
14535 return resultobj;
14536 fail:
14537 return NULL;
14538}
14539
14540
14541static PyObject *_wrap_GridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14542 PyObject *resultobj;
14543 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14544 bool result;
14545 PyObject * obj0 = 0 ;
14546 char *kwnames[] = {
14547 (char *) "self", NULL
14548 };
14549
14550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_AltDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14553 {
14554 PyThreadState* __tstate = wxPyBeginAllowThreads();
14555 result = (bool)(arg1)->AltDown();
14556
14557 wxPyEndAllowThreads(__tstate);
14558 if (PyErr_Occurred()) SWIG_fail;
14559 }
4f89f6a3
RD
14560 {
14561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14562 }
d14a1e28
RD
14563 return resultobj;
14564 fail:
14565 return NULL;
14566}
14567
14568
14569static PyObject * GridEvent_swigregister(PyObject *self, PyObject *args) {
14570 PyObject *obj;
14571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14572 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent, obj);
14573 Py_INCREF(obj);
14574 return Py_BuildValue((char *)"");
14575}
14576static PyObject *_wrap_new_GridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14577 PyObject *resultobj;
14578 int arg1 ;
14579 wxEventType arg2 ;
14580 wxGrid *arg3 = (wxGrid *) 0 ;
14581 int arg4 = (int) -1 ;
14582 int arg5 = (int) -1 ;
14583 int arg6 = (int) -1 ;
423f194a
RD
14584 bool arg7 = (bool) False ;
14585 bool arg8 = (bool) False ;
14586 bool arg9 = (bool) False ;
14587 bool arg10 = (bool) False ;
d14a1e28 14588 wxGridSizeEvent *result;
8edf1c75
RD
14589 PyObject * obj0 = 0 ;
14590 PyObject * obj1 = 0 ;
d14a1e28 14591 PyObject * obj2 = 0 ;
8edf1c75
RD
14592 PyObject * obj3 = 0 ;
14593 PyObject * obj4 = 0 ;
14594 PyObject * obj5 = 0 ;
d14a1e28
RD
14595 PyObject * obj6 = 0 ;
14596 PyObject * obj7 = 0 ;
14597 PyObject * obj8 = 0 ;
14598 PyObject * obj9 = 0 ;
14599 char *kwnames[] = {
14600 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14601 };
14602
8edf1c75 14603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2f4c0a16
RD
14604 arg1 = (int) SWIG_AsInt(obj0);
14605 if (PyErr_Occurred()) SWIG_fail;
14606 arg2 = (wxEventType) SWIG_AsInt(obj1);
14607 if (PyErr_Occurred()) SWIG_fail;
14608 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 14610 if (obj3) {
2f4c0a16
RD
14611 arg4 = (int) SWIG_AsInt(obj3);
14612 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14613 }
14614 if (obj4) {
2f4c0a16
RD
14615 arg5 = (int) SWIG_AsInt(obj4);
14616 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14617 }
14618 if (obj5) {
2f4c0a16
RD
14619 arg6 = (int) SWIG_AsInt(obj5);
14620 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14621 }
d14a1e28 14622 if (obj6) {
2f4c0a16
RD
14623 arg7 = (bool) SWIG_AsBool(obj6);
14624 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14625 }
14626 if (obj7) {
2f4c0a16
RD
14627 arg8 = (bool) SWIG_AsBool(obj7);
14628 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14629 }
14630 if (obj8) {
2f4c0a16
RD
14631 arg9 = (bool) SWIG_AsBool(obj8);
14632 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14633 }
14634 if (obj9) {
2f4c0a16
RD
14635 arg10 = (bool) SWIG_AsBool(obj9);
14636 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14637 }
14638 {
14639 PyThreadState* __tstate = wxPyBeginAllowThreads();
14640 result = (wxGridSizeEvent *)new wxGridSizeEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
14641
14642 wxPyEndAllowThreads(__tstate);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 }
2f4c0a16 14645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizeEvent, 1);
d14a1e28
RD
14646 return resultobj;
14647 fail:
14648 return NULL;
14649}
14650
14651
14652static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14653 PyObject *resultobj;
14654 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14655 int result;
14656 PyObject * obj0 = 0 ;
14657 char *kwnames[] = {
14658 (char *) "self", NULL
14659 };
14660
14661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14664 {
14665 PyThreadState* __tstate = wxPyBeginAllowThreads();
14666 result = (int)(arg1)->GetRowOrCol();
14667
14668 wxPyEndAllowThreads(__tstate);
14669 if (PyErr_Occurred()) SWIG_fail;
14670 }
2f4c0a16 14671 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14672 return resultobj;
14673 fail:
14674 return NULL;
14675}
14676
14677
14678static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14679 PyObject *resultobj;
14680 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14681 wxPoint result;
14682 PyObject * obj0 = 0 ;
14683 char *kwnames[] = {
14684 (char *) "self", NULL
14685 };
14686
14687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14690 {
14691 PyThreadState* __tstate = wxPyBeginAllowThreads();
14692 result = (arg1)->GetPosition();
14693
14694 wxPyEndAllowThreads(__tstate);
14695 if (PyErr_Occurred()) SWIG_fail;
14696 }
14697 {
14698 wxPoint * resultptr;
14699 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 14700 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14701 }
14702 return resultobj;
14703 fail:
14704 return NULL;
14705}
14706
14707
14708static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14709 PyObject *resultobj;
14710 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14711 bool result;
14712 PyObject * obj0 = 0 ;
14713 char *kwnames[] = {
14714 (char *) "self", NULL
14715 };
14716
14717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ControlDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14720 {
14721 PyThreadState* __tstate = wxPyBeginAllowThreads();
14722 result = (bool)(arg1)->ControlDown();
14723
14724 wxPyEndAllowThreads(__tstate);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
4f89f6a3
RD
14727 {
14728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14729 }
d14a1e28
RD
14730 return resultobj;
14731 fail:
14732 return NULL;
14733}
14734
14735
14736static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14737 PyObject *resultobj;
14738 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14739 bool result;
14740 PyObject * obj0 = 0 ;
14741 char *kwnames[] = {
14742 (char *) "self", NULL
14743 };
14744
14745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_MetaDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14748 {
14749 PyThreadState* __tstate = wxPyBeginAllowThreads();
14750 result = (bool)(arg1)->MetaDown();
14751
14752 wxPyEndAllowThreads(__tstate);
14753 if (PyErr_Occurred()) SWIG_fail;
14754 }
4f89f6a3
RD
14755 {
14756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14757 }
d14a1e28
RD
14758 return resultobj;
14759 fail:
14760 return NULL;
14761}
14762
14763
14764static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14765 PyObject *resultobj;
14766 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14767 bool result;
14768 PyObject * obj0 = 0 ;
14769 char *kwnames[] = {
14770 (char *) "self", NULL
14771 };
14772
14773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ShiftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14776 {
14777 PyThreadState* __tstate = wxPyBeginAllowThreads();
14778 result = (bool)(arg1)->ShiftDown();
14779
14780 wxPyEndAllowThreads(__tstate);
14781 if (PyErr_Occurred()) SWIG_fail;
14782 }
4f89f6a3
RD
14783 {
14784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14785 }
d14a1e28
RD
14786 return resultobj;
14787 fail:
14788 return NULL;
14789}
14790
14791
14792static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14793 PyObject *resultobj;
14794 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14795 bool result;
14796 PyObject * obj0 = 0 ;
14797 char *kwnames[] = {
14798 (char *) "self", NULL
14799 };
14800
14801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_AltDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14804 {
14805 PyThreadState* __tstate = wxPyBeginAllowThreads();
14806 result = (bool)(arg1)->AltDown();
14807
14808 wxPyEndAllowThreads(__tstate);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 }
4f89f6a3
RD
14811 {
14812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14813 }
d14a1e28
RD
14814 return resultobj;
14815 fail:
14816 return NULL;
14817}
14818
14819
14820static PyObject * GridSizeEvent_swigregister(PyObject *self, PyObject *args) {
14821 PyObject *obj;
14822 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14823 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent, obj);
14824 Py_INCREF(obj);
14825 return Py_BuildValue((char *)"");
14826}
14827static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14828 PyObject *resultobj;
14829 int arg1 ;
14830 wxEventType arg2 ;
14831 wxGrid *arg3 = (wxGrid *) 0 ;
14832 wxGridCellCoords *arg4 = 0 ;
14833 wxGridCellCoords *arg5 = 0 ;
423f194a
RD
14834 bool arg6 = (bool) True ;
14835 bool arg7 = (bool) False ;
14836 bool arg8 = (bool) False ;
14837 bool arg9 = (bool) False ;
14838 bool arg10 = (bool) False ;
d14a1e28
RD
14839 wxGridRangeSelectEvent *result;
14840 wxGridCellCoords temp4 ;
14841 wxGridCellCoords temp5 ;
8edf1c75
RD
14842 PyObject * obj0 = 0 ;
14843 PyObject * obj1 = 0 ;
d14a1e28
RD
14844 PyObject * obj2 = 0 ;
14845 PyObject * obj3 = 0 ;
14846 PyObject * obj4 = 0 ;
14847 PyObject * obj5 = 0 ;
14848 PyObject * obj6 = 0 ;
14849 PyObject * obj7 = 0 ;
14850 PyObject * obj8 = 0 ;
14851 PyObject * obj9 = 0 ;
14852 char *kwnames[] = {
14853 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14854 };
14855
8edf1c75 14856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2f4c0a16
RD
14857 arg1 = (int) SWIG_AsInt(obj0);
14858 if (PyErr_Occurred()) SWIG_fail;
14859 arg2 = (wxEventType) SWIG_AsInt(obj1);
14860 if (PyErr_Occurred()) SWIG_fail;
14861 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14863 {
14864 arg4 = &temp4;
14865 if (! wxGridCellCoords_helper(obj3, &arg4)) SWIG_fail;
14866 }
14867 {
14868 arg5 = &temp5;
14869 if (! wxGridCellCoords_helper(obj4, &arg5)) SWIG_fail;
14870 }
14871 if (obj5) {
2f4c0a16
RD
14872 arg6 = (bool) SWIG_AsBool(obj5);
14873 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14874 }
14875 if (obj6) {
2f4c0a16
RD
14876 arg7 = (bool) SWIG_AsBool(obj6);
14877 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14878 }
14879 if (obj7) {
2f4c0a16
RD
14880 arg8 = (bool) SWIG_AsBool(obj7);
14881 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14882 }
14883 if (obj8) {
2f4c0a16
RD
14884 arg9 = (bool) SWIG_AsBool(obj8);
14885 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14886 }
14887 if (obj9) {
2f4c0a16
RD
14888 arg10 = (bool) SWIG_AsBool(obj9);
14889 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14890 }
14891 {
14892 PyThreadState* __tstate = wxPyBeginAllowThreads();
14893 result = (wxGridRangeSelectEvent *)new wxGridRangeSelectEvent(arg1,arg2,arg3,(wxGridCellCoords const &)*arg4,(wxGridCellCoords const &)*arg5,arg6,arg7,arg8,arg9,arg10);
14894
14895 wxPyEndAllowThreads(__tstate);
14896 if (PyErr_Occurred()) SWIG_fail;
14897 }
2f4c0a16 14898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridRangeSelectEvent, 1);
d14a1e28
RD
14899 return resultobj;
14900 fail:
14901 return NULL;
14902}
14903
14904
14905static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14906 PyObject *resultobj;
14907 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14908 wxGridCellCoords result;
14909 PyObject * obj0 = 0 ;
14910 char *kwnames[] = {
14911 (char *) "self", NULL
14912 };
14913
14914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14917 {
14918 PyThreadState* __tstate = wxPyBeginAllowThreads();
14919 result = (arg1)->GetTopLeftCoords();
14920
14921 wxPyEndAllowThreads(__tstate);
14922 if (PyErr_Occurred()) SWIG_fail;
14923 }
14924 {
14925 wxGridCellCoords * resultptr;
14926 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
2f4c0a16 14927 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
14928 }
14929 return resultobj;
14930 fail:
14931 return NULL;
14932}
14933
14934
14935static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14936 PyObject *resultobj;
14937 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14938 wxGridCellCoords result;
14939 PyObject * obj0 = 0 ;
14940 char *kwnames[] = {
14941 (char *) "self", NULL
14942 };
14943
14944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14947 {
14948 PyThreadState* __tstate = wxPyBeginAllowThreads();
14949 result = (arg1)->GetBottomRightCoords();
14950
14951 wxPyEndAllowThreads(__tstate);
14952 if (PyErr_Occurred()) SWIG_fail;
14953 }
14954 {
14955 wxGridCellCoords * resultptr;
14956 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
2f4c0a16 14957 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
14958 }
14959 return resultobj;
14960 fail:
14961 return NULL;
14962}
14963
14964
14965static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14966 PyObject *resultobj;
14967 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14968 int result;
14969 PyObject * obj0 = 0 ;
14970 char *kwnames[] = {
14971 (char *) "self", NULL
14972 };
14973
14974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14977 {
14978 PyThreadState* __tstate = wxPyBeginAllowThreads();
14979 result = (int)(arg1)->GetTopRow();
14980
14981 wxPyEndAllowThreads(__tstate);
14982 if (PyErr_Occurred()) SWIG_fail;
14983 }
2f4c0a16 14984 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14985 return resultobj;
14986 fail:
14987 return NULL;
14988}
14989
14990
14991static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj;
14993 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14994 int result;
14995 PyObject * obj0 = 0 ;
14996 char *kwnames[] = {
14997 (char *) "self", NULL
14998 };
14999
15000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15003 {
15004 PyThreadState* __tstate = wxPyBeginAllowThreads();
15005 result = (int)(arg1)->GetBottomRow();
15006
15007 wxPyEndAllowThreads(__tstate);
15008 if (PyErr_Occurred()) SWIG_fail;
15009 }
2f4c0a16 15010 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15011 return resultobj;
15012 fail:
15013 return NULL;
15014}
15015
15016
15017static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15018 PyObject *resultobj;
15019 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15020 int result;
15021 PyObject * obj0 = 0 ;
15022 char *kwnames[] = {
15023 (char *) "self", NULL
15024 };
15025
15026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15029 {
15030 PyThreadState* __tstate = wxPyBeginAllowThreads();
15031 result = (int)(arg1)->GetLeftCol();
15032
15033 wxPyEndAllowThreads(__tstate);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 }
2f4c0a16 15036 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15037 return resultobj;
15038 fail:
15039 return NULL;
15040}
15041
15042
15043static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15044 PyObject *resultobj;
15045 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15046 int result;
15047 PyObject * obj0 = 0 ;
15048 char *kwnames[] = {
15049 (char *) "self", NULL
15050 };
15051
15052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 result = (int)(arg1)->GetRightCol();
15058
15059 wxPyEndAllowThreads(__tstate);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
2f4c0a16 15062 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15063 return resultobj;
15064 fail:
15065 return NULL;
15066}
15067
15068
15069static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
15070 PyObject *resultobj;
15071 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15072 bool result;
15073 PyObject * obj0 = 0 ;
15074 char *kwnames[] = {
15075 (char *) "self", NULL
15076 };
15077
15078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_Selecting",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15081 {
15082 PyThreadState* __tstate = wxPyBeginAllowThreads();
15083 result = (bool)(arg1)->Selecting();
15084
15085 wxPyEndAllowThreads(__tstate);
15086 if (PyErr_Occurred()) SWIG_fail;
15087 }
4f89f6a3
RD
15088 {
15089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15090 }
d14a1e28
RD
15091 return resultobj;
15092 fail:
15093 return NULL;
15094}
15095
15096
15097static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15098 PyObject *resultobj;
15099 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15100 bool result;
15101 PyObject * obj0 = 0 ;
15102 char *kwnames[] = {
15103 (char *) "self", NULL
15104 };
15105
15106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15109 {
15110 PyThreadState* __tstate = wxPyBeginAllowThreads();
15111 result = (bool)(arg1)->ControlDown();
15112
15113 wxPyEndAllowThreads(__tstate);
15114 if (PyErr_Occurred()) SWIG_fail;
15115 }
4f89f6a3
RD
15116 {
15117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15118 }
d14a1e28
RD
15119 return resultobj;
15120 fail:
15121 return NULL;
15122}
15123
15124
15125static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15126 PyObject *resultobj;
15127 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15128 bool result;
15129 PyObject * obj0 = 0 ;
15130 char *kwnames[] = {
15131 (char *) "self", NULL
15132 };
15133
15134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15137 {
15138 PyThreadState* __tstate = wxPyBeginAllowThreads();
15139 result = (bool)(arg1)->MetaDown();
15140
15141 wxPyEndAllowThreads(__tstate);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
4f89f6a3
RD
15144 {
15145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15146 }
d14a1e28
RD
15147 return resultobj;
15148 fail:
15149 return NULL;
15150}
15151
15152
15153static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15154 PyObject *resultobj;
15155 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15156 bool result;
15157 PyObject * obj0 = 0 ;
15158 char *kwnames[] = {
15159 (char *) "self", NULL
15160 };
15161
15162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15165 {
15166 PyThreadState* __tstate = wxPyBeginAllowThreads();
15167 result = (bool)(arg1)->ShiftDown();
15168
15169 wxPyEndAllowThreads(__tstate);
15170 if (PyErr_Occurred()) SWIG_fail;
15171 }
4f89f6a3
RD
15172 {
15173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15174 }
d14a1e28
RD
15175 return resultobj;
15176 fail:
15177 return NULL;
15178}
15179
15180
15181static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15182 PyObject *resultobj;
15183 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15184 bool result;
15185 PyObject * obj0 = 0 ;
15186 char *kwnames[] = {
15187 (char *) "self", NULL
15188 };
15189
15190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_AltDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15193 {
15194 PyThreadState* __tstate = wxPyBeginAllowThreads();
15195 result = (bool)(arg1)->AltDown();
15196
15197 wxPyEndAllowThreads(__tstate);
15198 if (PyErr_Occurred()) SWIG_fail;
15199 }
4f89f6a3
RD
15200 {
15201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15202 }
d14a1e28
RD
15203 return resultobj;
15204 fail:
15205 return NULL;
15206}
15207
15208
15209static PyObject * GridRangeSelectEvent_swigregister(PyObject *self, PyObject *args) {
15210 PyObject *obj;
15211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15212 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent, obj);
15213 Py_INCREF(obj);
15214 return Py_BuildValue((char *)"");
15215}
15216static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15217 PyObject *resultobj;
15218 int arg1 ;
15219 wxEventType arg2 ;
15220 wxObject *arg3 = (wxObject *) 0 ;
15221 int arg4 ;
15222 int arg5 ;
15223 wxControl *arg6 = (wxControl *) 0 ;
15224 wxGridEditorCreatedEvent *result;
8edf1c75
RD
15225 PyObject * obj0 = 0 ;
15226 PyObject * obj1 = 0 ;
d14a1e28 15227 PyObject * obj2 = 0 ;
8edf1c75
RD
15228 PyObject * obj3 = 0 ;
15229 PyObject * obj4 = 0 ;
d14a1e28
RD
15230 PyObject * obj5 = 0 ;
15231 char *kwnames[] = {
15232 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15233 };
15234
8edf1c75 15235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
15236 arg1 = (int) SWIG_AsInt(obj0);
15237 if (PyErr_Occurred()) SWIG_fail;
15238 arg2 = (wxEventType) SWIG_AsInt(obj1);
15239 if (PyErr_Occurred()) SWIG_fail;
15240 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxObject,
15241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15242 arg4 = (int) SWIG_AsInt(obj3);
15243 if (PyErr_Occurred()) SWIG_fail;
15244 arg5 = (int) SWIG_AsInt(obj4);
15245 if (PyErr_Occurred()) SWIG_fail;
15246 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxControl,
15247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15248 {
15249 PyThreadState* __tstate = wxPyBeginAllowThreads();
15250 result = (wxGridEditorCreatedEvent *)new wxGridEditorCreatedEvent(arg1,arg2,arg3,arg4,arg5,arg6);
15251
15252 wxPyEndAllowThreads(__tstate);
15253 if (PyErr_Occurred()) SWIG_fail;
15254 }
2f4c0a16 15255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEditorCreatedEvent, 1);
d14a1e28
RD
15256 return resultobj;
15257 fail:
15258 return NULL;
15259}
15260
15261
15262static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15263 PyObject *resultobj;
15264 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15265 int result;
15266 PyObject * obj0 = 0 ;
15267 char *kwnames[] = {
15268 (char *) "self", NULL
15269 };
15270
15271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 result = (int)(arg1)->GetRow();
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
2f4c0a16 15281 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15282 return resultobj;
15283 fail:
15284 return NULL;
15285}
15286
15287
15288static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15289 PyObject *resultobj;
15290 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15291 int result;
15292 PyObject * obj0 = 0 ;
15293 char *kwnames[] = {
15294 (char *) "self", NULL
15295 };
15296
15297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15300 {
15301 PyThreadState* __tstate = wxPyBeginAllowThreads();
15302 result = (int)(arg1)->GetCol();
15303
15304 wxPyEndAllowThreads(__tstate);
15305 if (PyErr_Occurred()) SWIG_fail;
15306 }
2f4c0a16 15307 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15308 return resultobj;
15309 fail:
15310 return NULL;
15311}
15312
15313
15314static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15315 PyObject *resultobj;
15316 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15317 wxControl *result;
15318 PyObject * obj0 = 0 ;
15319 char *kwnames[] = {
15320 (char *) "self", NULL
15321 };
15322
15323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15326 {
15327 PyThreadState* __tstate = wxPyBeginAllowThreads();
15328 result = (wxControl *)(arg1)->GetControl();
15329
15330 wxPyEndAllowThreads(__tstate);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 }
15333 {
15334 resultobj = wxPyMake_wxObject(result);
15335 }
15336 return resultobj;
15337 fail:
15338 return NULL;
15339}
15340
15341
15342static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15343 PyObject *resultobj;
15344 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15345 int arg2 ;
15346 PyObject * obj0 = 0 ;
8edf1c75 15347 PyObject * obj1 = 0 ;
d14a1e28
RD
15348 char *kwnames[] = {
15349 (char *) "self",(char *) "row", NULL
15350 };
15351
8edf1c75 15352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15355 arg2 = (int) SWIG_AsInt(obj1);
15356 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15357 {
15358 PyThreadState* __tstate = wxPyBeginAllowThreads();
15359 (arg1)->SetRow(arg2);
15360
15361 wxPyEndAllowThreads(__tstate);
15362 if (PyErr_Occurred()) SWIG_fail;
15363 }
15364 Py_INCREF(Py_None); resultobj = Py_None;
15365 return resultobj;
15366 fail:
15367 return NULL;
15368}
15369
15370
15371static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15372 PyObject *resultobj;
15373 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15374 int arg2 ;
15375 PyObject * obj0 = 0 ;
8edf1c75 15376 PyObject * obj1 = 0 ;
d14a1e28
RD
15377 char *kwnames[] = {
15378 (char *) "self",(char *) "col", NULL
15379 };
15380
8edf1c75 15381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15384 arg2 = (int) SWIG_AsInt(obj1);
15385 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15386 {
15387 PyThreadState* __tstate = wxPyBeginAllowThreads();
15388 (arg1)->SetCol(arg2);
15389
15390 wxPyEndAllowThreads(__tstate);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 }
15393 Py_INCREF(Py_None); resultobj = Py_None;
15394 return resultobj;
15395 fail:
15396 return NULL;
15397}
15398
15399
15400static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj;
15402 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15403 wxControl *arg2 = (wxControl *) 0 ;
15404 PyObject * obj0 = 0 ;
15405 PyObject * obj1 = 0 ;
15406 char *kwnames[] = {
15407 (char *) "self",(char *) "ctrl", NULL
15408 };
15409
15410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
15414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 (arg1)->SetControl(arg2);
15418
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 Py_INCREF(Py_None); resultobj = Py_None;
15423 return resultobj;
15424 fail:
15425 return NULL;
15426}
15427
15428
15429static PyObject * GridEditorCreatedEvent_swigregister(PyObject *self, PyObject *args) {
15430 PyObject *obj;
15431 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15432 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent, obj);
15433 Py_INCREF(obj);
15434 return Py_BuildValue((char *)"");
15435}
15436static PyMethodDef SwigMethods[] = {
15437 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction) _wrap_GridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15438 { (char *)"GridCellRenderer_SetParameters", (PyCFunction) _wrap_GridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
15439 { (char *)"GridCellRenderer_IncRef", (PyCFunction) _wrap_GridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
15440 { (char *)"GridCellRenderer_DecRef", (PyCFunction) _wrap_GridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
15441 { (char *)"GridCellRenderer_Draw", (PyCFunction) _wrap_GridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
15442 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction) _wrap_GridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
15443 { (char *)"GridCellRenderer_Clone", (PyCFunction) _wrap_GridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
15444 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister, METH_VARARGS },
15445 { (char *)"new_PyGridCellRenderer", (PyCFunction) _wrap_new_PyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
15446 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_PyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15447 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_PyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15448 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister, METH_VARARGS },
15449 { (char *)"new_GridCellStringRenderer", (PyCFunction) _wrap_new_GridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
15450 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister, METH_VARARGS },
15451 { (char *)"new_GridCellNumberRenderer", (PyCFunction) _wrap_new_GridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
15452 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister, METH_VARARGS },
15453 { (char *)"new_GridCellFloatRenderer", (PyCFunction) _wrap_new_GridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
15454 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
15455 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
15456 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
15457 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
15458 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister, METH_VARARGS },
15459 { (char *)"new_GridCellBoolRenderer", (PyCFunction) _wrap_new_GridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
15460 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister, METH_VARARGS },
15461 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction) _wrap_new_GridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
15462 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister, METH_VARARGS },
15463 { (char *)"new_GridCellEnumRenderer", (PyCFunction) _wrap_new_GridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
15464 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister, METH_VARARGS },
15465 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_GridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
15466 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister, METH_VARARGS },
15467 { (char *)"GridCellEditor__setOORInfo", (PyCFunction) _wrap_GridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15468 { (char *)"GridCellEditor_IsCreated", (PyCFunction) _wrap_GridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
15469 { (char *)"GridCellEditor_GetControl", (PyCFunction) _wrap_GridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
15470 { (char *)"GridCellEditor_SetControl", (PyCFunction) _wrap_GridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
15471 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction) _wrap_GridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS },
15472 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction) _wrap_GridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS },
15473 { (char *)"GridCellEditor_SetParameters", (PyCFunction) _wrap_GridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
15474 { (char *)"GridCellEditor_IncRef", (PyCFunction) _wrap_GridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
15475 { (char *)"GridCellEditor_DecRef", (PyCFunction) _wrap_GridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
15476 { (char *)"GridCellEditor_Create", (PyCFunction) _wrap_GridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
15477 { (char *)"GridCellEditor_BeginEdit", (PyCFunction) _wrap_GridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
15478 { (char *)"GridCellEditor_EndEdit", (PyCFunction) _wrap_GridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
15479 { (char *)"GridCellEditor_Reset", (PyCFunction) _wrap_GridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
15480 { (char *)"GridCellEditor_Clone", (PyCFunction) _wrap_GridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
15481 { (char *)"GridCellEditor_SetSize", (PyCFunction) _wrap_GridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
15482 { (char *)"GridCellEditor_Show", (PyCFunction) _wrap_GridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
15483 { (char *)"GridCellEditor_PaintBackground", (PyCFunction) _wrap_GridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15484 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_GridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15485 { (char *)"GridCellEditor_StartingKey", (PyCFunction) _wrap_GridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
15486 { (char *)"GridCellEditor_StartingClick", (PyCFunction) _wrap_GridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
15487 { (char *)"GridCellEditor_HandleReturn", (PyCFunction) _wrap_GridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15488 { (char *)"GridCellEditor_Destroy", (PyCFunction) _wrap_GridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
15489 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister, METH_VARARGS },
15490 { (char *)"new_PyGridCellEditor", (PyCFunction) _wrap_new_PyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
15491 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_PyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15492 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction) _wrap_PyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
15493 { (char *)"PyGridCellEditor_base_Show", (PyCFunction) _wrap_PyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
15494 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_PyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15495 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_PyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15496 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_PyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
15497 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_PyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
15498 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_PyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15499 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction) _wrap_PyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
15500 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_PyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15501 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister, METH_VARARGS },
15502 { (char *)"new_GridCellTextEditor", (PyCFunction) _wrap_new_GridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
15503 { (char *)"GridCellTextEditor_GetValue", (PyCFunction) _wrap_GridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15504 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister, METH_VARARGS },
15505 { (char *)"new_GridCellNumberEditor", (PyCFunction) _wrap_new_GridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
15506 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction) _wrap_GridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15507 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister, METH_VARARGS },
15508 { (char *)"new_GridCellFloatEditor", (PyCFunction) _wrap_new_GridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
15509 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction) _wrap_GridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15510 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS },
15511 { (char *)"new_GridCellBoolEditor", (PyCFunction) _wrap_new_GridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
15512 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction) _wrap_GridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15513 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS },
15514 { (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
15515 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction) _wrap_GridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15516 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister, METH_VARARGS },
15517 { (char *)"new_GridCellEnumEditor", (PyCFunction) _wrap_new_GridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
15518 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction) _wrap_GridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15519 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister, METH_VARARGS },
15520 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_GridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
15521 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_GridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15522 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister, METH_VARARGS },
15523 { (char *)"GridCellAttr__setOORInfo", (PyCFunction) _wrap_GridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15524 { (char *)"new_GridCellAttr", (PyCFunction) _wrap_new_GridCellAttr, METH_VARARGS | METH_KEYWORDS },
15525 { (char *)"GridCellAttr_Clone", (PyCFunction) _wrap_GridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
15526 { (char *)"GridCellAttr_MergeWith", (PyCFunction) _wrap_GridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
15527 { (char *)"GridCellAttr_IncRef", (PyCFunction) _wrap_GridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
15528 { (char *)"GridCellAttr_DecRef", (PyCFunction) _wrap_GridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
15529 { (char *)"GridCellAttr_SetTextColour", (PyCFunction) _wrap_GridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
15530 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15531 { (char *)"GridCellAttr_SetFont", (PyCFunction) _wrap_GridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
15532 { (char *)"GridCellAttr_SetAlignment", (PyCFunction) _wrap_GridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
15533 { (char *)"GridCellAttr_SetSize", (PyCFunction) _wrap_GridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS },
15534 { (char *)"GridCellAttr_SetOverflow", (PyCFunction) _wrap_GridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS },
15535 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction) _wrap_GridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15536 { (char *)"GridCellAttr_SetRenderer", (PyCFunction) _wrap_GridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
15537 { (char *)"GridCellAttr_SetEditor", (PyCFunction) _wrap_GridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
15538 { (char *)"GridCellAttr_SetKind", (PyCFunction) _wrap_GridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
15539 { (char *)"GridCellAttr_HasTextColour", (PyCFunction) _wrap_GridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
15540 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_GridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15541 { (char *)"GridCellAttr_HasFont", (PyCFunction) _wrap_GridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
15542 { (char *)"GridCellAttr_HasAlignment", (PyCFunction) _wrap_GridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
15543 { (char *)"GridCellAttr_HasRenderer", (PyCFunction) _wrap_GridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
15544 { (char *)"GridCellAttr_HasEditor", (PyCFunction) _wrap_GridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
15545 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_GridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
15546 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction) _wrap_GridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS },
15547 { (char *)"GridCellAttr_GetTextColour", (PyCFunction) _wrap_GridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
15548 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15549 { (char *)"GridCellAttr_GetFont", (PyCFunction) _wrap_GridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
15550 { (char *)"GridCellAttr_GetAlignment", (PyCFunction) _wrap_GridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
15551 { (char *)"GridCellAttr_GetSize", (PyCFunction) _wrap_GridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS },
15552 { (char *)"GridCellAttr_GetOverflow", (PyCFunction) _wrap_GridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS },
15553 { (char *)"GridCellAttr_GetRenderer", (PyCFunction) _wrap_GridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
15554 { (char *)"GridCellAttr_GetEditor", (PyCFunction) _wrap_GridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
15555 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction) _wrap_GridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15556 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction) _wrap_GridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
15557 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister, METH_VARARGS },
15558 { (char *)"new_GridCellAttrProvider", (PyCFunction) _wrap_new_GridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15559 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_GridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15560 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction) _wrap_GridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
15561 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
15562 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15563 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15564 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
15565 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
15566 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister, METH_VARARGS },
15567 { (char *)"new_PyGridCellAttrProvider", (PyCFunction) _wrap_new_PyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15568 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_PyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15569 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15570 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15571 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15572 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15573 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister, METH_VARARGS },
15574 { (char *)"GridTableBase__setOORInfo", (PyCFunction) _wrap_GridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15575 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction) _wrap_GridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15576 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction) _wrap_GridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15577 { (char *)"GridTableBase_SetView", (PyCFunction) _wrap_GridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
15578 { (char *)"GridTableBase_GetView", (PyCFunction) _wrap_GridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
15579 { (char *)"GridTableBase_GetNumberRows", (PyCFunction) _wrap_GridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15580 { (char *)"GridTableBase_GetNumberCols", (PyCFunction) _wrap_GridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15581 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction) _wrap_GridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
15582 { (char *)"GridTableBase_GetValue", (PyCFunction) _wrap_GridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
15583 { (char *)"GridTableBase_SetValue", (PyCFunction) _wrap_GridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
15584 { (char *)"GridTableBase_GetTypeName", (PyCFunction) _wrap_GridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15585 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction) _wrap_GridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15586 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction) _wrap_GridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15587 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction) _wrap_GridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15588 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction) _wrap_GridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15589 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction) _wrap_GridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15590 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction) _wrap_GridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15591 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction) _wrap_GridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15592 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction) _wrap_GridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15593 { (char *)"GridTableBase_Clear", (PyCFunction) _wrap_GridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
15594 { (char *)"GridTableBase_InsertRows", (PyCFunction) _wrap_GridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
15595 { (char *)"GridTableBase_AppendRows", (PyCFunction) _wrap_GridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
15596 { (char *)"GridTableBase_DeleteRows", (PyCFunction) _wrap_GridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15597 { (char *)"GridTableBase_InsertCols", (PyCFunction) _wrap_GridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
15598 { (char *)"GridTableBase_AppendCols", (PyCFunction) _wrap_GridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
15599 { (char *)"GridTableBase_DeleteCols", (PyCFunction) _wrap_GridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15600 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction) _wrap_GridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15601 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction) _wrap_GridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15602 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction) _wrap_GridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15603 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction) _wrap_GridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15604 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction) _wrap_GridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15605 { (char *)"GridTableBase_GetAttr", (PyCFunction) _wrap_GridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
15606 { (char *)"GridTableBase_SetAttr", (PyCFunction) _wrap_GridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
15607 { (char *)"GridTableBase_SetRowAttr", (PyCFunction) _wrap_GridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15608 { (char *)"GridTableBase_SetColAttr", (PyCFunction) _wrap_GridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15609 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister, METH_VARARGS },
15610 { (char *)"new_PyGridTableBase", (PyCFunction) _wrap_new_PyGridTableBase, METH_VARARGS | METH_KEYWORDS },
15611 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_PyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15612 { (char *)"PyGridTableBase_Destroy", (PyCFunction) _wrap_PyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
15613 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_PyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15614 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15615 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15616 { (char *)"PyGridTableBase_base_Clear", (PyCFunction) _wrap_PyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
15617 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction) _wrap_PyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
15618 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction) _wrap_PyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
15619 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_PyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15620 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction) _wrap_PyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
15621 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction) _wrap_PyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
15622 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_PyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15623 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15624 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15625 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15626 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15627 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_PyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15628 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction) _wrap_PyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15629 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15630 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15631 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15632 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister, METH_VARARGS },
15633 { (char *)"new_GridStringTable", (PyCFunction) _wrap_new_GridStringTable, METH_VARARGS | METH_KEYWORDS },
15634 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister, METH_VARARGS },
15635 { (char *)"new_GridTableMessage", (PyCFunction) _wrap_new_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15636 { (char *)"delete_GridTableMessage", (PyCFunction) _wrap_delete_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15637 { (char *)"GridTableMessage_SetTableObject", (PyCFunction) _wrap_GridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
15638 { (char *)"GridTableMessage_GetTableObject", (PyCFunction) _wrap_GridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
15639 { (char *)"GridTableMessage_SetId", (PyCFunction) _wrap_GridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
15640 { (char *)"GridTableMessage_GetId", (PyCFunction) _wrap_GridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
15641 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction) _wrap_GridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
15642 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction) _wrap_GridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
15643 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction) _wrap_GridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15644 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction) _wrap_GridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15645 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister, METH_VARARGS },
15646 { (char *)"new_GridCellCoords", (PyCFunction) _wrap_new_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15647 { (char *)"delete_GridCellCoords", (PyCFunction) _wrap_delete_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15648 { (char *)"GridCellCoords_GetRow", (PyCFunction) _wrap_GridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
15649 { (char *)"GridCellCoords_SetRow", (PyCFunction) _wrap_GridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
15650 { (char *)"GridCellCoords_GetCol", (PyCFunction) _wrap_GridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
15651 { (char *)"GridCellCoords_SetCol", (PyCFunction) _wrap_GridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
15652 { (char *)"GridCellCoords_Set", (PyCFunction) _wrap_GridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
15653 { (char *)"GridCellCoords___eq__", (PyCFunction) _wrap_GridCellCoords___eq__, METH_VARARGS | METH_KEYWORDS },
15654 { (char *)"GridCellCoords___ne__", (PyCFunction) _wrap_GridCellCoords___ne__, METH_VARARGS | METH_KEYWORDS },
15655 { (char *)"GridCellCoords_asTuple", (PyCFunction) _wrap_GridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
15656 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister, METH_VARARGS },
15657 { (char *)"new_Grid", (PyCFunction) _wrap_new_Grid, METH_VARARGS | METH_KEYWORDS },
15658 { (char *)"Grid_CreateGrid", (PyCFunction) _wrap_Grid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
15659 { (char *)"Grid_SetSelectionMode", (PyCFunction) _wrap_Grid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15660 { (char *)"Grid_GetSelectionMode", (PyCFunction) _wrap_Grid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15661 { (char *)"Grid_GetNumberRows", (PyCFunction) _wrap_Grid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15662 { (char *)"Grid_GetNumberCols", (PyCFunction) _wrap_Grid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15663 { (char *)"Grid_ProcessTableMessage", (PyCFunction) _wrap_Grid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
15664 { (char *)"Grid_GetTable", (PyCFunction) _wrap_Grid_GetTable, METH_VARARGS | METH_KEYWORDS },
15665 { (char *)"Grid_SetTable", (PyCFunction) _wrap_Grid_SetTable, METH_VARARGS | METH_KEYWORDS },
15666 { (char *)"Grid_ClearGrid", (PyCFunction) _wrap_Grid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
15667 { (char *)"Grid_InsertRows", (PyCFunction) _wrap_Grid_InsertRows, METH_VARARGS | METH_KEYWORDS },
15668 { (char *)"Grid_AppendRows", (PyCFunction) _wrap_Grid_AppendRows, METH_VARARGS | METH_KEYWORDS },
15669 { (char *)"Grid_DeleteRows", (PyCFunction) _wrap_Grid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15670 { (char *)"Grid_InsertCols", (PyCFunction) _wrap_Grid_InsertCols, METH_VARARGS | METH_KEYWORDS },
15671 { (char *)"Grid_AppendCols", (PyCFunction) _wrap_Grid_AppendCols, METH_VARARGS | METH_KEYWORDS },
15672 { (char *)"Grid_DeleteCols", (PyCFunction) _wrap_Grid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15673 { (char *)"Grid_DrawCellHighlight", (PyCFunction) _wrap_Grid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
15674 { (char *)"Grid_DrawTextRectangle", (PyCFunction) _wrap_Grid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
15675 { (char *)"Grid_GetTextBoxSize", (PyCFunction) _wrap_Grid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
15676 { (char *)"Grid_BeginBatch", (PyCFunction) _wrap_Grid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
15677 { (char *)"Grid_EndBatch", (PyCFunction) _wrap_Grid_EndBatch, METH_VARARGS | METH_KEYWORDS },
15678 { (char *)"Grid_GetBatchCount", (PyCFunction) _wrap_Grid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
15679 { (char *)"Grid_ForceRefresh", (PyCFunction) _wrap_Grid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
15680 { (char *)"Grid_IsEditable", (PyCFunction) _wrap_Grid_IsEditable, METH_VARARGS | METH_KEYWORDS },
15681 { (char *)"Grid_EnableEditing", (PyCFunction) _wrap_Grid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
15682 { (char *)"Grid_EnableCellEditControl", (PyCFunction) _wrap_Grid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15683 { (char *)"Grid_DisableCellEditControl", (PyCFunction) _wrap_Grid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15684 { (char *)"Grid_CanEnableCellControl", (PyCFunction) _wrap_Grid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
15685 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction) _wrap_Grid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
15686 { (char *)"Grid_IsCellEditControlShown", (PyCFunction) _wrap_Grid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
15687 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction) _wrap_Grid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
15688 { (char *)"Grid_ShowCellEditControl", (PyCFunction) _wrap_Grid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
15689 { (char *)"Grid_HideCellEditControl", (PyCFunction) _wrap_Grid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
15690 { (char *)"Grid_SaveEditControlValue", (PyCFunction) _wrap_Grid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
15691 { (char *)"Grid_XYToCell", (PyCFunction) _wrap_Grid_XYToCell, METH_VARARGS | METH_KEYWORDS },
15692 { (char *)"Grid_YToRow", (PyCFunction) _wrap_Grid_YToRow, METH_VARARGS | METH_KEYWORDS },
15693 { (char *)"Grid_XToCol", (PyCFunction) _wrap_Grid_XToCol, METH_VARARGS | METH_KEYWORDS },
15694 { (char *)"Grid_YToEdgeOfRow", (PyCFunction) _wrap_Grid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
15695 { (char *)"Grid_XToEdgeOfCol", (PyCFunction) _wrap_Grid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
15696 { (char *)"Grid_CellToRect", (PyCFunction) _wrap_Grid_CellToRect, METH_VARARGS | METH_KEYWORDS },
15697 { (char *)"Grid_GetGridCursorRow", (PyCFunction) _wrap_Grid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
15698 { (char *)"Grid_GetGridCursorCol", (PyCFunction) _wrap_Grid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
15699 { (char *)"Grid_IsVisible", (PyCFunction) _wrap_Grid_IsVisible, METH_VARARGS | METH_KEYWORDS },
15700 { (char *)"Grid_MakeCellVisible", (PyCFunction) _wrap_Grid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
15701 { (char *)"Grid_SetGridCursor", (PyCFunction) _wrap_Grid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
15702 { (char *)"Grid_MoveCursorUp", (PyCFunction) _wrap_Grid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
15703 { (char *)"Grid_MoveCursorDown", (PyCFunction) _wrap_Grid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
15704 { (char *)"Grid_MoveCursorLeft", (PyCFunction) _wrap_Grid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
15705 { (char *)"Grid_MoveCursorRight", (PyCFunction) _wrap_Grid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
15706 { (char *)"Grid_MovePageDown", (PyCFunction) _wrap_Grid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
15707 { (char *)"Grid_MovePageUp", (PyCFunction) _wrap_Grid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
15708 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction) _wrap_Grid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
15709 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction) _wrap_Grid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
15710 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction) _wrap_Grid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
15711 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction) _wrap_Grid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
15712 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction) _wrap_Grid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15713 { (char *)"Grid_GetRowLabelSize", (PyCFunction) _wrap_Grid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15714 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction) _wrap_Grid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
15715 { (char *)"Grid_GetColLabelSize", (PyCFunction) _wrap_Grid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15716 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction) _wrap_Grid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15717 { (char *)"Grid_GetLabelTextColour", (PyCFunction) _wrap_Grid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15718 { (char *)"Grid_GetLabelFont", (PyCFunction) _wrap_Grid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
15719 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction) _wrap_Grid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15720 { (char *)"Grid_GetColLabelAlignment", (PyCFunction) _wrap_Grid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15721 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction) _wrap_Grid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15722 { (char *)"Grid_GetRowLabelValue", (PyCFunction) _wrap_Grid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15723 { (char *)"Grid_GetColLabelValue", (PyCFunction) _wrap_Grid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15724 { (char *)"Grid_GetGridLineColour", (PyCFunction) _wrap_Grid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15725 { (char *)"Grid_GetCellHighlightColour", (PyCFunction) _wrap_Grid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15726 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15727 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15728 { (char *)"Grid_SetRowLabelSize", (PyCFunction) _wrap_Grid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15729 { (char *)"Grid_SetColLabelSize", (PyCFunction) _wrap_Grid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15730 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction) _wrap_Grid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15731 { (char *)"Grid_SetLabelTextColour", (PyCFunction) _wrap_Grid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15732 { (char *)"Grid_SetLabelFont", (PyCFunction) _wrap_Grid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
15733 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction) _wrap_Grid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15734 { (char *)"Grid_SetColLabelAlignment", (PyCFunction) _wrap_Grid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15735 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction) _wrap_Grid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15736 { (char *)"Grid_SetRowLabelValue", (PyCFunction) _wrap_Grid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15737 { (char *)"Grid_SetColLabelValue", (PyCFunction) _wrap_Grid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15738 { (char *)"Grid_SetGridLineColour", (PyCFunction) _wrap_Grid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15739 { (char *)"Grid_SetCellHighlightColour", (PyCFunction) _wrap_Grid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15740 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15741 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15742 { (char *)"Grid_EnableDragRowSize", (PyCFunction) _wrap_Grid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15743 { (char *)"Grid_DisableDragRowSize", (PyCFunction) _wrap_Grid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15744 { (char *)"Grid_CanDragRowSize", (PyCFunction) _wrap_Grid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
15745 { (char *)"Grid_EnableDragColSize", (PyCFunction) _wrap_Grid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
15746 { (char *)"Grid_DisableDragColSize", (PyCFunction) _wrap_Grid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
15747 { (char *)"Grid_CanDragColSize", (PyCFunction) _wrap_Grid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
15748 { (char *)"Grid_EnableDragGridSize", (PyCFunction) _wrap_Grid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15749 { (char *)"Grid_DisableDragGridSize", (PyCFunction) _wrap_Grid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15750 { (char *)"Grid_CanDragGridSize", (PyCFunction) _wrap_Grid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
15751 { (char *)"Grid_SetAttr", (PyCFunction) _wrap_Grid_SetAttr, METH_VARARGS | METH_KEYWORDS },
15752 { (char *)"Grid_SetRowAttr", (PyCFunction) _wrap_Grid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15753 { (char *)"Grid_SetColAttr", (PyCFunction) _wrap_Grid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15754 { (char *)"Grid_SetColFormatBool", (PyCFunction) _wrap_Grid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
15755 { (char *)"Grid_SetColFormatNumber", (PyCFunction) _wrap_Grid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
15756 { (char *)"Grid_SetColFormatFloat", (PyCFunction) _wrap_Grid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
15757 { (char *)"Grid_SetColFormatCustom", (PyCFunction) _wrap_Grid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
15758 { (char *)"Grid_EnableGridLines", (PyCFunction) _wrap_Grid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
15759 { (char *)"Grid_GridLinesEnabled", (PyCFunction) _wrap_Grid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
15760 { (char *)"Grid_GetDefaultRowSize", (PyCFunction) _wrap_Grid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15761 { (char *)"Grid_GetRowSize", (PyCFunction) _wrap_Grid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
15762 { (char *)"Grid_GetDefaultColSize", (PyCFunction) _wrap_Grid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15763 { (char *)"Grid_GetColSize", (PyCFunction) _wrap_Grid_GetColSize, METH_VARARGS | METH_KEYWORDS },
15764 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15765 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction) _wrap_Grid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15766 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction) _wrap_Grid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15767 { (char *)"Grid_GetCellTextColour", (PyCFunction) _wrap_Grid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15768 { (char *)"Grid_GetDefaultCellFont", (PyCFunction) _wrap_Grid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15769 { (char *)"Grid_GetCellFont", (PyCFunction) _wrap_Grid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
15770 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction) _wrap_Grid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15771 { (char *)"Grid_GetCellAlignment", (PyCFunction) _wrap_Grid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15772 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction) _wrap_Grid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15773 { (char *)"Grid_GetCellOverflow", (PyCFunction) _wrap_Grid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15774 { (char *)"Grid_GetCellSize", (PyCFunction) _wrap_Grid_GetCellSize, METH_VARARGS | METH_KEYWORDS },
15775 { (char *)"Grid_SetDefaultRowSize", (PyCFunction) _wrap_Grid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15776 { (char *)"Grid_SetRowSize", (PyCFunction) _wrap_Grid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
15777 { (char *)"Grid_SetDefaultColSize", (PyCFunction) _wrap_Grid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15778 { (char *)"Grid_SetColSize", (PyCFunction) _wrap_Grid_SetColSize, METH_VARARGS | METH_KEYWORDS },
15779 { (char *)"Grid_AutoSizeColumn", (PyCFunction) _wrap_Grid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
15780 { (char *)"Grid_AutoSizeRow", (PyCFunction) _wrap_Grid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
15781 { (char *)"Grid_AutoSizeColumns", (PyCFunction) _wrap_Grid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
15782 { (char *)"Grid_AutoSizeRows", (PyCFunction) _wrap_Grid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
15783 { (char *)"Grid_AutoSize", (PyCFunction) _wrap_Grid_AutoSize, METH_VARARGS | METH_KEYWORDS },
15784 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction) _wrap_Grid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15785 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction) _wrap_Grid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS },
15786 { (char *)"Grid_SetColMinimalWidth", (PyCFunction) _wrap_Grid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
15787 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction) _wrap_Grid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
15788 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15789 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15790 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15791 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15792 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15793 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction) _wrap_Grid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15794 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction) _wrap_Grid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15795 { (char *)"Grid_SetCellTextColour", (PyCFunction) _wrap_Grid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15796 { (char *)"Grid_SetDefaultCellFont", (PyCFunction) _wrap_Grid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15797 { (char *)"Grid_SetCellFont", (PyCFunction) _wrap_Grid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
15798 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction) _wrap_Grid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15799 { (char *)"Grid_SetCellAlignment", (PyCFunction) _wrap_Grid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15800 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction) _wrap_Grid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15801 { (char *)"Grid_SetCellOverflow", (PyCFunction) _wrap_Grid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15802 { (char *)"Grid_SetCellSize", (PyCFunction) _wrap_Grid_SetCellSize, METH_VARARGS | METH_KEYWORDS },
15803 { (char *)"Grid_SetDefaultRenderer", (PyCFunction) _wrap_Grid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15804 { (char *)"Grid_SetCellRenderer", (PyCFunction) _wrap_Grid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15805 { (char *)"Grid_GetDefaultRenderer", (PyCFunction) _wrap_Grid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15806 { (char *)"Grid_GetCellRenderer", (PyCFunction) _wrap_Grid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15807 { (char *)"Grid_SetDefaultEditor", (PyCFunction) _wrap_Grid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15808 { (char *)"Grid_SetCellEditor", (PyCFunction) _wrap_Grid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
15809 { (char *)"Grid_GetDefaultEditor", (PyCFunction) _wrap_Grid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15810 { (char *)"Grid_GetCellEditor", (PyCFunction) _wrap_Grid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
15811 { (char *)"Grid_GetCellValue", (PyCFunction) _wrap_Grid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
15812 { (char *)"Grid_SetCellValue", (PyCFunction) _wrap_Grid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
15813 { (char *)"Grid_IsReadOnly", (PyCFunction) _wrap_Grid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15814 { (char *)"Grid_SetReadOnly", (PyCFunction) _wrap_Grid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15815 { (char *)"Grid_SelectRow", (PyCFunction) _wrap_Grid_SelectRow, METH_VARARGS | METH_KEYWORDS },
15816 { (char *)"Grid_SelectCol", (PyCFunction) _wrap_Grid_SelectCol, METH_VARARGS | METH_KEYWORDS },
15817 { (char *)"Grid_SelectBlock", (PyCFunction) _wrap_Grid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
15818 { (char *)"Grid_SelectAll", (PyCFunction) _wrap_Grid_SelectAll, METH_VARARGS | METH_KEYWORDS },
15819 { (char *)"Grid_IsSelection", (PyCFunction) _wrap_Grid_IsSelection, METH_VARARGS | METH_KEYWORDS },
15820 { (char *)"Grid_ClearSelection", (PyCFunction) _wrap_Grid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
15821 { (char *)"Grid_IsInSelection", (PyCFunction) _wrap_Grid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
15822 { (char *)"Grid_GetSelectedCells", (PyCFunction) _wrap_Grid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS },
15823 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_Grid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS },
15824 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_Grid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS },
15825 { (char *)"Grid_GetSelectedRows", (PyCFunction) _wrap_Grid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS },
15826 { (char *)"Grid_GetSelectedCols", (PyCFunction) _wrap_Grid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS },
15827 { (char *)"Grid_DeselectRow", (PyCFunction) _wrap_Grid_DeselectRow, METH_VARARGS | METH_KEYWORDS },
15828 { (char *)"Grid_DeselectCol", (PyCFunction) _wrap_Grid_DeselectCol, METH_VARARGS | METH_KEYWORDS },
15829 { (char *)"Grid_DeselectCell", (PyCFunction) _wrap_Grid_DeselectCell, METH_VARARGS | METH_KEYWORDS },
15830 { (char *)"Grid_BlockToDeviceRect", (PyCFunction) _wrap_Grid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
15831 { (char *)"Grid_GetSelectionBackground", (PyCFunction) _wrap_Grid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15832 { (char *)"Grid_GetSelectionForeground", (PyCFunction) _wrap_Grid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15833 { (char *)"Grid_SetSelectionBackground", (PyCFunction) _wrap_Grid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15834 { (char *)"Grid_SetSelectionForeground", (PyCFunction) _wrap_Grid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15835 { (char *)"Grid_RegisterDataType", (PyCFunction) _wrap_Grid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
15836 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction) _wrap_Grid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
15837 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction) _wrap_Grid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
15838 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction) _wrap_Grid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
15839 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction) _wrap_Grid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
15840 { (char *)"Grid_SetMargins", (PyCFunction) _wrap_Grid_SetMargins, METH_VARARGS | METH_KEYWORDS },
15841 { (char *)"Grid_GetGridWindow", (PyCFunction) _wrap_Grid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
15842 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
15843 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
15844 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
15845 { (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS },
15846 { (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS },
15847 { (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
15848 { (char *)"GridEvent_GetCol", (PyCFunction) _wrap_GridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
15849 { (char *)"GridEvent_GetPosition", (PyCFunction) _wrap_GridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
15850 { (char *)"GridEvent_Selecting", (PyCFunction) _wrap_GridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
15851 { (char *)"GridEvent_ControlDown", (PyCFunction) _wrap_GridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15852 { (char *)"GridEvent_MetaDown", (PyCFunction) _wrap_GridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15853 { (char *)"GridEvent_ShiftDown", (PyCFunction) _wrap_GridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15854 { (char *)"GridEvent_AltDown", (PyCFunction) _wrap_GridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15855 { (char *)"GridEvent_swigregister", GridEvent_swigregister, METH_VARARGS },
15856 { (char *)"new_GridSizeEvent", (PyCFunction) _wrap_new_GridSizeEvent, METH_VARARGS | METH_KEYWORDS },
15857 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_GridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
15858 { (char *)"GridSizeEvent_GetPosition", (PyCFunction) _wrap_GridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
15859 { (char *)"GridSizeEvent_ControlDown", (PyCFunction) _wrap_GridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15860 { (char *)"GridSizeEvent_MetaDown", (PyCFunction) _wrap_GridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15861 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction) _wrap_GridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15862 { (char *)"GridSizeEvent_AltDown", (PyCFunction) _wrap_GridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15863 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister, METH_VARARGS },
15864 { (char *)"new_GridRangeSelectEvent", (PyCFunction) _wrap_new_GridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
15865 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
15866 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
15867 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
15868 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
15869 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
15870 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
15871 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction) _wrap_GridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
15872 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_GridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15873 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_GridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15874 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_GridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15875 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction) _wrap_GridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15876 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister, METH_VARARGS },
15877 { (char *)"new_GridEditorCreatedEvent", (PyCFunction) _wrap_new_GridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
15878 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
15879 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
15880 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
15881 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
15882 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
15883 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
15884 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister, METH_VARARGS },
15885 { NULL, NULL }
15886};
15887
15888
15889/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15890
15891static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x) {
15892 return (void *)((wxGridCellRenderer *) ((wxPyGridCellRenderer *) x));
15893}
15894static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x) {
15895 return (void *)((wxGridCellRenderer *) ((wxGridCellStringRenderer *) x));
15896}
15897static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x) {
15898 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
15899}
15900static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x) {
15901 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
15902}
15903static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x) {
15904 return (void *)((wxGridCellRenderer *) ((wxGridCellBoolRenderer *) x));
15905}
15906static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x) {
15907 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
15908}
15909static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x) {
15910 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
15911}
15912static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x) {
15913 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
15914}
15915static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x) {
15916 return (void *)((wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
15917}
15918static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x) {
15919 return (void *)((wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
15920}
15921static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x) {
15922 return (void *)((wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
15923}
15924static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x) {
15925 return (void *)((wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
15926}
15927static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x) {
15928 return (void *)((wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
15929}
15930static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
15931 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
15932}
15933static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
15934 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
15935}
a2482628
RD
15936static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
15937 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15938}
d14a1e28
RD
15939static void *_p_wxGridTo_p_wxPanel(void *x) {
15940 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxGrid *) x));
15941}
15942static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
15943 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15944}
15945static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
15946 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15947}
15948static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
15949 return (void *)((wxPanel *) ((wxPyPanel *) x));
15950}
15951static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
15952 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
15953}
15954static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
15955 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
15956}
15957static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
15958 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15959}
15960static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x) {
15961 return (void *)((wxNotifyEvent *) ((wxGridSizeEvent *) x));
15962}
15963static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x) {
15964 return (void *)((wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
15965}
15966static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
15967 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
15968}
15969static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x) {
15970 return (void *)((wxNotifyEvent *) ((wxGridEvent *) x));
15971}
a2482628
RD
15972static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
15973 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15974}
d14a1e28
RD
15975static void *_p_wxGridTo_p_wxScrolledWindow(void *x) {
15976 return (void *)((wxScrolledWindow *) ((wxGrid *) x));
15977}
15978static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
15979 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
15980}
15981static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
15982 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15983}
15984static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
15985 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15986}
15987static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
15988 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
15989}
15990static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
15991 return (void *)((wxWindow *) ((wxMenuBar *) x));
15992}
15993static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
15994 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15995}
15996static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
15997 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15998}
15999static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
16000 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16001}
16002static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
16003 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16004}
16005static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
16006 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16007}
16008static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
16009 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16010}
16011static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
16012 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16013}
16014static void *_p_wxPanelTo_p_wxWindow(void *x) {
16015 return (void *)((wxWindow *) ((wxPanel *) x));
16016}
16017static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
16018 return (void *)((wxWindow *) ((wxStatusBar *) x));
16019}
16020static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
16021 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
16022}
16023static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
16024 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
16025}
16026static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
16027 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16028}
16029static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
16030 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16031}
16032static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
16033 return (void *)((wxWindow *) ((wxPopupWindow *) x));
16034}
16035static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
16036 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
16037}
16038static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
16039 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
16040}
16041static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
16042 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
16043}
16044static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
16045 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
16046}
16047static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
16048 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
16049}
16050static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
16051 return (void *)((wxWindow *) ((wxSashWindow *) x));
16052}
a2482628
RD
16053static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
16054 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16055}
d14a1e28
RD
16056static void *_p_wxControlTo_p_wxWindow(void *x) {
16057 return (void *)((wxWindow *) ((wxControl *) x));
16058}
16059static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
16060 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16061}
16062static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
16063 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16064}
16065static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
16066 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16067}
16068static void *_p_wxGridTo_p_wxWindow(void *x) {
16069 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16070}
16071static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
16072 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
16073}
16074static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
16075 return (void *)((wxWindow *) ((wxPyWindow *) x));
16076}
16077static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
16078 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16079}
16080static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
16081 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16082}
16083static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
16084 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16085}
16086static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
16087 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
16088}
16089static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
16090 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16091}
16092static void *_p_wxFrameTo_p_wxWindow(void *x) {
16093 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
16094}
16095static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
16096 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16097}
16098static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
16099 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16100}
16101static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
16102 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16103}
16104static void *_p_wxDialogTo_p_wxWindow(void *x) {
16105 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
16106}
16107static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
16108 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16109}
16110static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
16111 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16112}
16113static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
16114 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16115}
16116static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
16117 return (void *)((wxControl *) ((wxControlWithItems *) x));
16118}
16119static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
16120 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
16121}
16122static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
16123 return (void *)((wxEvent *) ((wxMenuEvent *) x));
16124}
16125static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
16126 return (void *)((wxEvent *) ((wxCloseEvent *) x));
16127}
16128static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
16129 return (void *)((wxEvent *) ((wxMouseEvent *) x));
16130}
16131static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
16132 return (void *)((wxEvent *) ((wxEraseEvent *) x));
16133}
16134static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
16135 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
16136}
16137static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
16138 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16139}
16140static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
16141 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
16142}
16143static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
16144 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
16145}
16146static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
16147 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
16148}
16149static void *_p_wxPyEventTo_p_wxEvent(void *x) {
16150 return (void *)((wxEvent *) ((wxPyEvent *) x));
16151}
16152static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
16153 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
16154}
16155static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
16156 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
16157}
16158static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x) {
16159 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16160}
16161static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
16162 return (void *)((wxEvent *) ((wxIdleEvent *) x));
16163}
16164static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
16165 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
16166}
16167static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
16168 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
16169}
16170static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
16171 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
16172}
16173static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
16174 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
16175}
16176static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
16177 return (void *)((wxEvent *) ((wxActivateEvent *) x));
16178}
16179static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
16180 return (void *)((wxEvent *) ((wxSizeEvent *) x));
16181}
16182static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
16183 return (void *)((wxEvent *) ((wxMoveEvent *) x));
16184}
16185static void *_p_wxGridSizeEventTo_p_wxEvent(void *x) {
16186 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16187}
16188static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
16189 return (void *)((wxEvent *) ((wxPaintEvent *) x));
16190}
16191static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
16192 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
16193}
16194static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
16195 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
16196}
16197static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
16198 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
16199}
16200static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
16201 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
16202}
16203static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
16204 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16205}
16206static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
16207 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
16208}
16209static void *_p_wxGridEventTo_p_wxEvent(void *x) {
16210 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16211}
16212static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x) {
16213 return (void *)((wxEvent *) (wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16214}
16215static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
16216 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
16217}
16218static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
16219 return (void *)((wxEvent *) ((wxFocusEvent *) x));
16220}
16221static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
16222 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
16223}
16224static void *_p_wxSashEventTo_p_wxEvent(void *x) {
16225 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
16226}
16227static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
16228 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16229}
16230static void *_p_wxShowEventTo_p_wxEvent(void *x) {
16231 return (void *)((wxEvent *) ((wxShowEvent *) x));
16232}
16233static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
16234 return (void *)((wxEvent *) ((wxCommandEvent *) x));
16235}
16236static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
16237 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
16238}
16239static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
16240 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16241}
16242static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
16243 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
16244}
16245static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
16246 return (void *)((wxEvent *) ((wxKeyEvent *) x));
16247}
16248static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
16249 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
16250}
16251static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
16252 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
16253}
16254static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
16255 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
16256}
16257static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
16258 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16259}
16260static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
16261 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16262}
16263static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
16264 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16265}
16266static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
16267 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
16268}
16269static void *_p_wxSizerItemTo_p_wxObject(void *x) {
16270 return (void *)((wxObject *) ((wxSizerItem *) x));
16271}
16272static void *_p_wxScrollEventTo_p_wxObject(void *x) {
16273 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
16274}
16275static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
16276 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
16277}
16278static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
16279 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
16280}
16281static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
16282 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
16283}
16284static void *_p_wxSizerTo_p_wxObject(void *x) {
16285 return (void *)((wxObject *) ((wxSizer *) x));
16286}
16287static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
16288 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
16289}
16290static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
16291 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
16292}
16293static void *_p_wxPyPanelTo_p_wxObject(void *x) {
16294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16295}
16296static void *_p_wxEventTo_p_wxObject(void *x) {
16297 return (void *)((wxObject *) ((wxEvent *) x));
16298}
16299static void *_p_wxFontDataTo_p_wxObject(void *x) {
16300 return (void *)((wxObject *) ((wxFontData *) x));
16301}
16302static void *_p_wxPrintDataTo_p_wxObject(void *x) {
16303 return (void *)((wxObject *) ((wxPrintData *) x));
16304}
16305static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
16306 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
16307}
16308static void *_p_wxGridSizerTo_p_wxObject(void *x) {
16309 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
16310}
16311static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
16312 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
16313}
16314static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
16315 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
16316}
16317static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
16318 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
16319}
16320static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
16321 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
16322}
16323static void *_p_wxGridStringTableTo_p_wxObject(void *x) {
16324 return (void *)((wxObject *) (wxGridTableBase *) ((wxGridStringTable *) x));
16325}
16326static void *_p_wxPaintEventTo_p_wxObject(void *x) {
16327 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
16328}
16329static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
16330 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
16331}
16332static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
16333 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
16334}
16335static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
16336 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
16337}
16338static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
16339 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16340}
16341static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
16342 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
16343}
16344static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
16345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16346}
16347static void *_p_wxGridEventTo_p_wxObject(void *x) {
16348 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16349}
16350static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x) {
16351 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16352}
16353static void *_p_wxControlTo_p_wxObject(void *x) {
16354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
16355}
16356static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
16357 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
16358}
16359static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
16360 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16361}
16362static void *_p_wxFSFileTo_p_wxObject(void *x) {
16363 return (void *)((wxObject *) ((wxFSFile *) x));
16364}
16365static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
16366 return (void *)((wxObject *) ((wxFindReplaceData *) x));
16367}
16368static void *_p_wxGridTo_p_wxObject(void *x) {
16369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16370}
16371static void *_p_wxPySizerTo_p_wxObject(void *x) {
16372 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
16373}
16374static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
16375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16376}
16377static void *_p_wxColourDataTo_p_wxObject(void *x) {
16378 return (void *)((wxObject *) ((wxColourData *) x));
16379}
16380static void *_p_wxPyEventTo_p_wxObject(void *x) {
16381 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
16382}
16383static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
16384 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
16385}
16386static void *_p_wxPyWindowTo_p_wxObject(void *x) {
16387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
16388}
16389static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
16390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16391}
16392static void *_p_wxFileDialogTo_p_wxObject(void *x) {
16393 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16394}
16395static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
16396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16397}
16398static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
16399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16400}
16401static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
16402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16403}
16404static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
16405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16406}
16407static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
16408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16409}
16410static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
16411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16412}
16413static void *_p_wxShowEventTo_p_wxObject(void *x) {
16414 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
16415}
16416static void *_p_wxPrinterTo_p_wxObject(void *x) {
16417 return (void *)((wxObject *) ((wxPrinter *) x));
16418}
16419static void *_p_wxMenuItemTo_p_wxObject(void *x) {
16420 return (void *)((wxObject *) ((wxMenuItem *) x));
16421}
16422static void *_p_wxIdleEventTo_p_wxObject(void *x) {
16423 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
16424}
16425static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
16426 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
16427}
16428static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
16429 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
16430}
16431static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
16432 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
16433}
16434static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
16435 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
16436}
16437static void *_p_wxSizeEventTo_p_wxObject(void *x) {
16438 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
16439}
16440static void *_p_wxMoveEventTo_p_wxObject(void *x) {
16441 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
16442}
16443static void *_p_wxActivateEventTo_p_wxObject(void *x) {
16444 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
16445}
16446static void *_p_wxGridSizeEventTo_p_wxObject(void *x) {
16447 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16448}
16449static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
16450 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
16451}
16452static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
16453 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
16454}
16455static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
16456 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
16457}
16458static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
16459 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
16460}
16461static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
16462 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
16463}
16464static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
16465 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
16466}
16467static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
16468 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
16469}
16470static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
16471 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
16472}
16473static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
16474 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
16475}
16476static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
16477 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
16478}
16479static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
16480 return (void *)((wxObject *) ((wxImageHandler *) x));
16481}
16482static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
16483 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
16484}
16485static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
16486 return (void *)((wxObject *) ((wxEvtHandler *) x));
16487}
16488static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
16489 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
16490}
16491static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x) {
16492 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16493}
16494static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
16495 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16496}
16497static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
16498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16499}
16500static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
16501 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
16502}
16503static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
16504 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16505}
16506static void *_p_wxImageTo_p_wxObject(void *x) {
16507 return (void *)((wxObject *) ((wxImage *) x));
16508}
16509static void *_p_wxFrameTo_p_wxObject(void *x) {
16510 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16511}
16512static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
16513 return (void *)((wxObject *) ((wxPyPrintout *) x));
16514}
16515static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
16516 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
16517}
16518static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
16519 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
16520}
16521static void *_p_wxStatusBarTo_p_wxObject(void *x) {
16522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
16523}
16524static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
16525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16526}
16527static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
16528 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16529}
16530static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
16531 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
16532}
16533static void *_p_wxKeyEventTo_p_wxObject(void *x) {
16534 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
16535}
d14a1e28
RD
16536static void *_p_wxWindowTo_p_wxObject(void *x) {
16537 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
16538}
16539static void *_p_wxMenuTo_p_wxObject(void *x) {
16540 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
16541}
16542static void *_p_wxMenuBarTo_p_wxObject(void *x) {
16543 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
16544}
41f1cec7
RD
16545static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
16546 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16547}
d14a1e28
RD
16548static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
16549 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
16550}
16551static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
16552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
16553}
16554static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
16555 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
16556}
16557static void *_p_wxSashWindowTo_p_wxObject(void *x) {
16558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
16559}
16560static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
16561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16562}
16563static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
16564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
16565}
16566static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
16567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16568}
16569static void *_p_wxTipWindowTo_p_wxObject(void *x) {
16570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16571}
16572static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
16573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16574}
16575static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
16576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
16577}
a2482628
RD
16578static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
16579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16580}
d14a1e28
RD
16581static void *_p_wxSashEventTo_p_wxObject(void *x) {
16582 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
16583}
16584static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
16585 return (void *)((wxObject *) ((wxPrintPreview *) x));
16586}
16587static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
16588 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
16589}
16590static void *_p_wxPanelTo_p_wxObject(void *x) {
16591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
16592}
16593static void *_p_wxDialogTo_p_wxObject(void *x) {
16594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
16595}
16596static void *_p_wxColourDialogTo_p_wxObject(void *x) {
16597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16598}
16599static void *_p_wxDirDialogTo_p_wxObject(void *x) {
16600 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16601}
16602static void *_p_wxFontDialogTo_p_wxObject(void *x) {
16603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16604}
16605static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
16606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16607}
16608static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
16609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16610}
16611static void *_p_wxFileSystemTo_p_wxObject(void *x) {
16612 return (void *)((wxObject *) ((wxFileSystem *) x));
16613}
16614static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
16615 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
16616}
16617static void *_p_wxMenuEventTo_p_wxObject(void *x) {
16618 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
16619}
16620static void *_p_wxPyAppTo_p_wxObject(void *x) {
16621 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
16622}
16623static void *_p_wxCloseEventTo_p_wxObject(void *x) {
16624 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
16625}
16626static void *_p_wxMouseEventTo_p_wxObject(void *x) {
16627 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
16628}
16629static void *_p_wxEraseEventTo_p_wxObject(void *x) {
16630 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
16631}
16632static void *_p_wxGridTableBaseTo_p_wxObject(void *x) {
16633 return (void *)((wxObject *) ((wxGridTableBase *) x));
16634}
16635static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x) {
16636 return (void *)((wxObject *) (wxGridTableBase *) ((wxPyGridTableBase *) x));
16637}
16638static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
16639 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
16640}
16641static void *_p_wxCommandEventTo_p_wxObject(void *x) {
16642 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
16643}
16644static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
16645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16646}
16647static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
16648 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16649}
16650static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
16651 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
16652}
16653static void *_p_wxFocusEventTo_p_wxObject(void *x) {
16654 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
16655}
16656static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
16657 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
16658}
16659static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
16660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16661}
16662static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
16663 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
16664}
16665static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
16666 return (void *)((wxObject *) ((wxPrintDialogData *) x));
16667}
16668static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
16669 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
16670}
16671static void *_p_wxValidatorTo_p_wxObject(void *x) {
16672 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
16673}
16674static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
16675 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16676}
16677static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
16678 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16679}
16680static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
16681 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16682}
16683static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
16684 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
16685}
16686static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
16687 return (void *)((wxEvtHandler *) ((wxValidator *) x));
16688}
16689static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
16690 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
16691}
16692static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
16693 return (void *)((wxEvtHandler *) ((wxMenu *) x));
16694}
16695static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
16696 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16697}
16698static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
16699 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16700}
16701static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
16702 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16703}
16704static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
16705 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16706}
16707static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
16708 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16709}
16710static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
16711 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16712}
16713static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
16714 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16715}
16716static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
16717 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
16718}
16719static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
16720 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
16721}
16722static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
16723 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16724}
16725static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
16726 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16727}
16728static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
16729 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16730}
16731static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
16732 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
16733}
16734static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
16735 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16736}
16737static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
16738 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
16739}
16740static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
16741 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
16742}
16743static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
16744 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
16745}
16746static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
16747 return (void *)((wxEvtHandler *) ((wxWindow *) x));
16748}
16749static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
16750 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16751}
16752static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
16753 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
16754}
16755static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
16756 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
16757}
a2482628
RD
16758static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
16759 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16760}
d14a1e28
RD
16761static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
16762 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
16763}
16764static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
16765 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16766}
16767static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
16768 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16769}
16770static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
16771 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16772}
16773static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
16774 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
16775}
16776static void *_p_wxGridTo_p_wxEvtHandler(void *x) {
16777 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16778}
16779static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
16780 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16781}
16782static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
16783 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
16784}
16785static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
16786 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16787}
16788static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
16789 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16790}
16791static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
16792 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16793}
16794static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
16795 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16796}
16797static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
16798 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16799}
16800static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
16801 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
16802}
16803static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
16804 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16805}
16806static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
16807 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16808}
16809static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
16810 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16811}
16812static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
16813 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16814}
16815static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
16816 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
16817}
16818static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
16819 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16820}
16821static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
16822 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16823}
16824static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
16825 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16826}
16827static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x) {
16828 return (void *)((wxGridTableBase *) ((wxGridStringTable *) x));
16829}
16830static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x) {
16831 return (void *)((wxGridTableBase *) ((wxPyGridTableBase *) x));
16832}
16833static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x) {
16834 return (void *)((wxGridCellEditor *) ((wxPyGridCellEditor *) x));
16835}
16836static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x) {
16837 return (void *)((wxGridCellEditor *) ((wxGridCellTextEditor *) x));
16838}
16839static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x) {
16840 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
16841}
16842static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x) {
16843 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
16844}
16845static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x) {
16846 return (void *)((wxGridCellEditor *) ((wxGridCellBoolEditor *) x));
16847}
16848static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x) {
16849 return (void *)((wxGridCellEditor *) ((wxGridCellChoiceEditor *) x));
16850}
16851static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x) {
16852 return (void *)((wxGridCellEditor *) (wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
16853}
16854static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x) {
16855 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
16856}
16857static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x) {
16858 return (void *)((wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
16859}
16860static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x) {
16861 return (void *)((wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
16862}
16863static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x) {
16864 return (void *)((wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
16865}
16866static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
16867 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
16868}
16869static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
16870 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16871}
16872static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
16873 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
16874}
16875static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
16876 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
16877}
16878static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
16879 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
16880}
16881static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
16882 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
16883}
16884static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
16885 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
16886}
16887static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x) {
16888 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16889}
16890static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x) {
16891 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridSizeEvent *) x));
16892}
16893static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
16894 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
16895}
16896static void *_p_wxGridEventTo_p_wxCommandEvent(void *x) {
16897 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridEvent *) x));
16898}
16899static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x) {
16900 return (void *)((wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16901}
16902static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
16903 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
16904}
16905static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
16906 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
16907}
16908static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
16909 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
16910}
16911static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) {
16912 return (void *)((wxGridCellAttrProvider *) ((wxPyGridCellAttrProvider *) x));
16913}
16914static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) {
16915 return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
16916}
2f4c0a16
RD
16917static 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}};
16918static 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}};
16919static 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}};
16920static 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}};
16921static 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}};
16922static 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}};
16923static 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}};
16924static 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}};
16925static 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}};
16926static 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}};
16927static 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}};
16928static 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}};
16929static 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}};
16930static 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}};
16931static 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}};
a2482628 16932static 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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}};
2f4c0a16
RD
16933static 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}};
16934static 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}};
16935static 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}};
16936static 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}};
a2482628
RD
16937static 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
16938static 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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}};
2f4c0a16
RD
16939static 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}};
16940static 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}};
16941static 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}};
a2482628 16942static 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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}};
2f4c0a16
RD
16943static 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}};
16944static 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}};
16945static 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}};
16946static 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}};
a2482628 16947static 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_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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_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}};
2f4c0a16
RD
16948static 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}};
16949static 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}};
16950static 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}};
16951static 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}};
16952static 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}};
16953static 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}};
16954static 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}};
16955static 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}};
16956static 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}};
16957static 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}};
16958static 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}};
16959static 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}};
16960static 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}};
16961static 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}};
16962static 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}};
16963static 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}};
16964static 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}};
16965static 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}};
16966static 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}};
16967static 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}};
16968static 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
16969
16970static swig_type_info *swig_types_initial[] = {
16971_swigt__p_wxGridCellAutoWrapStringRenderer,
16972_swigt__p_wxGridCellEnumRenderer,
16973_swigt__p_wxGridCellDateTimeRenderer,
16974_swigt__p_wxGridCellBoolRenderer,
16975_swigt__p_wxGridCellFloatRenderer,
16976_swigt__p_wxGridCellNumberRenderer,
16977_swigt__p_wxPyGridCellRenderer,
16978_swigt__p_wxGridCellRenderer,
16979_swigt__p_wxGridCellStringRenderer,
16980_swigt__p_wxGridCellAttr,
16981_swigt__p_wxColour,
16982_swigt__p_wxDC,
16983_swigt__p_wxGridTableMessage,
16984_swigt__p_wxGrid,
8edf1c75 16985_swigt__p_char,
d14a1e28
RD
16986_swigt__p_wxPanel,
16987_swigt__p_wxNotifyEvent,
16988_swigt__p_wxGridRangeSelectEvent,
16989_swigt__p_wxSize,
16990_swigt__p_wxGridCellCoords,
16991_swigt__p_wxScrolledWindow,
16992_swigt__p_wxWindow,
16993_swigt__p_wxFont,
16994_swigt__p_wxControl,
16995_swigt__p_wxEvent,
16996_swigt__p_wxObject,
16997_swigt__p_wxGridSizeEvent,
16998_swigt__p_wxRect,
16999_swigt__p_long,
17000_swigt__p_wxString,
17001_swigt__p_wxEvtHandler,
17002_swigt__p_wxPoint,
17003_swigt__p_wxGridEvent,
17004_swigt__p_wxGridEditorCreatedEvent,
17005_swigt__p_wxGridTableBase,
d14a1e28
RD
17006_swigt__p_wxGridCellNumberEditor,
17007_swigt__p_wxPyGridCellEditor,
17008_swigt__p_wxGridCellEditor,
17009_swigt__p_wxGridCellTextEditor,
8edf1c75 17010_swigt__p_wxGridCellFloatEditor,
d14a1e28
RD
17011_swigt__p_wxGridCellBoolEditor,
17012_swigt__p_wxPyGridTableBase,
17013_swigt__p_wxGridStringTable,
17014_swigt__p_wxArrayString,
17015_swigt__p_wxCommandEvent,
17016_swigt__p_wxGridCellAttrProvider,
17017_swigt__p_wxKeyEvent,
17018_swigt__p_wxGridCellChoiceEditor,
17019_swigt__p_wxGridCellEnumEditor,
17020_swigt__p_wxGridCellAutoWrapStringEditor,
17021_swigt__p_int,
17022_swigt__p_wxPyGridCellAttrProvider,
170230
17024};
17025
17026
17027/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17028
17029static swig_const_info swig_const_table[] = {
2f4c0a16
RD
17030{ SWIG_PY_POINTER, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17031{ SWIG_PY_POINTER, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char},
17032{ SWIG_PY_POINTER, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17033{ SWIG_PY_POINTER, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char},
17034{ SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char},
17035{ SWIG_PY_POINTER, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17036{ SWIG_PY_POINTER, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17037{ SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char},
17038{ SWIG_PY_POINTER, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char},
d14a1e28
RD
17039{0}};
17040
17041#ifdef __cplusplus
17042}
17043#endif
17044
17045#ifdef __cplusplus
17046extern "C"
17047#endif
17048SWIGEXPORT(void) SWIG_init(void) {
17049 static PyObject *SWIG_globals = 0;
17050 static int typeinit = 0;
17051 PyObject *m, *d;
17052 int i;
17053 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
17054 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17055 d = PyModule_GetDict(m);
17056
17057 if (!typeinit) {
17058 for (i = 0; swig_types_initial[i]; i++) {
17059 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
17060 }
17061 typeinit = 1;
17062 }
17063 SWIG_InstallConstants(d,swig_const_table);
17064
17065 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
d03fd34d 17066 SWIG_addvarlink(SWIG_globals,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get, _wrap_DateTimeFormatStr_set);
2f4c0a16
RD
17067 PyDict_SetItemString(d,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
17068 PyDict_SetItemString(d,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
17069 PyDict_SetItemString(d,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
17070 PyDict_SetItemString(d,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
17071 PyDict_SetItemString(d,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
17072 PyDict_SetItemString(d,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
17073 PyDict_SetItemString(d,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
17074 PyDict_SetItemString(d,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
17075 PyDict_SetItemString(d,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
d14a1e28
RD
17076 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set);
17077 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set);
2f4c0a16
RD
17078 PyDict_SetItemString(d,"GridCellAttr_Any", SWIG_FromInt((int)wxGridCellAttr::Any));
17079 PyDict_SetItemString(d,"GridCellAttr_Default", SWIG_FromInt((int)wxGridCellAttr::Default));
17080 PyDict_SetItemString(d,"GridCellAttr_Cell", SWIG_FromInt((int)wxGridCellAttr::Cell));
17081 PyDict_SetItemString(d,"GridCellAttr_Row", SWIG_FromInt((int)wxGridCellAttr::Row));
17082 PyDict_SetItemString(d,"GridCellAttr_Col", SWIG_FromInt((int)wxGridCellAttr::Col));
17083 PyDict_SetItemString(d,"GridCellAttr_Merged", SWIG_FromInt((int)wxGridCellAttr::Merged));
17084 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
17085 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
17086 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
17087 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
17088 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED));
17089 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED));
17090 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED));
17091 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED));
17092 PyDict_SetItemString(d,"Grid_wxGridSelectCells", SWIG_FromInt((int)wxGrid::wxGridSelectCells));
17093 PyDict_SetItemString(d,"Grid_wxGridSelectRows", SWIG_FromInt((int)wxGrid::wxGridSelectRows));
17094 PyDict_SetItemString(d,"Grid_wxGridSelectColumns", SWIG_FromInt((int)wxGrid::wxGridSelectColumns));
d14a1e28
RD
17095 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));
17096 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK));
17097 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK));
17098 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK));
17099 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK));
17100 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK));
17101 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK));
17102 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK));
17103 PyDict_SetItemString(d, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE));
17104 PyDict_SetItemString(d, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE));
17105 PyDict_SetItemString(d, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT));
17106 PyDict_SetItemString(d, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE));
17107 PyDict_SetItemString(d, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL));
17108 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN));
17109 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN));
17110 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED));
17111
17112
17113}
17114