]> 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;
cfe5e918
RD
3419 int arg1 = (int) -1 ;
3420 int arg2 = (int) -1 ;
d14a1e28 3421 wxGridCellFloatEditor *result;
cfe5e918
RD
3422 PyObject * obj0 = 0 ;
3423 PyObject * obj1 = 0 ;
d14a1e28 3424 char *kwnames[] = {
cfe5e918 3425 (char *) "width",(char *) "precision", NULL
d14a1e28
RD
3426 };
3427
cfe5e918
RD
3428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatEditor",kwnames,&obj0,&obj1)) goto fail;
3429 if (obj0) {
3430 arg1 = (int) SWIG_AsInt(obj0);
3431 if (PyErr_Occurred()) SWIG_fail;
3432 }
3433 if (obj1) {
3434 arg2 = (int) SWIG_AsInt(obj1);
3435 if (PyErr_Occurred()) SWIG_fail;
3436 }
d14a1e28
RD
3437 {
3438 PyThreadState* __tstate = wxPyBeginAllowThreads();
cfe5e918 3439 result = (wxGridCellFloatEditor *)new wxGridCellFloatEditor(arg1,arg2);
d14a1e28
RD
3440
3441 wxPyEndAllowThreads(__tstate);
3442 if (PyErr_Occurred()) SWIG_fail;
3443 }
2f4c0a16 3444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatEditor, 1);
d14a1e28
RD
3445 return resultobj;
3446 fail:
3447 return NULL;
3448}
3449
3450
3451static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3452 PyObject *resultobj;
3453 wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ;
3454 wxString result;
3455 PyObject * obj0 = 0 ;
3456 char *kwnames[] = {
3457 (char *) "self", NULL
3458 };
3459
3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatEditor_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatEditor,
3462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3463 {
3464 PyThreadState* __tstate = wxPyBeginAllowThreads();
3465 result = (arg1)->GetValue();
3466
3467 wxPyEndAllowThreads(__tstate);
3468 if (PyErr_Occurred()) SWIG_fail;
3469 }
3470 {
3471#if wxUSE_UNICODE
3472 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3473#else
3474 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3475#endif
3476 }
3477 return resultobj;
3478 fail:
3479 return NULL;
3480}
3481
3482
3483static PyObject * GridCellFloatEditor_swigregister(PyObject *self, PyObject *args) {
3484 PyObject *obj;
3485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3486 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor, obj);
3487 Py_INCREF(obj);
3488 return Py_BuildValue((char *)"");
3489}
3490static PyObject *_wrap_new_GridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3491 PyObject *resultobj;
3492 wxGridCellBoolEditor *result;
3493 char *kwnames[] = {
3494 NULL
3495 };
3496
3497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolEditor",kwnames)) goto fail;
3498 {
3499 PyThreadState* __tstate = wxPyBeginAllowThreads();
3500 result = (wxGridCellBoolEditor *)new wxGridCellBoolEditor();
3501
3502 wxPyEndAllowThreads(__tstate);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 }
2f4c0a16 3505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolEditor, 1);
d14a1e28
RD
3506 return resultobj;
3507 fail:
3508 return NULL;
3509}
3510
3511
3512static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3513 PyObject *resultobj;
3514 wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ;
3515 wxString result;
3516 PyObject * obj0 = 0 ;
3517 char *kwnames[] = {
3518 (char *) "self", NULL
3519 };
3520
3521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellBoolEditor_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellBoolEditor,
3523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3524 {
3525 PyThreadState* __tstate = wxPyBeginAllowThreads();
3526 result = (arg1)->GetValue();
3527
3528 wxPyEndAllowThreads(__tstate);
3529 if (PyErr_Occurred()) SWIG_fail;
3530 }
3531 {
3532#if wxUSE_UNICODE
3533 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3534#else
3535 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3536#endif
3537 }
3538 return resultobj;
3539 fail:
3540 return NULL;
3541}
3542
3543
3544static PyObject * GridCellBoolEditor_swigregister(PyObject *self, PyObject *args) {
3545 PyObject *obj;
3546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3547 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor, obj);
3548 Py_INCREF(obj);
3549 return Py_BuildValue((char *)"");
3550}
3551static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3552 PyObject *resultobj;
3553 int arg1 = (int) 0 ;
3554 wxString *arg2 = (wxString *) NULL ;
423f194a 3555 bool arg3 = (bool) False ;
d14a1e28 3556 wxGridCellChoiceEditor *result;
44127b65 3557 PyObject * obj0 = 0 ;
d14a1e28 3558 PyObject * obj1 = 0 ;
d14a1e28 3559 char *kwnames[] = {
44127b65 3560 (char *) "choices",(char *) "allowOthers", NULL
d14a1e28
RD
3561 };
3562
44127b65
RD
3563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellChoiceEditor",kwnames,&obj0,&obj1)) goto fail;
3564 if (obj0) {
3565 {
3566 arg1 = PyList_Size(obj0);
3567 arg2 = wxString_LIST_helper(obj0);
3568 if (arg2 == NULL) SWIG_fail;
3569 }
d14a1e28 3570 }
44127b65 3571 if (obj1) {
2f4c0a16
RD
3572 arg3 = (bool) SWIG_AsBool(obj1);
3573 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3574 }
3575 {
3576 PyThreadState* __tstate = wxPyBeginAllowThreads();
3577 result = (wxGridCellChoiceEditor *)new wxGridCellChoiceEditor(arg1,(wxString const *)arg2,arg3);
3578
3579 wxPyEndAllowThreads(__tstate);
3580 if (PyErr_Occurred()) SWIG_fail;
3581 }
2f4c0a16 3582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellChoiceEditor, 1);
44127b65
RD
3583 {
3584 if (arg2) delete [] arg2;
3585 }
d14a1e28
RD
3586 return resultobj;
3587 fail:
44127b65
RD
3588 {
3589 if (arg2) delete [] arg2;
3590 }
d14a1e28
RD
3591 return NULL;
3592}
3593
3594
3595static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3596 PyObject *resultobj;
3597 wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ;
3598 wxString result;
3599 PyObject * obj0 = 0 ;
3600 char *kwnames[] = {
3601 (char *) "self", NULL
3602 };
3603
3604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellChoiceEditor_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellChoiceEditor,
3606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3607 {
3608 PyThreadState* __tstate = wxPyBeginAllowThreads();
3609 result = (arg1)->GetValue();
3610
3611 wxPyEndAllowThreads(__tstate);
3612 if (PyErr_Occurred()) SWIG_fail;
3613 }
3614 {
3615#if wxUSE_UNICODE
3616 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3617#else
3618 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3619#endif
3620 }
3621 return resultobj;
3622 fail:
3623 return NULL;
3624}
3625
3626
3627static PyObject * GridCellChoiceEditor_swigregister(PyObject *self, PyObject *args) {
3628 PyObject *obj;
3629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3630 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor, obj);
3631 Py_INCREF(obj);
3632 return Py_BuildValue((char *)"");
3633}
3634static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3635 PyObject *resultobj;
3636 wxString const &arg1_defvalue = wxPyEmptyString ;
3637 wxString *arg1 = (wxString *) &arg1_defvalue ;
3638 wxGridCellEnumEditor *result;
423f194a 3639 bool temp1 = False ;
d14a1e28
RD
3640 PyObject * obj0 = 0 ;
3641 char *kwnames[] = {
3642 (char *) "choices", NULL
3643 };
3644
3645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumEditor",kwnames,&obj0)) goto fail;
3646 if (obj0) {
3647 {
3648 arg1 = wxString_in_helper(obj0);
3649 if (arg1 == NULL) SWIG_fail;
423f194a 3650 temp1 = True;
d14a1e28
RD
3651 }
3652 }
3653 {
3654 PyThreadState* __tstate = wxPyBeginAllowThreads();
3655 result = (wxGridCellEnumEditor *)new wxGridCellEnumEditor((wxString const &)*arg1);
3656
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
2f4c0a16 3660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumEditor, 1);
d14a1e28
RD
3661 {
3662 if (temp1)
3663 delete arg1;
3664 }
3665 return resultobj;
3666 fail:
3667 {
3668 if (temp1)
3669 delete arg1;
3670 }
3671 return NULL;
3672}
3673
3674
3675static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3676 PyObject *resultobj;
3677 wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ;
3678 wxString result;
3679 PyObject * obj0 = 0 ;
3680 char *kwnames[] = {
3681 (char *) "self", NULL
3682 };
3683
3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEnumEditor_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEnumEditor,
3686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3687 {
3688 PyThreadState* __tstate = wxPyBeginAllowThreads();
3689 result = (arg1)->GetValue();
3690
3691 wxPyEndAllowThreads(__tstate);
3692 if (PyErr_Occurred()) SWIG_fail;
3693 }
3694 {
3695#if wxUSE_UNICODE
3696 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3697#else
3698 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3699#endif
3700 }
3701 return resultobj;
3702 fail:
3703 return NULL;
3704}
3705
3706
3707static PyObject * GridCellEnumEditor_swigregister(PyObject *self, PyObject *args) {
3708 PyObject *obj;
3709 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3710 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor, obj);
3711 Py_INCREF(obj);
3712 return Py_BuildValue((char *)"");
3713}
3714static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3715 PyObject *resultobj;
3716 wxGridCellAutoWrapStringEditor *result;
3717 char *kwnames[] = {
3718 NULL
3719 };
3720
3721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringEditor",kwnames)) goto fail;
3722 {
3723 PyThreadState* __tstate = wxPyBeginAllowThreads();
3724 result = (wxGridCellAutoWrapStringEditor *)new wxGridCellAutoWrapStringEditor();
3725
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
2f4c0a16 3729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringEditor, 1);
d14a1e28
RD
3730 return resultobj;
3731 fail:
3732 return NULL;
3733}
3734
3735
3736static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3737 PyObject *resultobj;
3738 wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ;
3739 wxString result;
3740 PyObject * obj0 = 0 ;
3741 char *kwnames[] = {
3742 (char *) "self", NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAutoWrapStringEditor,
3747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 result = (arg1)->GetValue();
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 }
3755 {
3756#if wxUSE_UNICODE
3757 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3758#else
3759 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3760#endif
3761 }
3762 return resultobj;
3763 fail:
3764 return NULL;
3765}
3766
3767
3768static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *self, PyObject *args) {
3769 PyObject *obj;
3770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3771 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor, obj);
3772 Py_INCREF(obj);
3773 return Py_BuildValue((char *)"");
3774}
3775static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3776 PyObject *resultobj;
3777 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3778 PyObject *arg2 = (PyObject *) 0 ;
3779 PyObject * obj0 = 0 ;
3780 PyObject * obj1 = 0 ;
3781 char *kwnames[] = {
3782 (char *) "self",(char *) "_self", NULL
3783 };
3784
3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3788 arg2 = obj1;
3789 {
3790 PyThreadState* __tstate = wxPyBeginAllowThreads();
3791 wxGridCellAttr__setOORInfo(arg1,arg2);
3792
3793 wxPyEndAllowThreads(__tstate);
3794 if (PyErr_Occurred()) SWIG_fail;
3795 }
3796 Py_INCREF(Py_None); resultobj = Py_None;
3797 return resultobj;
3798 fail:
3799 return NULL;
3800}
3801
3802
3803static PyObject *_wrap_new_GridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3804 PyObject *resultobj;
3805 wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ;
3806 wxGridCellAttr *result;
3807 PyObject * obj0 = 0 ;
3808 char *kwnames[] = {
3809 (char *) "attrDefault", NULL
3810 };
3811
3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellAttr",kwnames,&obj0)) goto fail;
3813 if (obj0) {
2f4c0a16
RD
3814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3816 }
3817 {
3818 PyThreadState* __tstate = wxPyBeginAllowThreads();
3819 result = (wxGridCellAttr *)new wxGridCellAttr(arg1);
3820
3821 wxPyEndAllowThreads(__tstate);
3822 if (PyErr_Occurred()) SWIG_fail;
3823 }
3824 {
3825 resultobj = wxPyMake_wxGridCellAttr(result);
3826 }
3827 return resultobj;
3828 fail:
3829 return NULL;
3830}
3831
3832
3833static PyObject *_wrap_GridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3834 PyObject *resultobj;
3835 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3836 wxGridCellAttr *result;
3837 PyObject * obj0 = 0 ;
3838 char *kwnames[] = {
3839 (char *) "self", NULL
3840 };
3841
3842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
3847 result = (wxGridCellAttr *)((wxGridCellAttr const *)arg1)->Clone();
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 {
3853 resultobj = wxPyMake_wxGridCellAttr(result);
3854 }
3855 return resultobj;
3856 fail:
3857 return NULL;
3858}
3859
3860
3861static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3862 PyObject *resultobj;
3863 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3864 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
3865 PyObject * obj0 = 0 ;
3866 PyObject * obj1 = 0 ;
3867 char *kwnames[] = {
3868 (char *) "self",(char *) "mergefrom", NULL
3869 };
3870
3871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_MergeWith",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3874 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
3875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3876 {
3877 PyThreadState* __tstate = wxPyBeginAllowThreads();
3878 (arg1)->MergeWith(arg2);
3879
3880 wxPyEndAllowThreads(__tstate);
3881 if (PyErr_Occurred()) SWIG_fail;
3882 }
3883 Py_INCREF(Py_None); resultobj = Py_None;
3884 return resultobj;
3885 fail:
3886 return NULL;
3887}
3888
3889
3890static PyObject *_wrap_GridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3891 PyObject *resultobj;
3892 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3893 PyObject * obj0 = 0 ;
3894 char *kwnames[] = {
3895 (char *) "self", NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IncRef",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 (arg1)->IncRef();
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 Py_INCREF(Py_None); resultobj = Py_None;
3909 return resultobj;
3910 fail:
3911 return NULL;
3912}
3913
3914
3915static PyObject *_wrap_GridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj;
3917 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3918 PyObject * obj0 = 0 ;
3919 char *kwnames[] = {
3920 (char *) "self", NULL
3921 };
3922
3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_DecRef",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3926 {
3927 PyThreadState* __tstate = wxPyBeginAllowThreads();
3928 (arg1)->DecRef();
3929
3930 wxPyEndAllowThreads(__tstate);
3931 if (PyErr_Occurred()) SWIG_fail;
3932 }
3933 Py_INCREF(Py_None); resultobj = Py_None;
3934 return resultobj;
3935 fail:
3936 return NULL;
3937}
3938
3939
3940static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3941 PyObject *resultobj;
3942 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3943 wxColour *arg2 = 0 ;
3944 wxColour temp2 ;
3945 PyObject * obj0 = 0 ;
3946 PyObject * obj1 = 0 ;
3947 char *kwnames[] = {
3948 (char *) "self",(char *) "colText", NULL
3949 };
3950
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3954 {
3955 arg2 = &temp2;
3956 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3957 }
3958 {
3959 PyThreadState* __tstate = wxPyBeginAllowThreads();
3960 (arg1)->SetTextColour((wxColour const &)*arg2);
3961
3962 wxPyEndAllowThreads(__tstate);
3963 if (PyErr_Occurred()) SWIG_fail;
3964 }
3965 Py_INCREF(Py_None); resultobj = Py_None;
3966 return resultobj;
3967 fail:
3968 return NULL;
3969}
3970
3971
3972static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3973 PyObject *resultobj;
3974 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3975 wxColour *arg2 = 0 ;
3976 wxColour temp2 ;
3977 PyObject * obj0 = 0 ;
3978 PyObject * obj1 = 0 ;
3979 char *kwnames[] = {
3980 (char *) "self",(char *) "colBack", NULL
3981 };
3982
3983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3986 {
3987 arg2 = &temp2;
3988 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3989 }
3990 {
3991 PyThreadState* __tstate = wxPyBeginAllowThreads();
3992 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
3993
3994 wxPyEndAllowThreads(__tstate);
3995 if (PyErr_Occurred()) SWIG_fail;
3996 }
3997 Py_INCREF(Py_None); resultobj = Py_None;
3998 return resultobj;
3999 fail:
4000 return NULL;
4001}
4002
4003
4004static PyObject *_wrap_GridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4005 PyObject *resultobj;
4006 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4007 wxFont *arg2 = 0 ;
4008 PyObject * obj0 = 0 ;
4009 PyObject * obj1 = 0 ;
4010 char *kwnames[] = {
4011 (char *) "self",(char *) "font", NULL
4012 };
4013
4014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4017 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
4018 SWIG_POINTER_EXCEPTION | 0)) == -1)
4019 SWIG_fail;
d14a1e28 4020 if (arg2 == NULL) {
2f4c0a16
RD
4021 PyErr_SetString(PyExc_TypeError,"null reference");
4022 SWIG_fail;
d14a1e28
RD
4023 }
4024 {
4025 PyThreadState* __tstate = wxPyBeginAllowThreads();
4026 (arg1)->SetFont((wxFont const &)*arg2);
4027
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 Py_INCREF(Py_None); resultobj = Py_None;
4032 return resultobj;
4033 fail:
4034 return NULL;
4035}
4036
4037
4038static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4039 PyObject *resultobj;
4040 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4041 int arg2 ;
4042 int arg3 ;
4043 PyObject * obj0 = 0 ;
8edf1c75
RD
4044 PyObject * obj1 = 0 ;
4045 PyObject * obj2 = 0 ;
d14a1e28
RD
4046 char *kwnames[] = {
4047 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4048 };
4049
8edf1c75 4050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4053 arg2 = (int) SWIG_AsInt(obj1);
4054 if (PyErr_Occurred()) SWIG_fail;
4055 arg3 = (int) SWIG_AsInt(obj2);
4056 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4057 {
4058 PyThreadState* __tstate = wxPyBeginAllowThreads();
4059 (arg1)->SetAlignment(arg2,arg3);
4060
4061 wxPyEndAllowThreads(__tstate);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 }
4064 Py_INCREF(Py_None); resultobj = Py_None;
4065 return resultobj;
4066 fail:
4067 return NULL;
4068}
4069
4070
4071static PyObject *_wrap_GridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4072 PyObject *resultobj;
4073 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4074 int arg2 ;
4075 int arg3 ;
4076 PyObject * obj0 = 0 ;
8edf1c75
RD
4077 PyObject * obj1 = 0 ;
4078 PyObject * obj2 = 0 ;
d14a1e28
RD
4079 char *kwnames[] = {
4080 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4081 };
4082
8edf1c75 4083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4086 arg2 = (int) SWIG_AsInt(obj1);
4087 if (PyErr_Occurred()) SWIG_fail;
4088 arg3 = (int) SWIG_AsInt(obj2);
4089 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 (arg1)->SetSize(arg2,arg3);
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 Py_INCREF(Py_None); resultobj = Py_None;
4098 return resultobj;
4099 fail:
4100 return NULL;
4101}
4102
4103
4104static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4105 PyObject *resultobj;
4106 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
423f194a 4107 bool arg2 = (bool) True ;
d14a1e28
RD
4108 PyObject * obj0 = 0 ;
4109 PyObject * obj1 = 0 ;
4110 char *kwnames[] = {
4111 (char *) "self",(char *) "allow", NULL
4112 };
4113
4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetOverflow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4117 if (obj1) {
2f4c0a16
RD
4118 arg2 = (bool) SWIG_AsBool(obj1);
4119 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4120 }
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 (arg1)->SetOverflow(arg2);
4124
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 Py_INCREF(Py_None); resultobj = Py_None;
4129 return resultobj;
4130 fail:
4131 return NULL;
4132}
4133
4134
4135static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4136 PyObject *resultobj;
4137 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
423f194a 4138 bool arg2 = (bool) True ;
d14a1e28
RD
4139 PyObject * obj0 = 0 ;
4140 PyObject * obj1 = 0 ;
4141 char *kwnames[] = {
4142 (char *) "self",(char *) "isReadOnly", NULL
4143 };
4144
4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4148 if (obj1) {
2f4c0a16
RD
4149 arg2 = (bool) SWIG_AsBool(obj1);
4150 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4151 }
4152 {
4153 PyThreadState* __tstate = wxPyBeginAllowThreads();
4154 (arg1)->SetReadOnly(arg2);
4155
4156 wxPyEndAllowThreads(__tstate);
4157 if (PyErr_Occurred()) SWIG_fail;
4158 }
4159 Py_INCREF(Py_None); resultobj = Py_None;
4160 return resultobj;
4161 fail:
4162 return NULL;
4163}
4164
4165
4166static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4167 PyObject *resultobj;
4168 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4169 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
4170 PyObject * obj0 = 0 ;
4171 PyObject * obj1 = 0 ;
4172 char *kwnames[] = {
4173 (char *) "self",(char *) "renderer", NULL
4174 };
4175
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetRenderer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
4180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4181 {
4182 PyThreadState* __tstate = wxPyBeginAllowThreads();
4183 (arg1)->SetRenderer(arg2);
4184
4185 wxPyEndAllowThreads(__tstate);
4186 if (PyErr_Occurred()) SWIG_fail;
4187 }
4188 Py_INCREF(Py_None); resultobj = Py_None;
4189 return resultobj;
4190 fail:
4191 return NULL;
4192}
4193
4194
4195static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4196 PyObject *resultobj;
4197 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4198 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
4199 PyObject * obj0 = 0 ;
4200 PyObject * obj1 = 0 ;
4201 char *kwnames[] = {
4202 (char *) "self",(char *) "editor", NULL
4203 };
4204
4205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetEditor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
4209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4210 {
4211 PyThreadState* __tstate = wxPyBeginAllowThreads();
4212 (arg1)->SetEditor(arg2);
4213
4214 wxPyEndAllowThreads(__tstate);
4215 if (PyErr_Occurred()) SWIG_fail;
4216 }
4217 Py_INCREF(Py_None); resultobj = Py_None;
4218 return resultobj;
4219 fail:
4220 return NULL;
4221}
4222
4223
4224static PyObject *_wrap_GridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
4225 PyObject *resultobj;
4226 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4227 int arg2 ;
4228 PyObject * obj0 = 0 ;
8edf1c75 4229 PyObject * obj1 = 0 ;
d14a1e28
RD
4230 char *kwnames[] = {
4231 (char *) "self",(char *) "kind", NULL
4232 };
4233
8edf1c75 4234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetKind",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4237 arg2 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj1);
4238 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4239 {
4240 PyThreadState* __tstate = wxPyBeginAllowThreads();
4241 (arg1)->SetKind((wxGridCellAttr::wxAttrKind )arg2);
4242
4243 wxPyEndAllowThreads(__tstate);
4244 if (PyErr_Occurred()) SWIG_fail;
4245 }
4246 Py_INCREF(Py_None); resultobj = Py_None;
4247 return resultobj;
4248 fail:
4249 return NULL;
4250}
4251
4252
4253static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4254 PyObject *resultobj;
4255 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4256 bool result;
4257 PyObject * obj0 = 0 ;
4258 char *kwnames[] = {
4259 (char *) "self", NULL
4260 };
4261
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4265 {
4266 PyThreadState* __tstate = wxPyBeginAllowThreads();
4267 result = (bool)((wxGridCellAttr const *)arg1)->HasTextColour();
4268
4269 wxPyEndAllowThreads(__tstate);
4270 if (PyErr_Occurred()) SWIG_fail;
4271 }
4f89f6a3
RD
4272 {
4273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4274 }
d14a1e28
RD
4275 return resultobj;
4276 fail:
4277 return NULL;
4278}
4279
4280
4281static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4282 PyObject *resultobj;
4283 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4284 bool result;
4285 PyObject * obj0 = 0 ;
4286 char *kwnames[] = {
4287 (char *) "self", NULL
4288 };
4289
4290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 result = (bool)((wxGridCellAttr const *)arg1)->HasBackgroundColour();
4296
4297 wxPyEndAllowThreads(__tstate);
4298 if (PyErr_Occurred()) SWIG_fail;
4299 }
4f89f6a3
RD
4300 {
4301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4302 }
d14a1e28
RD
4303 return resultobj;
4304 fail:
4305 return NULL;
4306}
4307
4308
4309static PyObject *_wrap_GridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4310 PyObject *resultobj;
4311 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4312 bool result;
4313 PyObject * obj0 = 0 ;
4314 char *kwnames[] = {
4315 (char *) "self", NULL
4316 };
4317
4318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4321 {
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 result = (bool)((wxGridCellAttr const *)arg1)->HasFont();
4324
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4f89f6a3
RD
4328 {
4329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4330 }
d14a1e28
RD
4331 return resultobj;
4332 fail:
4333 return NULL;
4334}
4335
4336
4337static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4338 PyObject *resultobj;
4339 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4340 bool result;
4341 PyObject * obj0 = 0 ;
4342 char *kwnames[] = {
4343 (char *) "self", NULL
4344 };
4345
4346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasAlignment",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4349 {
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 result = (bool)((wxGridCellAttr const *)arg1)->HasAlignment();
4352
4353 wxPyEndAllowThreads(__tstate);
4354 if (PyErr_Occurred()) SWIG_fail;
4355 }
4f89f6a3
RD
4356 {
4357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4358 }
d14a1e28
RD
4359 return resultobj;
4360 fail:
4361 return NULL;
4362}
4363
4364
4365static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4366 PyObject *resultobj;
4367 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4368 bool result;
4369 PyObject * obj0 = 0 ;
4370 char *kwnames[] = {
4371 (char *) "self", NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasRenderer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4377 {
4378 PyThreadState* __tstate = wxPyBeginAllowThreads();
4379 result = (bool)((wxGridCellAttr const *)arg1)->HasRenderer();
4380
4381 wxPyEndAllowThreads(__tstate);
4382 if (PyErr_Occurred()) SWIG_fail;
4383 }
4f89f6a3
RD
4384 {
4385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4386 }
d14a1e28
RD
4387 return resultobj;
4388 fail:
4389 return NULL;
4390}
4391
4392
4393static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4394 PyObject *resultobj;
4395 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4396 bool result;
4397 PyObject * obj0 = 0 ;
4398 char *kwnames[] = {
4399 (char *) "self", NULL
4400 };
4401
4402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasEditor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4405 {
4406 PyThreadState* __tstate = wxPyBeginAllowThreads();
4407 result = (bool)((wxGridCellAttr const *)arg1)->HasEditor();
4408
4409 wxPyEndAllowThreads(__tstate);
4410 if (PyErr_Occurred()) SWIG_fail;
4411 }
4f89f6a3
RD
4412 {
4413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4414 }
d14a1e28
RD
4415 return resultobj;
4416 fail:
4417 return NULL;
4418}
4419
4420
4421static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4422 PyObject *resultobj;
4423 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4424 bool result;
4425 PyObject * obj0 = 0 ;
4426 char *kwnames[] = {
4427 (char *) "self", NULL
4428 };
4429
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4433 {
4434 PyThreadState* __tstate = wxPyBeginAllowThreads();
4435 result = (bool)((wxGridCellAttr const *)arg1)->HasReadWriteMode();
4436
4437 wxPyEndAllowThreads(__tstate);
4438 if (PyErr_Occurred()) SWIG_fail;
4439 }
4f89f6a3
RD
4440 {
4441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4442 }
d14a1e28
RD
4443 return resultobj;
4444 fail:
4445 return NULL;
4446}
4447
4448
4449static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4450 PyObject *resultobj;
4451 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4452 bool result;
4453 PyObject * obj0 = 0 ;
4454 char *kwnames[] = {
4455 (char *) "self", NULL
4456 };
4457
4458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasOverflowMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4461 {
4462 PyThreadState* __tstate = wxPyBeginAllowThreads();
4463 result = (bool)((wxGridCellAttr const *)arg1)->HasOverflowMode();
4464
4465 wxPyEndAllowThreads(__tstate);
4466 if (PyErr_Occurred()) SWIG_fail;
4467 }
4f89f6a3
RD
4468 {
4469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4470 }
d14a1e28
RD
4471 return resultobj;
4472 fail:
4473 return NULL;
4474}
4475
4476
4477static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4478 PyObject *resultobj;
4479 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4480 wxColour result;
4481 PyObject * obj0 = 0 ;
4482 char *kwnames[] = {
4483 (char *) "self", NULL
4484 };
4485
4486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4489 {
4490 PyThreadState* __tstate = wxPyBeginAllowThreads();
4491 result = ((wxGridCellAttr const *)arg1)->GetTextColour();
4492
4493 wxPyEndAllowThreads(__tstate);
4494 if (PyErr_Occurred()) SWIG_fail;
4495 }
4496 {
4497 wxColour * resultptr;
4498 resultptr = new wxColour((wxColour &) result);
2f4c0a16 4499 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4500 }
4501 return resultobj;
4502 fail:
4503 return NULL;
4504}
4505
4506
4507static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4508 PyObject *resultobj;
4509 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4510 wxColour result;
4511 PyObject * obj0 = 0 ;
4512 char *kwnames[] = {
4513 (char *) "self", NULL
4514 };
4515
4516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4519 {
4520 PyThreadState* __tstate = wxPyBeginAllowThreads();
4521 result = ((wxGridCellAttr const *)arg1)->GetBackgroundColour();
4522
4523 wxPyEndAllowThreads(__tstate);
4524 if (PyErr_Occurred()) SWIG_fail;
4525 }
4526 {
4527 wxColour * resultptr;
4528 resultptr = new wxColour((wxColour &) result);
2f4c0a16 4529 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4530 }
4531 return resultobj;
4532 fail:
4533 return NULL;
4534}
4535
4536
4537static PyObject *_wrap_GridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4538 PyObject *resultobj;
4539 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4540 wxFont result;
4541 PyObject * obj0 = 0 ;
4542 char *kwnames[] = {
4543 (char *) "self", NULL
4544 };
4545
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 result = ((wxGridCellAttr const *)arg1)->GetFont();
4552
4553 wxPyEndAllowThreads(__tstate);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
4556 {
4557 wxFont * resultptr;
4558 resultptr = new wxFont((wxFont &) result);
2f4c0a16 4559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
4560 }
4561 return resultobj;
4562 fail:
4563 return NULL;
4564}
4565
4566
4567static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4568 PyObject *resultobj;
4569 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4570 int *arg2 = (int *) 0 ;
4571 int *arg3 = (int *) 0 ;
4572 int temp2 ;
4573 int temp3 ;
4574 PyObject * obj0 = 0 ;
4575 char *kwnames[] = {
4576 (char *) "self", NULL
4577 };
4578
4579 arg2 = &temp2;
4580 arg3 = &temp3;
4581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetAlignment",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4584 {
4585 PyThreadState* __tstate = wxPyBeginAllowThreads();
4586 ((wxGridCellAttr const *)arg1)->GetAlignment(arg2,arg3);
4587
4588 wxPyEndAllowThreads(__tstate);
4589 if (PyErr_Occurred()) SWIG_fail;
4590 }
4591 Py_INCREF(Py_None); resultobj = Py_None;
4592 {
4593 PyObject *o = PyInt_FromLong((long) (*arg2));
4594 resultobj = t_output_helper(resultobj,o);
4595 }
4596 {
4597 PyObject *o = PyInt_FromLong((long) (*arg3));
4598 resultobj = t_output_helper(resultobj,o);
4599 }
4600 return resultobj;
4601 fail:
4602 return NULL;
4603}
4604
4605
4606static PyObject *_wrap_GridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4607 PyObject *resultobj;
4608 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4609 int *arg2 = (int *) 0 ;
4610 int *arg3 = (int *) 0 ;
4611 int temp2 ;
4612 int temp3 ;
4613 PyObject * obj0 = 0 ;
4614 char *kwnames[] = {
4615 (char *) "self", NULL
4616 };
4617
4618 arg2 = &temp2;
4619 arg3 = &temp3;
4620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4623 {
4624 PyThreadState* __tstate = wxPyBeginAllowThreads();
4625 ((wxGridCellAttr const *)arg1)->GetSize(arg2,arg3);
4626
4627 wxPyEndAllowThreads(__tstate);
4628 if (PyErr_Occurred()) SWIG_fail;
4629 }
4630 Py_INCREF(Py_None); resultobj = Py_None;
4631 {
4632 PyObject *o = PyInt_FromLong((long) (*arg2));
4633 resultobj = t_output_helper(resultobj,o);
4634 }
4635 {
4636 PyObject *o = PyInt_FromLong((long) (*arg3));
4637 resultobj = t_output_helper(resultobj,o);
4638 }
4639 return resultobj;
4640 fail:
4641 return NULL;
4642}
4643
4644
4645static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4646 PyObject *resultobj;
4647 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4648 bool result;
4649 PyObject * obj0 = 0 ;
4650 char *kwnames[] = {
4651 (char *) "self", NULL
4652 };
4653
4654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetOverflow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4657 {
4658 PyThreadState* __tstate = wxPyBeginAllowThreads();
4659 result = (bool)((wxGridCellAttr const *)arg1)->GetOverflow();
4660
4661 wxPyEndAllowThreads(__tstate);
4662 if (PyErr_Occurred()) SWIG_fail;
4663 }
4f89f6a3
RD
4664 {
4665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4666 }
d14a1e28
RD
4667 return resultobj;
4668 fail:
4669 return NULL;
4670}
4671
4672
4673static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4674 PyObject *resultobj;
4675 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4676 wxGrid *arg2 = (wxGrid *) 0 ;
4677 int arg3 ;
4678 int arg4 ;
4679 wxGridCellRenderer *result;
4680 PyObject * obj0 = 0 ;
4681 PyObject * obj1 = 0 ;
8edf1c75
RD
4682 PyObject * obj2 = 0 ;
4683 PyObject * obj3 = 0 ;
d14a1e28
RD
4684 char *kwnames[] = {
4685 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4686 };
4687
8edf1c75 4688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
4689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4691 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4693 arg3 = (int) SWIG_AsInt(obj2);
4694 if (PyErr_Occurred()) SWIG_fail;
4695 arg4 = (int) SWIG_AsInt(obj3);
4696 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4697 {
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 result = (wxGridCellRenderer *)((wxGridCellAttr const *)arg1)->GetRenderer(arg2,arg3,arg4);
4700
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 {
4705 resultobj = wxPyMake_wxGridCellRenderer(result);
4706 }
4707 return resultobj;
4708 fail:
4709 return NULL;
4710}
4711
4712
4713static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4714 PyObject *resultobj;
4715 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4716 wxGrid *arg2 = (wxGrid *) 0 ;
4717 int arg3 ;
4718 int arg4 ;
4719 wxGridCellEditor *result;
4720 PyObject * obj0 = 0 ;
4721 PyObject * obj1 = 0 ;
8edf1c75
RD
4722 PyObject * obj2 = 0 ;
4723 PyObject * obj3 = 0 ;
d14a1e28
RD
4724 char *kwnames[] = {
4725 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4726 };
4727
8edf1c75 4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
4729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4733 arg3 = (int) SWIG_AsInt(obj2);
4734 if (PyErr_Occurred()) SWIG_fail;
4735 arg4 = (int) SWIG_AsInt(obj3);
4736 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 result = (wxGridCellEditor *)((wxGridCellAttr const *)arg1)->GetEditor(arg2,arg3,arg4);
4740
4741 wxPyEndAllowThreads(__tstate);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 }
4744 {
4745 resultobj = wxPyMake_wxGridCellEditor(result);
4746 }
4747 return resultobj;
4748 fail:
4749 return NULL;
4750}
4751
4752
4753static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4754 PyObject *resultobj;
4755 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4756 bool result;
4757 PyObject * obj0 = 0 ;
4758 char *kwnames[] = {
4759 (char *) "self", NULL
4760 };
4761
4762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IsReadOnly",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4765 {
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = (bool)((wxGridCellAttr const *)arg1)->IsReadOnly();
4768
4769 wxPyEndAllowThreads(__tstate);
4770 if (PyErr_Occurred()) SWIG_fail;
4771 }
4f89f6a3
RD
4772 {
4773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4774 }
d14a1e28
RD
4775 return resultobj;
4776 fail:
4777 return NULL;
4778}
4779
4780
4781static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4782 PyObject *resultobj;
4783 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4784 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4785 PyObject * obj0 = 0 ;
4786 PyObject * obj1 = 0 ;
4787 char *kwnames[] = {
4788 (char *) "self",(char *) "defAttr", NULL
4789 };
4790
4791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetDefAttr",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4794 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4796 {
4797 PyThreadState* __tstate = wxPyBeginAllowThreads();
4798 (arg1)->SetDefAttr(arg2);
4799
4800 wxPyEndAllowThreads(__tstate);
4801 if (PyErr_Occurred()) SWIG_fail;
4802 }
4803 Py_INCREF(Py_None); resultobj = Py_None;
4804 return resultobj;
4805 fail:
4806 return NULL;
4807}
4808
4809
4810static PyObject * GridCellAttr_swigregister(PyObject *self, PyObject *args) {
4811 PyObject *obj;
4812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4813 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr, obj);
4814 Py_INCREF(obj);
4815 return Py_BuildValue((char *)"");
4816}
4817static PyObject *_wrap_new_GridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4818 PyObject *resultobj;
4819 wxGridCellAttrProvider *result;
4820 char *kwnames[] = {
4821 NULL
4822 };
4823
4824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAttrProvider",kwnames)) goto fail;
4825 {
4826 PyThreadState* __tstate = wxPyBeginAllowThreads();
4827 result = (wxGridCellAttrProvider *)new wxGridCellAttrProvider();
4828
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 {
4833 resultobj = wxPyMake_wxGridCellAttrProvider(result);
4834 }
4835 return resultobj;
4836 fail:
4837 return NULL;
4838}
4839
4840
4841static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4842 PyObject *resultobj;
4843 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4844 PyObject *arg2 = (PyObject *) 0 ;
4845 PyObject * obj0 = 0 ;
4846 PyObject * obj1 = 0 ;
4847 char *kwnames[] = {
4848 (char *) "self",(char *) "_self", NULL
4849 };
4850
4851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4854 arg2 = obj1;
4855 {
4856 PyThreadState* __tstate = wxPyBeginAllowThreads();
4857 wxGridCellAttrProvider__setOORInfo(arg1,arg2);
4858
4859 wxPyEndAllowThreads(__tstate);
4860 if (PyErr_Occurred()) SWIG_fail;
4861 }
4862 Py_INCREF(Py_None); resultobj = Py_None;
4863 return resultobj;
4864 fail:
4865 return NULL;
4866}
4867
4868
4869static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4870 PyObject *resultobj;
4871 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4872 int arg2 ;
4873 int arg3 ;
4874 int arg4 ;
4875 wxGridCellAttr *result;
4876 PyObject * obj0 = 0 ;
8edf1c75
RD
4877 PyObject * obj1 = 0 ;
4878 PyObject * obj2 = 0 ;
4879 PyObject * obj3 = 0 ;
d14a1e28
RD
4880 char *kwnames[] = {
4881 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4882 };
4883
8edf1c75 4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
4885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4887 arg2 = (int) SWIG_AsInt(obj1);
4888 if (PyErr_Occurred()) SWIG_fail;
4889 arg3 = (int) SWIG_AsInt(obj2);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
4892 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4893 {
4894 PyThreadState* __tstate = wxPyBeginAllowThreads();
4895 result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
4896
4897 wxPyEndAllowThreads(__tstate);
4898 if (PyErr_Occurred()) SWIG_fail;
4899 }
4900 {
4901 resultobj = wxPyMake_wxGridCellAttr(result);
4902 }
4903 return resultobj;
4904 fail:
4905 return NULL;
4906}
4907
4908
4909static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4910 PyObject *resultobj;
4911 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4912 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4913 int arg3 ;
4914 int arg4 ;
4915 PyObject * obj0 = 0 ;
4916 PyObject * obj1 = 0 ;
8edf1c75
RD
4917 PyObject * obj2 = 0 ;
4918 PyObject * obj3 = 0 ;
d14a1e28
RD
4919 char *kwnames[] = {
4920 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4921 };
4922
8edf1c75 4923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
4924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4926 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4928 arg3 = (int) SWIG_AsInt(obj2);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 arg4 = (int) SWIG_AsInt(obj3);
4931 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4932 {
4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4934 (arg1)->SetAttr(arg2,arg3,arg4);
4935
4936 wxPyEndAllowThreads(__tstate);
4937 if (PyErr_Occurred()) SWIG_fail;
4938 }
4939 Py_INCREF(Py_None); resultobj = Py_None;
4940 return resultobj;
4941 fail:
4942 return NULL;
4943}
4944
4945
4946static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4947 PyObject *resultobj;
4948 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4949 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4950 int arg3 ;
4951 PyObject * obj0 = 0 ;
4952 PyObject * obj1 = 0 ;
8edf1c75 4953 PyObject * obj2 = 0 ;
d14a1e28
RD
4954 char *kwnames[] = {
4955 (char *) "self",(char *) "attr",(char *) "row", NULL
4956 };
4957
8edf1c75 4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4961 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4963 arg3 = (int) SWIG_AsInt(obj2);
4964 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4965 {
4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
4967 (arg1)->SetRowAttr(arg2,arg3);
4968
4969 wxPyEndAllowThreads(__tstate);
4970 if (PyErr_Occurred()) SWIG_fail;
4971 }
4972 Py_INCREF(Py_None); resultobj = Py_None;
4973 return resultobj;
4974 fail:
4975 return NULL;
4976}
4977
4978
4979static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4980 PyObject *resultobj;
4981 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4982 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4983 int arg3 ;
4984 PyObject * obj0 = 0 ;
4985 PyObject * obj1 = 0 ;
8edf1c75 4986 PyObject * obj2 = 0 ;
d14a1e28
RD
4987 char *kwnames[] = {
4988 (char *) "self",(char *) "attr",(char *) "col", NULL
4989 };
4990
8edf1c75 4991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4994 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4996 arg3 = (int) SWIG_AsInt(obj2);
4997 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 (arg1)->SetColAttr(arg2,arg3);
5001
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 Py_INCREF(Py_None); resultobj = Py_None;
5006 return resultobj;
5007 fail:
5008 return NULL;
5009}
5010
5011
5012static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5013 PyObject *resultobj;
5014 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5015 size_t arg2 ;
5016 int arg3 ;
5017 PyObject * obj0 = 0 ;
5018 PyObject * obj1 = 0 ;
8edf1c75 5019 PyObject * obj2 = 0 ;
d14a1e28
RD
5020 char *kwnames[] = {
5021 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5022 };
5023
8edf1c75 5024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5027 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5028 if (PyErr_Occurred()) SWIG_fail;
5029 arg3 = (int) SWIG_AsInt(obj2);
5030 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5031 {
5032 PyThreadState* __tstate = wxPyBeginAllowThreads();
5033 (arg1)->UpdateAttrRows(arg2,arg3);
5034
5035 wxPyEndAllowThreads(__tstate);
5036 if (PyErr_Occurred()) SWIG_fail;
5037 }
5038 Py_INCREF(Py_None); resultobj = Py_None;
5039 return resultobj;
5040 fail:
5041 return NULL;
5042}
5043
5044
5045static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5046 PyObject *resultobj;
5047 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5048 size_t arg2 ;
5049 int arg3 ;
5050 PyObject * obj0 = 0 ;
5051 PyObject * obj1 = 0 ;
8edf1c75 5052 PyObject * obj2 = 0 ;
d14a1e28
RD
5053 char *kwnames[] = {
5054 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5055 };
5056
8edf1c75 5057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5060 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5061 if (PyErr_Occurred()) SWIG_fail;
5062 arg3 = (int) SWIG_AsInt(obj2);
5063 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5064 {
5065 PyThreadState* __tstate = wxPyBeginAllowThreads();
5066 (arg1)->UpdateAttrCols(arg2,arg3);
5067
5068 wxPyEndAllowThreads(__tstate);
5069 if (PyErr_Occurred()) SWIG_fail;
5070 }
5071 Py_INCREF(Py_None); resultobj = Py_None;
5072 return resultobj;
5073 fail:
5074 return NULL;
5075}
5076
5077
5078static PyObject * GridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
5079 PyObject *obj;
5080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5081 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider, obj);
5082 Py_INCREF(obj);
5083 return Py_BuildValue((char *)"");
5084}
5085static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5086 PyObject *resultobj;
5087 wxPyGridCellAttrProvider *result;
5088 char *kwnames[] = {
5089 NULL
5090 };
5091
5092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellAttrProvider",kwnames)) goto fail;
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 result = (wxPyGridCellAttrProvider *)new wxPyGridCellAttrProvider();
5096
5097 wxPyEndAllowThreads(__tstate);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
2f4c0a16 5100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellAttrProvider, 1);
d14a1e28
RD
5101 return resultobj;
5102 fail:
5103 return NULL;
5104}
5105
5106
5107static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5108 PyObject *resultobj;
5109 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5110 PyObject *arg2 = (PyObject *) 0 ;
5111 PyObject *arg3 = (PyObject *) 0 ;
5112 PyObject * obj0 = 0 ;
5113 PyObject * obj1 = 0 ;
5114 PyObject * obj2 = 0 ;
5115 char *kwnames[] = {
5116 (char *) "self",(char *) "self",(char *) "_class", NULL
5117 };
5118
5119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5122 arg2 = obj1;
5123 arg3 = obj2;
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 (arg1)->_setCallbackInfo(arg2,arg3);
5127
5128 wxPyEndAllowThreads(__tstate);
5129 if (PyErr_Occurred()) SWIG_fail;
5130 }
5131 Py_INCREF(Py_None); resultobj = Py_None;
5132 return resultobj;
5133 fail:
5134 return NULL;
5135}
5136
5137
5138static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5139 PyObject *resultobj;
5140 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5141 int arg2 ;
5142 int arg3 ;
5143 int arg4 ;
5144 wxGridCellAttr *result;
5145 PyObject * obj0 = 0 ;
8edf1c75
RD
5146 PyObject * obj1 = 0 ;
5147 PyObject * obj2 = 0 ;
5148 PyObject * obj3 = 0 ;
d14a1e28
RD
5149 char *kwnames[] = {
5150 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5151 };
5152
8edf1c75 5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5156 arg2 = (int) SWIG_AsInt(obj1);
5157 if (PyErr_Occurred()) SWIG_fail;
5158 arg3 = (int) SWIG_AsInt(obj2);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
5161 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
5165
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) SWIG_fail;
5168 }
5169 {
5170 resultobj = wxPyMake_wxGridCellAttr(result);
5171 }
5172 return resultobj;
5173 fail:
5174 return NULL;
5175}
5176
5177
5178static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5179 PyObject *resultobj;
5180 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5181 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5182 int arg3 ;
5183 int arg4 ;
5184 PyObject * obj0 = 0 ;
5185 PyObject * obj1 = 0 ;
8edf1c75
RD
5186 PyObject * obj2 = 0 ;
5187 PyObject * obj3 = 0 ;
d14a1e28
RD
5188 char *kwnames[] = {
5189 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5190 };
5191
8edf1c75 5192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5197 arg3 = (int) SWIG_AsInt(obj2);
5198 if (PyErr_Occurred()) SWIG_fail;
5199 arg4 = (int) SWIG_AsInt(obj3);
5200 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 (arg1)->base_SetAttr(arg2,arg3,arg4);
5204
5205 wxPyEndAllowThreads(__tstate);
5206 if (PyErr_Occurred()) SWIG_fail;
5207 }
5208 Py_INCREF(Py_None); resultobj = Py_None;
5209 return resultobj;
5210 fail:
5211 return NULL;
5212}
5213
5214
5215static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5216 PyObject *resultobj;
5217 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5218 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5219 int arg3 ;
5220 PyObject * obj0 = 0 ;
5221 PyObject * obj1 = 0 ;
8edf1c75 5222 PyObject * obj2 = 0 ;
d14a1e28
RD
5223 char *kwnames[] = {
5224 (char *) "self",(char *) "attr",(char *) "row", NULL
5225 };
5226
8edf1c75 5227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5232 arg3 = (int) SWIG_AsInt(obj2);
5233 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5234 {
5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
5236 (arg1)->base_SetRowAttr(arg2,arg3);
5237
5238 wxPyEndAllowThreads(__tstate);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 }
5241 Py_INCREF(Py_None); resultobj = Py_None;
5242 return resultobj;
5243 fail:
5244 return NULL;
5245}
5246
5247
5248static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5249 PyObject *resultobj;
5250 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5251 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5252 int arg3 ;
5253 PyObject * obj0 = 0 ;
5254 PyObject * obj1 = 0 ;
8edf1c75 5255 PyObject * obj2 = 0 ;
d14a1e28
RD
5256 char *kwnames[] = {
5257 (char *) "self",(char *) "attr",(char *) "col", NULL
5258 };
5259
8edf1c75 5260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5263 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5265 arg3 = (int) SWIG_AsInt(obj2);
5266 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 (arg1)->base_SetColAttr(arg2,arg3);
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 Py_INCREF(Py_None); resultobj = Py_None;
5275 return resultobj;
5276 fail:
5277 return NULL;
5278}
5279
5280
5281static PyObject * PyGridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
5282 PyObject *obj;
5283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5284 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider, obj);
5285 Py_INCREF(obj);
5286 return Py_BuildValue((char *)"");
5287}
5288static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5289 PyObject *resultobj;
5290 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5291 PyObject *arg2 = (PyObject *) 0 ;
5292 PyObject * obj0 = 0 ;
5293 PyObject * obj1 = 0 ;
5294 char *kwnames[] = {
5295 (char *) "self",(char *) "_self", NULL
5296 };
5297
5298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5301 arg2 = obj1;
5302 {
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 wxGridTableBase__setOORInfo(arg1,arg2);
5305
5306 wxPyEndAllowThreads(__tstate);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
5309 Py_INCREF(Py_None); resultobj = Py_None;
5310 return resultobj;
5311 fail:
5312 return NULL;
5313}
5314
5315
5316static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5317 PyObject *resultobj;
5318 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5319 wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ;
5320 PyObject * obj0 = 0 ;
5321 PyObject * obj1 = 0 ;
5322 char *kwnames[] = {
5323 (char *) "self",(char *) "attrProvider", NULL
5324 };
5325
5326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetAttrProvider",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5329 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttrProvider,
5330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5331 {
5332 PyThreadState* __tstate = wxPyBeginAllowThreads();
5333 (arg1)->SetAttrProvider(arg2);
5334
5335 wxPyEndAllowThreads(__tstate);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 }
5338 Py_INCREF(Py_None); resultobj = Py_None;
5339 return resultobj;
5340 fail:
5341 return NULL;
5342}
5343
5344
5345static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5346 PyObject *resultobj;
5347 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5348 wxGridCellAttrProvider *result;
5349 PyObject * obj0 = 0 ;
5350 char *kwnames[] = {
5351 (char *) "self", NULL
5352 };
5353
5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetAttrProvider",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5357 {
5358 PyThreadState* __tstate = wxPyBeginAllowThreads();
5359 result = (wxGridCellAttrProvider *)((wxGridTableBase const *)arg1)->GetAttrProvider();
5360
5361 wxPyEndAllowThreads(__tstate);
5362 if (PyErr_Occurred()) SWIG_fail;
5363 }
5364 {
5365 resultobj = wxPyMake_wxGridCellAttrProvider(result);
5366 }
5367 return resultobj;
5368 fail:
5369 return NULL;
5370}
5371
5372
5373static PyObject *_wrap_GridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5374 PyObject *resultobj;
5375 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5376 wxGrid *arg2 = (wxGrid *) 0 ;
5377 PyObject * obj0 = 0 ;
5378 PyObject * obj1 = 0 ;
5379 char *kwnames[] = {
5380 (char *) "self",(char *) "grid", NULL
5381 };
5382
5383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetView",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
5387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5388 {
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 (arg1)->SetView(arg2);
5391
5392 wxPyEndAllowThreads(__tstate);
5393 if (PyErr_Occurred()) SWIG_fail;
5394 }
5395 Py_INCREF(Py_None); resultobj = Py_None;
5396 return resultobj;
5397 fail:
5398 return NULL;
5399}
5400
5401
5402static PyObject *_wrap_GridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5403 PyObject *resultobj;
5404 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5405 wxGrid *result;
5406 PyObject * obj0 = 0 ;
5407 char *kwnames[] = {
5408 (char *) "self", NULL
5409 };
5410
5411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetView",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5414 {
5415 PyThreadState* __tstate = wxPyBeginAllowThreads();
5416 result = (wxGrid *)((wxGridTableBase const *)arg1)->GetView();
5417
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 {
5422 resultobj = wxPyMake_wxObject(result);
5423 }
5424 return resultobj;
5425 fail:
5426 return NULL;
5427}
5428
5429
5430static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5431 PyObject *resultobj;
5432 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5433 int result;
5434 PyObject * obj0 = 0 ;
5435 char *kwnames[] = {
5436 (char *) "self", NULL
5437 };
5438
5439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberRows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5442 {
5443 PyThreadState* __tstate = wxPyBeginAllowThreads();
5444 result = (int)(arg1)->GetNumberRows();
5445
5446 wxPyEndAllowThreads(__tstate);
5447 if (PyErr_Occurred()) SWIG_fail;
5448 }
2f4c0a16 5449 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5450 return resultobj;
5451 fail:
5452 return NULL;
5453}
5454
5455
5456static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5457 PyObject *resultobj;
5458 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5459 int result;
5460 PyObject * obj0 = 0 ;
5461 char *kwnames[] = {
5462 (char *) "self", NULL
5463 };
5464
5465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberCols",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5468 {
5469 PyThreadState* __tstate = wxPyBeginAllowThreads();
5470 result = (int)(arg1)->GetNumberCols();
5471
5472 wxPyEndAllowThreads(__tstate);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 }
2f4c0a16 5475 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5476 return resultobj;
5477 fail:
5478 return NULL;
5479}
5480
5481
5482static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5483 PyObject *resultobj;
5484 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5485 int arg2 ;
5486 int arg3 ;
5487 bool result;
5488 PyObject * obj0 = 0 ;
8edf1c75
RD
5489 PyObject * obj1 = 0 ;
5490 PyObject * obj2 = 0 ;
d14a1e28
RD
5491 char *kwnames[] = {
5492 (char *) "self",(char *) "row",(char *) "col", NULL
5493 };
5494
8edf1c75 5495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5498 arg2 = (int) SWIG_AsInt(obj1);
5499 if (PyErr_Occurred()) SWIG_fail;
5500 arg3 = (int) SWIG_AsInt(obj2);
5501 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5502 {
5503 PyThreadState* __tstate = wxPyBeginAllowThreads();
5504 result = (bool)(arg1)->IsEmptyCell(arg2,arg3);
5505
5506 wxPyEndAllowThreads(__tstate);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 }
4f89f6a3
RD
5509 {
5510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5511 }
d14a1e28
RD
5512 return resultobj;
5513 fail:
5514 return NULL;
5515}
5516
5517
5518static PyObject *_wrap_GridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5519 PyObject *resultobj;
5520 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5521 int arg2 ;
5522 int arg3 ;
5523 wxString result;
5524 PyObject * obj0 = 0 ;
8edf1c75
RD
5525 PyObject * obj1 = 0 ;
5526 PyObject * obj2 = 0 ;
d14a1e28
RD
5527 char *kwnames[] = {
5528 (char *) "self",(char *) "row",(char *) "col", NULL
5529 };
5530
8edf1c75 5531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5534 arg2 = (int) SWIG_AsInt(obj1);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 arg3 = (int) SWIG_AsInt(obj2);
5537 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5538 {
5539 PyThreadState* __tstate = wxPyBeginAllowThreads();
5540 result = (arg1)->GetValue(arg2,arg3);
5541
5542 wxPyEndAllowThreads(__tstate);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 }
5545 {
5546#if wxUSE_UNICODE
5547 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5548#else
5549 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5550#endif
5551 }
5552 return resultobj;
5553 fail:
5554 return NULL;
5555}
5556
5557
5558static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5559 PyObject *resultobj;
5560 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5561 int arg2 ;
5562 int arg3 ;
5563 wxString *arg4 = 0 ;
423f194a 5564 bool temp4 = False ;
d14a1e28 5565 PyObject * obj0 = 0 ;
8edf1c75
RD
5566 PyObject * obj1 = 0 ;
5567 PyObject * obj2 = 0 ;
d14a1e28
RD
5568 PyObject * obj3 = 0 ;
5569 char *kwnames[] = {
5570 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5571 };
5572
8edf1c75 5573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5576 arg2 = (int) SWIG_AsInt(obj1);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 arg3 = (int) SWIG_AsInt(obj2);
5579 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5580 {
5581 arg4 = wxString_in_helper(obj3);
5582 if (arg4 == NULL) SWIG_fail;
423f194a 5583 temp4 = True;
d14a1e28
RD
5584 }
5585 {
5586 PyThreadState* __tstate = wxPyBeginAllowThreads();
5587 (arg1)->SetValue(arg2,arg3,(wxString const &)*arg4);
5588
5589 wxPyEndAllowThreads(__tstate);
5590 if (PyErr_Occurred()) SWIG_fail;
5591 }
5592 Py_INCREF(Py_None); resultobj = Py_None;
5593 {
5594 if (temp4)
5595 delete arg4;
5596 }
5597 return resultobj;
5598 fail:
5599 {
5600 if (temp4)
5601 delete arg4;
5602 }
5603 return NULL;
5604}
5605
5606
5607static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject *resultobj;
5609 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5610 int arg2 ;
5611 int arg3 ;
5612 wxString result;
5613 PyObject * obj0 = 0 ;
8edf1c75
RD
5614 PyObject * obj1 = 0 ;
5615 PyObject * obj2 = 0 ;
d14a1e28
RD
5616 char *kwnames[] = {
5617 (char *) "self",(char *) "row",(char *) "col", NULL
5618 };
5619
8edf1c75 5620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5623 arg2 = (int) SWIG_AsInt(obj1);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 arg3 = (int) SWIG_AsInt(obj2);
5626 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 result = (arg1)->GetTypeName(arg2,arg3);
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 {
5635#if wxUSE_UNICODE
5636 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5637#else
5638 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5639#endif
5640 }
5641 return resultobj;
5642 fail:
5643 return NULL;
5644}
5645
5646
5647static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5648 PyObject *resultobj;
5649 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5650 int arg2 ;
5651 int arg3 ;
5652 wxString *arg4 = 0 ;
5653 bool result;
423f194a 5654 bool temp4 = False ;
d14a1e28 5655 PyObject * obj0 = 0 ;
8edf1c75
RD
5656 PyObject * obj1 = 0 ;
5657 PyObject * obj2 = 0 ;
d14a1e28
RD
5658 PyObject * obj3 = 0 ;
5659 char *kwnames[] = {
5660 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5661 };
5662
8edf1c75 5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5666 arg2 = (int) SWIG_AsInt(obj1);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 arg3 = (int) SWIG_AsInt(obj2);
5669 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5670 {
5671 arg4 = wxString_in_helper(obj3);
5672 if (arg4 == NULL) SWIG_fail;
423f194a 5673 temp4 = True;
d14a1e28
RD
5674 }
5675 {
5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
5677 result = (bool)(arg1)->CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
5678
5679 wxPyEndAllowThreads(__tstate);
5680 if (PyErr_Occurred()) SWIG_fail;
5681 }
4f89f6a3
RD
5682 {
5683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5684 }
d14a1e28
RD
5685 {
5686 if (temp4)
5687 delete arg4;
5688 }
5689 return resultobj;
5690 fail:
5691 {
5692 if (temp4)
5693 delete arg4;
5694 }
5695 return NULL;
5696}
5697
5698
5699static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5700 PyObject *resultobj;
5701 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5702 int arg2 ;
5703 int arg3 ;
5704 wxString *arg4 = 0 ;
5705 bool result;
423f194a 5706 bool temp4 = False ;
d14a1e28 5707 PyObject * obj0 = 0 ;
8edf1c75
RD
5708 PyObject * obj1 = 0 ;
5709 PyObject * obj2 = 0 ;
d14a1e28
RD
5710 PyObject * obj3 = 0 ;
5711 char *kwnames[] = {
5712 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5713 };
5714
8edf1c75 5715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5718 arg2 = (int) SWIG_AsInt(obj1);
5719 if (PyErr_Occurred()) SWIG_fail;
5720 arg3 = (int) SWIG_AsInt(obj2);
5721 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5722 {
5723 arg4 = wxString_in_helper(obj3);
5724 if (arg4 == NULL) SWIG_fail;
423f194a 5725 temp4 = True;
d14a1e28
RD
5726 }
5727 {
5728 PyThreadState* __tstate = wxPyBeginAllowThreads();
5729 result = (bool)(arg1)->CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
5730
5731 wxPyEndAllowThreads(__tstate);
5732 if (PyErr_Occurred()) SWIG_fail;
5733 }
4f89f6a3
RD
5734 {
5735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5736 }
d14a1e28
RD
5737 {
5738 if (temp4)
5739 delete arg4;
5740 }
5741 return resultobj;
5742 fail:
5743 {
5744 if (temp4)
5745 delete arg4;
5746 }
5747 return NULL;
5748}
5749
5750
5751static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5752 PyObject *resultobj;
5753 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5754 int arg2 ;
5755 int arg3 ;
5756 long result;
5757 PyObject * obj0 = 0 ;
8edf1c75
RD
5758 PyObject * obj1 = 0 ;
5759 PyObject * obj2 = 0 ;
d14a1e28
RD
5760 char *kwnames[] = {
5761 (char *) "self",(char *) "row",(char *) "col", NULL
5762 };
5763
8edf1c75 5764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5767 arg2 = (int) SWIG_AsInt(obj1);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 arg3 = (int) SWIG_AsInt(obj2);
5770 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5771 {
5772 PyThreadState* __tstate = wxPyBeginAllowThreads();
5773 result = (long)(arg1)->GetValueAsLong(arg2,arg3);
5774
5775 wxPyEndAllowThreads(__tstate);
5776 if (PyErr_Occurred()) SWIG_fail;
5777 }
2f4c0a16 5778 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
5779 return resultobj;
5780 fail:
5781 return NULL;
5782}
5783
5784
5785static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5786 PyObject *resultobj;
5787 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5788 int arg2 ;
5789 int arg3 ;
5790 double result;
5791 PyObject * obj0 = 0 ;
8edf1c75
RD
5792 PyObject * obj1 = 0 ;
5793 PyObject * obj2 = 0 ;
d14a1e28
RD
5794 char *kwnames[] = {
5795 (char *) "self",(char *) "row",(char *) "col", NULL
5796 };
5797
8edf1c75 5798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5801 arg2 = (int) SWIG_AsInt(obj1);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 arg3 = (int) SWIG_AsInt(obj2);
5804 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5805 {
5806 PyThreadState* __tstate = wxPyBeginAllowThreads();
5807 result = (double)(arg1)->GetValueAsDouble(arg2,arg3);
5808
5809 wxPyEndAllowThreads(__tstate);
5810 if (PyErr_Occurred()) SWIG_fail;
5811 }
2f4c0a16 5812 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5813 return resultobj;
5814 fail:
5815 return NULL;
5816}
5817
5818
5819static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5820 PyObject *resultobj;
5821 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5822 int arg2 ;
5823 int arg3 ;
5824 bool result;
5825 PyObject * obj0 = 0 ;
8edf1c75
RD
5826 PyObject * obj1 = 0 ;
5827 PyObject * obj2 = 0 ;
d14a1e28
RD
5828 char *kwnames[] = {
5829 (char *) "self",(char *) "row",(char *) "col", NULL
5830 };
5831
8edf1c75 5832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5835 arg2 = (int) SWIG_AsInt(obj1);
5836 if (PyErr_Occurred()) SWIG_fail;
5837 arg3 = (int) SWIG_AsInt(obj2);
5838 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5839 {
5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
5841 result = (bool)(arg1)->GetValueAsBool(arg2,arg3);
5842
5843 wxPyEndAllowThreads(__tstate);
5844 if (PyErr_Occurred()) SWIG_fail;
5845 }
4f89f6a3
RD
5846 {
5847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5848 }
d14a1e28
RD
5849 return resultobj;
5850 fail:
5851 return NULL;
5852}
5853
5854
5855static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5856 PyObject *resultobj;
5857 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5858 int arg2 ;
5859 int arg3 ;
5860 long arg4 ;
5861 PyObject * obj0 = 0 ;
8edf1c75
RD
5862 PyObject * obj1 = 0 ;
5863 PyObject * obj2 = 0 ;
5864 PyObject * obj3 = 0 ;
d14a1e28
RD
5865 char *kwnames[] = {
5866 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5867 };
5868
8edf1c75 5869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5872 arg2 = (int) SWIG_AsInt(obj1);
5873 if (PyErr_Occurred()) SWIG_fail;
5874 arg3 = (int) SWIG_AsInt(obj2);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 arg4 = (long) SWIG_AsLong(obj3);
5877 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 (arg1)->SetValueAsLong(arg2,arg3,arg4);
5881
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 Py_INCREF(Py_None); resultobj = Py_None;
5886 return resultobj;
5887 fail:
5888 return NULL;
5889}
5890
5891
5892static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5893 PyObject *resultobj;
5894 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5895 int arg2 ;
5896 int arg3 ;
5897 double arg4 ;
5898 PyObject * obj0 = 0 ;
8edf1c75
RD
5899 PyObject * obj1 = 0 ;
5900 PyObject * obj2 = 0 ;
5901 PyObject * obj3 = 0 ;
d14a1e28
RD
5902 char *kwnames[] = {
5903 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5904 };
5905
8edf1c75 5906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5909 arg2 = (int) SWIG_AsInt(obj1);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 arg3 = (int) SWIG_AsInt(obj2);
5912 if (PyErr_Occurred()) SWIG_fail;
5913 arg4 = (double) SWIG_AsDouble(obj3);
5914 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5915 {
5916 PyThreadState* __tstate = wxPyBeginAllowThreads();
5917 (arg1)->SetValueAsDouble(arg2,arg3,arg4);
5918
5919 wxPyEndAllowThreads(__tstate);
5920 if (PyErr_Occurred()) SWIG_fail;
5921 }
5922 Py_INCREF(Py_None); resultobj = Py_None;
5923 return resultobj;
5924 fail:
5925 return NULL;
5926}
5927
5928
5929static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5930 PyObject *resultobj;
5931 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5932 int arg2 ;
5933 int arg3 ;
5934 bool arg4 ;
5935 PyObject * obj0 = 0 ;
8edf1c75
RD
5936 PyObject * obj1 = 0 ;
5937 PyObject * obj2 = 0 ;
d14a1e28
RD
5938 PyObject * obj3 = 0 ;
5939 char *kwnames[] = {
5940 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5941 };
5942
8edf1c75 5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5946 arg2 = (int) SWIG_AsInt(obj1);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 arg3 = (int) SWIG_AsInt(obj2);
5949 if (PyErr_Occurred()) SWIG_fail;
5950 arg4 = (bool) SWIG_AsBool(obj3);
5951 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5952 {
5953 PyThreadState* __tstate = wxPyBeginAllowThreads();
5954 (arg1)->SetValueAsBool(arg2,arg3,arg4);
5955
5956 wxPyEndAllowThreads(__tstate);
5957 if (PyErr_Occurred()) SWIG_fail;
5958 }
5959 Py_INCREF(Py_None); resultobj = Py_None;
5960 return resultobj;
5961 fail:
5962 return NULL;
5963}
5964
5965
5966static PyObject *_wrap_GridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5967 PyObject *resultobj;
5968 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5969 PyObject * obj0 = 0 ;
5970 char *kwnames[] = {
5971 (char *) "self", NULL
5972 };
5973
5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5977 {
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
5979 (arg1)->Clear();
5980
5981 wxPyEndAllowThreads(__tstate);
5982 if (PyErr_Occurred()) SWIG_fail;
5983 }
5984 Py_INCREF(Py_None); resultobj = Py_None;
5985 return resultobj;
5986 fail:
5987 return NULL;
5988}
5989
5990
5991static PyObject *_wrap_GridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5992 PyObject *resultobj;
5993 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5994 size_t arg2 = (size_t) 0 ;
5995 size_t arg3 = (size_t) 1 ;
5996 bool result;
5997 PyObject * obj0 = 0 ;
5998 PyObject * obj1 = 0 ;
5999 PyObject * obj2 = 0 ;
6000 char *kwnames[] = {
6001 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6002 };
6003
6004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6007 if (obj1) {
2f4c0a16
RD
6008 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6009 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6010 }
6011 if (obj2) {
2f4c0a16
RD
6012 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6013 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6014 }
6015 {
6016 PyThreadState* __tstate = wxPyBeginAllowThreads();
6017 result = (bool)(arg1)->InsertRows(arg2,arg3);
6018
6019 wxPyEndAllowThreads(__tstate);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
4f89f6a3
RD
6022 {
6023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6024 }
d14a1e28
RD
6025 return resultobj;
6026 fail:
6027 return NULL;
6028}
6029
6030
6031static PyObject *_wrap_GridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6032 PyObject *resultobj;
6033 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6034 size_t arg2 = (size_t) 1 ;
6035 bool result;
6036 PyObject * obj0 = 0 ;
6037 PyObject * obj1 = 0 ;
6038 char *kwnames[] = {
6039 (char *) "self",(char *) "numRows", NULL
6040 };
6041
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendRows",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6045 if (obj1) {
2f4c0a16
RD
6046 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6047 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6048 }
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
6051 result = (bool)(arg1)->AppendRows(arg2);
6052
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
4f89f6a3
RD
6056 {
6057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6058 }
d14a1e28
RD
6059 return resultobj;
6060 fail:
6061 return NULL;
6062}
6063
6064
6065static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6066 PyObject *resultobj;
6067 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6068 size_t arg2 = (size_t) 0 ;
6069 size_t arg3 = (size_t) 1 ;
6070 bool result;
6071 PyObject * obj0 = 0 ;
6072 PyObject * obj1 = 0 ;
6073 PyObject * obj2 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6081 if (obj1) {
2f4c0a16
RD
6082 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6083 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6084 }
6085 if (obj2) {
2f4c0a16
RD
6086 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6087 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6088 }
6089 {
6090 PyThreadState* __tstate = wxPyBeginAllowThreads();
6091 result = (bool)(arg1)->DeleteRows(arg2,arg3);
6092
6093 wxPyEndAllowThreads(__tstate);
6094 if (PyErr_Occurred()) SWIG_fail;
6095 }
4f89f6a3
RD
6096 {
6097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6098 }
d14a1e28
RD
6099 return resultobj;
6100 fail:
6101 return NULL;
6102}
6103
6104
6105static PyObject *_wrap_GridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj;
6107 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6108 size_t arg2 = (size_t) 0 ;
6109 size_t arg3 = (size_t) 1 ;
6110 bool result;
6111 PyObject * obj0 = 0 ;
6112 PyObject * obj1 = 0 ;
6113 PyObject * obj2 = 0 ;
6114 char *kwnames[] = {
6115 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6116 };
6117
6118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6121 if (obj1) {
2f4c0a16
RD
6122 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6123 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6124 }
6125 if (obj2) {
2f4c0a16
RD
6126 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6127 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6128 }
6129 {
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 result = (bool)(arg1)->InsertCols(arg2,arg3);
6132
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
4f89f6a3
RD
6136 {
6137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6138 }
d14a1e28
RD
6139 return resultobj;
6140 fail:
6141 return NULL;
6142}
6143
6144
6145static PyObject *_wrap_GridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj;
6147 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6148 size_t arg2 = (size_t) 1 ;
6149 bool result;
6150 PyObject * obj0 = 0 ;
6151 PyObject * obj1 = 0 ;
6152 char *kwnames[] = {
6153 (char *) "self",(char *) "numCols", NULL
6154 };
6155
6156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendCols",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6159 if (obj1) {
2f4c0a16
RD
6160 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6161 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6162 }
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 result = (bool)(arg1)->AppendCols(arg2);
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
4f89f6a3
RD
6170 {
6171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6172 }
d14a1e28
RD
6173 return resultobj;
6174 fail:
6175 return NULL;
6176}
6177
6178
6179static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6180 PyObject *resultobj;
6181 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6182 size_t arg2 = (size_t) 0 ;
6183 size_t arg3 = (size_t) 1 ;
6184 bool result;
6185 PyObject * obj0 = 0 ;
6186 PyObject * obj1 = 0 ;
6187 PyObject * obj2 = 0 ;
6188 char *kwnames[] = {
6189 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6190 };
6191
6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6195 if (obj1) {
2f4c0a16
RD
6196 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6197 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6198 }
6199 if (obj2) {
2f4c0a16
RD
6200 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6201 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6202 }
6203 {
6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
6205 result = (bool)(arg1)->DeleteCols(arg2,arg3);
6206
6207 wxPyEndAllowThreads(__tstate);
6208 if (PyErr_Occurred()) SWIG_fail;
6209 }
4f89f6a3
RD
6210 {
6211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6212 }
d14a1e28
RD
6213 return resultobj;
6214 fail:
6215 return NULL;
6216}
6217
6218
6219static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6220 PyObject *resultobj;
6221 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6222 int arg2 ;
6223 wxString result;
6224 PyObject * obj0 = 0 ;
8edf1c75 6225 PyObject * obj1 = 0 ;
d14a1e28
RD
6226 char *kwnames[] = {
6227 (char *) "self",(char *) "row", NULL
6228 };
6229
8edf1c75 6230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6233 arg2 = (int) SWIG_AsInt(obj1);
6234 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 result = (arg1)->GetRowLabelValue(arg2);
6238
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 {
6243#if wxUSE_UNICODE
6244 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6245#else
6246 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6247#endif
6248 }
6249 return resultobj;
6250 fail:
6251 return NULL;
6252}
6253
6254
6255static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6258 int arg2 ;
6259 wxString result;
6260 PyObject * obj0 = 0 ;
8edf1c75 6261 PyObject * obj1 = 0 ;
d14a1e28
RD
6262 char *kwnames[] = {
6263 (char *) "self",(char *) "col", NULL
6264 };
6265
8edf1c75 6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6269 arg2 = (int) SWIG_AsInt(obj1);
6270 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6271 {
6272 PyThreadState* __tstate = wxPyBeginAllowThreads();
6273 result = (arg1)->GetColLabelValue(arg2);
6274
6275 wxPyEndAllowThreads(__tstate);
6276 if (PyErr_Occurred()) SWIG_fail;
6277 }
6278 {
6279#if wxUSE_UNICODE
6280 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6281#else
6282 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6283#endif
6284 }
6285 return resultobj;
6286 fail:
6287 return NULL;
6288}
6289
6290
6291static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6292 PyObject *resultobj;
6293 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6294 int arg2 ;
6295 wxString *arg3 = 0 ;
423f194a 6296 bool temp3 = False ;
d14a1e28 6297 PyObject * obj0 = 0 ;
8edf1c75 6298 PyObject * obj1 = 0 ;
d14a1e28
RD
6299 PyObject * obj2 = 0 ;
6300 char *kwnames[] = {
6301 (char *) "self",(char *) "row",(char *) "value", NULL
6302 };
6303
8edf1c75 6304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6307 arg2 = (int) SWIG_AsInt(obj1);
6308 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6309 {
6310 arg3 = wxString_in_helper(obj2);
6311 if (arg3 == NULL) SWIG_fail;
423f194a 6312 temp3 = True;
d14a1e28
RD
6313 }
6314 {
6315 PyThreadState* __tstate = wxPyBeginAllowThreads();
6316 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
6317
6318 wxPyEndAllowThreads(__tstate);
6319 if (PyErr_Occurred()) SWIG_fail;
6320 }
6321 Py_INCREF(Py_None); resultobj = Py_None;
6322 {
6323 if (temp3)
6324 delete arg3;
6325 }
6326 return resultobj;
6327 fail:
6328 {
6329 if (temp3)
6330 delete arg3;
6331 }
6332 return NULL;
6333}
6334
6335
6336static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6337 PyObject *resultobj;
6338 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6339 int arg2 ;
6340 wxString *arg3 = 0 ;
423f194a 6341 bool temp3 = False ;
d14a1e28 6342 PyObject * obj0 = 0 ;
8edf1c75 6343 PyObject * obj1 = 0 ;
d14a1e28
RD
6344 PyObject * obj2 = 0 ;
6345 char *kwnames[] = {
6346 (char *) "self",(char *) "col",(char *) "value", NULL
6347 };
6348
8edf1c75 6349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6352 arg2 = (int) SWIG_AsInt(obj1);
6353 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6354 {
6355 arg3 = wxString_in_helper(obj2);
6356 if (arg3 == NULL) SWIG_fail;
423f194a 6357 temp3 = True;
d14a1e28
RD
6358 }
6359 {
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
6362
6363 wxPyEndAllowThreads(__tstate);
6364 if (PyErr_Occurred()) SWIG_fail;
6365 }
6366 Py_INCREF(Py_None); resultobj = Py_None;
6367 {
6368 if (temp3)
6369 delete arg3;
6370 }
6371 return resultobj;
6372 fail:
6373 {
6374 if (temp3)
6375 delete arg3;
6376 }
6377 return NULL;
6378}
6379
6380
6381static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6382 PyObject *resultobj;
6383 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6384 bool result;
6385 PyObject * obj0 = 0 ;
6386 char *kwnames[] = {
6387 (char *) "self", NULL
6388 };
6389
6390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_CanHaveAttributes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
6395 result = (bool)(arg1)->CanHaveAttributes();
6396
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
4f89f6a3
RD
6400 {
6401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6402 }
d14a1e28
RD
6403 return resultobj;
6404 fail:
6405 return NULL;
6406}
6407
6408
6409static PyObject *_wrap_GridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6410 PyObject *resultobj;
6411 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6412 int arg2 ;
6413 int arg3 ;
6414 int arg4 ;
6415 wxGridCellAttr *result;
6416 PyObject * obj0 = 0 ;
8edf1c75
RD
6417 PyObject * obj1 = 0 ;
6418 PyObject * obj2 = 0 ;
6419 PyObject * obj3 = 0 ;
d14a1e28
RD
6420 char *kwnames[] = {
6421 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6422 };
6423
8edf1c75 6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6427 arg2 = (int) SWIG_AsInt(obj1);
6428 if (PyErr_Occurred()) SWIG_fail;
6429 arg3 = (int) SWIG_AsInt(obj2);
6430 if (PyErr_Occurred()) SWIG_fail;
6431 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
6432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6433 {
6434 PyThreadState* __tstate = wxPyBeginAllowThreads();
6435 result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
6436
6437 wxPyEndAllowThreads(__tstate);
6438 if (PyErr_Occurred()) SWIG_fail;
6439 }
6440 {
6441 resultobj = wxPyMake_wxGridCellAttr(result);
6442 }
6443 return resultobj;
6444 fail:
6445 return NULL;
6446}
6447
6448
6449static PyObject *_wrap_GridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6450 PyObject *resultobj;
6451 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6452 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6453 int arg3 ;
6454 int arg4 ;
6455 PyObject * obj0 = 0 ;
6456 PyObject * obj1 = 0 ;
8edf1c75
RD
6457 PyObject * obj2 = 0 ;
6458 PyObject * obj3 = 0 ;
d14a1e28
RD
6459 char *kwnames[] = {
6460 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6461 };
6462
8edf1c75 6463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6468 arg3 = (int) SWIG_AsInt(obj2);
6469 if (PyErr_Occurred()) SWIG_fail;
6470 arg4 = (int) SWIG_AsInt(obj3);
6471 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 (arg1)->SetAttr(arg2,arg3,arg4);
6475
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 Py_INCREF(Py_None); resultobj = Py_None;
6480 return resultobj;
6481 fail:
6482 return NULL;
6483}
6484
6485
6486static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6487 PyObject *resultobj;
6488 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6489 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6490 int arg3 ;
6491 PyObject * obj0 = 0 ;
6492 PyObject * obj1 = 0 ;
8edf1c75 6493 PyObject * obj2 = 0 ;
d14a1e28
RD
6494 char *kwnames[] = {
6495 (char *) "self",(char *) "attr",(char *) "row", NULL
6496 };
6497
8edf1c75 6498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6503 arg3 = (int) SWIG_AsInt(obj2);
6504 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6505 {
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 (arg1)->SetRowAttr(arg2,arg3);
6508
6509 wxPyEndAllowThreads(__tstate);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 Py_INCREF(Py_None); resultobj = Py_None;
6513 return resultobj;
6514 fail:
6515 return NULL;
6516}
6517
6518
6519static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6520 PyObject *resultobj;
6521 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6522 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6523 int arg3 ;
6524 PyObject * obj0 = 0 ;
6525 PyObject * obj1 = 0 ;
8edf1c75 6526 PyObject * obj2 = 0 ;
d14a1e28
RD
6527 char *kwnames[] = {
6528 (char *) "self",(char *) "attr",(char *) "col", NULL
6529 };
6530
8edf1c75 6531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6534 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6536 arg3 = (int) SWIG_AsInt(obj2);
6537 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6538 {
6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
6540 (arg1)->SetColAttr(arg2,arg3);
6541
6542 wxPyEndAllowThreads(__tstate);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
6545 Py_INCREF(Py_None); resultobj = Py_None;
6546 return resultobj;
6547 fail:
6548 return NULL;
6549}
6550
6551
6552static PyObject * GridTableBase_swigregister(PyObject *self, PyObject *args) {
6553 PyObject *obj;
6554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6555 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase, obj);
6556 Py_INCREF(obj);
6557 return Py_BuildValue((char *)"");
6558}
6559static PyObject *_wrap_new_PyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
6560 PyObject *resultobj;
6561 wxPyGridTableBase *result;
6562 char *kwnames[] = {
6563 NULL
6564 };
6565
6566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridTableBase",kwnames)) goto fail;
6567 {
6568 PyThreadState* __tstate = wxPyBeginAllowThreads();
6569 result = (wxPyGridTableBase *)new wxPyGridTableBase();
6570
6571 wxPyEndAllowThreads(__tstate);
6572 if (PyErr_Occurred()) SWIG_fail;
6573 }
2f4c0a16 6574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridTableBase, 1);
d14a1e28
RD
6575 return resultobj;
6576 fail:
6577 return NULL;
6578}
6579
6580
6581static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6582 PyObject *resultobj;
6583 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6584 PyObject *arg2 = (PyObject *) 0 ;
6585 PyObject *arg3 = (PyObject *) 0 ;
6586 PyObject * obj0 = 0 ;
6587 PyObject * obj1 = 0 ;
6588 PyObject * obj2 = 0 ;
6589 char *kwnames[] = {
6590 (char *) "self",(char *) "self",(char *) "_class", NULL
6591 };
6592
6593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6596 arg2 = obj1;
6597 arg3 = obj2;
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 (arg1)->_setCallbackInfo(arg2,arg3);
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 Py_INCREF(Py_None); resultobj = Py_None;
6606 return resultobj;
6607 fail:
6608 return NULL;
6609}
6610
6611
6612static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6613 PyObject *resultobj;
6614 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6615 PyObject * obj0 = 0 ;
6616 char *kwnames[] = {
6617 (char *) "self", NULL
6618 };
6619
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 wxPyGridTableBase_Destroy(arg1);
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 Py_INCREF(Py_None); resultobj = Py_None;
6631 return resultobj;
6632 fail:
6633 return NULL;
6634}
6635
6636
6637static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
6638 PyObject *resultobj;
6639 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6640 int arg2 ;
6641 int arg3 ;
6642 wxString result;
6643 PyObject * obj0 = 0 ;
8edf1c75
RD
6644 PyObject * obj1 = 0 ;
6645 PyObject * obj2 = 0 ;
d14a1e28
RD
6646 char *kwnames[] = {
6647 (char *) "self",(char *) "row",(char *) "col", NULL
6648 };
6649
8edf1c75 6650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6653 arg2 = (int) SWIG_AsInt(obj1);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 arg3 = (int) SWIG_AsInt(obj2);
6656 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6657 {
6658 PyThreadState* __tstate = wxPyBeginAllowThreads();
6659 result = (arg1)->base_GetTypeName(arg2,arg3);
6660
6661 wxPyEndAllowThreads(__tstate);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
6664 {
6665#if wxUSE_UNICODE
6666 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6667#else
6668 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6669#endif
6670 }
6671 return resultobj;
6672 fail:
6673 return NULL;
6674}
6675
6676
6677static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6678 PyObject *resultobj;
6679 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6680 int arg2 ;
6681 int arg3 ;
6682 wxString *arg4 = 0 ;
6683 bool result;
423f194a 6684 bool temp4 = False ;
d14a1e28 6685 PyObject * obj0 = 0 ;
8edf1c75
RD
6686 PyObject * obj1 = 0 ;
6687 PyObject * obj2 = 0 ;
d14a1e28
RD
6688 PyObject * obj3 = 0 ;
6689 char *kwnames[] = {
6690 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6691 };
6692
8edf1c75 6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6696 arg2 = (int) SWIG_AsInt(obj1);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 arg3 = (int) SWIG_AsInt(obj2);
6699 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6700 {
6701 arg4 = wxString_in_helper(obj3);
6702 if (arg4 == NULL) SWIG_fail;
423f194a 6703 temp4 = True;
d14a1e28
RD
6704 }
6705 {
6706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6707 result = (bool)(arg1)->base_CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
6708
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
4f89f6a3
RD
6712 {
6713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6714 }
d14a1e28
RD
6715 {
6716 if (temp4)
6717 delete arg4;
6718 }
6719 return resultobj;
6720 fail:
6721 {
6722 if (temp4)
6723 delete arg4;
6724 }
6725 return NULL;
6726}
6727
6728
6729static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6730 PyObject *resultobj;
6731 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6732 int arg2 ;
6733 int arg3 ;
6734 wxString *arg4 = 0 ;
6735 bool result;
423f194a 6736 bool temp4 = False ;
d14a1e28 6737 PyObject * obj0 = 0 ;
8edf1c75
RD
6738 PyObject * obj1 = 0 ;
6739 PyObject * obj2 = 0 ;
d14a1e28
RD
6740 PyObject * obj3 = 0 ;
6741 char *kwnames[] = {
6742 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6743 };
6744
8edf1c75 6745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6748 arg2 = (int) SWIG_AsInt(obj1);
6749 if (PyErr_Occurred()) SWIG_fail;
6750 arg3 = (int) SWIG_AsInt(obj2);
6751 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6752 {
6753 arg4 = wxString_in_helper(obj3);
6754 if (arg4 == NULL) SWIG_fail;
423f194a 6755 temp4 = True;
d14a1e28
RD
6756 }
6757 {
6758 PyThreadState* __tstate = wxPyBeginAllowThreads();
6759 result = (bool)(arg1)->base_CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
6760
6761 wxPyEndAllowThreads(__tstate);
6762 if (PyErr_Occurred()) SWIG_fail;
6763 }
4f89f6a3
RD
6764 {
6765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6766 }
d14a1e28
RD
6767 {
6768 if (temp4)
6769 delete arg4;
6770 }
6771 return resultobj;
6772 fail:
6773 {
6774 if (temp4)
6775 delete arg4;
6776 }
6777 return NULL;
6778}
6779
6780
6781static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6782 PyObject *resultobj;
6783 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6784 PyObject * obj0 = 0 ;
6785 char *kwnames[] = {
6786 (char *) "self", NULL
6787 };
6788
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6792 {
6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
6794 (arg1)->base_Clear();
6795
6796 wxPyEndAllowThreads(__tstate);
6797 if (PyErr_Occurred()) SWIG_fail;
6798 }
6799 Py_INCREF(Py_None); resultobj = Py_None;
6800 return resultobj;
6801 fail:
6802 return NULL;
6803}
6804
6805
6806static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6807 PyObject *resultobj;
6808 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6809 size_t arg2 = (size_t) 0 ;
6810 size_t arg3 = (size_t) 1 ;
6811 bool result;
6812 PyObject * obj0 = 0 ;
6813 PyObject * obj1 = 0 ;
6814 PyObject * obj2 = 0 ;
6815 char *kwnames[] = {
6816 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6817 };
6818
6819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6822 if (obj1) {
2f4c0a16
RD
6823 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6824 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6825 }
6826 if (obj2) {
2f4c0a16
RD
6827 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6828 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6829 }
6830 {
6831 PyThreadState* __tstate = wxPyBeginAllowThreads();
6832 result = (bool)(arg1)->base_InsertRows(arg2,arg3);
6833
6834 wxPyEndAllowThreads(__tstate);
6835 if (PyErr_Occurred()) SWIG_fail;
6836 }
4f89f6a3
RD
6837 {
6838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6839 }
d14a1e28
RD
6840 return resultobj;
6841 fail:
6842 return NULL;
6843}
6844
6845
6846static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6847 PyObject *resultobj;
6848 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6849 size_t arg2 = (size_t) 1 ;
6850 bool result;
6851 PyObject * obj0 = 0 ;
6852 PyObject * obj1 = 0 ;
6853 char *kwnames[] = {
6854 (char *) "self",(char *) "numRows", NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6860 if (obj1) {
2f4c0a16
RD
6861 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6862 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6863 }
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 result = (bool)(arg1)->base_AppendRows(arg2);
6867
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
4f89f6a3
RD
6871 {
6872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6873 }
d14a1e28
RD
6874 return resultobj;
6875 fail:
6876 return NULL;
6877}
6878
6879
6880static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj;
6882 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6883 size_t arg2 = (size_t) 0 ;
6884 size_t arg3 = (size_t) 1 ;
6885 bool result;
6886 PyObject * obj0 = 0 ;
6887 PyObject * obj1 = 0 ;
6888 PyObject * obj2 = 0 ;
6889 char *kwnames[] = {
6890 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6891 };
6892
6893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6896 if (obj1) {
2f4c0a16
RD
6897 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6898 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6899 }
6900 if (obj2) {
2f4c0a16
RD
6901 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6902 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6903 }
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 result = (bool)(arg1)->base_DeleteRows(arg2,arg3);
6907
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
4f89f6a3
RD
6911 {
6912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6913 }
d14a1e28
RD
6914 return resultobj;
6915 fail:
6916 return NULL;
6917}
6918
6919
6920static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6921 PyObject *resultobj;
6922 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6923 size_t arg2 = (size_t) 0 ;
6924 size_t arg3 = (size_t) 1 ;
6925 bool result;
6926 PyObject * obj0 = 0 ;
6927 PyObject * obj1 = 0 ;
6928 PyObject * obj2 = 0 ;
6929 char *kwnames[] = {
6930 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6931 };
6932
6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6936 if (obj1) {
2f4c0a16
RD
6937 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6938 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6939 }
6940 if (obj2) {
2f4c0a16
RD
6941 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6942 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6943 }
6944 {
6945 PyThreadState* __tstate = wxPyBeginAllowThreads();
6946 result = (bool)(arg1)->base_InsertCols(arg2,arg3);
6947
6948 wxPyEndAllowThreads(__tstate);
6949 if (PyErr_Occurred()) SWIG_fail;
6950 }
4f89f6a3
RD
6951 {
6952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6953 }
d14a1e28
RD
6954 return resultobj;
6955 fail:
6956 return NULL;
6957}
6958
6959
6960static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj;
6962 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6963 size_t arg2 = (size_t) 1 ;
6964 bool result;
6965 PyObject * obj0 = 0 ;
6966 PyObject * obj1 = 0 ;
6967 char *kwnames[] = {
6968 (char *) "self",(char *) "numCols", NULL
6969 };
6970
6971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6974 if (obj1) {
2f4c0a16
RD
6975 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6976 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6977 }
6978 {
6979 PyThreadState* __tstate = wxPyBeginAllowThreads();
6980 result = (bool)(arg1)->base_AppendCols(arg2);
6981
6982 wxPyEndAllowThreads(__tstate);
6983 if (PyErr_Occurred()) SWIG_fail;
6984 }
4f89f6a3
RD
6985 {
6986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6987 }
d14a1e28
RD
6988 return resultobj;
6989 fail:
6990 return NULL;
6991}
6992
6993
6994static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6997 size_t arg2 = (size_t) 0 ;
6998 size_t arg3 = (size_t) 1 ;
6999 bool result;
7000 PyObject * obj0 = 0 ;
7001 PyObject * obj1 = 0 ;
7002 PyObject * obj2 = 0 ;
7003 char *kwnames[] = {
7004 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7005 };
7006
7007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7010 if (obj1) {
2f4c0a16
RD
7011 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
7012 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7013 }
7014 if (obj2) {
2f4c0a16
RD
7015 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
7016 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7017 }
7018 {
7019 PyThreadState* __tstate = wxPyBeginAllowThreads();
7020 result = (bool)(arg1)->base_DeleteCols(arg2,arg3);
7021
7022 wxPyEndAllowThreads(__tstate);
7023 if (PyErr_Occurred()) SWIG_fail;
7024 }
4f89f6a3
RD
7025 {
7026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7027 }
d14a1e28
RD
7028 return resultobj;
7029 fail:
7030 return NULL;
7031}
7032
7033
7034static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7035 PyObject *resultobj;
7036 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7037 int arg2 ;
7038 wxString result;
7039 PyObject * obj0 = 0 ;
8edf1c75 7040 PyObject * obj1 = 0 ;
d14a1e28
RD
7041 char *kwnames[] = {
7042 (char *) "self",(char *) "row", NULL
7043 };
7044
8edf1c75 7045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7048 arg2 = (int) SWIG_AsInt(obj1);
7049 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7050 {
7051 PyThreadState* __tstate = wxPyBeginAllowThreads();
7052 result = (arg1)->base_GetRowLabelValue(arg2);
7053
7054 wxPyEndAllowThreads(__tstate);
7055 if (PyErr_Occurred()) SWIG_fail;
7056 }
7057 {
7058#if wxUSE_UNICODE
7059 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7060#else
7061 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7062#endif
7063 }
7064 return resultobj;
7065 fail:
7066 return NULL;
7067}
7068
7069
7070static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7071 PyObject *resultobj;
7072 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7073 int arg2 ;
7074 wxString result;
7075 PyObject * obj0 = 0 ;
8edf1c75 7076 PyObject * obj1 = 0 ;
d14a1e28
RD
7077 char *kwnames[] = {
7078 (char *) "self",(char *) "col", NULL
7079 };
7080
8edf1c75 7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7084 arg2 = (int) SWIG_AsInt(obj1);
7085 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7086 {
7087 PyThreadState* __tstate = wxPyBeginAllowThreads();
7088 result = (arg1)->base_GetColLabelValue(arg2);
7089
7090 wxPyEndAllowThreads(__tstate);
7091 if (PyErr_Occurred()) SWIG_fail;
7092 }
7093 {
7094#if wxUSE_UNICODE
7095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7096#else
7097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7098#endif
7099 }
7100 return resultobj;
7101 fail:
7102 return NULL;
7103}
7104
7105
7106static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7107 PyObject *resultobj;
7108 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7109 int arg2 ;
7110 wxString *arg3 = 0 ;
423f194a 7111 bool temp3 = False ;
d14a1e28 7112 PyObject * obj0 = 0 ;
8edf1c75 7113 PyObject * obj1 = 0 ;
d14a1e28
RD
7114 PyObject * obj2 = 0 ;
7115 char *kwnames[] = {
7116 (char *) "self",(char *) "row",(char *) "value", NULL
7117 };
7118
8edf1c75 7119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7122 arg2 = (int) SWIG_AsInt(obj1);
7123 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7124 {
7125 arg3 = wxString_in_helper(obj2);
7126 if (arg3 == NULL) SWIG_fail;
423f194a 7127 temp3 = True;
d14a1e28
RD
7128 }
7129 {
7130 PyThreadState* __tstate = wxPyBeginAllowThreads();
7131 (arg1)->base_SetRowLabelValue(arg2,(wxString const &)*arg3);
7132
7133 wxPyEndAllowThreads(__tstate);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 }
7136 Py_INCREF(Py_None); resultobj = Py_None;
7137 {
7138 if (temp3)
7139 delete arg3;
7140 }
7141 return resultobj;
7142 fail:
7143 {
7144 if (temp3)
7145 delete arg3;
7146 }
7147 return NULL;
7148}
7149
7150
7151static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7152 PyObject *resultobj;
7153 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7154 int arg2 ;
7155 wxString *arg3 = 0 ;
423f194a 7156 bool temp3 = False ;
d14a1e28 7157 PyObject * obj0 = 0 ;
8edf1c75 7158 PyObject * obj1 = 0 ;
d14a1e28
RD
7159 PyObject * obj2 = 0 ;
7160 char *kwnames[] = {
7161 (char *) "self",(char *) "col",(char *) "value", NULL
7162 };
7163
8edf1c75 7164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7167 arg2 = (int) SWIG_AsInt(obj1);
7168 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7169 {
7170 arg3 = wxString_in_helper(obj2);
7171 if (arg3 == NULL) SWIG_fail;
423f194a 7172 temp3 = True;
d14a1e28
RD
7173 }
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 (arg1)->base_SetColLabelValue(arg2,(wxString const &)*arg3);
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 Py_INCREF(Py_None); resultobj = Py_None;
7182 {
7183 if (temp3)
7184 delete arg3;
7185 }
7186 return resultobj;
7187 fail:
7188 {
7189 if (temp3)
7190 delete arg3;
7191 }
7192 return NULL;
7193}
7194
7195
7196static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
7197 PyObject *resultobj;
7198 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7199 bool result;
7200 PyObject * obj0 = 0 ;
7201 char *kwnames[] = {
7202 (char *) "self", NULL
7203 };
7204
7205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7208 {
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 result = (bool)(arg1)->base_CanHaveAttributes();
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
4f89f6a3
RD
7215 {
7216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7217 }
d14a1e28
RD
7218 return resultobj;
7219 fail:
7220 return NULL;
7221}
7222
7223
7224static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7225 PyObject *resultobj;
7226 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7227 int arg2 ;
7228 int arg3 ;
7229 int arg4 ;
7230 wxGridCellAttr *result;
7231 PyObject * obj0 = 0 ;
8edf1c75
RD
7232 PyObject * obj1 = 0 ;
7233 PyObject * obj2 = 0 ;
7234 PyObject * obj3 = 0 ;
d14a1e28
RD
7235 char *kwnames[] = {
7236 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7237 };
7238
8edf1c75 7239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7242 arg2 = (int) SWIG_AsInt(obj1);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 arg3 = (int) SWIG_AsInt(obj2);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
7247 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7248 {
7249 PyThreadState* __tstate = wxPyBeginAllowThreads();
7250 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
7251
7252 wxPyEndAllowThreads(__tstate);
7253 if (PyErr_Occurred()) SWIG_fail;
7254 }
7255 {
7256 resultobj = wxPyMake_wxGridCellAttr(result);
7257 }
7258 return resultobj;
7259 fail:
7260 return NULL;
7261}
7262
7263
7264static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7265 PyObject *resultobj;
7266 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7267 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7268 int arg3 ;
7269 int arg4 ;
7270 PyObject * obj0 = 0 ;
7271 PyObject * obj1 = 0 ;
8edf1c75
RD
7272 PyObject * obj2 = 0 ;
7273 PyObject * obj3 = 0 ;
d14a1e28
RD
7274 char *kwnames[] = {
7275 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7276 };
7277
8edf1c75 7278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7283 arg3 = (int) SWIG_AsInt(obj2);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 arg4 = (int) SWIG_AsInt(obj3);
7286 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 (arg1)->base_SetAttr(arg2,arg3,arg4);
7290
7291 wxPyEndAllowThreads(__tstate);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 Py_INCREF(Py_None); resultobj = Py_None;
7295 return resultobj;
7296 fail:
7297 return NULL;
7298}
7299
7300
7301static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7302 PyObject *resultobj;
7303 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7304 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7305 int arg3 ;
7306 PyObject * obj0 = 0 ;
7307 PyObject * obj1 = 0 ;
8edf1c75 7308 PyObject * obj2 = 0 ;
d14a1e28
RD
7309 char *kwnames[] = {
7310 (char *) "self",(char *) "attr",(char *) "row", NULL
7311 };
7312
8edf1c75 7313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7318 arg3 = (int) SWIG_AsInt(obj2);
7319 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 (arg1)->base_SetRowAttr(arg2,arg3);
7323
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 Py_INCREF(Py_None); resultobj = Py_None;
7328 return resultobj;
7329 fail:
7330 return NULL;
7331}
7332
7333
7334static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7335 PyObject *resultobj;
7336 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7337 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7338 int arg3 ;
7339 PyObject * obj0 = 0 ;
7340 PyObject * obj1 = 0 ;
8edf1c75 7341 PyObject * obj2 = 0 ;
d14a1e28
RD
7342 char *kwnames[] = {
7343 (char *) "self",(char *) "attr",(char *) "col", NULL
7344 };
7345
8edf1c75 7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7349 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7351 arg3 = (int) SWIG_AsInt(obj2);
7352 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7353 {
7354 PyThreadState* __tstate = wxPyBeginAllowThreads();
7355 (arg1)->base_SetColAttr(arg2,arg3);
7356
7357 wxPyEndAllowThreads(__tstate);
7358 if (PyErr_Occurred()) SWIG_fail;
7359 }
7360 Py_INCREF(Py_None); resultobj = Py_None;
7361 return resultobj;
7362 fail:
7363 return NULL;
7364}
7365
7366
7367static PyObject * PyGridTableBase_swigregister(PyObject *self, PyObject *args) {
7368 PyObject *obj;
7369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7370 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase, obj);
7371 Py_INCREF(obj);
7372 return Py_BuildValue((char *)"");
7373}
7374static PyObject *_wrap_new_GridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7375 PyObject *resultobj;
7376 int arg1 = (int) 0 ;
7377 int arg2 = (int) 0 ;
7378 wxGridStringTable *result;
8edf1c75
RD
7379 PyObject * obj0 = 0 ;
7380 PyObject * obj1 = 0 ;
d14a1e28
RD
7381 char *kwnames[] = {
7382 (char *) "numRows",(char *) "numCols", NULL
7383 };
7384
8edf1c75
RD
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridStringTable",kwnames,&obj0,&obj1)) goto fail;
7386 if (obj0) {
2f4c0a16
RD
7387 arg1 = (int) SWIG_AsInt(obj0);
7388 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7389 }
7390 if (obj1) {
2f4c0a16
RD
7391 arg2 = (int) SWIG_AsInt(obj1);
7392 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7393 }
d14a1e28
RD
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 result = (wxGridStringTable *)new wxGridStringTable(arg1,arg2);
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
2f4c0a16 7401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridStringTable, 1);
d14a1e28
RD
7402 return resultobj;
7403 fail:
7404 return NULL;
7405}
7406
7407
7408static PyObject * GridStringTable_swigregister(PyObject *self, PyObject *args) {
7409 PyObject *obj;
7410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7411 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable, obj);
7412 Py_INCREF(obj);
7413 return Py_BuildValue((char *)"");
7414}
7415static PyObject *_wrap_new_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7416 PyObject *resultobj;
7417 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7418 int arg2 ;
7419 int arg3 = (int) -1 ;
7420 int arg4 = (int) -1 ;
7421 wxGridTableMessage *result;
7422 PyObject * obj0 = 0 ;
8edf1c75
RD
7423 PyObject * obj1 = 0 ;
7424 PyObject * obj2 = 0 ;
7425 PyObject * obj3 = 0 ;
d14a1e28
RD
7426 char *kwnames[] = {
7427 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7428 };
7429
8edf1c75 7430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_GridTableMessage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
7432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7433 arg2 = (int) SWIG_AsInt(obj1);
7434 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7435 if (obj2) {
2f4c0a16
RD
7436 arg3 = (int) SWIG_AsInt(obj2);
7437 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7438 }
7439 if (obj3) {
2f4c0a16
RD
7440 arg4 = (int) SWIG_AsInt(obj3);
7441 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7442 }
d14a1e28
RD
7443 {
7444 PyThreadState* __tstate = wxPyBeginAllowThreads();
7445 result = (wxGridTableMessage *)new wxGridTableMessage(arg1,arg2,arg3,arg4);
7446
7447 wxPyEndAllowThreads(__tstate);
7448 if (PyErr_Occurred()) SWIG_fail;
7449 }
2f4c0a16 7450 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridTableMessage, 1);
d14a1e28
RD
7451 return resultobj;
7452 fail:
7453 return NULL;
7454}
7455
7456
7457static PyObject *_wrap_delete_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7458 PyObject *resultobj;
7459 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7460 PyObject * obj0 = 0 ;
7461 char *kwnames[] = {
7462 (char *) "self", NULL
7463 };
7464
7465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridTableMessage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7468 {
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 delete arg1;
7471
7472 wxPyEndAllowThreads(__tstate);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
7475 Py_INCREF(Py_None); resultobj = Py_None;
7476 return resultobj;
7477 fail:
7478 return NULL;
7479}
7480
7481
7482static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7483 PyObject *resultobj;
7484 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7485 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
7486 PyObject * obj0 = 0 ;
7487 PyObject * obj1 = 0 ;
7488 char *kwnames[] = {
7489 (char *) "self",(char *) "table", NULL
7490 };
7491
7492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetTableObject",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
7496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7497 {
7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7499 (arg1)->SetTableObject(arg2);
7500
7501 wxPyEndAllowThreads(__tstate);
7502 if (PyErr_Occurred()) SWIG_fail;
7503 }
7504 Py_INCREF(Py_None); resultobj = Py_None;
7505 return resultobj;
7506 fail:
7507 return NULL;
7508}
7509
7510
7511static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7512 PyObject *resultobj;
7513 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7514 wxGridTableBase *result;
7515 PyObject * obj0 = 0 ;
7516 char *kwnames[] = {
7517 (char *) "self", NULL
7518 };
7519
7520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetTableObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7523 {
7524 PyThreadState* __tstate = wxPyBeginAllowThreads();
7525 result = (wxGridTableBase *)((wxGridTableMessage const *)arg1)->GetTableObject();
7526
7527 wxPyEndAllowThreads(__tstate);
7528 if (PyErr_Occurred()) SWIG_fail;
7529 }
7530 {
7531 resultobj = wxPyMake_wxGridTableBase(result);
7532 }
7533 return resultobj;
7534 fail:
7535 return NULL;
7536}
7537
7538
7539static PyObject *_wrap_GridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7540 PyObject *resultobj;
7541 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7542 int arg2 ;
7543 PyObject * obj0 = 0 ;
8edf1c75 7544 PyObject * obj1 = 0 ;
d14a1e28
RD
7545 char *kwnames[] = {
7546 (char *) "self",(char *) "id", NULL
7547 };
7548
8edf1c75 7549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7552 arg2 = (int) SWIG_AsInt(obj1);
7553 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7554 {
7555 PyThreadState* __tstate = wxPyBeginAllowThreads();
7556 (arg1)->SetId(arg2);
7557
7558 wxPyEndAllowThreads(__tstate);
7559 if (PyErr_Occurred()) SWIG_fail;
7560 }
7561 Py_INCREF(Py_None); resultobj = Py_None;
7562 return resultobj;
7563 fail:
7564 return NULL;
7565}
7566
7567
7568static PyObject *_wrap_GridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7569 PyObject *resultobj;
7570 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7571 int result;
7572 PyObject * obj0 = 0 ;
7573 char *kwnames[] = {
7574 (char *) "self", NULL
7575 };
7576
7577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7580 {
7581 PyThreadState* __tstate = wxPyBeginAllowThreads();
7582 result = (int)(arg1)->GetId();
7583
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
2f4c0a16 7587 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7588 return resultobj;
7589 fail:
7590 return NULL;
7591}
7592
7593
7594static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7595 PyObject *resultobj;
7596 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7597 int arg2 ;
7598 PyObject * obj0 = 0 ;
8edf1c75 7599 PyObject * obj1 = 0 ;
d14a1e28
RD
7600 char *kwnames[] = {
7601 (char *) "self",(char *) "comInt1", NULL
7602 };
7603
8edf1c75 7604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7607 arg2 = (int) SWIG_AsInt(obj1);
7608 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 (arg1)->SetCommandInt(arg2);
7612
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 Py_INCREF(Py_None); resultobj = Py_None;
7617 return resultobj;
7618 fail:
7619 return NULL;
7620}
7621
7622
7623static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7624 PyObject *resultobj;
7625 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7626 int result;
7627 PyObject * obj0 = 0 ;
7628 char *kwnames[] = {
7629 (char *) "self", NULL
7630 };
7631
7632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
7637 result = (int)(arg1)->GetCommandInt();
7638
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
2f4c0a16 7642 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7643 return resultobj;
7644 fail:
7645 return NULL;
7646}
7647
7648
7649static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7650 PyObject *resultobj;
7651 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7652 int arg2 ;
7653 PyObject * obj0 = 0 ;
8edf1c75 7654 PyObject * obj1 = 0 ;
d14a1e28
RD
7655 char *kwnames[] = {
7656 (char *) "self",(char *) "comInt2", NULL
7657 };
7658
8edf1c75 7659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7662 arg2 = (int) SWIG_AsInt(obj1);
7663 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7664 {
7665 PyThreadState* __tstate = wxPyBeginAllowThreads();
7666 (arg1)->SetCommandInt2(arg2);
7667
7668 wxPyEndAllowThreads(__tstate);
7669 if (PyErr_Occurred()) SWIG_fail;
7670 }
7671 Py_INCREF(Py_None); resultobj = Py_None;
7672 return resultobj;
7673 fail:
7674 return NULL;
7675}
7676
7677
7678static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7679 PyObject *resultobj;
7680 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7681 int result;
7682 PyObject * obj0 = 0 ;
7683 char *kwnames[] = {
7684 (char *) "self", NULL
7685 };
7686
7687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt2",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7690 {
7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
7692 result = (int)(arg1)->GetCommandInt2();
7693
7694 wxPyEndAllowThreads(__tstate);
7695 if (PyErr_Occurred()) SWIG_fail;
7696 }
2f4c0a16 7697 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7698 return resultobj;
7699 fail:
7700 return NULL;
7701}
7702
7703
7704static PyObject * GridTableMessage_swigregister(PyObject *self, PyObject *args) {
7705 PyObject *obj;
7706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7707 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage, obj);
7708 Py_INCREF(obj);
7709 return Py_BuildValue((char *)"");
7710}
7711static PyObject *_wrap_new_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7712 PyObject *resultobj;
7713 int arg1 = (int) -1 ;
7714 int arg2 = (int) -1 ;
7715 wxGridCellCoords *result;
8edf1c75
RD
7716 PyObject * obj0 = 0 ;
7717 PyObject * obj1 = 0 ;
d14a1e28
RD
7718 char *kwnames[] = {
7719 (char *) "r",(char *) "c", NULL
7720 };
7721
8edf1c75
RD
7722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellCoords",kwnames,&obj0,&obj1)) goto fail;
7723 if (obj0) {
2f4c0a16
RD
7724 arg1 = (int) SWIG_AsInt(obj0);
7725 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7726 }
7727 if (obj1) {
2f4c0a16
RD
7728 arg2 = (int) SWIG_AsInt(obj1);
7729 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7730 }
d14a1e28
RD
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7733 result = (wxGridCellCoords *)new wxGridCellCoords(arg1,arg2);
7734
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
2f4c0a16 7738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
7739 return resultobj;
7740 fail:
7741 return NULL;
7742}
7743
7744
7745static PyObject *_wrap_delete_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7746 PyObject *resultobj;
7747 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7748 PyObject * obj0 = 0 ;
7749 char *kwnames[] = {
7750 (char *) "self", NULL
7751 };
7752
7753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridCellCoords",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7756 {
7757 PyThreadState* __tstate = wxPyBeginAllowThreads();
7758 delete arg1;
7759
7760 wxPyEndAllowThreads(__tstate);
7761 if (PyErr_Occurred()) SWIG_fail;
7762 }
7763 Py_INCREF(Py_None); resultobj = Py_None;
7764 return resultobj;
7765 fail:
7766 return NULL;
7767}
7768
7769
7770static PyObject *_wrap_GridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7771 PyObject *resultobj;
7772 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7773 int result;
7774 PyObject * obj0 = 0 ;
7775 char *kwnames[] = {
7776 (char *) "self", NULL
7777 };
7778
7779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7782 {
7783 PyThreadState* __tstate = wxPyBeginAllowThreads();
7784 result = (int)((wxGridCellCoords const *)arg1)->GetRow();
7785
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
2f4c0a16 7789 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7790 return resultobj;
7791 fail:
7792 return NULL;
7793}
7794
7795
7796static PyObject *_wrap_GridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7797 PyObject *resultobj;
7798 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7799 int arg2 ;
7800 PyObject * obj0 = 0 ;
8edf1c75 7801 PyObject * obj1 = 0 ;
d14a1e28
RD
7802 char *kwnames[] = {
7803 (char *) "self",(char *) "n", NULL
7804 };
7805
8edf1c75 7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7809 arg2 = (int) SWIG_AsInt(obj1);
7810 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7811 {
7812 PyThreadState* __tstate = wxPyBeginAllowThreads();
7813 (arg1)->SetRow(arg2);
7814
7815 wxPyEndAllowThreads(__tstate);
7816 if (PyErr_Occurred()) SWIG_fail;
7817 }
7818 Py_INCREF(Py_None); resultobj = Py_None;
7819 return resultobj;
7820 fail:
7821 return NULL;
7822}
7823
7824
7825static PyObject *_wrap_GridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7826 PyObject *resultobj;
7827 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7828 int result;
7829 PyObject * obj0 = 0 ;
7830 char *kwnames[] = {
7831 (char *) "self", NULL
7832 };
7833
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7837 {
7838 PyThreadState* __tstate = wxPyBeginAllowThreads();
7839 result = (int)((wxGridCellCoords const *)arg1)->GetCol();
7840
7841 wxPyEndAllowThreads(__tstate);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
2f4c0a16 7844 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7845 return resultobj;
7846 fail:
7847 return NULL;
7848}
7849
7850
7851static PyObject *_wrap_GridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7852 PyObject *resultobj;
7853 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7854 int arg2 ;
7855 PyObject * obj0 = 0 ;
8edf1c75 7856 PyObject * obj1 = 0 ;
d14a1e28
RD
7857 char *kwnames[] = {
7858 (char *) "self",(char *) "n", NULL
7859 };
7860
8edf1c75 7861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7864 arg2 = (int) SWIG_AsInt(obj1);
7865 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7866 {
7867 PyThreadState* __tstate = wxPyBeginAllowThreads();
7868 (arg1)->SetCol(arg2);
7869
7870 wxPyEndAllowThreads(__tstate);
7871 if (PyErr_Occurred()) SWIG_fail;
7872 }
7873 Py_INCREF(Py_None); resultobj = Py_None;
7874 return resultobj;
7875 fail:
7876 return NULL;
7877}
7878
7879
7880static PyObject *_wrap_GridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7881 PyObject *resultobj;
7882 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7883 int arg2 ;
7884 int arg3 ;
7885 PyObject * obj0 = 0 ;
8edf1c75
RD
7886 PyObject * obj1 = 0 ;
7887 PyObject * obj2 = 0 ;
d14a1e28
RD
7888 char *kwnames[] = {
7889 (char *) "self",(char *) "row",(char *) "col", NULL
7890 };
7891
8edf1c75 7892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellCoords_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7895 arg2 = (int) SWIG_AsInt(obj1);
7896 if (PyErr_Occurred()) SWIG_fail;
7897 arg3 = (int) SWIG_AsInt(obj2);
7898 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7899 {
7900 PyThreadState* __tstate = wxPyBeginAllowThreads();
7901 (arg1)->Set(arg2,arg3);
7902
7903 wxPyEndAllowThreads(__tstate);
7904 if (PyErr_Occurred()) SWIG_fail;
7905 }
7906 Py_INCREF(Py_None); resultobj = Py_None;
7907 return resultobj;
7908 fail:
7909 return NULL;
7910}
7911
7912
7913static PyObject *_wrap_GridCellCoords___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
7914 PyObject *resultobj;
7915 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7916 wxGridCellCoords *arg2 = 0 ;
7917 bool result;
328fcd84 7918 wxGridCellCoords temp2 ;
d14a1e28
RD
7919 PyObject * obj0 = 0 ;
7920 PyObject * obj1 = 0 ;
7921 char *kwnames[] = {
7922 (char *) "self",(char *) "other", NULL
7923 };
7924
7925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
328fcd84
RD
7928 {
7929 arg2 = &temp2;
7930 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
7931 }
7932 {
7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
7934 result = (bool)((wxGridCellCoords const *)arg1)->operator ==((wxGridCellCoords const &)*arg2);
7935
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
4f89f6a3
RD
7939 {
7940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7941 }
d14a1e28
RD
7942 return resultobj;
7943 fail:
7944 return NULL;
7945}
7946
7947
7948static PyObject *_wrap_GridCellCoords___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
7949 PyObject *resultobj;
7950 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7951 wxGridCellCoords *arg2 = 0 ;
7952 bool result;
328fcd84 7953 wxGridCellCoords temp2 ;
d14a1e28
RD
7954 PyObject * obj0 = 0 ;
7955 PyObject * obj1 = 0 ;
7956 char *kwnames[] = {
7957 (char *) "self",(char *) "other", NULL
7958 };
7959
7960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
328fcd84
RD
7963 {
7964 arg2 = &temp2;
7965 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
7966 }
7967 {
7968 PyThreadState* __tstate = wxPyBeginAllowThreads();
7969 result = (bool)((wxGridCellCoords const *)arg1)->operator !=((wxGridCellCoords const &)*arg2);
7970
7971 wxPyEndAllowThreads(__tstate);
7972 if (PyErr_Occurred()) SWIG_fail;
7973 }
4f89f6a3
RD
7974 {
7975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7976 }
d14a1e28
RD
7977 return resultobj;
7978 fail:
7979 return NULL;
7980}
7981
7982
7983static PyObject *_wrap_GridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
7984 PyObject *resultobj;
7985 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7986 PyObject *result;
7987 PyObject * obj0 = 0 ;
7988 char *kwnames[] = {
7989 (char *) "self", NULL
7990 };
7991
7992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_asTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 result = (PyObject *)wxGridCellCoords_asTuple(arg1);
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 resultobj = result;
8003 return resultobj;
8004 fail:
8005 return NULL;
8006}
8007
8008
8009static PyObject * GridCellCoords_swigregister(PyObject *self, PyObject *args) {
8010 PyObject *obj;
8011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8012 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords, obj);
8013 Py_INCREF(obj);
8014 return Py_BuildValue((char *)"");
8015}
8016static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs) {
8017 PyObject *resultobj;
8018 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 8019 int arg2 ;
d14a1e28
RD
8020 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8021 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8022 wxSize const &arg4_defvalue = wxDefaultSize ;
8023 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8024 long arg5 = (long) wxWANTS_CHARS ;
8025 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8026 wxString *arg6 = (wxString *) &arg6_defvalue ;
8027 wxGrid *result;
8028 wxPoint temp3 ;
8029 wxSize temp4 ;
423f194a 8030 bool temp6 = False ;
d14a1e28 8031 PyObject * obj0 = 0 ;
8edf1c75 8032 PyObject * obj1 = 0 ;
d14a1e28
RD
8033 PyObject * obj2 = 0 ;
8034 PyObject * obj3 = 0 ;
8edf1c75 8035 PyObject * obj4 = 0 ;
d14a1e28
RD
8036 PyObject * obj5 = 0 ;
8037 char *kwnames[] = {
8038 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8039 };
8040
8edf1c75 8041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Grid",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
8042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8044 arg2 = (int) SWIG_AsInt(obj1);
8045 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8046 if (obj2) {
8047 {
8048 arg3 = &temp3;
8049 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8050 }
8051 }
8052 if (obj3) {
8053 {
8054 arg4 = &temp4;
8055 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8056 }
8057 }
8edf1c75 8058 if (obj4) {
2f4c0a16
RD
8059 arg5 = (long) SWIG_AsLong(obj4);
8060 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8061 }
d14a1e28
RD
8062 if (obj5) {
8063 {
8064 arg6 = wxString_in_helper(obj5);
8065 if (arg6 == NULL) SWIG_fail;
423f194a 8066 temp6 = True;
d14a1e28
RD
8067 }
8068 }
8069 {
8070 PyThreadState* __tstate = wxPyBeginAllowThreads();
8071 result = (wxGrid *)new wxGrid(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8072
8073 wxPyEndAllowThreads(__tstate);
8074 if (PyErr_Occurred()) SWIG_fail;
8075 }
8076 {
8077 resultobj = wxPyMake_wxObject(result);
8078 }
8079 {
8080 if (temp6)
8081 delete arg6;
8082 }
8083 return resultobj;
8084 fail:
8085 {
8086 if (temp6)
8087 delete arg6;
8088 }
8089 return NULL;
8090}
8091
8092
8093static PyObject *_wrap_Grid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8094 PyObject *resultobj;
8095 wxGrid *arg1 = (wxGrid *) 0 ;
8096 int arg2 ;
8097 int arg3 ;
8098 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8099 bool result;
8100 PyObject * obj0 = 0 ;
8edf1c75
RD
8101 PyObject * obj1 = 0 ;
8102 PyObject * obj2 = 0 ;
8103 PyObject * obj3 = 0 ;
d14a1e28
RD
8104 char *kwnames[] = {
8105 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8106 };
8107
8edf1c75 8108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_CreateGrid",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8111 arg2 = (int) SWIG_AsInt(obj1);
8112 if (PyErr_Occurred()) SWIG_fail;
8113 arg3 = (int) SWIG_AsInt(obj2);
8114 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8115 if (obj3) {
2f4c0a16
RD
8116 arg4 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj3);
8117 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8118 }
d14a1e28
RD
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 result = (bool)(arg1)->CreateGrid(arg2,arg3,arg4);
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
4f89f6a3
RD
8126 {
8127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8128 }
d14a1e28
RD
8129 return resultobj;
8130 fail:
8131 return NULL;
8132}
8133
8134
8135static PyObject *_wrap_Grid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj;
8137 wxGrid *arg1 = (wxGrid *) 0 ;
8138 WXGRIDSELECTIONMODES arg2 ;
8139 PyObject * obj0 = 0 ;
8edf1c75 8140 PyObject * obj1 = 0 ;
d14a1e28
RD
8141 char *kwnames[] = {
8142 (char *) "self",(char *) "selmode", NULL
8143 };
8144
8edf1c75 8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8148 arg2 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj1);
8149 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8150 {
8151 PyThreadState* __tstate = wxPyBeginAllowThreads();
8152 (arg1)->SetSelectionMode(arg2);
8153
8154 wxPyEndAllowThreads(__tstate);
8155 if (PyErr_Occurred()) SWIG_fail;
8156 }
8157 Py_INCREF(Py_None); resultobj = Py_None;
8158 return resultobj;
8159 fail:
8160 return NULL;
8161}
8162
8163
8164static PyObject *_wrap_Grid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8165 PyObject *resultobj;
8166 wxGrid *arg1 = (wxGrid *) 0 ;
8167 WXGRIDSELECTIONMODES result;
8168 PyObject * obj0 = 0 ;
8169 char *kwnames[] = {
8170 (char *) "self", NULL
8171 };
8172
8173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8176 {
8177 PyThreadState* __tstate = wxPyBeginAllowThreads();
8178 result = (WXGRIDSELECTIONMODES)(arg1)->GetSelectionMode();
8179
8180 wxPyEndAllowThreads(__tstate);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
2f4c0a16 8183 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8184 return resultobj;
8185 fail:
8186 return NULL;
8187}
8188
8189
8190static PyObject *_wrap_Grid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8191 PyObject *resultobj;
8192 wxGrid *arg1 = (wxGrid *) 0 ;
8193 int result;
8194 PyObject * obj0 = 0 ;
8195 char *kwnames[] = {
8196 (char *) "self", NULL
8197 };
8198
8199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberRows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8202 {
8203 PyThreadState* __tstate = wxPyBeginAllowThreads();
8204 result = (int)(arg1)->GetNumberRows();
8205
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
2f4c0a16 8209 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8210 return resultobj;
8211 fail:
8212 return NULL;
8213}
8214
8215
8216static PyObject *_wrap_Grid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8217 PyObject *resultobj;
8218 wxGrid *arg1 = (wxGrid *) 0 ;
8219 int result;
8220 PyObject * obj0 = 0 ;
8221 char *kwnames[] = {
8222 (char *) "self", NULL
8223 };
8224
8225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberCols",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8228 {
8229 PyThreadState* __tstate = wxPyBeginAllowThreads();
8230 result = (int)(arg1)->GetNumberCols();
8231
8232 wxPyEndAllowThreads(__tstate);
8233 if (PyErr_Occurred()) SWIG_fail;
8234 }
2f4c0a16 8235 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8236 return resultobj;
8237 fail:
8238 return NULL;
8239}
8240
8241
8242static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8243 PyObject *resultobj;
8244 wxGrid *arg1 = (wxGrid *) 0 ;
8245 wxGridTableMessage *arg2 = 0 ;
8246 bool result;
8247 PyObject * obj0 = 0 ;
8248 PyObject * obj1 = 0 ;
8249 char *kwnames[] = {
8250 (char *) "self","arg2", NULL
8251 };
8252
8253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_ProcessTableMessage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8256 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableMessage,
8257 SWIG_POINTER_EXCEPTION | 0)) == -1)
8258 SWIG_fail;
d14a1e28 8259 if (arg2 == NULL) {
2f4c0a16
RD
8260 PyErr_SetString(PyExc_TypeError,"null reference");
8261 SWIG_fail;
d14a1e28
RD
8262 }
8263 {
8264 PyThreadState* __tstate = wxPyBeginAllowThreads();
8265 result = (bool)(arg1)->ProcessTableMessage(*arg2);
8266
8267 wxPyEndAllowThreads(__tstate);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
4f89f6a3
RD
8270 {
8271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8272 }
d14a1e28
RD
8273 return resultobj;
8274 fail:
8275 return NULL;
8276}
8277
8278
8279static PyObject *_wrap_Grid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8280 PyObject *resultobj;
8281 wxGrid *arg1 = (wxGrid *) 0 ;
8282 wxGridTableBase *result;
8283 PyObject * obj0 = 0 ;
8284 char *kwnames[] = {
8285 (char *) "self", NULL
8286 };
8287
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetTable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8291 {
8292 PyThreadState* __tstate = wxPyBeginAllowThreads();
8293 result = (wxGridTableBase *)((wxGrid const *)arg1)->GetTable();
8294
8295 wxPyEndAllowThreads(__tstate);
8296 if (PyErr_Occurred()) SWIG_fail;
8297 }
8298 {
8299 resultobj = wxPyMake_wxGridTableBase(result);
8300 }
8301 return resultobj;
8302 fail:
8303 return NULL;
8304}
8305
8306
8307static PyObject *_wrap_Grid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8308 PyObject *resultobj;
8309 wxGrid *arg1 = (wxGrid *) 0 ;
8310 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
423f194a 8311 bool arg3 = (bool) False ;
d14a1e28
RD
8312 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8313 bool result;
8314 PyObject * obj0 = 0 ;
8315 PyObject * obj1 = 0 ;
8316 PyObject * obj2 = 0 ;
8edf1c75 8317 PyObject * obj3 = 0 ;
d14a1e28
RD
8318 char *kwnames[] = {
8319 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8320 };
8321
8edf1c75 8322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetTable",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8325 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
8326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8327 if (obj2) {
2f4c0a16
RD
8328 arg3 = (bool) SWIG_AsBool(obj2);
8329 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8330 }
8331 if (obj3) {
2f4c0a16
RD
8332 arg4 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj3);
8333 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8334 }
8335 {
8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
8337 result = (bool)(arg1)->SetTable(arg2,arg3,arg4);
8338
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
4f89f6a3
RD
8342 {
8343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8344 }
d14a1e28
RD
8345 return resultobj;
8346 fail:
8347 return NULL;
8348}
8349
8350
8351static PyObject *_wrap_Grid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8352 PyObject *resultobj;
8353 wxGrid *arg1 = (wxGrid *) 0 ;
8354 PyObject * obj0 = 0 ;
8355 char *kwnames[] = {
8356 (char *) "self", NULL
8357 };
8358
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearGrid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8362 {
8363 PyThreadState* __tstate = wxPyBeginAllowThreads();
8364 (arg1)->ClearGrid();
8365
8366 wxPyEndAllowThreads(__tstate);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 }
8369 Py_INCREF(Py_None); resultobj = Py_None;
8370 return resultobj;
8371 fail:
8372 return NULL;
8373}
8374
8375
8376static PyObject *_wrap_Grid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8377 PyObject *resultobj;
8378 wxGrid *arg1 = (wxGrid *) 0 ;
8379 int arg2 = (int) 0 ;
8380 int arg3 = (int) 1 ;
423f194a 8381 bool arg4 = (bool) True ;
d14a1e28
RD
8382 bool result;
8383 PyObject * obj0 = 0 ;
8edf1c75
RD
8384 PyObject * obj1 = 0 ;
8385 PyObject * obj2 = 0 ;
d14a1e28
RD
8386 PyObject * obj3 = 0 ;
8387 char *kwnames[] = {
8388 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8389 };
8390
8edf1c75 8391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 8394 if (obj1) {
2f4c0a16
RD
8395 arg2 = (int) SWIG_AsInt(obj1);
8396 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8397 }
8398 if (obj2) {
2f4c0a16
RD
8399 arg3 = (int) SWIG_AsInt(obj2);
8400 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8401 }
d14a1e28 8402 if (obj3) {
2f4c0a16
RD
8403 arg4 = (bool) SWIG_AsBool(obj3);
8404 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8405 }
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 result = (bool)(arg1)->InsertRows(arg2,arg3,arg4);
8409
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
4f89f6a3
RD
8413 {
8414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8415 }
d14a1e28
RD
8416 return resultobj;
8417 fail:
8418 return NULL;
8419}
8420
8421
8422static PyObject *_wrap_Grid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8423 PyObject *resultobj;
8424 wxGrid *arg1 = (wxGrid *) 0 ;
8425 int arg2 = (int) 1 ;
423f194a 8426 bool arg3 = (bool) True ;
d14a1e28
RD
8427 bool result;
8428 PyObject * obj0 = 0 ;
8edf1c75 8429 PyObject * obj1 = 0 ;
d14a1e28
RD
8430 PyObject * obj2 = 0 ;
8431 char *kwnames[] = {
8432 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8433 };
8434
8edf1c75 8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 8438 if (obj1) {
2f4c0a16
RD
8439 arg2 = (int) SWIG_AsInt(obj1);
8440 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8441 }
d14a1e28 8442 if (obj2) {
2f4c0a16
RD
8443 arg3 = (bool) SWIG_AsBool(obj2);
8444 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8445 }
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 result = (bool)(arg1)->AppendRows(arg2,arg3);
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 }
4f89f6a3
RD
8453 {
8454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8455 }
d14a1e28
RD
8456 return resultobj;
8457 fail:
8458 return NULL;
8459}
8460
8461
8462static PyObject *_wrap_Grid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8463 PyObject *resultobj;
8464 wxGrid *arg1 = (wxGrid *) 0 ;
8465 int arg2 = (int) 0 ;
8466 int arg3 = (int) 1 ;
423f194a 8467 bool arg4 = (bool) True ;
d14a1e28
RD
8468 bool result;
8469 PyObject * obj0 = 0 ;
8edf1c75
RD
8470 PyObject * obj1 = 0 ;
8471 PyObject * obj2 = 0 ;
d14a1e28
RD
8472 PyObject * obj3 = 0 ;
8473 char *kwnames[] = {
8474 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8475 };
8476
8edf1c75 8477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 8480 if (obj1) {
2f4c0a16
RD
8481 arg2 = (int) SWIG_AsInt(obj1);
8482 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8483 }
8484 if (obj2) {
2f4c0a16
RD
8485 arg3 = (int) SWIG_AsInt(obj2);
8486 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8487 }
d14a1e28 8488 if (obj3) {
2f4c0a16
RD
8489 arg4 = (bool) SWIG_AsBool(obj3);
8490 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8491 }
8492 {
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 result = (bool)(arg1)->DeleteRows(arg2,arg3,arg4);
8495
8496 wxPyEndAllowThreads(__tstate);
8497 if (PyErr_Occurred()) SWIG_fail;
8498 }
4f89f6a3
RD
8499 {
8500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8501 }
d14a1e28
RD
8502 return resultobj;
8503 fail:
8504 return NULL;
8505}
8506
8507
8508static PyObject *_wrap_Grid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8509 PyObject *resultobj;
8510 wxGrid *arg1 = (wxGrid *) 0 ;
8511 int arg2 = (int) 0 ;
8512 int arg3 = (int) 1 ;
423f194a 8513 bool arg4 = (bool) True ;
d14a1e28
RD
8514 bool result;
8515 PyObject * obj0 = 0 ;
8edf1c75
RD
8516 PyObject * obj1 = 0 ;
8517 PyObject * obj2 = 0 ;
d14a1e28
RD
8518 PyObject * obj3 = 0 ;
8519 char *kwnames[] = {
8520 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8521 };
8522
8edf1c75 8523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 8526 if (obj1) {
2f4c0a16
RD
8527 arg2 = (int) SWIG_AsInt(obj1);
8528 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8529 }
8530 if (obj2) {
2f4c0a16
RD
8531 arg3 = (int) SWIG_AsInt(obj2);
8532 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8533 }
d14a1e28 8534 if (obj3) {
2f4c0a16
RD
8535 arg4 = (bool) SWIG_AsBool(obj3);
8536 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8537 }
8538 {
8539 PyThreadState* __tstate = wxPyBeginAllowThreads();
8540 result = (bool)(arg1)->InsertCols(arg2,arg3,arg4);
8541
8542 wxPyEndAllowThreads(__tstate);
8543 if (PyErr_Occurred()) SWIG_fail;
8544 }
4f89f6a3
RD
8545 {
8546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8547 }
d14a1e28
RD
8548 return resultobj;
8549 fail:
8550 return NULL;
8551}
8552
8553
8554static PyObject *_wrap_Grid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8555 PyObject *resultobj;
8556 wxGrid *arg1 = (wxGrid *) 0 ;
8557 int arg2 = (int) 1 ;
423f194a 8558 bool arg3 = (bool) True ;
d14a1e28
RD
8559 bool result;
8560 PyObject * obj0 = 0 ;
8edf1c75 8561 PyObject * obj1 = 0 ;
d14a1e28
RD
8562 PyObject * obj2 = 0 ;
8563 char *kwnames[] = {
8564 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8565 };
8566
8edf1c75 8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 8570 if (obj1) {
2f4c0a16
RD
8571 arg2 = (int) SWIG_AsInt(obj1);
8572 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8573 }
d14a1e28 8574 if (obj2) {
2f4c0a16
RD
8575 arg3 = (bool) SWIG_AsBool(obj2);
8576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8577 }
8578 {
8579 PyThreadState* __tstate = wxPyBeginAllowThreads();
8580 result = (bool)(arg1)->AppendCols(arg2,arg3);
8581
8582 wxPyEndAllowThreads(__tstate);
8583 if (PyErr_Occurred()) SWIG_fail;
8584 }
4f89f6a3
RD
8585 {
8586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8587 }
d14a1e28
RD
8588 return resultobj;
8589 fail:
8590 return NULL;
8591}
8592
8593
8594static PyObject *_wrap_Grid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8595 PyObject *resultobj;
8596 wxGrid *arg1 = (wxGrid *) 0 ;
8597 int arg2 = (int) 0 ;
8598 int arg3 = (int) 1 ;
423f194a 8599 bool arg4 = (bool) True ;
d14a1e28
RD
8600 bool result;
8601 PyObject * obj0 = 0 ;
8edf1c75
RD
8602 PyObject * obj1 = 0 ;
8603 PyObject * obj2 = 0 ;
d14a1e28
RD
8604 PyObject * obj3 = 0 ;
8605 char *kwnames[] = {
8606 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8607 };
8608
8edf1c75 8609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 8612 if (obj1) {
2f4c0a16
RD
8613 arg2 = (int) SWIG_AsInt(obj1);
8614 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8615 }
8616 if (obj2) {
2f4c0a16
RD
8617 arg3 = (int) SWIG_AsInt(obj2);
8618 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8619 }
d14a1e28 8620 if (obj3) {
2f4c0a16
RD
8621 arg4 = (bool) SWIG_AsBool(obj3);
8622 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8623 }
8624 {
8625 PyThreadState* __tstate = wxPyBeginAllowThreads();
8626 result = (bool)(arg1)->DeleteCols(arg2,arg3,arg4);
8627
8628 wxPyEndAllowThreads(__tstate);
8629 if (PyErr_Occurred()) SWIG_fail;
8630 }
4f89f6a3
RD
8631 {
8632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8633 }
d14a1e28
RD
8634 return resultobj;
8635 fail:
8636 return NULL;
8637}
8638
8639
8640static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj;
8642 wxGrid *arg1 = (wxGrid *) 0 ;
8643 wxDC *arg2 = 0 ;
8644 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
8645 PyObject * obj0 = 0 ;
8646 PyObject * obj1 = 0 ;
8647 PyObject * obj2 = 0 ;
8648 char *kwnames[] = {
8649 (char *) "self",(char *) "dc",(char *) "attr", NULL
8650 };
8651
8652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DrawCellHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8656 SWIG_POINTER_EXCEPTION | 0)) == -1)
8657 SWIG_fail;
d14a1e28 8658 if (arg2 == NULL) {
2f4c0a16
RD
8659 PyErr_SetString(PyExc_TypeError,"null reference");
8660 SWIG_fail;
d14a1e28 8661 }
2f4c0a16
RD
8662 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
8663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8664 {
8665 PyThreadState* __tstate = wxPyBeginAllowThreads();
8666 (arg1)->DrawCellHighlight(*arg2,(wxGridCellAttr const *)arg3);
8667
8668 wxPyEndAllowThreads(__tstate);
8669 if (PyErr_Occurred()) SWIG_fail;
8670 }
8671 Py_INCREF(Py_None); resultobj = Py_None;
8672 return resultobj;
8673 fail:
8674 return NULL;
8675}
8676
8677
8678static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8679 PyObject *resultobj;
8680 wxGrid *arg1 = (wxGrid *) 0 ;
8681 wxDC *arg2 = 0 ;
8682 wxString *arg3 = 0 ;
8683 wxRect *arg4 = 0 ;
8684 int arg5 = (int) wxLEFT ;
8685 int arg6 = (int) wxTOP ;
8686 int arg7 = (int) wxHORIZONTAL ;
423f194a 8687 bool temp3 = False ;
d14a1e28
RD
8688 wxRect temp4 ;
8689 PyObject * obj0 = 0 ;
8690 PyObject * obj1 = 0 ;
8691 PyObject * obj2 = 0 ;
8692 PyObject * obj3 = 0 ;
8edf1c75
RD
8693 PyObject * obj4 = 0 ;
8694 PyObject * obj5 = 0 ;
8695 PyObject * obj6 = 0 ;
d14a1e28
RD
8696 char *kwnames[] = {
8697 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8698 };
8699
8edf1c75 8700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
8701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8704 SWIG_POINTER_EXCEPTION | 0)) == -1)
8705 SWIG_fail;
d14a1e28 8706 if (arg2 == NULL) {
2f4c0a16
RD
8707 PyErr_SetString(PyExc_TypeError,"null reference");
8708 SWIG_fail;
d14a1e28
RD
8709 }
8710 {
8711 arg3 = wxString_in_helper(obj2);
8712 if (arg3 == NULL) SWIG_fail;
423f194a 8713 temp3 = True;
d14a1e28
RD
8714 }
8715 {
8716 arg4 = &temp4;
8717 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
8718 }
8edf1c75 8719 if (obj4) {
2f4c0a16
RD
8720 arg5 = (int) SWIG_AsInt(obj4);
8721 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8722 }
8723 if (obj5) {
2f4c0a16
RD
8724 arg6 = (int) SWIG_AsInt(obj5);
8725 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8726 }
8727 if (obj6) {
2f4c0a16
RD
8728 arg7 = (int) SWIG_AsInt(obj6);
8729 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8730 }
d14a1e28
RD
8731 {
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 (arg1)->DrawTextRectangle(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
8734
8735 wxPyEndAllowThreads(__tstate);
8736 if (PyErr_Occurred()) SWIG_fail;
8737 }
8738 Py_INCREF(Py_None); resultobj = Py_None;
8739 {
8740 if (temp3)
8741 delete arg3;
8742 }
8743 return resultobj;
8744 fail:
8745 {
8746 if (temp3)
8747 delete arg3;
8748 }
8749 return NULL;
8750}
8751
8752
8753static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj;
8755 wxGrid *arg1 = (wxGrid *) 0 ;
8756 wxDC *arg2 = 0 ;
8757 wxArrayString *arg3 = 0 ;
8758 long *arg4 = (long *) 0 ;
8759 long *arg5 = (long *) 0 ;
db914595 8760 bool temp3 = False ;
d14a1e28
RD
8761 long temp4 ;
8762 long temp5 ;
8763 PyObject * obj0 = 0 ;
8764 PyObject * obj1 = 0 ;
8765 PyObject * obj2 = 0 ;
8766 char *kwnames[] = {
8767 (char *) "self",(char *) "dc",(char *) "lines", NULL
8768 };
8769
8770 arg4 = &temp4;
8771 arg5 = &temp5;
8772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetTextBoxSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8775 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8776 SWIG_POINTER_EXCEPTION | 0)) == -1)
8777 SWIG_fail;
d14a1e28 8778 if (arg2 == NULL) {
2f4c0a16
RD
8779 PyErr_SetString(PyExc_TypeError,"null reference");
8780 SWIG_fail;
d14a1e28
RD
8781 }
8782 {
8783 if (! PySequence_Check(obj2)) {
8784 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8785 SWIG_fail;
8786 }
8787 arg3 = new wxArrayString;
db914595 8788 temp3 = True;
d14a1e28
RD
8789 int i, len=PySequence_Length(obj2);
8790 for (i=0; i<len; i++) {
8791 PyObject* item = PySequence_GetItem(obj2, i);
8792#if wxUSE_UNICODE
8793 PyObject* str = PyObject_Unicode(item);
8794#else
8795 PyObject* str = PyObject_Str(item);
8796#endif
74a57fcd 8797 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8798 arg3->Add(Py2wxString(str));
8799 Py_DECREF(item);
8800 Py_DECREF(str);
8801 }
8802 }
8803 {
8804 PyThreadState* __tstate = wxPyBeginAllowThreads();
8805 (arg1)->GetTextBoxSize(*arg2,*arg3,arg4,arg5);
8806
8807 wxPyEndAllowThreads(__tstate);
8808 if (PyErr_Occurred()) SWIG_fail;
8809 }
8810 Py_INCREF(Py_None); resultobj = Py_None;
8811 {
8812 PyObject *o = PyInt_FromLong((long) (*arg4));
8813 resultobj = t_output_helper(resultobj,o);
8814 }
8815 {
8816 PyObject *o = PyInt_FromLong((long) (*arg5));
8817 resultobj = t_output_helper(resultobj,o);
8818 }
8819 {
db914595 8820 if (temp3) delete arg3;
d14a1e28
RD
8821 }
8822 return resultobj;
8823 fail:
8824 {
db914595 8825 if (temp3) delete arg3;
d14a1e28
RD
8826 }
8827 return NULL;
8828}
8829
8830
8831static PyObject *_wrap_Grid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8832 PyObject *resultobj;
8833 wxGrid *arg1 = (wxGrid *) 0 ;
8834 PyObject * obj0 = 0 ;
8835 char *kwnames[] = {
8836 (char *) "self", NULL
8837 };
8838
8839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_BeginBatch",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8842 {
8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
8844 (arg1)->BeginBatch();
8845
8846 wxPyEndAllowThreads(__tstate);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
8849 Py_INCREF(Py_None); resultobj = Py_None;
8850 return resultobj;
8851 fail:
8852 return NULL;
8853}
8854
8855
8856static PyObject *_wrap_Grid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8857 PyObject *resultobj;
8858 wxGrid *arg1 = (wxGrid *) 0 ;
8859 PyObject * obj0 = 0 ;
8860 char *kwnames[] = {
8861 (char *) "self", NULL
8862 };
8863
8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_EndBatch",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8867 {
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 (arg1)->EndBatch();
8870
8871 wxPyEndAllowThreads(__tstate);
8872 if (PyErr_Occurred()) SWIG_fail;
8873 }
8874 Py_INCREF(Py_None); resultobj = Py_None;
8875 return resultobj;
8876 fail:
8877 return NULL;
8878}
8879
8880
8881static PyObject *_wrap_Grid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8882 PyObject *resultobj;
8883 wxGrid *arg1 = (wxGrid *) 0 ;
8884 int result;
8885 PyObject * obj0 = 0 ;
8886 char *kwnames[] = {
8887 (char *) "self", NULL
8888 };
8889
8890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetBatchCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 result = (int)(arg1)->GetBatchCount();
8896
8897 wxPyEndAllowThreads(__tstate);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
2f4c0a16 8900 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8901 return resultobj;
8902 fail:
8903 return NULL;
8904}
8905
8906
8907static PyObject *_wrap_Grid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8908 PyObject *resultobj;
8909 wxGrid *arg1 = (wxGrid *) 0 ;
8910 PyObject * obj0 = 0 ;
8911 char *kwnames[] = {
8912 (char *) "self", NULL
8913 };
8914
8915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ForceRefresh",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8918 {
8919 PyThreadState* __tstate = wxPyBeginAllowThreads();
8920 (arg1)->ForceRefresh();
8921
8922 wxPyEndAllowThreads(__tstate);
8923 if (PyErr_Occurred()) SWIG_fail;
8924 }
8925 Py_INCREF(Py_None); resultobj = Py_None;
8926 return resultobj;
8927 fail:
8928 return NULL;
8929}
8930
8931
d14a1e28
RD
8932static PyObject *_wrap_Grid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8933 PyObject *resultobj;
8934 wxGrid *arg1 = (wxGrid *) 0 ;
8935 bool result;
8936 PyObject * obj0 = 0 ;
8937 char *kwnames[] = {
8938 (char *) "self", NULL
8939 };
8940
8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsEditable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8944 {
8945 PyThreadState* __tstate = wxPyBeginAllowThreads();
8946 result = (bool)(arg1)->IsEditable();
8947
8948 wxPyEndAllowThreads(__tstate);
8949 if (PyErr_Occurred()) SWIG_fail;
8950 }
4f89f6a3
RD
8951 {
8952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8953 }
d14a1e28
RD
8954 return resultobj;
8955 fail:
8956 return NULL;
8957}
8958
8959
8960static PyObject *_wrap_Grid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
8961 PyObject *resultobj;
8962 wxGrid *arg1 = (wxGrid *) 0 ;
8963 bool arg2 ;
8964 PyObject * obj0 = 0 ;
8965 PyObject * obj1 = 0 ;
8966 char *kwnames[] = {
8967 (char *) "self",(char *) "edit", NULL
8968 };
8969
8970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_EnableEditing",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8973 arg2 = (bool) SWIG_AsBool(obj1);
8974 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 (arg1)->EnableEditing(arg2);
8978
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 Py_INCREF(Py_None); resultobj = Py_None;
8983 return resultobj;
8984 fail:
8985 return NULL;
8986}
8987
8988
8989static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8990 PyObject *resultobj;
8991 wxGrid *arg1 = (wxGrid *) 0 ;
423f194a 8992 bool arg2 = (bool) True ;
d14a1e28
RD
8993 PyObject * obj0 = 0 ;
8994 PyObject * obj1 = 0 ;
8995 char *kwnames[] = {
8996 (char *) "self",(char *) "enable", NULL
8997 };
8998
8999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableCellEditControl",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9002 if (obj1) {
2f4c0a16
RD
9003 arg2 = (bool) SWIG_AsBool(obj1);
9004 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9005 }
9006 {
9007 PyThreadState* __tstate = wxPyBeginAllowThreads();
9008 (arg1)->EnableCellEditControl(arg2);
9009
9010 wxPyEndAllowThreads(__tstate);
9011 if (PyErr_Occurred()) SWIG_fail;
9012 }
9013 Py_INCREF(Py_None); resultobj = Py_None;
9014 return resultobj;
9015 fail:
9016 return NULL;
9017}
9018
9019
9020static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9021 PyObject *resultobj;
9022 wxGrid *arg1 = (wxGrid *) 0 ;
9023 PyObject * obj0 = 0 ;
9024 char *kwnames[] = {
9025 (char *) "self", NULL
9026 };
9027
9028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableCellEditControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 (arg1)->DisableCellEditControl();
9034
9035 wxPyEndAllowThreads(__tstate);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 }
9038 Py_INCREF(Py_None); resultobj = Py_None;
9039 return resultobj;
9040 fail:
9041 return NULL;
9042}
9043
9044
9045static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9046 PyObject *resultobj;
9047 wxGrid *arg1 = (wxGrid *) 0 ;
9048 bool result;
9049 PyObject * obj0 = 0 ;
9050 char *kwnames[] = {
9051 (char *) "self", NULL
9052 };
9053
9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanEnableCellControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9057 {
9058 PyThreadState* __tstate = wxPyBeginAllowThreads();
9059 result = (bool)((wxGrid const *)arg1)->CanEnableCellControl();
9060
9061 wxPyEndAllowThreads(__tstate);
9062 if (PyErr_Occurred()) SWIG_fail;
9063 }
4f89f6a3
RD
9064 {
9065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9066 }
d14a1e28
RD
9067 return resultobj;
9068 fail:
9069 return NULL;
9070}
9071
9072
9073static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9074 PyObject *resultobj;
9075 wxGrid *arg1 = (wxGrid *) 0 ;
9076 bool result;
9077 PyObject * obj0 = 0 ;
9078 char *kwnames[] = {
9079 (char *) "self", NULL
9080 };
9081
9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9085 {
9086 PyThreadState* __tstate = wxPyBeginAllowThreads();
9087 result = (bool)((wxGrid const *)arg1)->IsCellEditControlEnabled();
9088
9089 wxPyEndAllowThreads(__tstate);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 }
4f89f6a3
RD
9092 {
9093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9094 }
d14a1e28
RD
9095 return resultobj;
9096 fail:
9097 return NULL;
9098}
9099
9100
9101static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
9102 PyObject *resultobj;
9103 wxGrid *arg1 = (wxGrid *) 0 ;
9104 bool result;
9105 PyObject * obj0 = 0 ;
9106 char *kwnames[] = {
9107 (char *) "self", NULL
9108 };
9109
9110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlShown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 result = (bool)((wxGrid const *)arg1)->IsCellEditControlShown();
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
4f89f6a3
RD
9120 {
9121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9122 }
d14a1e28
RD
9123 return resultobj;
9124 fail:
9125 return NULL;
9126}
9127
9128
9129static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
9130 PyObject *resultobj;
9131 wxGrid *arg1 = (wxGrid *) 0 ;
9132 bool result;
9133 PyObject * obj0 = 0 ;
9134 char *kwnames[] = {
9135 (char *) "self", NULL
9136 };
9137
9138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9141 {
9142 PyThreadState* __tstate = wxPyBeginAllowThreads();
9143 result = (bool)((wxGrid const *)arg1)->IsCurrentCellReadOnly();
9144
9145 wxPyEndAllowThreads(__tstate);
9146 if (PyErr_Occurred()) SWIG_fail;
9147 }
4f89f6a3
RD
9148 {
9149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9150 }
d14a1e28
RD
9151 return resultobj;
9152 fail:
9153 return NULL;
9154}
9155
9156
9157static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9158 PyObject *resultobj;
9159 wxGrid *arg1 = (wxGrid *) 0 ;
9160 PyObject * obj0 = 0 ;
9161 char *kwnames[] = {
9162 (char *) "self", NULL
9163 };
9164
9165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ShowCellEditControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 (arg1)->ShowCellEditControl();
9171
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
9175 Py_INCREF(Py_None); resultobj = Py_None;
9176 return resultobj;
9177 fail:
9178 return NULL;
9179}
9180
9181
9182static PyObject *_wrap_Grid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9183 PyObject *resultobj;
9184 wxGrid *arg1 = (wxGrid *) 0 ;
9185 PyObject * obj0 = 0 ;
9186 char *kwnames[] = {
9187 (char *) "self", NULL
9188 };
9189
9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_HideCellEditControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9193 {
9194 PyThreadState* __tstate = wxPyBeginAllowThreads();
9195 (arg1)->HideCellEditControl();
9196
9197 wxPyEndAllowThreads(__tstate);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 }
9200 Py_INCREF(Py_None); resultobj = Py_None;
9201 return resultobj;
9202 fail:
9203 return NULL;
9204}
9205
9206
9207static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9208 PyObject *resultobj;
9209 wxGrid *arg1 = (wxGrid *) 0 ;
9210 PyObject * obj0 = 0 ;
9211 char *kwnames[] = {
9212 (char *) "self", NULL
9213 };
9214
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SaveEditControlValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 (arg1)->SaveEditControlValue();
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 Py_INCREF(Py_None); resultobj = Py_None;
9226 return resultobj;
9227 fail:
9228 return NULL;
9229}
9230
9231
9232static PyObject *_wrap_Grid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
9233 PyObject *resultobj;
9234 wxGrid *arg1 = (wxGrid *) 0 ;
9235 int arg2 ;
9236 int arg3 ;
9237 wxGridCellCoords result;
9238 PyObject * obj0 = 0 ;
8edf1c75
RD
9239 PyObject * obj1 = 0 ;
9240 PyObject * obj2 = 0 ;
d14a1e28
RD
9241 char *kwnames[] = {
9242 (char *) "self",(char *) "x",(char *) "y", NULL
9243 };
9244
8edf1c75 9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_XYToCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9248 arg2 = (int) SWIG_AsInt(obj1);
9249 if (PyErr_Occurred()) SWIG_fail;
9250 arg3 = (int) SWIG_AsInt(obj2);
9251 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9252 {
9253 PyThreadState* __tstate = wxPyBeginAllowThreads();
9254 result = wxGrid_XYToCell(arg1,arg2,arg3);
9255
9256 wxPyEndAllowThreads(__tstate);
9257 if (PyErr_Occurred()) SWIG_fail;
9258 }
9259 {
9260 wxGridCellCoords * resultptr;
9261 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
2f4c0a16 9262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
9263 }
9264 return resultobj;
9265 fail:
9266 return NULL;
9267}
9268
9269
9270static PyObject *_wrap_Grid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9271 PyObject *resultobj;
9272 wxGrid *arg1 = (wxGrid *) 0 ;
9273 int arg2 ;
9274 int result;
9275 PyObject * obj0 = 0 ;
8edf1c75 9276 PyObject * obj1 = 0 ;
d14a1e28
RD
9277 char *kwnames[] = {
9278 (char *) "self",(char *) "y", NULL
9279 };
9280
8edf1c75 9281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9284 arg2 = (int) SWIG_AsInt(obj1);
9285 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9286 {
9287 PyThreadState* __tstate = wxPyBeginAllowThreads();
9288 result = (int)(arg1)->YToRow(arg2);
9289
9290 wxPyEndAllowThreads(__tstate);
9291 if (PyErr_Occurred()) SWIG_fail;
9292 }
2f4c0a16 9293 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9294 return resultobj;
9295 fail:
9296 return NULL;
9297}
9298
9299
9300static PyObject *_wrap_Grid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9301 PyObject *resultobj;
9302 wxGrid *arg1 = (wxGrid *) 0 ;
9303 int arg2 ;
9304 int result;
9305 PyObject * obj0 = 0 ;
8edf1c75 9306 PyObject * obj1 = 0 ;
d14a1e28
RD
9307 char *kwnames[] = {
9308 (char *) "self",(char *) "x", NULL
9309 };
9310
8edf1c75 9311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9314 arg2 = (int) SWIG_AsInt(obj1);
9315 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9316 {
9317 PyThreadState* __tstate = wxPyBeginAllowThreads();
9318 result = (int)(arg1)->XToCol(arg2);
9319
9320 wxPyEndAllowThreads(__tstate);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
2f4c0a16 9323 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9324 return resultobj;
9325 fail:
9326 return NULL;
9327}
9328
9329
9330static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9331 PyObject *resultobj;
9332 wxGrid *arg1 = (wxGrid *) 0 ;
9333 int arg2 ;
9334 int result;
9335 PyObject * obj0 = 0 ;
8edf1c75 9336 PyObject * obj1 = 0 ;
d14a1e28
RD
9337 char *kwnames[] = {
9338 (char *) "self",(char *) "y", NULL
9339 };
9340
8edf1c75 9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToEdgeOfRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9344 arg2 = (int) SWIG_AsInt(obj1);
9345 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
9348 result = (int)(arg1)->YToEdgeOfRow(arg2);
9349
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
2f4c0a16 9353 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9354 return resultobj;
9355 fail:
9356 return NULL;
9357}
9358
9359
9360static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9361 PyObject *resultobj;
9362 wxGrid *arg1 = (wxGrid *) 0 ;
9363 int arg2 ;
9364 int result;
9365 PyObject * obj0 = 0 ;
8edf1c75 9366 PyObject * obj1 = 0 ;
d14a1e28
RD
9367 char *kwnames[] = {
9368 (char *) "self",(char *) "x", NULL
9369 };
9370
8edf1c75 9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToEdgeOfCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9374 arg2 = (int) SWIG_AsInt(obj1);
9375 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9376 {
9377 PyThreadState* __tstate = wxPyBeginAllowThreads();
9378 result = (int)(arg1)->XToEdgeOfCol(arg2);
9379
9380 wxPyEndAllowThreads(__tstate);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
2f4c0a16 9383 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9384 return resultobj;
9385 fail:
9386 return NULL;
9387}
9388
9389
9390static PyObject *_wrap_Grid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxGrid *arg1 = (wxGrid *) 0 ;
9393 int arg2 ;
9394 int arg3 ;
9395 wxRect result;
9396 PyObject * obj0 = 0 ;
8edf1c75
RD
9397 PyObject * obj1 = 0 ;
9398 PyObject * obj2 = 0 ;
d14a1e28
RD
9399 char *kwnames[] = {
9400 (char *) "self",(char *) "row",(char *) "col", NULL
2f4c0a16
RD
9401 };
9402
9403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_CellToRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
9404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9406 arg2 = (int) SWIG_AsInt(obj1);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 arg3 = (int) SWIG_AsInt(obj2);
9409 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9410 {
9411 PyThreadState* __tstate = wxPyBeginAllowThreads();
9412 result = (arg1)->CellToRect(arg2,arg3);
9413
9414 wxPyEndAllowThreads(__tstate);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 }
9417 {
9418 wxRect * resultptr;
9419 resultptr = new wxRect((wxRect &) result);
2f4c0a16 9420 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
9421 }
9422 return resultobj;
9423 fail:
9424 return NULL;
9425}
9426
9427
9428static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9429 PyObject *resultobj;
9430 wxGrid *arg1 = (wxGrid *) 0 ;
9431 int result;
9432 PyObject * obj0 = 0 ;
9433 char *kwnames[] = {
9434 (char *) "self", NULL
9435 };
9436
9437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9440 {
9441 PyThreadState* __tstate = wxPyBeginAllowThreads();
9442 result = (int)(arg1)->GetGridCursorRow();
9443
9444 wxPyEndAllowThreads(__tstate);
9445 if (PyErr_Occurred()) SWIG_fail;
9446 }
2f4c0a16 9447 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9448 return resultobj;
9449 fail:
9450 return NULL;
9451}
9452
9453
9454static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9455 PyObject *resultobj;
9456 wxGrid *arg1 = (wxGrid *) 0 ;
9457 int result;
9458 PyObject * obj0 = 0 ;
9459 char *kwnames[] = {
9460 (char *) "self", NULL
9461 };
9462
9463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9466 {
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 result = (int)(arg1)->GetGridCursorCol();
9469
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
2f4c0a16 9473 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9474 return resultobj;
9475 fail:
9476 return NULL;
9477}
9478
9479
9480static PyObject *_wrap_Grid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9481 PyObject *resultobj;
9482 wxGrid *arg1 = (wxGrid *) 0 ;
9483 int arg2 ;
9484 int arg3 ;
423f194a 9485 bool arg4 = (bool) True ;
d14a1e28
RD
9486 bool result;
9487 PyObject * obj0 = 0 ;
8edf1c75
RD
9488 PyObject * obj1 = 0 ;
9489 PyObject * obj2 = 0 ;
d14a1e28
RD
9490 PyObject * obj3 = 0 ;
9491 char *kwnames[] = {
9492 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9493 };
9494
8edf1c75 9495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_IsVisible",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9498 arg2 = (int) SWIG_AsInt(obj1);
9499 if (PyErr_Occurred()) SWIG_fail;
9500 arg3 = (int) SWIG_AsInt(obj2);
9501 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9502 if (obj3) {
2f4c0a16
RD
9503 arg4 = (bool) SWIG_AsBool(obj3);
9504 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9505 }
9506 {
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
9508 result = (bool)(arg1)->IsVisible(arg2,arg3,arg4);
9509
9510 wxPyEndAllowThreads(__tstate);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
4f89f6a3
RD
9513 {
9514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9515 }
d14a1e28
RD
9516 return resultobj;
9517 fail:
9518 return NULL;
9519}
9520
9521
9522static PyObject *_wrap_Grid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9523 PyObject *resultobj;
9524 wxGrid *arg1 = (wxGrid *) 0 ;
9525 int arg2 ;
9526 int arg3 ;
9527 PyObject * obj0 = 0 ;
8edf1c75
RD
9528 PyObject * obj1 = 0 ;
9529 PyObject * obj2 = 0 ;
d14a1e28
RD
9530 char *kwnames[] = {
9531 (char *) "self",(char *) "row",(char *) "col", NULL
9532 };
9533
8edf1c75 9534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_MakeCellVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9537 arg2 = (int) SWIG_AsInt(obj1);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 arg3 = (int) SWIG_AsInt(obj2);
9540 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9541 {
9542 PyThreadState* __tstate = wxPyBeginAllowThreads();
9543 (arg1)->MakeCellVisible(arg2,arg3);
9544
9545 wxPyEndAllowThreads(__tstate);
9546 if (PyErr_Occurred()) SWIG_fail;
9547 }
9548 Py_INCREF(Py_None); resultobj = Py_None;
9549 return resultobj;
9550 fail:
9551 return NULL;
9552}
9553
9554
9555static PyObject *_wrap_Grid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9556 PyObject *resultobj;
9557 wxGrid *arg1 = (wxGrid *) 0 ;
9558 int arg2 ;
9559 int arg3 ;
9560 PyObject * obj0 = 0 ;
8edf1c75
RD
9561 PyObject * obj1 = 0 ;
9562 PyObject * obj2 = 0 ;
d14a1e28
RD
9563 char *kwnames[] = {
9564 (char *) "self",(char *) "row",(char *) "col", NULL
9565 };
9566
8edf1c75 9567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetGridCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9570 arg2 = (int) SWIG_AsInt(obj1);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 arg3 = (int) SWIG_AsInt(obj2);
9573 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9574 {
9575 PyThreadState* __tstate = wxPyBeginAllowThreads();
9576 (arg1)->SetGridCursor(arg2,arg3);
9577
9578 wxPyEndAllowThreads(__tstate);
9579 if (PyErr_Occurred()) SWIG_fail;
9580 }
9581 Py_INCREF(Py_None); resultobj = Py_None;
9582 return resultobj;
9583 fail:
9584 return NULL;
9585}
9586
9587
9588static PyObject *_wrap_Grid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9589 PyObject *resultobj;
9590 wxGrid *arg1 = (wxGrid *) 0 ;
9591 bool arg2 ;
9592 bool result;
9593 PyObject * obj0 = 0 ;
9594 PyObject * obj1 = 0 ;
9595 char *kwnames[] = {
9596 (char *) "self",(char *) "expandSelection", NULL
9597 };
9598
9599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9602 arg2 = (bool) SWIG_AsBool(obj1);
9603 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9604 {
9605 PyThreadState* __tstate = wxPyBeginAllowThreads();
9606 result = (bool)(arg1)->MoveCursorUp(arg2);
9607
9608 wxPyEndAllowThreads(__tstate);
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
4f89f6a3
RD
9611 {
9612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9613 }
d14a1e28
RD
9614 return resultobj;
9615 fail:
9616 return NULL;
9617}
9618
9619
9620static PyObject *_wrap_Grid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9621 PyObject *resultobj;
9622 wxGrid *arg1 = (wxGrid *) 0 ;
9623 bool arg2 ;
9624 bool result;
9625 PyObject * obj0 = 0 ;
9626 PyObject * obj1 = 0 ;
9627 char *kwnames[] = {
9628 (char *) "self",(char *) "expandSelection", NULL
9629 };
9630
9631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9634 arg2 = (bool) SWIG_AsBool(obj1);
9635 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 result = (bool)(arg1)->MoveCursorDown(arg2);
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
4f89f6a3
RD
9643 {
9644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9645 }
d14a1e28
RD
9646 return resultobj;
9647 fail:
9648 return NULL;
9649}
9650
9651
9652static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9653 PyObject *resultobj;
9654 wxGrid *arg1 = (wxGrid *) 0 ;
9655 bool arg2 ;
9656 bool result;
9657 PyObject * obj0 = 0 ;
9658 PyObject * obj1 = 0 ;
9659 char *kwnames[] = {
9660 (char *) "self",(char *) "expandSelection", NULL
9661 };
9662
9663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeft",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9666 arg2 = (bool) SWIG_AsBool(obj1);
9667 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9668 {
9669 PyThreadState* __tstate = wxPyBeginAllowThreads();
9670 result = (bool)(arg1)->MoveCursorLeft(arg2);
9671
9672 wxPyEndAllowThreads(__tstate);
9673 if (PyErr_Occurred()) SWIG_fail;
9674 }
4f89f6a3
RD
9675 {
9676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9677 }
d14a1e28
RD
9678 return resultobj;
9679 fail:
9680 return NULL;
9681}
9682
9683
9684static PyObject *_wrap_Grid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9685 PyObject *resultobj;
9686 wxGrid *arg1 = (wxGrid *) 0 ;
9687 bool arg2 ;
9688 bool result;
9689 PyObject * obj0 = 0 ;
9690 PyObject * obj1 = 0 ;
9691 char *kwnames[] = {
9692 (char *) "self",(char *) "expandSelection", NULL
9693 };
9694
9695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9698 arg2 = (bool) SWIG_AsBool(obj1);
9699 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9700 {
9701 PyThreadState* __tstate = wxPyBeginAllowThreads();
9702 result = (bool)(arg1)->MoveCursorRight(arg2);
9703
9704 wxPyEndAllowThreads(__tstate);
9705 if (PyErr_Occurred()) SWIG_fail;
9706 }
4f89f6a3
RD
9707 {
9708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9709 }
d14a1e28
RD
9710 return resultobj;
9711 fail:
9712 return NULL;
9713}
9714
9715
9716static PyObject *_wrap_Grid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9717 PyObject *resultobj;
9718 wxGrid *arg1 = (wxGrid *) 0 ;
9719 bool result;
9720 PyObject * obj0 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (bool)(arg1)->MovePageDown();
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
4f89f6a3
RD
9735 {
9736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9737 }
d14a1e28
RD
9738 return resultobj;
9739 fail:
9740 return NULL;
9741}
9742
9743
9744static PyObject *_wrap_Grid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9745 PyObject *resultobj;
9746 wxGrid *arg1 = (wxGrid *) 0 ;
9747 bool result;
9748 PyObject * obj0 = 0 ;
9749 char *kwnames[] = {
9750 (char *) "self", NULL
9751 };
9752
9753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 result = (bool)(arg1)->MovePageUp();
9759
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
4f89f6a3
RD
9763 {
9764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9765 }
d14a1e28
RD
9766 return resultobj;
9767 fail:
9768 return NULL;
9769}
9770
9771
9772static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9773 PyObject *resultobj;
9774 wxGrid *arg1 = (wxGrid *) 0 ;
9775 bool arg2 ;
9776 bool result;
9777 PyObject * obj0 = 0 ;
9778 PyObject * obj1 = 0 ;
9779 char *kwnames[] = {
9780 (char *) "self",(char *) "expandSelection", NULL
9781 };
9782
9783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUpBlock",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9786 arg2 = (bool) SWIG_AsBool(obj1);
9787 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9788 {
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 result = (bool)(arg1)->MoveCursorUpBlock(arg2);
9791
9792 wxPyEndAllowThreads(__tstate);
9793 if (PyErr_Occurred()) SWIG_fail;
9794 }
4f89f6a3
RD
9795 {
9796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9797 }
d14a1e28
RD
9798 return resultobj;
9799 fail:
9800 return NULL;
9801}
9802
9803
9804static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9805 PyObject *resultobj;
9806 wxGrid *arg1 = (wxGrid *) 0 ;
9807 bool arg2 ;
9808 bool result;
9809 PyObject * obj0 = 0 ;
9810 PyObject * obj1 = 0 ;
9811 char *kwnames[] = {
9812 (char *) "self",(char *) "expandSelection", NULL
9813 };
9814
9815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDownBlock",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9818 arg2 = (bool) SWIG_AsBool(obj1);
9819 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 result = (bool)(arg1)->MoveCursorDownBlock(arg2);
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
4f89f6a3
RD
9827 {
9828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9829 }
d14a1e28
RD
9830 return resultobj;
9831 fail:
9832 return NULL;
9833}
9834
9835
9836static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9837 PyObject *resultobj;
9838 wxGrid *arg1 = (wxGrid *) 0 ;
9839 bool arg2 ;
9840 bool result;
9841 PyObject * obj0 = 0 ;
9842 PyObject * obj1 = 0 ;
9843 char *kwnames[] = {
9844 (char *) "self",(char *) "expandSelection", NULL
9845 };
9846
9847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9850 arg2 = (bool) SWIG_AsBool(obj1);
9851 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 result = (bool)(arg1)->MoveCursorLeftBlock(arg2);
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
4f89f6a3
RD
9859 {
9860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9861 }
d14a1e28
RD
9862 return resultobj;
9863 fail:
9864 return NULL;
9865}
9866
9867
9868static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9869 PyObject *resultobj;
9870 wxGrid *arg1 = (wxGrid *) 0 ;
9871 bool arg2 ;
9872 bool result;
9873 PyObject * obj0 = 0 ;
9874 PyObject * obj1 = 0 ;
9875 char *kwnames[] = {
9876 (char *) "self",(char *) "expandSelection", NULL
9877 };
9878
9879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRightBlock",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9882 arg2 = (bool) SWIG_AsBool(obj1);
9883 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9884 {
9885 PyThreadState* __tstate = wxPyBeginAllowThreads();
9886 result = (bool)(arg1)->MoveCursorRightBlock(arg2);
9887
9888 wxPyEndAllowThreads(__tstate);
9889 if (PyErr_Occurred()) SWIG_fail;
9890 }
4f89f6a3
RD
9891 {
9892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9893 }
d14a1e28
RD
9894 return resultobj;
9895 fail:
9896 return NULL;
9897}
9898
9899
9900static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9901 PyObject *resultobj;
9902 wxGrid *arg1 = (wxGrid *) 0 ;
9903 int result;
9904 PyObject * obj0 = 0 ;
9905 char *kwnames[] = {
9906 (char *) "self", NULL
9907 };
9908
9909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9912 {
9913 PyThreadState* __tstate = wxPyBeginAllowThreads();
9914 result = (int)(arg1)->GetDefaultRowLabelSize();
9915
9916 wxPyEndAllowThreads(__tstate);
9917 if (PyErr_Occurred()) SWIG_fail;
9918 }
2f4c0a16 9919 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9920 return resultobj;
9921 fail:
9922 return NULL;
9923}
9924
9925
9926static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9927 PyObject *resultobj;
9928 wxGrid *arg1 = (wxGrid *) 0 ;
9929 int result;
9930 PyObject * obj0 = 0 ;
9931 char *kwnames[] = {
9932 (char *) "self", NULL
9933 };
9934
9935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9938 {
9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
9940 result = (int)(arg1)->GetRowLabelSize();
9941
9942 wxPyEndAllowThreads(__tstate);
9943 if (PyErr_Occurred()) SWIG_fail;
9944 }
2f4c0a16 9945 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9946 return resultobj;
9947 fail:
9948 return NULL;
9949}
9950
9951
9952static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9953 PyObject *resultobj;
9954 wxGrid *arg1 = (wxGrid *) 0 ;
9955 int result;
9956 PyObject * obj0 = 0 ;
9957 char *kwnames[] = {
9958 (char *) "self", NULL
9959 };
9960
9961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColLabelSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 result = (int)(arg1)->GetDefaultColLabelSize();
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
2f4c0a16 9971 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9972 return resultobj;
9973 fail:
9974 return NULL;
9975}
9976
9977
9978static PyObject *_wrap_Grid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9979 PyObject *resultobj;
9980 wxGrid *arg1 = (wxGrid *) 0 ;
9981 int result;
9982 PyObject * obj0 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9990 {
9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
9992 result = (int)(arg1)->GetColLabelSize();
9993
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
2f4c0a16 9997 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9998 return resultobj;
9999 fail:
10000 return NULL;
10001}
10002
10003
10004static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10005 PyObject *resultobj;
10006 wxGrid *arg1 = (wxGrid *) 0 ;
10007 wxColour result;
10008 PyObject * obj0 = 0 ;
10009 char *kwnames[] = {
10010 (char *) "self", NULL
10011 };
10012
10013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10016 {
10017 PyThreadState* __tstate = wxPyBeginAllowThreads();
10018 result = (arg1)->GetLabelBackgroundColour();
10019
10020 wxPyEndAllowThreads(__tstate);
10021 if (PyErr_Occurred()) SWIG_fail;
10022 }
10023 {
10024 wxColour * resultptr;
10025 resultptr = new wxColour((wxColour &) result);
2f4c0a16 10026 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10027 }
10028 return resultobj;
10029 fail:
10030 return NULL;
10031}
10032
10033
10034static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10035 PyObject *resultobj;
10036 wxGrid *arg1 = (wxGrid *) 0 ;
10037 wxColour result;
10038 PyObject * obj0 = 0 ;
10039 char *kwnames[] = {
10040 (char *) "self", NULL
10041 };
10042
10043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10046 {
10047 PyThreadState* __tstate = wxPyBeginAllowThreads();
10048 result = (arg1)->GetLabelTextColour();
10049
10050 wxPyEndAllowThreads(__tstate);
10051 if (PyErr_Occurred()) SWIG_fail;
10052 }
10053 {
10054 wxColour * resultptr;
10055 resultptr = new wxColour((wxColour &) result);
2f4c0a16 10056 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10057 }
10058 return resultobj;
10059 fail:
10060 return NULL;
10061}
10062
10063
10064static PyObject *_wrap_Grid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10065 PyObject *resultobj;
10066 wxGrid *arg1 = (wxGrid *) 0 ;
10067 wxFont result;
10068 PyObject * obj0 = 0 ;
10069 char *kwnames[] = {
10070 (char *) "self", NULL
10071 };
10072
10073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10076 {
10077 PyThreadState* __tstate = wxPyBeginAllowThreads();
10078 result = (arg1)->GetLabelFont();
10079
10080 wxPyEndAllowThreads(__tstate);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
10083 {
10084 wxFont * resultptr;
10085 resultptr = new wxFont((wxFont &) result);
2f4c0a16 10086 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
10087 }
10088 return resultobj;
10089 fail:
10090 return NULL;
10091}
10092
10093
10094static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10095 PyObject *resultobj;
10096 wxGrid *arg1 = (wxGrid *) 0 ;
10097 int *arg2 = (int *) 0 ;
10098 int *arg3 = (int *) 0 ;
10099 int temp2 ;
10100 int temp3 ;
10101 PyObject * obj0 = 0 ;
10102 char *kwnames[] = {
10103 (char *) "self", NULL
10104 };
10105
10106 arg2 = &temp2;
10107 arg3 = &temp3;
10108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelAlignment",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10111 {
10112 PyThreadState* __tstate = wxPyBeginAllowThreads();
10113 (arg1)->GetRowLabelAlignment(arg2,arg3);
10114
10115 wxPyEndAllowThreads(__tstate);
10116 if (PyErr_Occurred()) SWIG_fail;
10117 }
10118 Py_INCREF(Py_None); resultobj = Py_None;
10119 {
10120 PyObject *o = PyInt_FromLong((long) (*arg2));
10121 resultobj = t_output_helper(resultobj,o);
10122 }
10123 {
10124 PyObject *o = PyInt_FromLong((long) (*arg3));
10125 resultobj = t_output_helper(resultobj,o);
10126 }
10127 return resultobj;
10128 fail:
10129 return NULL;
10130}
10131
10132
10133static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10134 PyObject *resultobj;
10135 wxGrid *arg1 = (wxGrid *) 0 ;
10136 int *arg2 = (int *) 0 ;
10137 int *arg3 = (int *) 0 ;
10138 int temp2 ;
10139 int temp3 ;
10140 PyObject * obj0 = 0 ;
10141 char *kwnames[] = {
10142 (char *) "self", NULL
10143 };
10144
10145 arg2 = &temp2;
10146 arg3 = &temp3;
10147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelAlignment",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10150 {
10151 PyThreadState* __tstate = wxPyBeginAllowThreads();
10152 (arg1)->GetColLabelAlignment(arg2,arg3);
10153
10154 wxPyEndAllowThreads(__tstate);
10155 if (PyErr_Occurred()) SWIG_fail;
10156 }
10157 Py_INCREF(Py_None); resultobj = Py_None;
10158 {
10159 PyObject *o = PyInt_FromLong((long) (*arg2));
10160 resultobj = t_output_helper(resultobj,o);
10161 }
10162 {
10163 PyObject *o = PyInt_FromLong((long) (*arg3));
10164 resultobj = t_output_helper(resultobj,o);
10165 }
10166 return resultobj;
10167 fail:
10168 return NULL;
10169}
10170
10171
10172static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10173 PyObject *resultobj;
10174 wxGrid *arg1 = (wxGrid *) 0 ;
10175 int result;
10176 PyObject * obj0 = 0 ;
10177 char *kwnames[] = {
10178 (char *) "self", NULL
10179 };
10180
10181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelTextOrientation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10184 {
10185 PyThreadState* __tstate = wxPyBeginAllowThreads();
10186 result = (int)(arg1)->GetColLabelTextOrientation();
10187
10188 wxPyEndAllowThreads(__tstate);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
2f4c0a16 10191 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10192 return resultobj;
10193 fail:
10194 return NULL;
10195}
10196
10197
10198static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10199 PyObject *resultobj;
10200 wxGrid *arg1 = (wxGrid *) 0 ;
10201 int arg2 ;
10202 wxString result;
10203 PyObject * obj0 = 0 ;
8edf1c75 10204 PyObject * obj1 = 0 ;
d14a1e28
RD
10205 char *kwnames[] = {
10206 (char *) "self",(char *) "row", NULL
10207 };
10208
8edf1c75 10209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10212 arg2 = (int) SWIG_AsInt(obj1);
10213 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 result = (arg1)->GetRowLabelValue(arg2);
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 {
10222#if wxUSE_UNICODE
10223 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10224#else
10225 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10226#endif
10227 }
10228 return resultobj;
10229 fail:
10230 return NULL;
10231}
10232
10233
10234static PyObject *_wrap_Grid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10235 PyObject *resultobj;
10236 wxGrid *arg1 = (wxGrid *) 0 ;
10237 int arg2 ;
10238 wxString result;
10239 PyObject * obj0 = 0 ;
8edf1c75 10240 PyObject * obj1 = 0 ;
d14a1e28
RD
10241 char *kwnames[] = {
10242 (char *) "self",(char *) "col", NULL
10243 };
10244
8edf1c75 10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10248 arg2 = (int) SWIG_AsInt(obj1);
10249 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 result = (arg1)->GetColLabelValue(arg2);
10253
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
10257 {
10258#if wxUSE_UNICODE
10259 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10260#else
10261 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10262#endif
10263 }
10264 return resultobj;
10265 fail:
10266 return NULL;
10267}
10268
10269
10270static PyObject *_wrap_Grid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10271 PyObject *resultobj;
10272 wxGrid *arg1 = (wxGrid *) 0 ;
10273 wxColour result;
10274 PyObject * obj0 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "self", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridLineColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 result = (arg1)->GetGridLineColour();
10285
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 {
10290 wxColour * resultptr;
10291 resultptr = new wxColour((wxColour &) result);
2f4c0a16 10292 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10293 }
10294 return resultobj;
10295 fail:
10296 return NULL;
10297}
10298
10299
10300static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10301 PyObject *resultobj;
10302 wxGrid *arg1 = (wxGrid *) 0 ;
10303 wxColour result;
10304 PyObject * obj0 = 0 ;
10305 char *kwnames[] = {
10306 (char *) "self", NULL
10307 };
10308
10309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10312 {
10313 PyThreadState* __tstate = wxPyBeginAllowThreads();
10314 result = (arg1)->GetCellHighlightColour();
10315
10316 wxPyEndAllowThreads(__tstate);
10317 if (PyErr_Occurred()) SWIG_fail;
10318 }
10319 {
10320 wxColour * resultptr;
10321 resultptr = new wxColour((wxColour &) result);
2f4c0a16 10322 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10323 }
10324 return resultobj;
10325 fail:
10326 return NULL;
10327}
10328
10329
10330static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10331 PyObject *resultobj;
10332 wxGrid *arg1 = (wxGrid *) 0 ;
10333 int result;
10334 PyObject * obj0 = 0 ;
10335 char *kwnames[] = {
10336 (char *) "self", NULL
10337 };
10338
10339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10342 {
10343 PyThreadState* __tstate = wxPyBeginAllowThreads();
10344 result = (int)(arg1)->GetCellHighlightPenWidth();
10345
10346 wxPyEndAllowThreads(__tstate);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 }
2f4c0a16 10349 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10350 return resultobj;
10351 fail:
10352 return NULL;
10353}
10354
10355
10356static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10357 PyObject *resultobj;
10358 wxGrid *arg1 = (wxGrid *) 0 ;
10359 int result;
10360 PyObject * obj0 = 0 ;
10361 char *kwnames[] = {
10362 (char *) "self", NULL
10363 };
10364
10365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10368 {
10369 PyThreadState* __tstate = wxPyBeginAllowThreads();
10370 result = (int)(arg1)->GetCellHighlightROPenWidth();
10371
10372 wxPyEndAllowThreads(__tstate);
10373 if (PyErr_Occurred()) SWIG_fail;
10374 }
2f4c0a16 10375 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10376 return resultobj;
10377 fail:
10378 return NULL;
10379}
10380
10381
10382static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10383 PyObject *resultobj;
10384 wxGrid *arg1 = (wxGrid *) 0 ;
10385 int arg2 ;
10386 PyObject * obj0 = 0 ;
8edf1c75 10387 PyObject * obj1 = 0 ;
d14a1e28
RD
10388 char *kwnames[] = {
10389 (char *) "self",(char *) "width", NULL
10390 };
10391
8edf1c75 10392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10395 arg2 = (int) SWIG_AsInt(obj1);
10396 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10397 {
10398 PyThreadState* __tstate = wxPyBeginAllowThreads();
10399 (arg1)->SetRowLabelSize(arg2);
10400
10401 wxPyEndAllowThreads(__tstate);
10402 if (PyErr_Occurred()) SWIG_fail;
10403 }
10404 Py_INCREF(Py_None); resultobj = Py_None;
10405 return resultobj;
10406 fail:
10407 return NULL;
10408}
10409
10410
10411static PyObject *_wrap_Grid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10412 PyObject *resultobj;
10413 wxGrid *arg1 = (wxGrid *) 0 ;
10414 int arg2 ;
10415 PyObject * obj0 = 0 ;
8edf1c75 10416 PyObject * obj1 = 0 ;
d14a1e28
RD
10417 char *kwnames[] = {
10418 (char *) "self",(char *) "height", NULL
10419 };
10420
8edf1c75 10421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10424 arg2 = (int) SWIG_AsInt(obj1);
10425 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10426 {
10427 PyThreadState* __tstate = wxPyBeginAllowThreads();
10428 (arg1)->SetColLabelSize(arg2);
10429
10430 wxPyEndAllowThreads(__tstate);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 }
10433 Py_INCREF(Py_None); resultobj = Py_None;
10434 return resultobj;
10435 fail:
10436 return NULL;
10437}
10438
10439
10440static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10441 PyObject *resultobj;
10442 wxGrid *arg1 = (wxGrid *) 0 ;
10443 wxColour *arg2 = 0 ;
10444 wxColour temp2 ;
10445 PyObject * obj0 = 0 ;
10446 PyObject * obj1 = 0 ;
10447 char *kwnames[] = {
10448 (char *) "self","arg2", NULL
10449 };
10450
10451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10454 {
10455 arg2 = &temp2;
10456 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10457 }
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
10460 (arg1)->SetLabelBackgroundColour((wxColour const &)*arg2);
10461
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 Py_INCREF(Py_None); resultobj = Py_None;
10466 return resultobj;
10467 fail:
10468 return NULL;
10469}
10470
10471
10472static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10473 PyObject *resultobj;
10474 wxGrid *arg1 = (wxGrid *) 0 ;
10475 wxColour *arg2 = 0 ;
10476 wxColour temp2 ;
10477 PyObject * obj0 = 0 ;
10478 PyObject * obj1 = 0 ;
10479 char *kwnames[] = {
10480 (char *) "self","arg2", NULL
10481 };
10482
10483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10486 {
10487 arg2 = &temp2;
10488 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10489 }
10490 {
10491 PyThreadState* __tstate = wxPyBeginAllowThreads();
10492 (arg1)->SetLabelTextColour((wxColour const &)*arg2);
10493
10494 wxPyEndAllowThreads(__tstate);
10495 if (PyErr_Occurred()) SWIG_fail;
10496 }
10497 Py_INCREF(Py_None); resultobj = Py_None;
10498 return resultobj;
10499 fail:
10500 return NULL;
10501}
10502
10503
10504static PyObject *_wrap_Grid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10505 PyObject *resultobj;
10506 wxGrid *arg1 = (wxGrid *) 0 ;
10507 wxFont *arg2 = 0 ;
10508 PyObject * obj0 = 0 ;
10509 PyObject * obj1 = 0 ;
10510 char *kwnames[] = {
10511 (char *) "self","arg2", NULL
10512 };
10513
10514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10517 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
10518 SWIG_POINTER_EXCEPTION | 0)) == -1)
10519 SWIG_fail;
d14a1e28 10520 if (arg2 == NULL) {
2f4c0a16
RD
10521 PyErr_SetString(PyExc_TypeError,"null reference");
10522 SWIG_fail;
d14a1e28
RD
10523 }
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 (arg1)->SetLabelFont((wxFont const &)*arg2);
10527
10528 wxPyEndAllowThreads(__tstate);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
10531 Py_INCREF(Py_None); resultobj = Py_None;
10532 return resultobj;
10533 fail:
10534 return NULL;
10535}
10536
10537
10538static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10539 PyObject *resultobj;
10540 wxGrid *arg1 = (wxGrid *) 0 ;
10541 int arg2 ;
10542 int arg3 ;
10543 PyObject * obj0 = 0 ;
8edf1c75
RD
10544 PyObject * obj1 = 0 ;
10545 PyObject * obj2 = 0 ;
d14a1e28
RD
10546 char *kwnames[] = {
10547 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10548 };
10549
8edf1c75 10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10553 arg2 = (int) SWIG_AsInt(obj1);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 arg3 = (int) SWIG_AsInt(obj2);
10556 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 (arg1)->SetRowLabelAlignment(arg2,arg3);
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 Py_INCREF(Py_None); resultobj = Py_None;
10565 return resultobj;
10566 fail:
10567 return NULL;
10568}
10569
10570
10571static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10572 PyObject *resultobj;
10573 wxGrid *arg1 = (wxGrid *) 0 ;
10574 int arg2 ;
10575 int arg3 ;
10576 PyObject * obj0 = 0 ;
8edf1c75
RD
10577 PyObject * obj1 = 0 ;
10578 PyObject * obj2 = 0 ;
d14a1e28
RD
10579 char *kwnames[] = {
10580 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10581 };
10582
8edf1c75 10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10586 arg2 = (int) SWIG_AsInt(obj1);
10587 if (PyErr_Occurred()) SWIG_fail;
10588 arg3 = (int) SWIG_AsInt(obj2);
10589 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 (arg1)->SetColLabelAlignment(arg2,arg3);
10593
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 Py_INCREF(Py_None); resultobj = Py_None;
10598 return resultobj;
10599 fail:
10600 return NULL;
10601}
10602
10603
10604static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10605 PyObject *resultobj;
10606 wxGrid *arg1 = (wxGrid *) 0 ;
10607 int arg2 ;
10608 PyObject * obj0 = 0 ;
8edf1c75 10609 PyObject * obj1 = 0 ;
d14a1e28
RD
10610 char *kwnames[] = {
10611 (char *) "self",(char *) "textOrientation", NULL
10612 };
10613
8edf1c75 10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10617 arg2 = (int) SWIG_AsInt(obj1);
10618 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10619 {
10620 PyThreadState* __tstate = wxPyBeginAllowThreads();
10621 (arg1)->SetColLabelTextOrientation(arg2);
10622
10623 wxPyEndAllowThreads(__tstate);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 Py_INCREF(Py_None); resultobj = Py_None;
10627 return resultobj;
10628 fail:
10629 return NULL;
10630}
10631
10632
10633static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10634 PyObject *resultobj;
10635 wxGrid *arg1 = (wxGrid *) 0 ;
10636 int arg2 ;
10637 wxString *arg3 = 0 ;
423f194a 10638 bool temp3 = False ;
d14a1e28 10639 PyObject * obj0 = 0 ;
8edf1c75 10640 PyObject * obj1 = 0 ;
d14a1e28
RD
10641 PyObject * obj2 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self",(char *) "row","arg3", NULL
10644 };
10645
8edf1c75 10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10649 arg2 = (int) SWIG_AsInt(obj1);
10650 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10651 {
10652 arg3 = wxString_in_helper(obj2);
10653 if (arg3 == NULL) SWIG_fail;
423f194a 10654 temp3 = True;
d14a1e28
RD
10655 }
10656 {
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
10659
10660 wxPyEndAllowThreads(__tstate);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 }
10663 Py_INCREF(Py_None); resultobj = Py_None;
10664 {
10665 if (temp3)
10666 delete arg3;
10667 }
10668 return resultobj;
10669 fail:
10670 {
10671 if (temp3)
10672 delete arg3;
10673 }
10674 return NULL;
10675}
10676
10677
10678static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10679 PyObject *resultobj;
10680 wxGrid *arg1 = (wxGrid *) 0 ;
10681 int arg2 ;
10682 wxString *arg3 = 0 ;
423f194a 10683 bool temp3 = False ;
d14a1e28 10684 PyObject * obj0 = 0 ;
8edf1c75 10685 PyObject * obj1 = 0 ;
d14a1e28
RD
10686 PyObject * obj2 = 0 ;
10687 char *kwnames[] = {
10688 (char *) "self",(char *) "col","arg3", NULL
10689 };
10690
8edf1c75 10691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10694 arg2 = (int) SWIG_AsInt(obj1);
10695 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10696 {
10697 arg3 = wxString_in_helper(obj2);
10698 if (arg3 == NULL) SWIG_fail;
423f194a 10699 temp3 = True;
d14a1e28
RD
10700 }
10701 {
10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
10703 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
10704
10705 wxPyEndAllowThreads(__tstate);
10706 if (PyErr_Occurred()) SWIG_fail;
10707 }
10708 Py_INCREF(Py_None); resultobj = Py_None;
10709 {
10710 if (temp3)
10711 delete arg3;
10712 }
10713 return resultobj;
10714 fail:
10715 {
10716 if (temp3)
10717 delete arg3;
10718 }
10719 return NULL;
10720}
10721
10722
10723static PyObject *_wrap_Grid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10724 PyObject *resultobj;
10725 wxGrid *arg1 = (wxGrid *) 0 ;
10726 wxColour *arg2 = 0 ;
10727 wxColour temp2 ;
10728 PyObject * obj0 = 0 ;
10729 PyObject * obj1 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self","arg2", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetGridLineColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10737 {
10738 arg2 = &temp2;
10739 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10740 }
10741 {
10742 PyThreadState* __tstate = wxPyBeginAllowThreads();
10743 (arg1)->SetGridLineColour((wxColour const &)*arg2);
10744
10745 wxPyEndAllowThreads(__tstate);
10746 if (PyErr_Occurred()) SWIG_fail;
10747 }
10748 Py_INCREF(Py_None); resultobj = Py_None;
10749 return resultobj;
10750 fail:
10751 return NULL;
10752}
10753
10754
10755static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10756 PyObject *resultobj;
10757 wxGrid *arg1 = (wxGrid *) 0 ;
10758 wxColour *arg2 = 0 ;
10759 wxColour temp2 ;
10760 PyObject * obj0 = 0 ;
10761 PyObject * obj1 = 0 ;
10762 char *kwnames[] = {
10763 (char *) "self","arg2", NULL
10764 };
10765
10766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10769 {
10770 arg2 = &temp2;
10771 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10772 }
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 (arg1)->SetCellHighlightColour((wxColour const &)*arg2);
10776
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 Py_INCREF(Py_None); resultobj = Py_None;
10781 return resultobj;
10782 fail:
10783 return NULL;
10784}
10785
10786
10787static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10788 PyObject *resultobj;
10789 wxGrid *arg1 = (wxGrid *) 0 ;
10790 int arg2 ;
10791 PyObject * obj0 = 0 ;
8edf1c75 10792 PyObject * obj1 = 0 ;
d14a1e28
RD
10793 char *kwnames[] = {
10794 (char *) "self",(char *) "width", NULL
10795 };
10796
8edf1c75 10797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10800 arg2 = (int) SWIG_AsInt(obj1);
10801 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10802 {
10803 PyThreadState* __tstate = wxPyBeginAllowThreads();
10804 (arg1)->SetCellHighlightPenWidth(arg2);
10805
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 Py_INCREF(Py_None); resultobj = Py_None;
10810 return resultobj;
10811 fail:
10812 return NULL;
10813}
10814
10815
10816static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10817 PyObject *resultobj;
10818 wxGrid *arg1 = (wxGrid *) 0 ;
10819 int arg2 ;
10820 PyObject * obj0 = 0 ;
8edf1c75 10821 PyObject * obj1 = 0 ;
d14a1e28
RD
10822 char *kwnames[] = {
10823 (char *) "self",(char *) "width", NULL
10824 };
10825
8edf1c75 10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10829 arg2 = (int) SWIG_AsInt(obj1);
10830 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10831 {
10832 PyThreadState* __tstate = wxPyBeginAllowThreads();
10833 (arg1)->SetCellHighlightROPenWidth(arg2);
10834
10835 wxPyEndAllowThreads(__tstate);
10836 if (PyErr_Occurred()) SWIG_fail;
10837 }
10838 Py_INCREF(Py_None); resultobj = Py_None;
10839 return resultobj;
10840 fail:
10841 return NULL;
10842}
10843
10844
10845static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10846 PyObject *resultobj;
10847 wxGrid *arg1 = (wxGrid *) 0 ;
423f194a 10848 bool arg2 = (bool) True ;
d14a1e28
RD
10849 PyObject * obj0 = 0 ;
10850 PyObject * obj1 = 0 ;
10851 char *kwnames[] = {
10852 (char *) "self",(char *) "enable", NULL
10853 };
10854
10855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragRowSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10858 if (obj1) {
2f4c0a16
RD
10859 arg2 = (bool) SWIG_AsBool(obj1);
10860 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10861 }
10862 {
10863 PyThreadState* __tstate = wxPyBeginAllowThreads();
10864 (arg1)->EnableDragRowSize(arg2);
10865
10866 wxPyEndAllowThreads(__tstate);
10867 if (PyErr_Occurred()) SWIG_fail;
10868 }
10869 Py_INCREF(Py_None); resultobj = Py_None;
10870 return resultobj;
10871 fail:
10872 return NULL;
10873}
10874
10875
10876static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10877 PyObject *resultobj;
10878 wxGrid *arg1 = (wxGrid *) 0 ;
10879 PyObject * obj0 = 0 ;
10880 char *kwnames[] = {
10881 (char *) "self", NULL
10882 };
10883
10884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragRowSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10887 {
10888 PyThreadState* __tstate = wxPyBeginAllowThreads();
10889 (arg1)->DisableDragRowSize();
10890
10891 wxPyEndAllowThreads(__tstate);
10892 if (PyErr_Occurred()) SWIG_fail;
10893 }
10894 Py_INCREF(Py_None); resultobj = Py_None;
10895 return resultobj;
10896 fail:
10897 return NULL;
10898}
10899
10900
10901static PyObject *_wrap_Grid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10902 PyObject *resultobj;
10903 wxGrid *arg1 = (wxGrid *) 0 ;
10904 bool result;
10905 PyObject * obj0 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "self", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragRowSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 result = (bool)(arg1)->CanDragRowSize();
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
4f89f6a3
RD
10920 {
10921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10922 }
d14a1e28
RD
10923 return resultobj;
10924 fail:
10925 return NULL;
10926}
10927
10928
10929static PyObject *_wrap_Grid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10930 PyObject *resultobj;
10931 wxGrid *arg1 = (wxGrid *) 0 ;
423f194a 10932 bool arg2 = (bool) True ;
d14a1e28
RD
10933 PyObject * obj0 = 0 ;
10934 PyObject * obj1 = 0 ;
10935 char *kwnames[] = {
10936 (char *) "self",(char *) "enable", NULL
10937 };
10938
10939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragColSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10942 if (obj1) {
2f4c0a16
RD
10943 arg2 = (bool) SWIG_AsBool(obj1);
10944 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10945 }
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 (arg1)->EnableDragColSize(arg2);
10949
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
10953 Py_INCREF(Py_None); resultobj = Py_None;
10954 return resultobj;
10955 fail:
10956 return NULL;
10957}
10958
10959
10960static PyObject *_wrap_Grid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10961 PyObject *resultobj;
10962 wxGrid *arg1 = (wxGrid *) 0 ;
10963 PyObject * obj0 = 0 ;
10964 char *kwnames[] = {
10965 (char *) "self", NULL
10966 };
10967
10968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragColSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10971 {
10972 PyThreadState* __tstate = wxPyBeginAllowThreads();
10973 (arg1)->DisableDragColSize();
10974
10975 wxPyEndAllowThreads(__tstate);
10976 if (PyErr_Occurred()) SWIG_fail;
10977 }
10978 Py_INCREF(Py_None); resultobj = Py_None;
10979 return resultobj;
10980 fail:
10981 return NULL;
10982}
10983
10984
10985static PyObject *_wrap_Grid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10986 PyObject *resultobj;
10987 wxGrid *arg1 = (wxGrid *) 0 ;
10988 bool result;
10989 PyObject * obj0 = 0 ;
10990 char *kwnames[] = {
10991 (char *) "self", NULL
10992 };
10993
10994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragColSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10997 {
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 result = (bool)(arg1)->CanDragColSize();
11000
11001 wxPyEndAllowThreads(__tstate);
11002 if (PyErr_Occurred()) SWIG_fail;
11003 }
4f89f6a3
RD
11004 {
11005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11006 }
d14a1e28
RD
11007 return resultobj;
11008 fail:
11009 return NULL;
11010}
11011
11012
11013static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11014 PyObject *resultobj;
11015 wxGrid *arg1 = (wxGrid *) 0 ;
423f194a 11016 bool arg2 = (bool) True ;
d14a1e28
RD
11017 PyObject * obj0 = 0 ;
11018 PyObject * obj1 = 0 ;
11019 char *kwnames[] = {
11020 (char *) "self",(char *) "enable", NULL
11021 };
11022
11023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragGridSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11026 if (obj1) {
2f4c0a16
RD
11027 arg2 = (bool) SWIG_AsBool(obj1);
11028 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11029 }
11030 {
11031 PyThreadState* __tstate = wxPyBeginAllowThreads();
11032 (arg1)->EnableDragGridSize(arg2);
11033
11034 wxPyEndAllowThreads(__tstate);
11035 if (PyErr_Occurred()) SWIG_fail;
11036 }
11037 Py_INCREF(Py_None); resultobj = Py_None;
11038 return resultobj;
11039 fail:
11040 return NULL;
11041}
11042
11043
11044static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11045 PyObject *resultobj;
11046 wxGrid *arg1 = (wxGrid *) 0 ;
11047 PyObject * obj0 = 0 ;
11048 char *kwnames[] = {
11049 (char *) "self", NULL
11050 };
11051
11052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragGridSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11055 {
11056 PyThreadState* __tstate = wxPyBeginAllowThreads();
11057 (arg1)->DisableDragGridSize();
11058
11059 wxPyEndAllowThreads(__tstate);
11060 if (PyErr_Occurred()) SWIG_fail;
11061 }
11062 Py_INCREF(Py_None); resultobj = Py_None;
11063 return resultobj;
11064 fail:
11065 return NULL;
11066}
11067
11068
11069static PyObject *_wrap_Grid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11070 PyObject *resultobj;
11071 wxGrid *arg1 = (wxGrid *) 0 ;
11072 bool result;
11073 PyObject * obj0 = 0 ;
11074 char *kwnames[] = {
11075 (char *) "self", NULL
11076 };
11077
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragGridSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11081 {
11082 PyThreadState* __tstate = wxPyBeginAllowThreads();
11083 result = (bool)(arg1)->CanDragGridSize();
11084
11085 wxPyEndAllowThreads(__tstate);
11086 if (PyErr_Occurred()) SWIG_fail;
11087 }
4f89f6a3
RD
11088 {
11089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11090 }
d14a1e28
RD
11091 return resultobj;
11092 fail:
11093 return NULL;
11094}
11095
11096
11097static PyObject *_wrap_Grid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11098 PyObject *resultobj;
11099 wxGrid *arg1 = (wxGrid *) 0 ;
11100 int arg2 ;
11101 int arg3 ;
11102 wxGridCellAttr *arg4 = (wxGridCellAttr *) 0 ;
11103 PyObject * obj0 = 0 ;
8edf1c75
RD
11104 PyObject * obj1 = 0 ;
11105 PyObject * obj2 = 0 ;
d14a1e28
RD
11106 PyObject * obj3 = 0 ;
11107 char *kwnames[] = {
11108 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11109 };
11110
8edf1c75 11111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11114 arg2 = (int) SWIG_AsInt(obj1);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 arg3 = (int) SWIG_AsInt(obj2);
11117 if (PyErr_Occurred()) SWIG_fail;
11118 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellAttr,
11119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11120 {
11121 PyThreadState* __tstate = wxPyBeginAllowThreads();
11122 (arg1)->SetAttr(arg2,arg3,arg4);
11123
11124 wxPyEndAllowThreads(__tstate);
11125 if (PyErr_Occurred()) SWIG_fail;
11126 }
11127 Py_INCREF(Py_None); resultobj = Py_None;
11128 return resultobj;
11129 fail:
11130 return NULL;
11131}
11132
11133
11134static PyObject *_wrap_Grid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11135 PyObject *resultobj;
11136 wxGrid *arg1 = (wxGrid *) 0 ;
11137 int arg2 ;
11138 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11139 PyObject * obj0 = 0 ;
8edf1c75 11140 PyObject * obj1 = 0 ;
d14a1e28
RD
11141 PyObject * obj2 = 0 ;
11142 char *kwnames[] = {
11143 (char *) "self",(char *) "row",(char *) "attr", NULL
11144 };
11145
8edf1c75 11146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11149 arg2 = (int) SWIG_AsInt(obj1);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11153 {
11154 PyThreadState* __tstate = wxPyBeginAllowThreads();
11155 (arg1)->SetRowAttr(arg2,arg3);
11156
11157 wxPyEndAllowThreads(__tstate);
11158 if (PyErr_Occurred()) SWIG_fail;
11159 }
11160 Py_INCREF(Py_None); resultobj = Py_None;
11161 return resultobj;
11162 fail:
11163 return NULL;
11164}
11165
11166
11167static PyObject *_wrap_Grid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11168 PyObject *resultobj;
11169 wxGrid *arg1 = (wxGrid *) 0 ;
11170 int arg2 ;
11171 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11172 PyObject * obj0 = 0 ;
8edf1c75 11173 PyObject * obj1 = 0 ;
d14a1e28
RD
11174 PyObject * obj2 = 0 ;
11175 char *kwnames[] = {
11176 (char *) "self",(char *) "col",(char *) "attr", NULL
11177 };
11178
8edf1c75 11179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11182 arg2 = (int) SWIG_AsInt(obj1);
11183 if (PyErr_Occurred()) SWIG_fail;
11184 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11186 {
11187 PyThreadState* __tstate = wxPyBeginAllowThreads();
11188 (arg1)->SetColAttr(arg2,arg3);
11189
11190 wxPyEndAllowThreads(__tstate);
11191 if (PyErr_Occurred()) SWIG_fail;
11192 }
11193 Py_INCREF(Py_None); resultobj = Py_None;
11194 return resultobj;
11195 fail:
11196 return NULL;
11197}
11198
11199
11200static PyObject *_wrap_Grid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
11201 PyObject *resultobj;
11202 wxGrid *arg1 = (wxGrid *) 0 ;
11203 int arg2 ;
11204 PyObject * obj0 = 0 ;
8edf1c75 11205 PyObject * obj1 = 0 ;
d14a1e28
RD
11206 char *kwnames[] = {
11207 (char *) "self",(char *) "col", NULL
11208 };
11209
8edf1c75 11210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatBool",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11213 arg2 = (int) SWIG_AsInt(obj1);
11214 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11215 {
11216 PyThreadState* __tstate = wxPyBeginAllowThreads();
11217 (arg1)->SetColFormatBool(arg2);
11218
11219 wxPyEndAllowThreads(__tstate);
11220 if (PyErr_Occurred()) SWIG_fail;
11221 }
11222 Py_INCREF(Py_None); resultobj = Py_None;
11223 return resultobj;
11224 fail:
11225 return NULL;
11226}
11227
11228
11229static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
11230 PyObject *resultobj;
11231 wxGrid *arg1 = (wxGrid *) 0 ;
11232 int arg2 ;
11233 PyObject * obj0 = 0 ;
8edf1c75 11234 PyObject * obj1 = 0 ;
d14a1e28
RD
11235 char *kwnames[] = {
11236 (char *) "self",(char *) "col", NULL
11237 };
11238
8edf1c75 11239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatNumber",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11242 arg2 = (int) SWIG_AsInt(obj1);
11243 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11244 {
11245 PyThreadState* __tstate = wxPyBeginAllowThreads();
11246 (arg1)->SetColFormatNumber(arg2);
11247
11248 wxPyEndAllowThreads(__tstate);
11249 if (PyErr_Occurred()) SWIG_fail;
11250 }
11251 Py_INCREF(Py_None); resultobj = Py_None;
11252 return resultobj;
11253 fail:
11254 return NULL;
11255}
11256
11257
11258static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
11259 PyObject *resultobj;
11260 wxGrid *arg1 = (wxGrid *) 0 ;
11261 int arg2 ;
11262 int arg3 = (int) -1 ;
11263 int arg4 = (int) -1 ;
11264 PyObject * obj0 = 0 ;
8edf1c75
RD
11265 PyObject * obj1 = 0 ;
11266 PyObject * obj2 = 0 ;
11267 PyObject * obj3 = 0 ;
d14a1e28
RD
11268 char *kwnames[] = {
11269 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11270 };
11271
8edf1c75 11272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11275 arg2 = (int) SWIG_AsInt(obj1);
11276 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11277 if (obj2) {
2f4c0a16
RD
11278 arg3 = (int) SWIG_AsInt(obj2);
11279 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11280 }
11281 if (obj3) {
2f4c0a16
RD
11282 arg4 = (int) SWIG_AsInt(obj3);
11283 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11284 }
d14a1e28
RD
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 (arg1)->SetColFormatFloat(arg2,arg3,arg4);
11288
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 Py_INCREF(Py_None); resultobj = Py_None;
11293 return resultobj;
11294 fail:
11295 return NULL;
11296}
11297
11298
11299static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
11300 PyObject *resultobj;
11301 wxGrid *arg1 = (wxGrid *) 0 ;
11302 int arg2 ;
11303 wxString *arg3 = 0 ;
423f194a 11304 bool temp3 = False ;
d14a1e28 11305 PyObject * obj0 = 0 ;
8edf1c75 11306 PyObject * obj1 = 0 ;
d14a1e28
RD
11307 PyObject * obj2 = 0 ;
11308 char *kwnames[] = {
11309 (char *) "self",(char *) "col",(char *) "typeName", NULL
11310 };
11311
8edf1c75 11312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColFormatCustom",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11315 arg2 = (int) SWIG_AsInt(obj1);
11316 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11317 {
11318 arg3 = wxString_in_helper(obj2);
11319 if (arg3 == NULL) SWIG_fail;
423f194a 11320 temp3 = True;
d14a1e28
RD
11321 }
11322 {
11323 PyThreadState* __tstate = wxPyBeginAllowThreads();
11324 (arg1)->SetColFormatCustom(arg2,(wxString const &)*arg3);
11325
11326 wxPyEndAllowThreads(__tstate);
11327 if (PyErr_Occurred()) SWIG_fail;
11328 }
11329 Py_INCREF(Py_None); resultobj = Py_None;
11330 {
11331 if (temp3)
11332 delete arg3;
11333 }
11334 return resultobj;
11335 fail:
11336 {
11337 if (temp3)
11338 delete arg3;
11339 }
11340 return NULL;
11341}
11342
11343
11344static PyObject *_wrap_Grid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
11345 PyObject *resultobj;
11346 wxGrid *arg1 = (wxGrid *) 0 ;
423f194a 11347 bool arg2 = (bool) True ;
d14a1e28
RD
11348 PyObject * obj0 = 0 ;
11349 PyObject * obj1 = 0 ;
11350 char *kwnames[] = {
11351 (char *) "self",(char *) "enable", NULL
11352 };
11353
11354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableGridLines",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11357 if (obj1) {
2f4c0a16
RD
11358 arg2 = (bool) SWIG_AsBool(obj1);
11359 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11360 }
11361 {
11362 PyThreadState* __tstate = wxPyBeginAllowThreads();
11363 (arg1)->EnableGridLines(arg2);
11364
11365 wxPyEndAllowThreads(__tstate);
11366 if (PyErr_Occurred()) SWIG_fail;
11367 }
11368 Py_INCREF(Py_None); resultobj = Py_None;
11369 return resultobj;
11370 fail:
11371 return NULL;
11372}
11373
11374
11375static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11376 PyObject *resultobj;
11377 wxGrid *arg1 = (wxGrid *) 0 ;
11378 bool result;
11379 PyObject * obj0 = 0 ;
11380 char *kwnames[] = {
11381 (char *) "self", NULL
11382 };
11383
11384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GridLinesEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11387 {
11388 PyThreadState* __tstate = wxPyBeginAllowThreads();
11389 result = (bool)(arg1)->GridLinesEnabled();
11390
11391 wxPyEndAllowThreads(__tstate);
11392 if (PyErr_Occurred()) SWIG_fail;
11393 }
4f89f6a3
RD
11394 {
11395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11396 }
d14a1e28
RD
11397 return resultobj;
11398 fail:
11399 return NULL;
11400}
11401
11402
11403static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11404 PyObject *resultobj;
11405 wxGrid *arg1 = (wxGrid *) 0 ;
11406 int result;
11407 PyObject * obj0 = 0 ;
11408 char *kwnames[] = {
11409 (char *) "self", NULL
11410 };
11411
11412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 result = (int)(arg1)->GetDefaultRowSize();
11418
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
2f4c0a16 11422 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11423 return resultobj;
11424 fail:
11425 return NULL;
11426}
11427
11428
11429static PyObject *_wrap_Grid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11430 PyObject *resultobj;
11431 wxGrid *arg1 = (wxGrid *) 0 ;
11432 int arg2 ;
11433 int result;
11434 PyObject * obj0 = 0 ;
8edf1c75 11435 PyObject * obj1 = 0 ;
d14a1e28
RD
11436 char *kwnames[] = {
11437 (char *) "self",(char *) "row", NULL
11438 };
11439
8edf1c75 11440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11443 arg2 = (int) SWIG_AsInt(obj1);
11444 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 result = (int)(arg1)->GetRowSize(arg2);
11448
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
2f4c0a16 11452 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11453 return resultobj;
11454 fail:
11455 return NULL;
11456}
11457
11458
11459static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11460 PyObject *resultobj;
11461 wxGrid *arg1 = (wxGrid *) 0 ;
11462 int result;
11463 PyObject * obj0 = 0 ;
11464 char *kwnames[] = {
11465 (char *) "self", NULL
11466 };
11467
11468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 result = (int)(arg1)->GetDefaultColSize();
11474
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
2f4c0a16 11478 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11479 return resultobj;
11480 fail:
11481 return NULL;
11482}
11483
11484
11485static PyObject *_wrap_Grid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj;
11487 wxGrid *arg1 = (wxGrid *) 0 ;
11488 int arg2 ;
11489 int result;
11490 PyObject * obj0 = 0 ;
8edf1c75 11491 PyObject * obj1 = 0 ;
d14a1e28
RD
11492 char *kwnames[] = {
11493 (char *) "self",(char *) "col", NULL
11494 };
11495
8edf1c75 11496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11499 arg2 = (int) SWIG_AsInt(obj1);
11500 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 result = (int)(arg1)->GetColSize(arg2);
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) SWIG_fail;
11507 }
2f4c0a16 11508 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11509 return resultobj;
11510 fail:
11511 return NULL;
11512}
11513
11514
11515static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11516 PyObject *resultobj;
11517 wxGrid *arg1 = (wxGrid *) 0 ;
11518 wxColour result;
11519 PyObject * obj0 = 0 ;
11520 char *kwnames[] = {
11521 (char *) "self", NULL
11522 };
11523
11524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11527 {
11528 PyThreadState* __tstate = wxPyBeginAllowThreads();
11529 result = (arg1)->GetDefaultCellBackgroundColour();
11530
11531 wxPyEndAllowThreads(__tstate);
11532 if (PyErr_Occurred()) SWIG_fail;
11533 }
11534 {
11535 wxColour * resultptr;
11536 resultptr = new wxColour((wxColour &) result);
2f4c0a16 11537 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11538 }
11539 return resultobj;
11540 fail:
11541 return NULL;
11542}
11543
11544
11545static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11546 PyObject *resultobj;
11547 wxGrid *arg1 = (wxGrid *) 0 ;
11548 int arg2 ;
11549 int arg3 ;
11550 wxColour result;
11551 PyObject * obj0 = 0 ;
8edf1c75
RD
11552 PyObject * obj1 = 0 ;
11553 PyObject * obj2 = 0 ;
d14a1e28
RD
11554 char *kwnames[] = {
11555 (char *) "self",(char *) "row",(char *) "col", NULL
11556 };
11557
8edf1c75 11558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11561 arg2 = (int) SWIG_AsInt(obj1);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 arg3 = (int) SWIG_AsInt(obj2);
11564 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11565 {
11566 PyThreadState* __tstate = wxPyBeginAllowThreads();
11567 result = (arg1)->GetCellBackgroundColour(arg2,arg3);
11568
11569 wxPyEndAllowThreads(__tstate);
11570 if (PyErr_Occurred()) SWIG_fail;
11571 }
11572 {
11573 wxColour * resultptr;
11574 resultptr = new wxColour((wxColour &) result);
2f4c0a16 11575 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11576 }
11577 return resultobj;
11578 fail:
11579 return NULL;
11580}
11581
11582
11583static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11584 PyObject *resultobj;
11585 wxGrid *arg1 = (wxGrid *) 0 ;
11586 wxColour result;
11587 PyObject * obj0 = 0 ;
11588 char *kwnames[] = {
11589 (char *) "self", NULL
11590 };
11591
11592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 result = (arg1)->GetDefaultCellTextColour();
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) SWIG_fail;
11601 }
11602 {
11603 wxColour * resultptr;
11604 resultptr = new wxColour((wxColour &) result);
2f4c0a16 11605 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11606 }
11607 return resultobj;
11608 fail:
11609 return NULL;
11610}
11611
11612
11613static PyObject *_wrap_Grid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11614 PyObject *resultobj;
11615 wxGrid *arg1 = (wxGrid *) 0 ;
11616 int arg2 ;
11617 int arg3 ;
11618 wxColour result;
11619 PyObject * obj0 = 0 ;
8edf1c75
RD
11620 PyObject * obj1 = 0 ;
11621 PyObject * obj2 = 0 ;
d14a1e28
RD
11622 char *kwnames[] = {
11623 (char *) "self",(char *) "row",(char *) "col", NULL
11624 };
11625
8edf1c75 11626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11629 arg2 = (int) SWIG_AsInt(obj1);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 arg3 = (int) SWIG_AsInt(obj2);
11632 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11633 {
11634 PyThreadState* __tstate = wxPyBeginAllowThreads();
11635 result = (arg1)->GetCellTextColour(arg2,arg3);
11636
11637 wxPyEndAllowThreads(__tstate);
11638 if (PyErr_Occurred()) SWIG_fail;
11639 }
11640 {
11641 wxColour * resultptr;
11642 resultptr = new wxColour((wxColour &) result);
2f4c0a16 11643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11644 }
11645 return resultobj;
11646 fail:
11647 return NULL;
11648}
11649
11650
11651static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11652 PyObject *resultobj;
11653 wxGrid *arg1 = (wxGrid *) 0 ;
11654 wxFont result;
11655 PyObject * obj0 = 0 ;
11656 char *kwnames[] = {
11657 (char *) "self", NULL
11658 };
11659
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 result = (arg1)->GetDefaultCellFont();
11666
11667 wxPyEndAllowThreads(__tstate);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
11670 {
11671 wxFont * resultptr;
11672 resultptr = new wxFont((wxFont &) result);
2f4c0a16 11673 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
11674 }
11675 return resultobj;
11676 fail:
11677 return NULL;
11678}
11679
11680
11681static PyObject *_wrap_Grid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11682 PyObject *resultobj;
11683 wxGrid *arg1 = (wxGrid *) 0 ;
11684 int arg2 ;
11685 int arg3 ;
11686 wxFont result;
11687 PyObject * obj0 = 0 ;
8edf1c75
RD
11688 PyObject * obj1 = 0 ;
11689 PyObject * obj2 = 0 ;
d14a1e28
RD
11690 char *kwnames[] = {
11691 (char *) "self",(char *) "row",(char *) "col", NULL
11692 };
11693
8edf1c75 11694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11697 arg2 = (int) SWIG_AsInt(obj1);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 arg3 = (int) SWIG_AsInt(obj2);
11700 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11701 {
11702 PyThreadState* __tstate = wxPyBeginAllowThreads();
11703 result = (arg1)->GetCellFont(arg2,arg3);
11704
11705 wxPyEndAllowThreads(__tstate);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 {
11709 wxFont * resultptr;
11710 resultptr = new wxFont((wxFont &) result);
2f4c0a16 11711 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
11712 }
11713 return resultobj;
11714 fail:
11715 return NULL;
11716}
11717
11718
11719static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11720 PyObject *resultobj;
11721 wxGrid *arg1 = (wxGrid *) 0 ;
11722 int *arg2 = (int *) 0 ;
11723 int *arg3 = (int *) 0 ;
11724 int temp2 ;
11725 int temp3 ;
11726 PyObject * obj0 = 0 ;
11727 char *kwnames[] = {
11728 (char *) "self", NULL
11729 };
11730
11731 arg2 = &temp2;
11732 arg3 = &temp3;
11733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellAlignment",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11736 {
11737 PyThreadState* __tstate = wxPyBeginAllowThreads();
11738 (arg1)->GetDefaultCellAlignment(arg2,arg3);
11739
11740 wxPyEndAllowThreads(__tstate);
11741 if (PyErr_Occurred()) SWIG_fail;
11742 }
11743 Py_INCREF(Py_None); resultobj = Py_None;
11744 {
11745 PyObject *o = PyInt_FromLong((long) (*arg2));
11746 resultobj = t_output_helper(resultobj,o);
11747 }
11748 {
11749 PyObject *o = PyInt_FromLong((long) (*arg3));
11750 resultobj = t_output_helper(resultobj,o);
11751 }
11752 return resultobj;
11753 fail:
11754 return NULL;
11755}
11756
11757
11758static PyObject *_wrap_Grid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11759 PyObject *resultobj;
11760 wxGrid *arg1 = (wxGrid *) 0 ;
11761 int arg2 ;
11762 int arg3 ;
11763 int *arg4 = (int *) 0 ;
11764 int *arg5 = (int *) 0 ;
11765 int temp4 ;
11766 int temp5 ;
11767 PyObject * obj0 = 0 ;
8edf1c75
RD
11768 PyObject * obj1 = 0 ;
11769 PyObject * obj2 = 0 ;
d14a1e28
RD
11770 char *kwnames[] = {
11771 (char *) "self",(char *) "row",(char *) "col", NULL
11772 };
11773
11774 arg4 = &temp4;
11775 arg5 = &temp5;
8edf1c75 11776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11779 arg2 = (int) SWIG_AsInt(obj1);
11780 if (PyErr_Occurred()) SWIG_fail;
11781 arg3 = (int) SWIG_AsInt(obj2);
11782 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11783 {
11784 PyThreadState* __tstate = wxPyBeginAllowThreads();
11785 (arg1)->GetCellAlignment(arg2,arg3,arg4,arg5);
11786
11787 wxPyEndAllowThreads(__tstate);
11788 if (PyErr_Occurred()) SWIG_fail;
11789 }
11790 Py_INCREF(Py_None); resultobj = Py_None;
11791 {
11792 PyObject *o = PyInt_FromLong((long) (*arg4));
11793 resultobj = t_output_helper(resultobj,o);
11794 }
11795 {
11796 PyObject *o = PyInt_FromLong((long) (*arg5));
11797 resultobj = t_output_helper(resultobj,o);
11798 }
11799 return resultobj;
11800 fail:
11801 return NULL;
11802}
11803
11804
11805static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11806 PyObject *resultobj;
11807 wxGrid *arg1 = (wxGrid *) 0 ;
11808 bool result;
11809 PyObject * obj0 = 0 ;
11810 char *kwnames[] = {
11811 (char *) "self", NULL
11812 };
11813
11814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellOverflow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11817 {
11818 PyThreadState* __tstate = wxPyBeginAllowThreads();
11819 result = (bool)(arg1)->GetDefaultCellOverflow();
11820
11821 wxPyEndAllowThreads(__tstate);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
4f89f6a3
RD
11824 {
11825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11826 }
d14a1e28
RD
11827 return resultobj;
11828 fail:
11829 return NULL;
11830}
11831
11832
11833static PyObject *_wrap_Grid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11834 PyObject *resultobj;
11835 wxGrid *arg1 = (wxGrid *) 0 ;
11836 int arg2 ;
11837 int arg3 ;
11838 bool result;
11839 PyObject * obj0 = 0 ;
8edf1c75
RD
11840 PyObject * obj1 = 0 ;
11841 PyObject * obj2 = 0 ;
d14a1e28
RD
11842 char *kwnames[] = {
11843 (char *) "self",(char *) "row",(char *) "col", NULL
11844 };
11845
8edf1c75 11846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellOverflow",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11849 arg2 = (int) SWIG_AsInt(obj1);
11850 if (PyErr_Occurred()) SWIG_fail;
11851 arg3 = (int) SWIG_AsInt(obj2);
11852 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11853 {
11854 PyThreadState* __tstate = wxPyBeginAllowThreads();
11855 result = (bool)(arg1)->GetCellOverflow(arg2,arg3);
11856
11857 wxPyEndAllowThreads(__tstate);
11858 if (PyErr_Occurred()) SWIG_fail;
11859 }
4f89f6a3
RD
11860 {
11861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11862 }
d14a1e28
RD
11863 return resultobj;
11864 fail:
11865 return NULL;
11866}
11867
11868
11869static PyObject *_wrap_Grid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11870 PyObject *resultobj;
11871 wxGrid *arg1 = (wxGrid *) 0 ;
11872 int arg2 ;
11873 int arg3 ;
11874 int *arg4 = (int *) 0 ;
11875 int *arg5 = (int *) 0 ;
11876 int temp4 ;
11877 int temp5 ;
11878 PyObject * obj0 = 0 ;
8edf1c75
RD
11879 PyObject * obj1 = 0 ;
11880 PyObject * obj2 = 0 ;
d14a1e28
RD
11881 char *kwnames[] = {
11882 (char *) "self",(char *) "row",(char *) "col", NULL
11883 };
11884
11885 arg4 = &temp4;
11886 arg5 = &temp5;
8edf1c75 11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11890 arg2 = (int) SWIG_AsInt(obj1);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 arg3 = (int) SWIG_AsInt(obj2);
11893 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11894 {
11895 PyThreadState* __tstate = wxPyBeginAllowThreads();
11896 (arg1)->GetCellSize(arg2,arg3,arg4,arg5);
11897
11898 wxPyEndAllowThreads(__tstate);
11899 if (PyErr_Occurred()) SWIG_fail;
11900 }
11901 Py_INCREF(Py_None); resultobj = Py_None;
11902 {
11903 PyObject *o = PyInt_FromLong((long) (*arg4));
11904 resultobj = t_output_helper(resultobj,o);
11905 }
11906 {
11907 PyObject *o = PyInt_FromLong((long) (*arg5));
11908 resultobj = t_output_helper(resultobj,o);
11909 }
11910 return resultobj;
11911 fail:
11912 return NULL;
11913}
11914
11915
11916static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11917 PyObject *resultobj;
11918 wxGrid *arg1 = (wxGrid *) 0 ;
11919 int arg2 ;
423f194a 11920 bool arg3 = (bool) False ;
d14a1e28 11921 PyObject * obj0 = 0 ;
8edf1c75 11922 PyObject * obj1 = 0 ;
d14a1e28
RD
11923 PyObject * obj2 = 0 ;
11924 char *kwnames[] = {
11925 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
11926 };
11927
8edf1c75 11928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11931 arg2 = (int) SWIG_AsInt(obj1);
11932 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11933 if (obj2) {
2f4c0a16
RD
11934 arg3 = (bool) SWIG_AsBool(obj2);
11935 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11936 }
11937 {
11938 PyThreadState* __tstate = wxPyBeginAllowThreads();
11939 (arg1)->SetDefaultRowSize(arg2,arg3);
11940
11941 wxPyEndAllowThreads(__tstate);
11942 if (PyErr_Occurred()) SWIG_fail;
11943 }
11944 Py_INCREF(Py_None); resultobj = Py_None;
11945 return resultobj;
11946 fail:
11947 return NULL;
11948}
11949
11950
11951static PyObject *_wrap_Grid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11952 PyObject *resultobj;
11953 wxGrid *arg1 = (wxGrid *) 0 ;
11954 int arg2 ;
11955 int arg3 ;
11956 PyObject * obj0 = 0 ;
8edf1c75
RD
11957 PyObject * obj1 = 0 ;
11958 PyObject * obj2 = 0 ;
d14a1e28
RD
11959 char *kwnames[] = {
11960 (char *) "self",(char *) "row",(char *) "height", NULL
11961 };
11962
8edf1c75 11963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11966 arg2 = (int) SWIG_AsInt(obj1);
11967 if (PyErr_Occurred()) SWIG_fail;
11968 arg3 = (int) SWIG_AsInt(obj2);
11969 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11970 {
11971 PyThreadState* __tstate = wxPyBeginAllowThreads();
11972 (arg1)->SetRowSize(arg2,arg3);
11973
11974 wxPyEndAllowThreads(__tstate);
11975 if (PyErr_Occurred()) SWIG_fail;
11976 }
11977 Py_INCREF(Py_None); resultobj = Py_None;
11978 return resultobj;
11979 fail:
11980 return NULL;
11981}
11982
11983
11984static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11985 PyObject *resultobj;
11986 wxGrid *arg1 = (wxGrid *) 0 ;
11987 int arg2 ;
423f194a 11988 bool arg3 = (bool) False ;
d14a1e28 11989 PyObject * obj0 = 0 ;
8edf1c75 11990 PyObject * obj1 = 0 ;
d14a1e28
RD
11991 PyObject * obj2 = 0 ;
11992 char *kwnames[] = {
11993 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
11994 };
11995
8edf1c75 11996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11999 arg2 = (int) SWIG_AsInt(obj1);
12000 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12001 if (obj2) {
2f4c0a16
RD
12002 arg3 = (bool) SWIG_AsBool(obj2);
12003 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12004 }
12005 {
12006 PyThreadState* __tstate = wxPyBeginAllowThreads();
12007 (arg1)->SetDefaultColSize(arg2,arg3);
12008
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
12012 Py_INCREF(Py_None); resultobj = Py_None;
12013 return resultobj;
12014 fail:
12015 return NULL;
12016}
12017
12018
12019static PyObject *_wrap_Grid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12020 PyObject *resultobj;
12021 wxGrid *arg1 = (wxGrid *) 0 ;
12022 int arg2 ;
12023 int arg3 ;
12024 PyObject * obj0 = 0 ;
8edf1c75
RD
12025 PyObject * obj1 = 0 ;
12026 PyObject * obj2 = 0 ;
d14a1e28
RD
12027 char *kwnames[] = {
12028 (char *) "self",(char *) "col",(char *) "width", NULL
12029 };
12030
8edf1c75 12031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12034 arg2 = (int) SWIG_AsInt(obj1);
12035 if (PyErr_Occurred()) SWIG_fail;
12036 arg3 = (int) SWIG_AsInt(obj2);
12037 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12038 {
12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
12040 (arg1)->SetColSize(arg2,arg3);
12041
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
12045 Py_INCREF(Py_None); resultobj = Py_None;
12046 return resultobj;
12047 fail:
12048 return NULL;
12049}
12050
12051
12052static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
12053 PyObject *resultobj;
12054 wxGrid *arg1 = (wxGrid *) 0 ;
12055 int arg2 ;
423f194a 12056 bool arg3 = (bool) True ;
d14a1e28 12057 PyObject * obj0 = 0 ;
8edf1c75 12058 PyObject * obj1 = 0 ;
d14a1e28
RD
12059 PyObject * obj2 = 0 ;
12060 char *kwnames[] = {
12061 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
12062 };
12063
8edf1c75 12064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12067 arg2 = (int) SWIG_AsInt(obj1);
12068 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12069 if (obj2) {
2f4c0a16
RD
12070 arg3 = (bool) SWIG_AsBool(obj2);
12071 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12072 }
12073 {
12074 PyThreadState* __tstate = wxPyBeginAllowThreads();
12075 (arg1)->AutoSizeColumn(arg2,arg3);
12076
12077 wxPyEndAllowThreads(__tstate);
12078 if (PyErr_Occurred()) SWIG_fail;
12079 }
12080 Py_INCREF(Py_None); resultobj = Py_None;
12081 return resultobj;
12082 fail:
12083 return NULL;
12084}
12085
12086
12087static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12088 PyObject *resultobj;
12089 wxGrid *arg1 = (wxGrid *) 0 ;
12090 int arg2 ;
423f194a 12091 bool arg3 = (bool) True ;
d14a1e28 12092 PyObject * obj0 = 0 ;
8edf1c75 12093 PyObject * obj1 = 0 ;
d14a1e28
RD
12094 PyObject * obj2 = 0 ;
12095 char *kwnames[] = {
12096 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
12097 };
12098
8edf1c75 12099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12102 arg2 = (int) SWIG_AsInt(obj1);
12103 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12104 if (obj2) {
2f4c0a16
RD
12105 arg3 = (bool) SWIG_AsBool(obj2);
12106 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12107 }
12108 {
12109 PyThreadState* __tstate = wxPyBeginAllowThreads();
12110 (arg1)->AutoSizeRow(arg2,arg3);
12111
12112 wxPyEndAllowThreads(__tstate);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
12115 Py_INCREF(Py_None); resultobj = Py_None;
12116 return resultobj;
12117 fail:
12118 return NULL;
12119}
12120
12121
12122static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
12123 PyObject *resultobj;
12124 wxGrid *arg1 = (wxGrid *) 0 ;
423f194a 12125 bool arg2 = (bool) True ;
d14a1e28
RD
12126 PyObject * obj0 = 0 ;
12127 PyObject * obj1 = 0 ;
12128 char *kwnames[] = {
12129 (char *) "self",(char *) "setAsMin", NULL
12130 };
12131
12132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeColumns",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12135 if (obj1) {
2f4c0a16
RD
12136 arg2 = (bool) SWIG_AsBool(obj1);
12137 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12138 }
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
12141 (arg1)->AutoSizeColumns(arg2);
12142
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 Py_INCREF(Py_None); resultobj = Py_None;
12147 return resultobj;
12148 fail:
12149 return NULL;
12150}
12151
12152
12153static PyObject *_wrap_Grid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
12154 PyObject *resultobj;
12155 wxGrid *arg1 = (wxGrid *) 0 ;
423f194a 12156 bool arg2 = (bool) True ;
d14a1e28
RD
12157 PyObject * obj0 = 0 ;
12158 PyObject * obj1 = 0 ;
12159 char *kwnames[] = {
12160 (char *) "self",(char *) "setAsMin", NULL
12161 };
12162
12163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeRows",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12166 if (obj1) {
2f4c0a16
RD
12167 arg2 = (bool) SWIG_AsBool(obj1);
12168 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12169 }
12170 {
12171 PyThreadState* __tstate = wxPyBeginAllowThreads();
12172 (arg1)->AutoSizeRows(arg2);
12173
12174 wxPyEndAllowThreads(__tstate);
12175 if (PyErr_Occurred()) SWIG_fail;
12176 }
12177 Py_INCREF(Py_None); resultobj = Py_None;
12178 return resultobj;
12179 fail:
12180 return NULL;
12181}
12182
12183
12184static PyObject *_wrap_Grid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12185 PyObject *resultobj;
12186 wxGrid *arg1 = (wxGrid *) 0 ;
12187 PyObject * obj0 = 0 ;
12188 char *kwnames[] = {
12189 (char *) "self", NULL
12190 };
12191
12192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_AutoSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12195 {
12196 PyThreadState* __tstate = wxPyBeginAllowThreads();
12197 (arg1)->AutoSize();
12198
12199 wxPyEndAllowThreads(__tstate);
12200 if (PyErr_Occurred()) SWIG_fail;
12201 }
12202 Py_INCREF(Py_None); resultobj = Py_None;
12203 return resultobj;
12204 fail:
12205 return NULL;
12206}
12207
12208
12209static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12210 PyObject *resultobj;
12211 wxGrid *arg1 = (wxGrid *) 0 ;
12212 int arg2 ;
12213 PyObject * obj0 = 0 ;
8edf1c75 12214 PyObject * obj1 = 0 ;
d14a1e28
RD
12215 char *kwnames[] = {
12216 (char *) "self",(char *) "row", NULL
12217 };
12218
8edf1c75 12219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12222 arg2 = (int) SWIG_AsInt(obj1);
12223 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 (arg1)->AutoSizeRowLabelSize(arg2);
12227
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 Py_INCREF(Py_None); resultobj = Py_None;
12232 return resultobj;
12233 fail:
12234 return NULL;
12235}
12236
12237
12238static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12239 PyObject *resultobj;
12240 wxGrid *arg1 = (wxGrid *) 0 ;
12241 int arg2 ;
12242 PyObject * obj0 = 0 ;
8edf1c75 12243 PyObject * obj1 = 0 ;
d14a1e28
RD
12244 char *kwnames[] = {
12245 (char *) "self",(char *) "col", NULL
12246 };
12247
8edf1c75 12248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12251 arg2 = (int) SWIG_AsInt(obj1);
12252 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12253 {
12254 PyThreadState* __tstate = wxPyBeginAllowThreads();
12255 (arg1)->AutoSizeColLabelSize(arg2);
12256
12257 wxPyEndAllowThreads(__tstate);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 }
12260 Py_INCREF(Py_None); resultobj = Py_None;
12261 return resultobj;
12262 fail:
12263 return NULL;
12264}
12265
12266
12267static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12268 PyObject *resultobj;
12269 wxGrid *arg1 = (wxGrid *) 0 ;
12270 int arg2 ;
12271 int arg3 ;
12272 PyObject * obj0 = 0 ;
8edf1c75
RD
12273 PyObject * obj1 = 0 ;
12274 PyObject * obj2 = 0 ;
d14a1e28
RD
12275 char *kwnames[] = {
12276 (char *) "self",(char *) "col",(char *) "width", NULL
12277 };
12278
8edf1c75 12279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColMinimalWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12282 arg2 = (int) SWIG_AsInt(obj1);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 arg3 = (int) SWIG_AsInt(obj2);
12285 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12286 {
12287 PyThreadState* __tstate = wxPyBeginAllowThreads();
12288 (arg1)->SetColMinimalWidth(arg2,arg3);
12289
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 Py_INCREF(Py_None); resultobj = Py_None;
12294 return resultobj;
12295 fail:
12296 return NULL;
12297}
12298
12299
12300static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12301 PyObject *resultobj;
12302 wxGrid *arg1 = (wxGrid *) 0 ;
12303 int arg2 ;
12304 int arg3 ;
12305 PyObject * obj0 = 0 ;
8edf1c75
RD
12306 PyObject * obj1 = 0 ;
12307 PyObject * obj2 = 0 ;
d14a1e28
RD
12308 char *kwnames[] = {
12309 (char *) "self",(char *) "row",(char *) "width", NULL
12310 };
12311
8edf1c75 12312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12315 arg2 = (int) SWIG_AsInt(obj1);
12316 if (PyErr_Occurred()) SWIG_fail;
12317 arg3 = (int) SWIG_AsInt(obj2);
12318 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 (arg1)->SetRowMinimalHeight(arg2,arg3);
12322
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 Py_INCREF(Py_None); resultobj = Py_None;
12327 return resultobj;
12328 fail:
12329 return NULL;
12330}
12331
12332
12333static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12334 PyObject *resultobj;
12335 wxGrid *arg1 = (wxGrid *) 0 ;
12336 int arg2 ;
12337 PyObject * obj0 = 0 ;
8edf1c75 12338 PyObject * obj1 = 0 ;
d14a1e28
RD
12339 char *kwnames[] = {
12340 (char *) "self",(char *) "width", NULL
12341 };
12342
8edf1c75 12343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12346 arg2 = (int) SWIG_AsInt(obj1);
12347 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12348 {
12349 PyThreadState* __tstate = wxPyBeginAllowThreads();
12350 (arg1)->SetColMinimalAcceptableWidth(arg2);
12351
12352 wxPyEndAllowThreads(__tstate);
12353 if (PyErr_Occurred()) SWIG_fail;
12354 }
12355 Py_INCREF(Py_None); resultobj = Py_None;
12356 return resultobj;
12357 fail:
12358 return NULL;
12359}
12360
12361
12362static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12363 PyObject *resultobj;
12364 wxGrid *arg1 = (wxGrid *) 0 ;
12365 int arg2 ;
12366 PyObject * obj0 = 0 ;
8edf1c75 12367 PyObject * obj1 = 0 ;
d14a1e28
RD
12368 char *kwnames[] = {
12369 (char *) "self",(char *) "width", NULL
12370 };
12371
8edf1c75 12372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12375 arg2 = (int) SWIG_AsInt(obj1);
12376 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12377 {
12378 PyThreadState* __tstate = wxPyBeginAllowThreads();
12379 (arg1)->SetRowMinimalAcceptableHeight(arg2);
12380
12381 wxPyEndAllowThreads(__tstate);
12382 if (PyErr_Occurred()) SWIG_fail;
12383 }
12384 Py_INCREF(Py_None); resultobj = Py_None;
12385 return resultobj;
12386 fail:
12387 return NULL;
12388}
12389
12390
12391static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12392 PyObject *resultobj;
12393 wxGrid *arg1 = (wxGrid *) 0 ;
12394 int result;
12395 PyObject * obj0 = 0 ;
12396 char *kwnames[] = {
12397 (char *) "self", NULL
12398 };
12399
12400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12403 {
12404 PyThreadState* __tstate = wxPyBeginAllowThreads();
12405 result = (int)((wxGrid const *)arg1)->GetColMinimalAcceptableWidth();
12406
12407 wxPyEndAllowThreads(__tstate);
12408 if (PyErr_Occurred()) SWIG_fail;
12409 }
2f4c0a16 12410 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12411 return resultobj;
12412 fail:
12413 return NULL;
12414}
12415
12416
12417static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12418 PyObject *resultobj;
12419 wxGrid *arg1 = (wxGrid *) 0 ;
12420 int result;
12421 PyObject * obj0 = 0 ;
12422 char *kwnames[] = {
12423 (char *) "self", NULL
12424 };
12425
12426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12429 {
12430 PyThreadState* __tstate = wxPyBeginAllowThreads();
12431 result = (int)((wxGrid const *)arg1)->GetRowMinimalAcceptableHeight();
12432
12433 wxPyEndAllowThreads(__tstate);
12434 if (PyErr_Occurred()) SWIG_fail;
12435 }
2f4c0a16 12436 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12437 return resultobj;
12438 fail:
12439 return NULL;
12440}
12441
12442
12443static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12444 PyObject *resultobj;
12445 wxGrid *arg1 = (wxGrid *) 0 ;
12446 wxColour *arg2 = 0 ;
12447 wxColour temp2 ;
12448 PyObject * obj0 = 0 ;
12449 PyObject * obj1 = 0 ;
12450 char *kwnames[] = {
12451 (char *) "self","arg2", NULL
12452 };
12453
12454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12457 {
12458 arg2 = &temp2;
12459 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12460 }
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 (arg1)->SetDefaultCellBackgroundColour((wxColour const &)*arg2);
12464
12465 wxPyEndAllowThreads(__tstate);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 Py_INCREF(Py_None); resultobj = Py_None;
12469 return resultobj;
12470 fail:
12471 return NULL;
12472}
12473
12474
12475static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12476 PyObject *resultobj;
12477 wxGrid *arg1 = (wxGrid *) 0 ;
12478 int arg2 ;
12479 int arg3 ;
12480 wxColour *arg4 = 0 ;
12481 wxColour temp4 ;
12482 PyObject * obj0 = 0 ;
8edf1c75
RD
12483 PyObject * obj1 = 0 ;
12484 PyObject * obj2 = 0 ;
d14a1e28
RD
12485 PyObject * obj3 = 0 ;
12486 char *kwnames[] = {
12487 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12488 };
12489
8edf1c75 12490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
12491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12493 arg2 = (int) SWIG_AsInt(obj1);
12494 if (PyErr_Occurred()) SWIG_fail;
12495 arg3 = (int) SWIG_AsInt(obj2);
12496 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12497 {
12498 arg4 = &temp4;
12499 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12500 }
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 (arg1)->SetCellBackgroundColour(arg2,arg3,(wxColour const &)*arg4);
12504
12505 wxPyEndAllowThreads(__tstate);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 Py_INCREF(Py_None); resultobj = Py_None;
12509 return resultobj;
12510 fail:
12511 return NULL;
12512}
12513
12514
12515static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12516 PyObject *resultobj;
12517 wxGrid *arg1 = (wxGrid *) 0 ;
12518 wxColour *arg2 = 0 ;
12519 wxColour temp2 ;
12520 PyObject * obj0 = 0 ;
12521 PyObject * obj1 = 0 ;
12522 char *kwnames[] = {
12523 (char *) "self","arg2", NULL
12524 };
12525
12526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12529 {
12530 arg2 = &temp2;
12531 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12532 }
12533 {
12534 PyThreadState* __tstate = wxPyBeginAllowThreads();
12535 (arg1)->SetDefaultCellTextColour((wxColour const &)*arg2);
12536
12537 wxPyEndAllowThreads(__tstate);
12538 if (PyErr_Occurred()) SWIG_fail;
12539 }
12540 Py_INCREF(Py_None); resultobj = Py_None;
12541 return resultobj;
12542 fail:
12543 return NULL;
12544}
12545
12546
12547static PyObject *_wrap_Grid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12548 PyObject *resultobj;
12549 wxGrid *arg1 = (wxGrid *) 0 ;
12550 int arg2 ;
12551 int arg3 ;
12552 wxColour *arg4 = 0 ;
12553 wxColour temp4 ;
12554 PyObject * obj0 = 0 ;
8edf1c75
RD
12555 PyObject * obj1 = 0 ;
12556 PyObject * obj2 = 0 ;
d14a1e28
RD
12557 PyObject * obj3 = 0 ;
12558 char *kwnames[] = {
12559 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12560 };
12561
8edf1c75 12562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellTextColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
12563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12565 arg2 = (int) SWIG_AsInt(obj1);
12566 if (PyErr_Occurred()) SWIG_fail;
12567 arg3 = (int) SWIG_AsInt(obj2);
12568 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12569 {
12570 arg4 = &temp4;
12571 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12572 }
12573 {
12574 PyThreadState* __tstate = wxPyBeginAllowThreads();
12575 (arg1)->SetCellTextColour(arg2,arg3,(wxColour const &)*arg4);
12576
12577 wxPyEndAllowThreads(__tstate);
12578 if (PyErr_Occurred()) SWIG_fail;
12579 }
12580 Py_INCREF(Py_None); resultobj = Py_None;
12581 return resultobj;
12582 fail:
12583 return NULL;
12584}
12585
12586
12587static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12588 PyObject *resultobj;
12589 wxGrid *arg1 = (wxGrid *) 0 ;
12590 wxFont *arg2 = 0 ;
12591 PyObject * obj0 = 0 ;
12592 PyObject * obj1 = 0 ;
12593 char *kwnames[] = {
12594 (char *) "self","arg2", NULL
12595 };
12596
12597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12600 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12601 SWIG_POINTER_EXCEPTION | 0)) == -1)
12602 SWIG_fail;
d14a1e28 12603 if (arg2 == NULL) {
2f4c0a16
RD
12604 PyErr_SetString(PyExc_TypeError,"null reference");
12605 SWIG_fail;
d14a1e28
RD
12606 }
12607 {
12608 PyThreadState* __tstate = wxPyBeginAllowThreads();
12609 (arg1)->SetDefaultCellFont((wxFont const &)*arg2);
12610
12611 wxPyEndAllowThreads(__tstate);
12612 if (PyErr_Occurred()) SWIG_fail;
12613 }
12614 Py_INCREF(Py_None); resultobj = Py_None;
12615 return resultobj;
12616 fail:
12617 return NULL;
12618}
12619
12620
12621static PyObject *_wrap_Grid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12622 PyObject *resultobj;
12623 wxGrid *arg1 = (wxGrid *) 0 ;
12624 int arg2 ;
12625 int arg3 ;
12626 wxFont *arg4 = 0 ;
12627 PyObject * obj0 = 0 ;
8edf1c75
RD
12628 PyObject * obj1 = 0 ;
12629 PyObject * obj2 = 0 ;
d14a1e28
RD
12630 PyObject * obj3 = 0 ;
12631 char *kwnames[] = {
12632 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12633 };
12634
2f4c0a16
RD
12635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellFont",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12638 arg2 = (int) SWIG_AsInt(obj1);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 arg3 = (int) SWIG_AsInt(obj2);
12641 if (PyErr_Occurred()) SWIG_fail;
12642 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxFont,
12643 SWIG_POINTER_EXCEPTION | 0)) == -1)
12644 SWIG_fail;
d14a1e28 12645 if (arg4 == NULL) {
2f4c0a16
RD
12646 PyErr_SetString(PyExc_TypeError,"null reference");
12647 SWIG_fail;
d14a1e28
RD
12648 }
12649 {
12650 PyThreadState* __tstate = wxPyBeginAllowThreads();
12651 (arg1)->SetCellFont(arg2,arg3,(wxFont const &)*arg4);
12652
12653 wxPyEndAllowThreads(__tstate);
12654 if (PyErr_Occurred()) SWIG_fail;
12655 }
12656 Py_INCREF(Py_None); resultobj = Py_None;
12657 return resultobj;
12658 fail:
12659 return NULL;
12660}
12661
12662
12663static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12664 PyObject *resultobj;
12665 wxGrid *arg1 = (wxGrid *) 0 ;
12666 int arg2 ;
12667 int arg3 ;
12668 PyObject * obj0 = 0 ;
8edf1c75
RD
12669 PyObject * obj1 = 0 ;
12670 PyObject * obj2 = 0 ;
d14a1e28
RD
12671 char *kwnames[] = {
12672 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12673 };
12674
8edf1c75 12675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12678 arg2 = (int) SWIG_AsInt(obj1);
12679 if (PyErr_Occurred()) SWIG_fail;
12680 arg3 = (int) SWIG_AsInt(obj2);
12681 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12682 {
12683 PyThreadState* __tstate = wxPyBeginAllowThreads();
12684 (arg1)->SetDefaultCellAlignment(arg2,arg3);
12685
12686 wxPyEndAllowThreads(__tstate);
12687 if (PyErr_Occurred()) SWIG_fail;
12688 }
12689 Py_INCREF(Py_None); resultobj = Py_None;
12690 return resultobj;
12691 fail:
12692 return NULL;
12693}
12694
12695
12696static PyObject *_wrap_Grid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12697 PyObject *resultobj;
12698 wxGrid *arg1 = (wxGrid *) 0 ;
12699 int arg2 ;
12700 int arg3 ;
12701 int arg4 ;
12702 int arg5 ;
12703 PyObject * obj0 = 0 ;
8edf1c75
RD
12704 PyObject * obj1 = 0 ;
12705 PyObject * obj2 = 0 ;
12706 PyObject * obj3 = 0 ;
12707 PyObject * obj4 = 0 ;
d14a1e28
RD
12708 char *kwnames[] = {
12709 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12710 };
12711
8edf1c75 12712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellAlignment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12715 arg2 = (int) SWIG_AsInt(obj1);
12716 if (PyErr_Occurred()) SWIG_fail;
12717 arg3 = (int) SWIG_AsInt(obj2);
12718 if (PyErr_Occurred()) SWIG_fail;
12719 arg4 = (int) SWIG_AsInt(obj3);
12720 if (PyErr_Occurred()) SWIG_fail;
12721 arg5 = (int) SWIG_AsInt(obj4);
12722 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12723 {
12724 PyThreadState* __tstate = wxPyBeginAllowThreads();
12725 (arg1)->SetCellAlignment(arg2,arg3,arg4,arg5);
12726
12727 wxPyEndAllowThreads(__tstate);
12728 if (PyErr_Occurred()) SWIG_fail;
12729 }
12730 Py_INCREF(Py_None); resultobj = Py_None;
12731 return resultobj;
12732 fail:
12733 return NULL;
12734}
12735
12736
12737static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12738 PyObject *resultobj;
12739 wxGrid *arg1 = (wxGrid *) 0 ;
12740 bool arg2 ;
12741 PyObject * obj0 = 0 ;
12742 PyObject * obj1 = 0 ;
12743 char *kwnames[] = {
12744 (char *) "self",(char *) "allow", NULL
12745 };
12746
12747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12750 arg2 = (bool) SWIG_AsBool(obj1);
12751 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12752 {
12753 PyThreadState* __tstate = wxPyBeginAllowThreads();
12754 (arg1)->SetDefaultCellOverflow(arg2);
12755
12756 wxPyEndAllowThreads(__tstate);
12757 if (PyErr_Occurred()) SWIG_fail;
12758 }
12759 Py_INCREF(Py_None); resultobj = Py_None;
12760 return resultobj;
12761 fail:
12762 return NULL;
12763}
12764
12765
12766static PyObject *_wrap_Grid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12767 PyObject *resultobj;
12768 wxGrid *arg1 = (wxGrid *) 0 ;
12769 int arg2 ;
12770 int arg3 ;
12771 bool arg4 ;
12772 PyObject * obj0 = 0 ;
8edf1c75
RD
12773 PyObject * obj1 = 0 ;
12774 PyObject * obj2 = 0 ;
d14a1e28
RD
12775 PyObject * obj3 = 0 ;
12776 char *kwnames[] = {
12777 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
12778 };
12779
8edf1c75 12780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellOverflow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
12781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12783 arg2 = (int) SWIG_AsInt(obj1);
12784 if (PyErr_Occurred()) SWIG_fail;
12785 arg3 = (int) SWIG_AsInt(obj2);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 arg4 = (bool) SWIG_AsBool(obj3);
12788 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12789 {
12790 PyThreadState* __tstate = wxPyBeginAllowThreads();
12791 (arg1)->SetCellOverflow(arg2,arg3,arg4);
12792
12793 wxPyEndAllowThreads(__tstate);
12794 if (PyErr_Occurred()) SWIG_fail;
12795 }
12796 Py_INCREF(Py_None); resultobj = Py_None;
12797 return resultobj;
12798 fail:
12799 return NULL;
12800}
12801
12802
12803static PyObject *_wrap_Grid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12804 PyObject *resultobj;
12805 wxGrid *arg1 = (wxGrid *) 0 ;
12806 int arg2 ;
12807 int arg3 ;
12808 int arg4 ;
12809 int arg5 ;
12810 PyObject * obj0 = 0 ;
8edf1c75
RD
12811 PyObject * obj1 = 0 ;
12812 PyObject * obj2 = 0 ;
12813 PyObject * obj3 = 0 ;
12814 PyObject * obj4 = 0 ;
d14a1e28
RD
12815 char *kwnames[] = {
12816 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
12817 };
12818
8edf1c75 12819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12822 arg2 = (int) SWIG_AsInt(obj1);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 arg3 = (int) SWIG_AsInt(obj2);
12825 if (PyErr_Occurred()) SWIG_fail;
12826 arg4 = (int) SWIG_AsInt(obj3);
12827 if (PyErr_Occurred()) SWIG_fail;
12828 arg5 = (int) SWIG_AsInt(obj4);
12829 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12830 {
12831 PyThreadState* __tstate = wxPyBeginAllowThreads();
12832 (arg1)->SetCellSize(arg2,arg3,arg4,arg5);
12833
12834 wxPyEndAllowThreads(__tstate);
12835 if (PyErr_Occurred()) SWIG_fail;
12836 }
12837 Py_INCREF(Py_None); resultobj = Py_None;
12838 return resultobj;
12839 fail:
12840 return NULL;
12841}
12842
12843
12844static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12845 PyObject *resultobj;
12846 wxGrid *arg1 = (wxGrid *) 0 ;
12847 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
12848 PyObject * obj0 = 0 ;
12849 PyObject * obj1 = 0 ;
12850 char *kwnames[] = {
12851 (char *) "self",(char *) "renderer", NULL
12852 };
12853
12854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultRenderer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12857 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
12858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 (arg1)->SetDefaultRenderer(arg2);
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 Py_INCREF(Py_None); resultobj = Py_None;
12867 return resultobj;
12868 fail:
12869 return NULL;
12870}
12871
12872
12873static PyObject *_wrap_Grid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12874 PyObject *resultobj;
12875 wxGrid *arg1 = (wxGrid *) 0 ;
12876 int arg2 ;
12877 int arg3 ;
12878 wxGridCellRenderer *arg4 = (wxGridCellRenderer *) 0 ;
12879 PyObject * obj0 = 0 ;
8edf1c75
RD
12880 PyObject * obj1 = 0 ;
12881 PyObject * obj2 = 0 ;
d14a1e28
RD
12882 PyObject * obj3 = 0 ;
12883 char *kwnames[] = {
12884 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
12885 };
12886
8edf1c75 12887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
12888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12890 arg2 = (int) SWIG_AsInt(obj1);
12891 if (PyErr_Occurred()) SWIG_fail;
12892 arg3 = (int) SWIG_AsInt(obj2);
12893 if (PyErr_Occurred()) SWIG_fail;
12894 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellRenderer,
12895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12896 {
12897 PyThreadState* __tstate = wxPyBeginAllowThreads();
12898 (arg1)->SetCellRenderer(arg2,arg3,arg4);
12899
12900 wxPyEndAllowThreads(__tstate);
12901 if (PyErr_Occurred()) SWIG_fail;
12902 }
12903 Py_INCREF(Py_None); resultobj = Py_None;
12904 return resultobj;
12905 fail:
12906 return NULL;
12907}
12908
12909
12910static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12911 PyObject *resultobj;
12912 wxGrid *arg1 = (wxGrid *) 0 ;
12913 wxGridCellRenderer *result;
12914 PyObject * obj0 = 0 ;
12915 char *kwnames[] = {
12916 (char *) "self", NULL
12917 };
12918
12919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRenderer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12922 {
12923 PyThreadState* __tstate = wxPyBeginAllowThreads();
12924 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRenderer();
12925
12926 wxPyEndAllowThreads(__tstate);
12927 if (PyErr_Occurred()) SWIG_fail;
12928 }
12929 {
12930 resultobj = wxPyMake_wxGridCellRenderer(result);
12931 }
12932 return resultobj;
12933 fail:
12934 return NULL;
12935}
12936
12937
12938static PyObject *_wrap_Grid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12939 PyObject *resultobj;
12940 wxGrid *arg1 = (wxGrid *) 0 ;
12941 int arg2 ;
12942 int arg3 ;
12943 wxGridCellRenderer *result;
12944 PyObject * obj0 = 0 ;
8edf1c75
RD
12945 PyObject * obj1 = 0 ;
12946 PyObject * obj2 = 0 ;
d14a1e28
RD
12947 char *kwnames[] = {
12948 (char *) "self",(char *) "row",(char *) "col", NULL
12949 };
12950
8edf1c75 12951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellRenderer",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12954 arg2 = (int) SWIG_AsInt(obj1);
12955 if (PyErr_Occurred()) SWIG_fail;
12956 arg3 = (int) SWIG_AsInt(obj2);
12957 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12958 {
12959 PyThreadState* __tstate = wxPyBeginAllowThreads();
12960 result = (wxGridCellRenderer *)(arg1)->GetCellRenderer(arg2,arg3);
12961
12962 wxPyEndAllowThreads(__tstate);
12963 if (PyErr_Occurred()) SWIG_fail;
12964 }
12965 {
12966 resultobj = wxPyMake_wxGridCellRenderer(result);
12967 }
12968 return resultobj;
12969 fail:
12970 return NULL;
12971}
12972
12973
12974static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12975 PyObject *resultobj;
12976 wxGrid *arg1 = (wxGrid *) 0 ;
12977 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
12978 PyObject * obj0 = 0 ;
12979 PyObject * obj1 = 0 ;
12980 char *kwnames[] = {
12981 (char *) "self",(char *) "editor", NULL
12982 };
12983
12984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultEditor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
12988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12989 {
12990 PyThreadState* __tstate = wxPyBeginAllowThreads();
12991 (arg1)->SetDefaultEditor(arg2);
12992
12993 wxPyEndAllowThreads(__tstate);
12994 if (PyErr_Occurred()) SWIG_fail;
12995 }
12996 Py_INCREF(Py_None); resultobj = Py_None;
12997 return resultobj;
12998 fail:
12999 return NULL;
13000}
13001
13002
13003static PyObject *_wrap_Grid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13004 PyObject *resultobj;
13005 wxGrid *arg1 = (wxGrid *) 0 ;
13006 int arg2 ;
13007 int arg3 ;
13008 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
13009 PyObject * obj0 = 0 ;
8edf1c75
RD
13010 PyObject * obj1 = 0 ;
13011 PyObject * obj2 = 0 ;
d14a1e28
RD
13012 PyObject * obj3 = 0 ;
13013 char *kwnames[] = {
13014 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
13015 };
13016
8edf1c75 13017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
13018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13020 arg2 = (int) SWIG_AsInt(obj1);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 arg3 = (int) SWIG_AsInt(obj2);
13023 if (PyErr_Occurred()) SWIG_fail;
13024 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
13025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13026 {
13027 PyThreadState* __tstate = wxPyBeginAllowThreads();
13028 (arg1)->SetCellEditor(arg2,arg3,arg4);
13029
13030 wxPyEndAllowThreads(__tstate);
13031 if (PyErr_Occurred()) SWIG_fail;
13032 }
13033 Py_INCREF(Py_None); resultobj = Py_None;
13034 return resultobj;
13035 fail:
13036 return NULL;
13037}
13038
13039
13040static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13041 PyObject *resultobj;
13042 wxGrid *arg1 = (wxGrid *) 0 ;
13043 wxGridCellEditor *result;
13044 PyObject * obj0 = 0 ;
13045 char *kwnames[] = {
13046 (char *) "self", NULL
13047 };
13048
13049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultEditor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditor();
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 {
13060 resultobj = wxPyMake_wxGridCellEditor(result);
13061 }
13062 return resultobj;
13063 fail:
13064 return NULL;
13065}
13066
13067
13068static PyObject *_wrap_Grid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13069 PyObject *resultobj;
13070 wxGrid *arg1 = (wxGrid *) 0 ;
13071 int arg2 ;
13072 int arg3 ;
13073 wxGridCellEditor *result;
13074 PyObject * obj0 = 0 ;
8edf1c75
RD
13075 PyObject * obj1 = 0 ;
13076 PyObject * obj2 = 0 ;
d14a1e28
RD
13077 char *kwnames[] = {
13078 (char *) "self",(char *) "row",(char *) "col", NULL
13079 };
13080
8edf1c75 13081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellEditor",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13084 arg2 = (int) SWIG_AsInt(obj1);
13085 if (PyErr_Occurred()) SWIG_fail;
13086 arg3 = (int) SWIG_AsInt(obj2);
13087 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13088 {
13089 PyThreadState* __tstate = wxPyBeginAllowThreads();
13090 result = (wxGridCellEditor *)(arg1)->GetCellEditor(arg2,arg3);
13091
13092 wxPyEndAllowThreads(__tstate);
13093 if (PyErr_Occurred()) SWIG_fail;
13094 }
13095 {
13096 resultobj = wxPyMake_wxGridCellEditor(result);
13097 }
13098 return resultobj;
13099 fail:
13100 return NULL;
13101}
13102
13103
13104static PyObject *_wrap_Grid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13105 PyObject *resultobj;
13106 wxGrid *arg1 = (wxGrid *) 0 ;
13107 int arg2 ;
13108 int arg3 ;
13109 wxString result;
13110 PyObject * obj0 = 0 ;
8edf1c75
RD
13111 PyObject * obj1 = 0 ;
13112 PyObject * obj2 = 0 ;
d14a1e28
RD
13113 char *kwnames[] = {
13114 (char *) "self",(char *) "row",(char *) "col", NULL
13115 };
13116
8edf1c75 13117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13120 arg2 = (int) SWIG_AsInt(obj1);
13121 if (PyErr_Occurred()) SWIG_fail;
13122 arg3 = (int) SWIG_AsInt(obj2);
13123 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13124 {
13125 PyThreadState* __tstate = wxPyBeginAllowThreads();
13126 result = (arg1)->GetCellValue(arg2,arg3);
13127
13128 wxPyEndAllowThreads(__tstate);
13129 if (PyErr_Occurred()) SWIG_fail;
13130 }
13131 {
13132#if wxUSE_UNICODE
13133 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13134#else
13135 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13136#endif
13137 }
13138 return resultobj;
13139 fail:
13140 return NULL;
13141}
13142
13143
13144static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13145 PyObject *resultobj;
13146 wxGrid *arg1 = (wxGrid *) 0 ;
13147 int arg2 ;
13148 int arg3 ;
13149 wxString *arg4 = 0 ;
423f194a 13150 bool temp4 = False ;
d14a1e28 13151 PyObject * obj0 = 0 ;
8edf1c75
RD
13152 PyObject * obj1 = 0 ;
13153 PyObject * obj2 = 0 ;
d14a1e28
RD
13154 PyObject * obj3 = 0 ;
13155 char *kwnames[] = {
13156 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13157 };
13158
8edf1c75 13159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
13160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13162 arg2 = (int) SWIG_AsInt(obj1);
13163 if (PyErr_Occurred()) SWIG_fail;
13164 arg3 = (int) SWIG_AsInt(obj2);
13165 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13166 {
13167 arg4 = wxString_in_helper(obj3);
13168 if (arg4 == NULL) SWIG_fail;
423f194a 13169 temp4 = True;
d14a1e28
RD
13170 }
13171 {
13172 PyThreadState* __tstate = wxPyBeginAllowThreads();
13173 (arg1)->SetCellValue(arg2,arg3,(wxString const &)*arg4);
13174
13175 wxPyEndAllowThreads(__tstate);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 }
13178 Py_INCREF(Py_None); resultobj = Py_None;
13179 {
13180 if (temp4)
13181 delete arg4;
13182 }
13183 return resultobj;
13184 fail:
13185 {
13186 if (temp4)
13187 delete arg4;
13188 }
13189 return NULL;
13190}
13191
13192
13193static PyObject *_wrap_Grid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13194 PyObject *resultobj;
13195 wxGrid *arg1 = (wxGrid *) 0 ;
13196 int arg2 ;
13197 int arg3 ;
13198 bool result;
13199 PyObject * obj0 = 0 ;
8edf1c75
RD
13200 PyObject * obj1 = 0 ;
13201 PyObject * obj2 = 0 ;
d14a1e28
RD
13202 char *kwnames[] = {
13203 (char *) "self",(char *) "row",(char *) "col", NULL
13204 };
13205
8edf1c75 13206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsReadOnly",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13209 arg2 = (int) SWIG_AsInt(obj1);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 arg3 = (int) SWIG_AsInt(obj2);
13212 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
13215 result = (bool)((wxGrid const *)arg1)->IsReadOnly(arg2,arg3);
13216
13217 wxPyEndAllowThreads(__tstate);
13218 if (PyErr_Occurred()) SWIG_fail;
13219 }
4f89f6a3
RD
13220 {
13221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13222 }
d14a1e28
RD
13223 return resultobj;
13224 fail:
13225 return NULL;
13226}
13227
13228
13229static PyObject *_wrap_Grid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13230 PyObject *resultobj;
13231 wxGrid *arg1 = (wxGrid *) 0 ;
13232 int arg2 ;
13233 int arg3 ;
423f194a 13234 bool arg4 = (bool) True ;
d14a1e28 13235 PyObject * obj0 = 0 ;
8edf1c75
RD
13236 PyObject * obj1 = 0 ;
13237 PyObject * obj2 = 0 ;
d14a1e28
RD
13238 PyObject * obj3 = 0 ;
13239 char *kwnames[] = {
13240 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13241 };
13242
8edf1c75 13243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_SetReadOnly",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
13244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13246 arg2 = (int) SWIG_AsInt(obj1);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 arg3 = (int) SWIG_AsInt(obj2);
13249 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13250 if (obj3) {
2f4c0a16
RD
13251 arg4 = (bool) SWIG_AsBool(obj3);
13252 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13253 }
13254 {
13255 PyThreadState* __tstate = wxPyBeginAllowThreads();
13256 (arg1)->SetReadOnly(arg2,arg3,arg4);
13257
13258 wxPyEndAllowThreads(__tstate);
13259 if (PyErr_Occurred()) SWIG_fail;
13260 }
13261 Py_INCREF(Py_None); resultobj = Py_None;
13262 return resultobj;
13263 fail:
13264 return NULL;
13265}
13266
13267
13268static PyObject *_wrap_Grid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13269 PyObject *resultobj;
13270 wxGrid *arg1 = (wxGrid *) 0 ;
13271 int arg2 ;
423f194a 13272 bool arg3 = (bool) False ;
d14a1e28 13273 PyObject * obj0 = 0 ;
8edf1c75 13274 PyObject * obj1 = 0 ;
d14a1e28
RD
13275 PyObject * obj2 = 0 ;
13276 char *kwnames[] = {
13277 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13278 };
13279
8edf1c75 13280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13283 arg2 = (int) SWIG_AsInt(obj1);
13284 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13285 if (obj2) {
2f4c0a16
RD
13286 arg3 = (bool) SWIG_AsBool(obj2);
13287 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13288 }
13289 {
13290 PyThreadState* __tstate = wxPyBeginAllowThreads();
13291 (arg1)->SelectRow(arg2,arg3);
13292
13293 wxPyEndAllowThreads(__tstate);
13294 if (PyErr_Occurred()) SWIG_fail;
13295 }
13296 Py_INCREF(Py_None); resultobj = Py_None;
13297 return resultobj;
13298 fail:
13299 return NULL;
13300}
13301
13302
13303static PyObject *_wrap_Grid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13304 PyObject *resultobj;
13305 wxGrid *arg1 = (wxGrid *) 0 ;
13306 int arg2 ;
423f194a 13307 bool arg3 = (bool) False ;
d14a1e28 13308 PyObject * obj0 = 0 ;
8edf1c75 13309 PyObject * obj1 = 0 ;
d14a1e28
RD
13310 PyObject * obj2 = 0 ;
13311 char *kwnames[] = {
13312 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13313 };
13314
8edf1c75 13315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13318 arg2 = (int) SWIG_AsInt(obj1);
13319 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13320 if (obj2) {
2f4c0a16
RD
13321 arg3 = (bool) SWIG_AsBool(obj2);
13322 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13323 }
13324 {
13325 PyThreadState* __tstate = wxPyBeginAllowThreads();
13326 (arg1)->SelectCol(arg2,arg3);
13327
13328 wxPyEndAllowThreads(__tstate);
13329 if (PyErr_Occurred()) SWIG_fail;
13330 }
13331 Py_INCREF(Py_None); resultobj = Py_None;
13332 return resultobj;
13333 fail:
13334 return NULL;
13335}
13336
13337
13338static PyObject *_wrap_Grid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
13339 PyObject *resultobj;
13340 wxGrid *arg1 = (wxGrid *) 0 ;
13341 int arg2 ;
13342 int arg3 ;
13343 int arg4 ;
13344 int arg5 ;
423f194a 13345 bool arg6 = (bool) False ;
d14a1e28 13346 PyObject * obj0 = 0 ;
8edf1c75
RD
13347 PyObject * obj1 = 0 ;
13348 PyObject * obj2 = 0 ;
13349 PyObject * obj3 = 0 ;
13350 PyObject * obj4 = 0 ;
d14a1e28
RD
13351 PyObject * obj5 = 0 ;
13352 char *kwnames[] = {
13353 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13354 };
13355
8edf1c75 13356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Grid_SelectBlock",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
13357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13359 arg2 = (int) SWIG_AsInt(obj1);
13360 if (PyErr_Occurred()) SWIG_fail;
13361 arg3 = (int) SWIG_AsInt(obj2);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 arg4 = (int) SWIG_AsInt(obj3);
13364 if (PyErr_Occurred()) SWIG_fail;
13365 arg5 = (int) SWIG_AsInt(obj4);
13366 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13367 if (obj5) {
2f4c0a16
RD
13368 arg6 = (bool) SWIG_AsBool(obj5);
13369 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13370 }
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 (arg1)->SelectBlock(arg2,arg3,arg4,arg5,arg6);
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 Py_INCREF(Py_None); resultobj = Py_None;
13379 return resultobj;
13380 fail:
13381 return NULL;
13382}
13383
13384
13385static PyObject *_wrap_Grid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
13386 PyObject *resultobj;
13387 wxGrid *arg1 = (wxGrid *) 0 ;
13388 PyObject * obj0 = 0 ;
13389 char *kwnames[] = {
13390 (char *) "self", NULL
13391 };
13392
13393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SelectAll",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13396 {
13397 PyThreadState* __tstate = wxPyBeginAllowThreads();
13398 (arg1)->SelectAll();
13399
13400 wxPyEndAllowThreads(__tstate);
13401 if (PyErr_Occurred()) SWIG_fail;
13402 }
13403 Py_INCREF(Py_None); resultobj = Py_None;
13404 return resultobj;
13405 fail:
13406 return NULL;
13407}
13408
13409
13410static PyObject *_wrap_Grid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13411 PyObject *resultobj;
13412 wxGrid *arg1 = (wxGrid *) 0 ;
13413 bool result;
13414 PyObject * obj0 = 0 ;
13415 char *kwnames[] = {
13416 (char *) "self", NULL
13417 };
13418
13419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13422 {
13423 PyThreadState* __tstate = wxPyBeginAllowThreads();
13424 result = (bool)(arg1)->IsSelection();
13425
13426 wxPyEndAllowThreads(__tstate);
13427 if (PyErr_Occurred()) SWIG_fail;
13428 }
4f89f6a3
RD
13429 {
13430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13431 }
d14a1e28
RD
13432 return resultobj;
13433 fail:
13434 return NULL;
13435}
13436
13437
13438static PyObject *_wrap_Grid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13439 PyObject *resultobj;
13440 wxGrid *arg1 = (wxGrid *) 0 ;
13441 PyObject * obj0 = 0 ;
13442 char *kwnames[] = {
13443 (char *) "self", NULL
13444 };
13445
13446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13449 {
13450 PyThreadState* __tstate = wxPyBeginAllowThreads();
13451 (arg1)->ClearSelection();
13452
13453 wxPyEndAllowThreads(__tstate);
13454 if (PyErr_Occurred()) SWIG_fail;
13455 }
13456 Py_INCREF(Py_None); resultobj = Py_None;
13457 return resultobj;
13458 fail:
13459 return NULL;
13460}
13461
13462
13463static PyObject *_wrap_Grid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13464 PyObject *resultobj;
13465 wxGrid *arg1 = (wxGrid *) 0 ;
13466 int arg2 ;
13467 int arg3 ;
13468 bool result;
13469 PyObject * obj0 = 0 ;
8edf1c75
RD
13470 PyObject * obj1 = 0 ;
13471 PyObject * obj2 = 0 ;
d14a1e28
RD
13472 char *kwnames[] = {
13473 (char *) "self",(char *) "row",(char *) "col", NULL
13474 };
13475
8edf1c75 13476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsInSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13479 arg2 = (int) SWIG_AsInt(obj1);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 arg3 = (int) SWIG_AsInt(obj2);
13482 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13483 {
13484 PyThreadState* __tstate = wxPyBeginAllowThreads();
13485 result = (bool)(arg1)->IsInSelection(arg2,arg3);
13486
13487 wxPyEndAllowThreads(__tstate);
13488 if (PyErr_Occurred()) SWIG_fail;
13489 }
4f89f6a3
RD
13490 {
13491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13492 }
d14a1e28
RD
13493 return resultobj;
13494 fail:
13495 return NULL;
13496}
13497
13498
13499static PyObject *_wrap_Grid_GetSelectedCells(PyObject *self, PyObject *args, PyObject *kwargs) {
13500 PyObject *resultobj;
13501 wxGrid *arg1 = (wxGrid *) 0 ;
13502 wxGridCellCoordsArray result;
13503 PyObject * obj0 = 0 ;
13504 char *kwnames[] = {
13505 (char *) "self", NULL
13506 };
13507
13508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCells",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13511 {
13512 PyThreadState* __tstate = wxPyBeginAllowThreads();
13513 result = ((wxGrid const *)arg1)->GetSelectedCells();
13514
13515 wxPyEndAllowThreads(__tstate);
13516 if (PyErr_Occurred()) SWIG_fail;
13517 }
13518 {
13519 resultobj = wxGridCellCoordsArray_helper(result);
13520 }
13521 return resultobj;
13522 fail:
13523 return NULL;
13524}
13525
13526
13527static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13528 PyObject *resultobj;
13529 wxGrid *arg1 = (wxGrid *) 0 ;
13530 wxGridCellCoordsArray result;
13531 PyObject * obj0 = 0 ;
13532 char *kwnames[] = {
13533 (char *) "self", NULL
13534 };
13535
13536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13539 {
13540 PyThreadState* __tstate = wxPyBeginAllowThreads();
13541 result = ((wxGrid const *)arg1)->GetSelectionBlockTopLeft();
13542
13543 wxPyEndAllowThreads(__tstate);
13544 if (PyErr_Occurred()) SWIG_fail;
13545 }
13546 {
13547 resultobj = wxGridCellCoordsArray_helper(result);
13548 }
13549 return resultobj;
13550 fail:
13551 return NULL;
13552}
13553
13554
13555static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13556 PyObject *resultobj;
13557 wxGrid *arg1 = (wxGrid *) 0 ;
13558 wxGridCellCoordsArray result;
13559 PyObject * obj0 = 0 ;
13560 char *kwnames[] = {
13561 (char *) "self", NULL
13562 };
13563
13564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13567 {
13568 PyThreadState* __tstate = wxPyBeginAllowThreads();
13569 result = ((wxGrid const *)arg1)->GetSelectionBlockBottomRight();
13570
13571 wxPyEndAllowThreads(__tstate);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 {
13575 resultobj = wxGridCellCoordsArray_helper(result);
13576 }
13577 return resultobj;
13578 fail:
13579 return NULL;
13580}
13581
13582
13583static PyObject *_wrap_Grid_GetSelectedRows(PyObject *self, PyObject *args, PyObject *kwargs) {
13584 PyObject *resultobj;
13585 wxGrid *arg1 = (wxGrid *) 0 ;
13586 wxArrayInt result;
13587 PyObject * obj0 = 0 ;
13588 char *kwnames[] = {
13589 (char *) "self", NULL
13590 };
13591
13592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedRows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13595 {
13596 PyThreadState* __tstate = wxPyBeginAllowThreads();
13597 result = ((wxGrid const *)arg1)->GetSelectedRows();
13598
13599 wxPyEndAllowThreads(__tstate);
13600 if (PyErr_Occurred()) SWIG_fail;
13601 }
13602 {
13603 resultobj = PyList_New(0);
13604 size_t idx;
13605 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13606 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13607 PyList_Append(resultobj, val);
13608 Py_DECREF(val);
13609 }
13610 }
13611 return resultobj;
13612 fail:
13613 return NULL;
13614}
13615
13616
13617static PyObject *_wrap_Grid_GetSelectedCols(PyObject *self, PyObject *args, PyObject *kwargs) {
13618 PyObject *resultobj;
13619 wxGrid *arg1 = (wxGrid *) 0 ;
13620 wxArrayInt result;
13621 PyObject * obj0 = 0 ;
13622 char *kwnames[] = {
13623 (char *) "self", NULL
13624 };
13625
13626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCols",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13629 {
13630 PyThreadState* __tstate = wxPyBeginAllowThreads();
13631 result = ((wxGrid const *)arg1)->GetSelectedCols();
13632
13633 wxPyEndAllowThreads(__tstate);
13634 if (PyErr_Occurred()) SWIG_fail;
13635 }
13636 {
13637 resultobj = PyList_New(0);
13638 size_t idx;
13639 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13640 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13641 PyList_Append(resultobj, val);
13642 Py_DECREF(val);
13643 }
13644 }
13645 return resultobj;
13646 fail:
13647 return NULL;
13648}
13649
13650
13651static PyObject *_wrap_Grid_DeselectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13652 PyObject *resultobj;
13653 wxGrid *arg1 = (wxGrid *) 0 ;
13654 int arg2 ;
13655 PyObject * obj0 = 0 ;
8edf1c75 13656 PyObject * obj1 = 0 ;
d14a1e28
RD
13657 char *kwnames[] = {
13658 (char *) "self",(char *) "row", NULL
13659 };
13660
8edf1c75 13661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13664 arg2 = (int) SWIG_AsInt(obj1);
13665 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13666 {
13667 PyThreadState* __tstate = wxPyBeginAllowThreads();
13668 (arg1)->DeselectRow(arg2);
13669
13670 wxPyEndAllowThreads(__tstate);
13671 if (PyErr_Occurred()) SWIG_fail;
13672 }
13673 Py_INCREF(Py_None); resultobj = Py_None;
13674 return resultobj;
13675 fail:
13676 return NULL;
13677}
13678
13679
13680static PyObject *_wrap_Grid_DeselectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13681 PyObject *resultobj;
13682 wxGrid *arg1 = (wxGrid *) 0 ;
13683 int arg2 ;
13684 PyObject * obj0 = 0 ;
8edf1c75 13685 PyObject * obj1 = 0 ;
d14a1e28
RD
13686 char *kwnames[] = {
13687 (char *) "self",(char *) "col", NULL
13688 };
13689
8edf1c75 13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13693 arg2 = (int) SWIG_AsInt(obj1);
13694 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 (arg1)->DeselectCol(arg2);
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 Py_INCREF(Py_None); resultobj = Py_None;
13703 return resultobj;
13704 fail:
13705 return NULL;
13706}
13707
13708
13709static PyObject *_wrap_Grid_DeselectCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13710 PyObject *resultobj;
13711 wxGrid *arg1 = (wxGrid *) 0 ;
13712 int arg2 ;
13713 int arg3 ;
13714 PyObject * obj0 = 0 ;
8edf1c75
RD
13715 PyObject * obj1 = 0 ;
13716 PyObject * obj2 = 0 ;
d14a1e28
RD
13717 char *kwnames[] = {
13718 (char *) "self",(char *) "row",(char *) "col", NULL
13719 };
13720
8edf1c75 13721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DeselectCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13724 arg2 = (int) SWIG_AsInt(obj1);
13725 if (PyErr_Occurred()) SWIG_fail;
13726 arg3 = (int) SWIG_AsInt(obj2);
13727 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13728 {
13729 PyThreadState* __tstate = wxPyBeginAllowThreads();
13730 (arg1)->DeselectCell(arg2,arg3);
13731
13732 wxPyEndAllowThreads(__tstate);
13733 if (PyErr_Occurred()) SWIG_fail;
13734 }
13735 Py_INCREF(Py_None); resultobj = Py_None;
13736 return resultobj;
13737 fail:
13738 return NULL;
13739}
13740
13741
13742static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
13743 PyObject *resultobj;
13744 wxGrid *arg1 = (wxGrid *) 0 ;
13745 wxGridCellCoords *arg2 = 0 ;
13746 wxGridCellCoords *arg3 = 0 ;
13747 wxRect result;
13748 wxGridCellCoords temp2 ;
13749 wxGridCellCoords temp3 ;
13750 PyObject * obj0 = 0 ;
13751 PyObject * obj1 = 0 ;
13752 PyObject * obj2 = 0 ;
13753 char *kwnames[] = {
13754 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13755 };
13756
13757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_BlockToDeviceRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13760 {
13761 arg2 = &temp2;
13762 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
13763 }
13764 {
13765 arg3 = &temp3;
13766 if (! wxGridCellCoords_helper(obj2, &arg3)) SWIG_fail;
13767 }
13768 {
13769 PyThreadState* __tstate = wxPyBeginAllowThreads();
13770 result = (arg1)->BlockToDeviceRect((wxGridCellCoords const &)*arg2,(wxGridCellCoords const &)*arg3);
13771
13772 wxPyEndAllowThreads(__tstate);
13773 if (PyErr_Occurred()) SWIG_fail;
13774 }
13775 {
13776 wxRect * resultptr;
13777 resultptr = new wxRect((wxRect &) result);
2f4c0a16 13778 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
13779 }
13780 return resultobj;
13781 fail:
13782 return NULL;
13783}
13784
13785
13786static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13787 PyObject *resultobj;
13788 wxGrid *arg1 = (wxGrid *) 0 ;
13789 wxColour result;
13790 PyObject * obj0 = 0 ;
13791 char *kwnames[] = {
13792 (char *) "self", NULL
13793 };
13794
13795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBackground",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13798 {
13799 PyThreadState* __tstate = wxPyBeginAllowThreads();
13800 result = ((wxGrid const *)arg1)->GetSelectionBackground();
13801
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 {
13806 wxColour * resultptr;
13807 resultptr = new wxColour((wxColour &) result);
2f4c0a16 13808 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13809 }
13810 return resultobj;
13811 fail:
13812 return NULL;
13813}
13814
13815
13816static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13817 PyObject *resultobj;
13818 wxGrid *arg1 = (wxGrid *) 0 ;
13819 wxColour result;
13820 PyObject * obj0 = 0 ;
13821 char *kwnames[] = {
13822 (char *) "self", NULL
13823 };
13824
13825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionForeground",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13828 {
13829 PyThreadState* __tstate = wxPyBeginAllowThreads();
13830 result = ((wxGrid const *)arg1)->GetSelectionForeground();
13831
13832 wxPyEndAllowThreads(__tstate);
13833 if (PyErr_Occurred()) SWIG_fail;
13834 }
13835 {
13836 wxColour * resultptr;
13837 resultptr = new wxColour((wxColour &) result);
2f4c0a16 13838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13839 }
13840 return resultobj;
13841 fail:
13842 return NULL;
13843}
13844
13845
13846static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13847 PyObject *resultobj;
13848 wxGrid *arg1 = (wxGrid *) 0 ;
13849 wxColour *arg2 = 0 ;
13850 wxColour temp2 ;
13851 PyObject * obj0 = 0 ;
13852 PyObject * obj1 = 0 ;
13853 char *kwnames[] = {
13854 (char *) "self",(char *) "c", NULL
13855 };
13856
13857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13860 {
13861 arg2 = &temp2;
13862 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13863 }
13864 {
13865 PyThreadState* __tstate = wxPyBeginAllowThreads();
13866 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
13867
13868 wxPyEndAllowThreads(__tstate);
13869 if (PyErr_Occurred()) SWIG_fail;
13870 }
13871 Py_INCREF(Py_None); resultobj = Py_None;
13872 return resultobj;
13873 fail:
13874 return NULL;
13875}
13876
13877
13878static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13879 PyObject *resultobj;
13880 wxGrid *arg1 = (wxGrid *) 0 ;
13881 wxColour *arg2 = 0 ;
13882 wxColour temp2 ;
13883 PyObject * obj0 = 0 ;
13884 PyObject * obj1 = 0 ;
13885 char *kwnames[] = {
13886 (char *) "self",(char *) "c", NULL
13887 };
13888
13889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionForeground",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13892 {
13893 arg2 = &temp2;
13894 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13895 }
13896 {
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 (arg1)->SetSelectionForeground((wxColour const &)*arg2);
13899
13900 wxPyEndAllowThreads(__tstate);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
13903 Py_INCREF(Py_None); resultobj = Py_None;
13904 return resultobj;
13905 fail:
13906 return NULL;
13907}
13908
13909
13910static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
13911 PyObject *resultobj;
13912 wxGrid *arg1 = (wxGrid *) 0 ;
13913 wxString *arg2 = 0 ;
13914 wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
13915 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
423f194a 13916 bool temp2 = False ;
d14a1e28
RD
13917 PyObject * obj0 = 0 ;
13918 PyObject * obj1 = 0 ;
13919 PyObject * obj2 = 0 ;
13920 PyObject * obj3 = 0 ;
13921 char *kwnames[] = {
13922 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
13923 };
13924
13925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_RegisterDataType",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
13926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13928 {
13929 arg2 = wxString_in_helper(obj1);
13930 if (arg2 == NULL) SWIG_fail;
423f194a 13931 temp2 = True;
d14a1e28 13932 }
2f4c0a16
RD
13933 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellRenderer,
13934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13935 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
13936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13937 {
13938 PyThreadState* __tstate = wxPyBeginAllowThreads();
13939 (arg1)->RegisterDataType((wxString const &)*arg2,arg3,arg4);
13940
13941 wxPyEndAllowThreads(__tstate);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 Py_INCREF(Py_None); resultobj = Py_None;
13945 {
13946 if (temp2)
13947 delete arg2;
13948 }
13949 return resultobj;
13950 fail:
13951 {
13952 if (temp2)
13953 delete arg2;
13954 }
13955 return NULL;
13956}
13957
13958
13959static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13960 PyObject *resultobj;
13961 wxGrid *arg1 = (wxGrid *) 0 ;
13962 int arg2 ;
13963 int arg3 ;
13964 wxGridCellEditor *result;
13965 PyObject * obj0 = 0 ;
8edf1c75
RD
13966 PyObject * obj1 = 0 ;
13967 PyObject * obj2 = 0 ;
d14a1e28
RD
13968 char *kwnames[] = {
13969 (char *) "self",(char *) "row",(char *) "col", NULL
13970 };
13971
8edf1c75 13972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13975 arg2 = (int) SWIG_AsInt(obj1);
13976 if (PyErr_Occurred()) SWIG_fail;
13977 arg3 = (int) SWIG_AsInt(obj2);
13978 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13979 {
13980 PyThreadState* __tstate = wxPyBeginAllowThreads();
13981 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForCell(arg2,arg3);
13982
13983 wxPyEndAllowThreads(__tstate);
13984 if (PyErr_Occurred()) SWIG_fail;
13985 }
13986 {
13987 resultobj = wxPyMake_wxGridCellEditor(result);
13988 }
13989 return resultobj;
13990 fail:
13991 return NULL;
13992}
13993
13994
13995static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13996 PyObject *resultobj;
13997 wxGrid *arg1 = (wxGrid *) 0 ;
13998 int arg2 ;
13999 int arg3 ;
14000 wxGridCellRenderer *result;
14001 PyObject * obj0 = 0 ;
8edf1c75
RD
14002 PyObject * obj1 = 0 ;
14003 PyObject * obj2 = 0 ;
d14a1e28
RD
14004 char *kwnames[] = {
14005 (char *) "self",(char *) "row",(char *) "col", NULL
14006 };
14007
8edf1c75 14008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14011 arg2 = (int) SWIG_AsInt(obj1);
14012 if (PyErr_Occurred()) SWIG_fail;
14013 arg3 = (int) SWIG_AsInt(obj2);
14014 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14015 {
14016 PyThreadState* __tstate = wxPyBeginAllowThreads();
14017 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForCell(arg2,arg3);
14018
14019 wxPyEndAllowThreads(__tstate);
14020 if (PyErr_Occurred()) SWIG_fail;
14021 }
14022 {
14023 resultobj = wxPyMake_wxGridCellRenderer(result);
14024 }
14025 return resultobj;
14026 fail:
14027 return NULL;
14028}
14029
14030
14031static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
14032 PyObject *resultobj;
14033 wxGrid *arg1 = (wxGrid *) 0 ;
14034 wxString *arg2 = 0 ;
14035 wxGridCellEditor *result;
423f194a 14036 bool temp2 = False ;
d14a1e28
RD
14037 PyObject * obj0 = 0 ;
14038 PyObject * obj1 = 0 ;
14039 char *kwnames[] = {
14040 (char *) "self",(char *) "typeName", NULL
14041 };
14042
14043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultEditorForType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14046 {
14047 arg2 = wxString_in_helper(obj1);
14048 if (arg2 == NULL) SWIG_fail;
423f194a 14049 temp2 = True;
d14a1e28
RD
14050 }
14051 {
14052 PyThreadState* __tstate = wxPyBeginAllowThreads();
14053 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForType((wxString const &)*arg2);
14054
14055 wxPyEndAllowThreads(__tstate);
14056 if (PyErr_Occurred()) SWIG_fail;
14057 }
14058 {
14059 resultobj = wxPyMake_wxGridCellEditor(result);
14060 }
14061 {
14062 if (temp2)
14063 delete arg2;
14064 }
14065 return resultobj;
14066 fail:
14067 {
14068 if (temp2)
14069 delete arg2;
14070 }
14071 return NULL;
14072}
14073
14074
14075static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
14076 PyObject *resultobj;
14077 wxGrid *arg1 = (wxGrid *) 0 ;
14078 wxString *arg2 = 0 ;
14079 wxGridCellRenderer *result;
423f194a 14080 bool temp2 = False ;
d14a1e28
RD
14081 PyObject * obj0 = 0 ;
14082 PyObject * obj1 = 0 ;
14083 char *kwnames[] = {
14084 (char *) "self",(char *) "typeName", NULL
14085 };
14086
14087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultRendererForType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14090 {
14091 arg2 = wxString_in_helper(obj1);
14092 if (arg2 == NULL) SWIG_fail;
423f194a 14093 temp2 = True;
d14a1e28
RD
14094 }
14095 {
14096 PyThreadState* __tstate = wxPyBeginAllowThreads();
14097 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForType((wxString const &)*arg2);
14098
14099 wxPyEndAllowThreads(__tstate);
14100 if (PyErr_Occurred()) SWIG_fail;
14101 }
14102 {
14103 resultobj = wxPyMake_wxGridCellRenderer(result);
14104 }
14105 {
14106 if (temp2)
14107 delete arg2;
14108 }
14109 return resultobj;
14110 fail:
14111 {
14112 if (temp2)
14113 delete arg2;
14114 }
14115 return NULL;
14116}
14117
14118
14119static PyObject *_wrap_Grid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14120 PyObject *resultobj;
14121 wxGrid *arg1 = (wxGrid *) 0 ;
14122 int arg2 ;
14123 int arg3 ;
14124 PyObject * obj0 = 0 ;
8edf1c75
RD
14125 PyObject * obj1 = 0 ;
14126 PyObject * obj2 = 0 ;
d14a1e28
RD
14127 char *kwnames[] = {
14128 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14129 };
14130
8edf1c75 14131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14134 arg2 = (int) SWIG_AsInt(obj1);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 arg3 = (int) SWIG_AsInt(obj2);
14137 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14138 {
14139 PyThreadState* __tstate = wxPyBeginAllowThreads();
14140 (arg1)->SetMargins(arg2,arg3);
14141
14142 wxPyEndAllowThreads(__tstate);
14143 if (PyErr_Occurred()) SWIG_fail;
14144 }
14145 Py_INCREF(Py_None); resultobj = Py_None;
14146 return resultobj;
14147 fail:
14148 return NULL;
14149}
14150
14151
14152static PyObject *_wrap_Grid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14153 PyObject *resultobj;
14154 wxGrid *arg1 = (wxGrid *) 0 ;
14155 wxWindow *result;
14156 PyObject * obj0 = 0 ;
14157 char *kwnames[] = {
14158 (char *) "self", NULL
14159 };
14160
14161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14164 {
14165 PyThreadState* __tstate = wxPyBeginAllowThreads();
14166 result = (wxWindow *)(arg1)->GetGridWindow();
14167
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
14171 {
14172 resultobj = wxPyMake_wxObject(result);
14173 }
14174 return resultobj;
14175 fail:
14176 return NULL;
14177}
14178
14179
14180static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14181 PyObject *resultobj;
14182 wxGrid *arg1 = (wxGrid *) 0 ;
14183 wxWindow *result;
14184 PyObject * obj0 = 0 ;
14185 char *kwnames[] = {
14186 (char *) "self", NULL
14187 };
14188
14189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridRowLabelWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14192 {
14193 PyThreadState* __tstate = wxPyBeginAllowThreads();
14194 result = (wxWindow *)(arg1)->GetGridRowLabelWindow();
14195
14196 wxPyEndAllowThreads(__tstate);
14197 if (PyErr_Occurred()) SWIG_fail;
14198 }
14199 {
14200 resultobj = wxPyMake_wxObject(result);
14201 }
14202 return resultobj;
14203 fail:
14204 return NULL;
14205}
14206
14207
14208static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14209 PyObject *resultobj;
14210 wxGrid *arg1 = (wxGrid *) 0 ;
14211 wxWindow *result;
14212 PyObject * obj0 = 0 ;
14213 char *kwnames[] = {
14214 (char *) "self", NULL
14215 };
14216
14217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridColLabelWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14220 {
14221 PyThreadState* __tstate = wxPyBeginAllowThreads();
14222 result = (wxWindow *)(arg1)->GetGridColLabelWindow();
14223
14224 wxPyEndAllowThreads(__tstate);
14225 if (PyErr_Occurred()) SWIG_fail;
14226 }
14227 {
14228 resultobj = wxPyMake_wxObject(result);
14229 }
14230 return resultobj;
14231 fail:
14232 return NULL;
14233}
14234
14235
14236static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14237 PyObject *resultobj;
14238 wxGrid *arg1 = (wxGrid *) 0 ;
14239 wxWindow *result;
14240 PyObject * obj0 = 0 ;
14241 char *kwnames[] = {
14242 (char *) "self", NULL
14243 };
14244
14245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14248 {
14249 PyThreadState* __tstate = wxPyBeginAllowThreads();
14250 result = (wxWindow *)(arg1)->GetGridCornerLabelWindow();
14251
14252 wxPyEndAllowThreads(__tstate);
14253 if (PyErr_Occurred()) SWIG_fail;
14254 }
14255 {
14256 resultobj = wxPyMake_wxObject(result);
14257 }
14258 return resultobj;
14259 fail:
14260 return NULL;
14261}
14262
14263
14264static PyObject * Grid_swigregister(PyObject *self, PyObject *args) {
14265 PyObject *obj;
14266 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14267 SWIG_TypeClientData(SWIGTYPE_p_wxGrid, obj);
14268 Py_INCREF(obj);
14269 return Py_BuildValue((char *)"");
14270}
14271static PyObject *_wrap_new_GridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14272 PyObject *resultobj;
14273 int arg1 ;
14274 wxEventType arg2 ;
14275 wxGrid *arg3 = (wxGrid *) 0 ;
14276 int arg4 = (int) -1 ;
14277 int arg5 = (int) -1 ;
14278 int arg6 = (int) -1 ;
14279 int arg7 = (int) -1 ;
423f194a
RD
14280 bool arg8 = (bool) True ;
14281 bool arg9 = (bool) False ;
14282 bool arg10 = (bool) False ;
14283 bool arg11 = (bool) False ;
14284 bool arg12 = (bool) False ;
d14a1e28 14285 wxGridEvent *result;
8edf1c75
RD
14286 PyObject * obj0 = 0 ;
14287 PyObject * obj1 = 0 ;
d14a1e28 14288 PyObject * obj2 = 0 ;
8edf1c75
RD
14289 PyObject * obj3 = 0 ;
14290 PyObject * obj4 = 0 ;
14291 PyObject * obj5 = 0 ;
14292 PyObject * obj6 = 0 ;
d14a1e28
RD
14293 PyObject * obj7 = 0 ;
14294 PyObject * obj8 = 0 ;
14295 PyObject * obj9 = 0 ;
14296 PyObject * obj10 = 0 ;
14297 PyObject * obj11 = 0 ;
14298 char *kwnames[] = {
14299 (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
14300 };
14301
8edf1c75 14302 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
14303 arg1 = (int) SWIG_AsInt(obj0);
14304 if (PyErr_Occurred()) SWIG_fail;
14305 arg2 = (wxEventType) SWIG_AsInt(obj1);
14306 if (PyErr_Occurred()) SWIG_fail;
14307 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 14309 if (obj3) {
2f4c0a16
RD
14310 arg4 = (int) SWIG_AsInt(obj3);
14311 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14312 }
14313 if (obj4) {
2f4c0a16
RD
14314 arg5 = (int) SWIG_AsInt(obj4);
14315 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14316 }
14317 if (obj5) {
2f4c0a16
RD
14318 arg6 = (int) SWIG_AsInt(obj5);
14319 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14320 }
14321 if (obj6) {
2f4c0a16
RD
14322 arg7 = (int) SWIG_AsInt(obj6);
14323 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14324 }
d14a1e28 14325 if (obj7) {
2f4c0a16
RD
14326 arg8 = (bool) SWIG_AsBool(obj7);
14327 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14328 }
14329 if (obj8) {
2f4c0a16
RD
14330 arg9 = (bool) SWIG_AsBool(obj8);
14331 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14332 }
14333 if (obj9) {
2f4c0a16
RD
14334 arg10 = (bool) SWIG_AsBool(obj9);
14335 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14336 }
14337 if (obj10) {
2f4c0a16
RD
14338 arg11 = (bool) SWIG_AsBool(obj10);
14339 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14340 }
14341 if (obj11) {
2f4c0a16
RD
14342 arg12 = (bool) SWIG_AsBool(obj11);
14343 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14344 }
14345 {
14346 PyThreadState* __tstate = wxPyBeginAllowThreads();
14347 result = (wxGridEvent *)new wxGridEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
14348
14349 wxPyEndAllowThreads(__tstate);
14350 if (PyErr_Occurred()) SWIG_fail;
14351 }
2f4c0a16 14352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEvent, 1);
d14a1e28
RD
14353 return resultobj;
14354 fail:
14355 return NULL;
14356}
14357
14358
14359static PyObject *_wrap_GridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14360 PyObject *resultobj;
14361 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14362 int result;
14363 PyObject * obj0 = 0 ;
14364 char *kwnames[] = {
14365 (char *) "self", NULL
14366 };
14367
14368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14371 {
14372 PyThreadState* __tstate = wxPyBeginAllowThreads();
14373 result = (int)(arg1)->GetRow();
14374
14375 wxPyEndAllowThreads(__tstate);
14376 if (PyErr_Occurred()) SWIG_fail;
14377 }
2f4c0a16 14378 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14379 return resultobj;
14380 fail:
14381 return NULL;
14382}
14383
14384
14385static PyObject *_wrap_GridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14386 PyObject *resultobj;
14387 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14388 int result;
14389 PyObject * obj0 = 0 ;
14390 char *kwnames[] = {
14391 (char *) "self", NULL
14392 };
14393
14394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14397 {
14398 PyThreadState* __tstate = wxPyBeginAllowThreads();
14399 result = (int)(arg1)->GetCol();
14400
14401 wxPyEndAllowThreads(__tstate);
14402 if (PyErr_Occurred()) SWIG_fail;
14403 }
2f4c0a16 14404 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14405 return resultobj;
14406 fail:
14407 return NULL;
14408}
14409
14410
14411static PyObject *_wrap_GridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14412 PyObject *resultobj;
14413 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14414 wxPoint result;
14415 PyObject * obj0 = 0 ;
14416 char *kwnames[] = {
14417 (char *) "self", NULL
14418 };
14419
14420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14423 {
14424 PyThreadState* __tstate = wxPyBeginAllowThreads();
14425 result = (arg1)->GetPosition();
14426
14427 wxPyEndAllowThreads(__tstate);
14428 if (PyErr_Occurred()) SWIG_fail;
14429 }
14430 {
14431 wxPoint * resultptr;
14432 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 14433 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14434 }
14435 return resultobj;
14436 fail:
14437 return NULL;
14438}
14439
14440
14441static PyObject *_wrap_GridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
14442 PyObject *resultobj;
14443 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14444 bool result;
14445 PyObject * obj0 = 0 ;
14446 char *kwnames[] = {
14447 (char *) "self", NULL
14448 };
14449
14450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_Selecting",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14453 {
14454 PyThreadState* __tstate = wxPyBeginAllowThreads();
14455 result = (bool)(arg1)->Selecting();
14456
14457 wxPyEndAllowThreads(__tstate);
14458 if (PyErr_Occurred()) SWIG_fail;
14459 }
4f89f6a3
RD
14460 {
14461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14462 }
d14a1e28
RD
14463 return resultobj;
14464 fail:
14465 return NULL;
14466}
14467
14468
14469static PyObject *_wrap_GridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14470 PyObject *resultobj;
14471 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14472 bool result;
14473 PyObject * obj0 = 0 ;
14474 char *kwnames[] = {
14475 (char *) "self", NULL
14476 };
14477
14478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ControlDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14481 {
14482 PyThreadState* __tstate = wxPyBeginAllowThreads();
14483 result = (bool)(arg1)->ControlDown();
14484
14485 wxPyEndAllowThreads(__tstate);
14486 if (PyErr_Occurred()) SWIG_fail;
14487 }
4f89f6a3
RD
14488 {
14489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14490 }
d14a1e28
RD
14491 return resultobj;
14492 fail:
14493 return NULL;
14494}
14495
14496
14497static PyObject *_wrap_GridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14498 PyObject *resultobj;
14499 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14500 bool result;
14501 PyObject * obj0 = 0 ;
14502 char *kwnames[] = {
14503 (char *) "self", NULL
14504 };
14505
14506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_MetaDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14509 {
14510 PyThreadState* __tstate = wxPyBeginAllowThreads();
14511 result = (bool)(arg1)->MetaDown();
14512
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
4f89f6a3
RD
14516 {
14517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14518 }
d14a1e28
RD
14519 return resultobj;
14520 fail:
14521 return NULL;
14522}
14523
14524
14525static PyObject *_wrap_GridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14526 PyObject *resultobj;
14527 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14528 bool result;
14529 PyObject * obj0 = 0 ;
14530 char *kwnames[] = {
14531 (char *) "self", NULL
14532 };
14533
14534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ShiftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14537 {
14538 PyThreadState* __tstate = wxPyBeginAllowThreads();
14539 result = (bool)(arg1)->ShiftDown();
14540
14541 wxPyEndAllowThreads(__tstate);
14542 if (PyErr_Occurred()) SWIG_fail;
14543 }
4f89f6a3
RD
14544 {
14545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14546 }
d14a1e28
RD
14547 return resultobj;
14548 fail:
14549 return NULL;
14550}
14551
14552
14553static PyObject *_wrap_GridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14554 PyObject *resultobj;
14555 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14556 bool result;
14557 PyObject * obj0 = 0 ;
14558 char *kwnames[] = {
14559 (char *) "self", NULL
14560 };
14561
14562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_AltDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14565 {
14566 PyThreadState* __tstate = wxPyBeginAllowThreads();
14567 result = (bool)(arg1)->AltDown();
14568
14569 wxPyEndAllowThreads(__tstate);
14570 if (PyErr_Occurred()) SWIG_fail;
14571 }
4f89f6a3
RD
14572 {
14573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14574 }
d14a1e28
RD
14575 return resultobj;
14576 fail:
14577 return NULL;
14578}
14579
14580
14581static PyObject * GridEvent_swigregister(PyObject *self, PyObject *args) {
14582 PyObject *obj;
14583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14584 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent, obj);
14585 Py_INCREF(obj);
14586 return Py_BuildValue((char *)"");
14587}
14588static PyObject *_wrap_new_GridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14589 PyObject *resultobj;
14590 int arg1 ;
14591 wxEventType arg2 ;
14592 wxGrid *arg3 = (wxGrid *) 0 ;
14593 int arg4 = (int) -1 ;
14594 int arg5 = (int) -1 ;
14595 int arg6 = (int) -1 ;
423f194a
RD
14596 bool arg7 = (bool) False ;
14597 bool arg8 = (bool) False ;
14598 bool arg9 = (bool) False ;
14599 bool arg10 = (bool) False ;
d14a1e28 14600 wxGridSizeEvent *result;
8edf1c75
RD
14601 PyObject * obj0 = 0 ;
14602 PyObject * obj1 = 0 ;
d14a1e28 14603 PyObject * obj2 = 0 ;
8edf1c75
RD
14604 PyObject * obj3 = 0 ;
14605 PyObject * obj4 = 0 ;
14606 PyObject * obj5 = 0 ;
d14a1e28
RD
14607 PyObject * obj6 = 0 ;
14608 PyObject * obj7 = 0 ;
14609 PyObject * obj8 = 0 ;
14610 PyObject * obj9 = 0 ;
14611 char *kwnames[] = {
14612 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14613 };
14614
8edf1c75 14615 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
14616 arg1 = (int) SWIG_AsInt(obj0);
14617 if (PyErr_Occurred()) SWIG_fail;
14618 arg2 = (wxEventType) SWIG_AsInt(obj1);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 14622 if (obj3) {
2f4c0a16
RD
14623 arg4 = (int) SWIG_AsInt(obj3);
14624 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14625 }
14626 if (obj4) {
2f4c0a16
RD
14627 arg5 = (int) SWIG_AsInt(obj4);
14628 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14629 }
14630 if (obj5) {
2f4c0a16
RD
14631 arg6 = (int) SWIG_AsInt(obj5);
14632 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14633 }
d14a1e28 14634 if (obj6) {
2f4c0a16
RD
14635 arg7 = (bool) SWIG_AsBool(obj6);
14636 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14637 }
14638 if (obj7) {
2f4c0a16
RD
14639 arg8 = (bool) SWIG_AsBool(obj7);
14640 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14641 }
14642 if (obj8) {
2f4c0a16
RD
14643 arg9 = (bool) SWIG_AsBool(obj8);
14644 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14645 }
14646 if (obj9) {
2f4c0a16
RD
14647 arg10 = (bool) SWIG_AsBool(obj9);
14648 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14649 }
14650 {
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 result = (wxGridSizeEvent *)new wxGridSizeEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
14653
14654 wxPyEndAllowThreads(__tstate);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
2f4c0a16 14657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizeEvent, 1);
d14a1e28
RD
14658 return resultobj;
14659 fail:
14660 return NULL;
14661}
14662
14663
14664static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14665 PyObject *resultobj;
14666 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14667 int result;
14668 PyObject * obj0 = 0 ;
14669 char *kwnames[] = {
14670 (char *) "self", NULL
14671 };
14672
14673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14676 {
14677 PyThreadState* __tstate = wxPyBeginAllowThreads();
14678 result = (int)(arg1)->GetRowOrCol();
14679
14680 wxPyEndAllowThreads(__tstate);
14681 if (PyErr_Occurred()) SWIG_fail;
14682 }
2f4c0a16 14683 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14684 return resultobj;
14685 fail:
14686 return NULL;
14687}
14688
14689
14690static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14691 PyObject *resultobj;
14692 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14693 wxPoint result;
14694 PyObject * obj0 = 0 ;
14695 char *kwnames[] = {
14696 (char *) "self", NULL
14697 };
14698
14699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14702 {
14703 PyThreadState* __tstate = wxPyBeginAllowThreads();
14704 result = (arg1)->GetPosition();
14705
14706 wxPyEndAllowThreads(__tstate);
14707 if (PyErr_Occurred()) SWIG_fail;
14708 }
14709 {
14710 wxPoint * resultptr;
14711 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 14712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14713 }
14714 return resultobj;
14715 fail:
14716 return NULL;
14717}
14718
14719
14720static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14721 PyObject *resultobj;
14722 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14723 bool result;
14724 PyObject * obj0 = 0 ;
14725 char *kwnames[] = {
14726 (char *) "self", NULL
14727 };
14728
14729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ControlDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 result = (bool)(arg1)->ControlDown();
14735
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
4f89f6a3
RD
14739 {
14740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14741 }
d14a1e28
RD
14742 return resultobj;
14743 fail:
14744 return NULL;
14745}
14746
14747
14748static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14749 PyObject *resultobj;
14750 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14751 bool result;
14752 PyObject * obj0 = 0 ;
14753 char *kwnames[] = {
14754 (char *) "self", NULL
14755 };
14756
14757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_MetaDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14760 {
14761 PyThreadState* __tstate = wxPyBeginAllowThreads();
14762 result = (bool)(arg1)->MetaDown();
14763
14764 wxPyEndAllowThreads(__tstate);
14765 if (PyErr_Occurred()) SWIG_fail;
14766 }
4f89f6a3
RD
14767 {
14768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14769 }
d14a1e28
RD
14770 return resultobj;
14771 fail:
14772 return NULL;
14773}
14774
14775
14776static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14777 PyObject *resultobj;
14778 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14779 bool result;
14780 PyObject * obj0 = 0 ;
14781 char *kwnames[] = {
14782 (char *) "self", NULL
14783 };
14784
14785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ShiftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14788 {
14789 PyThreadState* __tstate = wxPyBeginAllowThreads();
14790 result = (bool)(arg1)->ShiftDown();
14791
14792 wxPyEndAllowThreads(__tstate);
14793 if (PyErr_Occurred()) SWIG_fail;
14794 }
4f89f6a3
RD
14795 {
14796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14797 }
d14a1e28
RD
14798 return resultobj;
14799 fail:
14800 return NULL;
14801}
14802
14803
14804static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14805 PyObject *resultobj;
14806 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14807 bool result;
14808 PyObject * obj0 = 0 ;
14809 char *kwnames[] = {
14810 (char *) "self", NULL
14811 };
14812
14813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_AltDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14816 {
14817 PyThreadState* __tstate = wxPyBeginAllowThreads();
14818 result = (bool)(arg1)->AltDown();
14819
14820 wxPyEndAllowThreads(__tstate);
14821 if (PyErr_Occurred()) SWIG_fail;
14822 }
4f89f6a3
RD
14823 {
14824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14825 }
d14a1e28
RD
14826 return resultobj;
14827 fail:
14828 return NULL;
14829}
14830
14831
14832static PyObject * GridSizeEvent_swigregister(PyObject *self, PyObject *args) {
14833 PyObject *obj;
14834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14835 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent, obj);
14836 Py_INCREF(obj);
14837 return Py_BuildValue((char *)"");
14838}
14839static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14840 PyObject *resultobj;
14841 int arg1 ;
14842 wxEventType arg2 ;
14843 wxGrid *arg3 = (wxGrid *) 0 ;
14844 wxGridCellCoords *arg4 = 0 ;
14845 wxGridCellCoords *arg5 = 0 ;
423f194a
RD
14846 bool arg6 = (bool) True ;
14847 bool arg7 = (bool) False ;
14848 bool arg8 = (bool) False ;
14849 bool arg9 = (bool) False ;
14850 bool arg10 = (bool) False ;
d14a1e28
RD
14851 wxGridRangeSelectEvent *result;
14852 wxGridCellCoords temp4 ;
14853 wxGridCellCoords temp5 ;
8edf1c75
RD
14854 PyObject * obj0 = 0 ;
14855 PyObject * obj1 = 0 ;
d14a1e28
RD
14856 PyObject * obj2 = 0 ;
14857 PyObject * obj3 = 0 ;
14858 PyObject * obj4 = 0 ;
14859 PyObject * obj5 = 0 ;
14860 PyObject * obj6 = 0 ;
14861 PyObject * obj7 = 0 ;
14862 PyObject * obj8 = 0 ;
14863 PyObject * obj9 = 0 ;
14864 char *kwnames[] = {
14865 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14866 };
14867
8edf1c75 14868 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
14869 arg1 = (int) SWIG_AsInt(obj0);
14870 if (PyErr_Occurred()) SWIG_fail;
14871 arg2 = (wxEventType) SWIG_AsInt(obj1);
14872 if (PyErr_Occurred()) SWIG_fail;
14873 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14875 {
14876 arg4 = &temp4;
14877 if (! wxGridCellCoords_helper(obj3, &arg4)) SWIG_fail;
14878 }
14879 {
14880 arg5 = &temp5;
14881 if (! wxGridCellCoords_helper(obj4, &arg5)) SWIG_fail;
14882 }
14883 if (obj5) {
2f4c0a16
RD
14884 arg6 = (bool) SWIG_AsBool(obj5);
14885 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14886 }
14887 if (obj6) {
2f4c0a16
RD
14888 arg7 = (bool) SWIG_AsBool(obj6);
14889 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14890 }
14891 if (obj7) {
2f4c0a16
RD
14892 arg8 = (bool) SWIG_AsBool(obj7);
14893 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14894 }
14895 if (obj8) {
2f4c0a16
RD
14896 arg9 = (bool) SWIG_AsBool(obj8);
14897 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14898 }
14899 if (obj9) {
2f4c0a16
RD
14900 arg10 = (bool) SWIG_AsBool(obj9);
14901 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14902 }
14903 {
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 result = (wxGridRangeSelectEvent *)new wxGridRangeSelectEvent(arg1,arg2,arg3,(wxGridCellCoords const &)*arg4,(wxGridCellCoords const &)*arg5,arg6,arg7,arg8,arg9,arg10);
14906
14907 wxPyEndAllowThreads(__tstate);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
2f4c0a16 14910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridRangeSelectEvent, 1);
d14a1e28
RD
14911 return resultobj;
14912 fail:
14913 return NULL;
14914}
14915
14916
14917static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj;
14919 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14920 wxGridCellCoords result;
14921 PyObject * obj0 = 0 ;
14922 char *kwnames[] = {
14923 (char *) "self", NULL
14924 };
14925
14926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14929 {
14930 PyThreadState* __tstate = wxPyBeginAllowThreads();
14931 result = (arg1)->GetTopLeftCoords();
14932
14933 wxPyEndAllowThreads(__tstate);
14934 if (PyErr_Occurred()) SWIG_fail;
14935 }
14936 {
14937 wxGridCellCoords * resultptr;
14938 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
2f4c0a16 14939 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
14940 }
14941 return resultobj;
14942 fail:
14943 return NULL;
14944}
14945
14946
14947static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14948 PyObject *resultobj;
14949 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14950 wxGridCellCoords result;
14951 PyObject * obj0 = 0 ;
14952 char *kwnames[] = {
14953 (char *) "self", NULL
14954 };
14955
14956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14959 {
14960 PyThreadState* __tstate = wxPyBeginAllowThreads();
14961 result = (arg1)->GetBottomRightCoords();
14962
14963 wxPyEndAllowThreads(__tstate);
14964 if (PyErr_Occurred()) SWIG_fail;
14965 }
14966 {
14967 wxGridCellCoords * resultptr;
14968 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
2f4c0a16 14969 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
14970 }
14971 return resultobj;
14972 fail:
14973 return NULL;
14974}
14975
14976
14977static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14978 PyObject *resultobj;
14979 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14980 int result;
14981 PyObject * obj0 = 0 ;
14982 char *kwnames[] = {
14983 (char *) "self", NULL
14984 };
14985
14986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
14988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14989 {
14990 PyThreadState* __tstate = wxPyBeginAllowThreads();
14991 result = (int)(arg1)->GetTopRow();
14992
14993 wxPyEndAllowThreads(__tstate);
14994 if (PyErr_Occurred()) SWIG_fail;
14995 }
2f4c0a16 14996 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14997 return resultobj;
14998 fail:
14999 return NULL;
15000}
15001
15002
15003static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15004 PyObject *resultobj;
15005 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15006 int result;
15007 PyObject * obj0 = 0 ;
15008 char *kwnames[] = {
15009 (char *) "self", NULL
15010 };
15011
15012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15015 {
15016 PyThreadState* __tstate = wxPyBeginAllowThreads();
15017 result = (int)(arg1)->GetBottomRow();
15018
15019 wxPyEndAllowThreads(__tstate);
15020 if (PyErr_Occurred()) SWIG_fail;
15021 }
2f4c0a16 15022 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15023 return resultobj;
15024 fail:
15025 return NULL;
15026}
15027
15028
15029static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15030 PyObject *resultobj;
15031 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15032 int result;
15033 PyObject * obj0 = 0 ;
15034 char *kwnames[] = {
15035 (char *) "self", NULL
15036 };
15037
15038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 result = (int)(arg1)->GetLeftCol();
15044
15045 wxPyEndAllowThreads(__tstate);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
2f4c0a16 15048 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15049 return resultobj;
15050 fail:
15051 return NULL;
15052}
15053
15054
15055static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj;
15057 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15058 int result;
15059 PyObject * obj0 = 0 ;
15060 char *kwnames[] = {
15061 (char *) "self", NULL
15062 };
15063
15064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15067 {
15068 PyThreadState* __tstate = wxPyBeginAllowThreads();
15069 result = (int)(arg1)->GetRightCol();
15070
15071 wxPyEndAllowThreads(__tstate);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 }
2f4c0a16 15074 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15075 return resultobj;
15076 fail:
15077 return NULL;
15078}
15079
15080
15081static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
15082 PyObject *resultobj;
15083 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15084 bool result;
15085 PyObject * obj0 = 0 ;
15086 char *kwnames[] = {
15087 (char *) "self", NULL
15088 };
15089
15090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_Selecting",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15093 {
15094 PyThreadState* __tstate = wxPyBeginAllowThreads();
15095 result = (bool)(arg1)->Selecting();
15096
15097 wxPyEndAllowThreads(__tstate);
15098 if (PyErr_Occurred()) SWIG_fail;
15099 }
4f89f6a3
RD
15100 {
15101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15102 }
d14a1e28
RD
15103 return resultobj;
15104 fail:
15105 return NULL;
15106}
15107
15108
15109static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15110 PyObject *resultobj;
15111 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15112 bool result;
15113 PyObject * obj0 = 0 ;
15114 char *kwnames[] = {
15115 (char *) "self", NULL
15116 };
15117
15118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15121 {
15122 PyThreadState* __tstate = wxPyBeginAllowThreads();
15123 result = (bool)(arg1)->ControlDown();
15124
15125 wxPyEndAllowThreads(__tstate);
15126 if (PyErr_Occurred()) SWIG_fail;
15127 }
4f89f6a3
RD
15128 {
15129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15130 }
d14a1e28
RD
15131 return resultobj;
15132 fail:
15133 return NULL;
15134}
15135
15136
15137static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15138 PyObject *resultobj;
15139 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15140 bool result;
15141 PyObject * obj0 = 0 ;
15142 char *kwnames[] = {
15143 (char *) "self", NULL
15144 };
15145
15146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15149 {
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 result = (bool)(arg1)->MetaDown();
15152
15153 wxPyEndAllowThreads(__tstate);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
4f89f6a3
RD
15156 {
15157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15158 }
d14a1e28
RD
15159 return resultobj;
15160 fail:
15161 return NULL;
15162}
15163
15164
15165static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15166 PyObject *resultobj;
15167 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15168 bool result;
15169 PyObject * obj0 = 0 ;
15170 char *kwnames[] = {
15171 (char *) "self", NULL
15172 };
15173
15174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15177 {
15178 PyThreadState* __tstate = wxPyBeginAllowThreads();
15179 result = (bool)(arg1)->ShiftDown();
15180
15181 wxPyEndAllowThreads(__tstate);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 }
4f89f6a3
RD
15184 {
15185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15186 }
d14a1e28
RD
15187 return resultobj;
15188 fail:
15189 return NULL;
15190}
15191
15192
15193static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15194 PyObject *resultobj;
15195 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15196 bool result;
15197 PyObject * obj0 = 0 ;
15198 char *kwnames[] = {
15199 (char *) "self", NULL
15200 };
15201
15202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_AltDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15205 {
15206 PyThreadState* __tstate = wxPyBeginAllowThreads();
15207 result = (bool)(arg1)->AltDown();
15208
15209 wxPyEndAllowThreads(__tstate);
15210 if (PyErr_Occurred()) SWIG_fail;
15211 }
4f89f6a3
RD
15212 {
15213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15214 }
d14a1e28
RD
15215 return resultobj;
15216 fail:
15217 return NULL;
15218}
15219
15220
15221static PyObject * GridRangeSelectEvent_swigregister(PyObject *self, PyObject *args) {
15222 PyObject *obj;
15223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15224 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent, obj);
15225 Py_INCREF(obj);
15226 return Py_BuildValue((char *)"");
15227}
15228static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15229 PyObject *resultobj;
15230 int arg1 ;
15231 wxEventType arg2 ;
15232 wxObject *arg3 = (wxObject *) 0 ;
15233 int arg4 ;
15234 int arg5 ;
15235 wxControl *arg6 = (wxControl *) 0 ;
15236 wxGridEditorCreatedEvent *result;
8edf1c75
RD
15237 PyObject * obj0 = 0 ;
15238 PyObject * obj1 = 0 ;
d14a1e28 15239 PyObject * obj2 = 0 ;
8edf1c75
RD
15240 PyObject * obj3 = 0 ;
15241 PyObject * obj4 = 0 ;
d14a1e28
RD
15242 PyObject * obj5 = 0 ;
15243 char *kwnames[] = {
15244 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15245 };
15246
8edf1c75 15247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
15248 arg1 = (int) SWIG_AsInt(obj0);
15249 if (PyErr_Occurred()) SWIG_fail;
15250 arg2 = (wxEventType) SWIG_AsInt(obj1);
15251 if (PyErr_Occurred()) SWIG_fail;
15252 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxObject,
15253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15254 arg4 = (int) SWIG_AsInt(obj3);
15255 if (PyErr_Occurred()) SWIG_fail;
15256 arg5 = (int) SWIG_AsInt(obj4);
15257 if (PyErr_Occurred()) SWIG_fail;
15258 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxControl,
15259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15260 {
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
15262 result = (wxGridEditorCreatedEvent *)new wxGridEditorCreatedEvent(arg1,arg2,arg3,arg4,arg5,arg6);
15263
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
2f4c0a16 15267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEditorCreatedEvent, 1);
d14a1e28
RD
15268 return resultobj;
15269 fail:
15270 return NULL;
15271}
15272
15273
15274static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj;
15276 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15277 int result;
15278 PyObject * obj0 = 0 ;
15279 char *kwnames[] = {
15280 (char *) "self", NULL
15281 };
15282
15283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15286 {
15287 PyThreadState* __tstate = wxPyBeginAllowThreads();
15288 result = (int)(arg1)->GetRow();
15289
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
2f4c0a16 15293 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15294 return resultobj;
15295 fail:
15296 return NULL;
15297}
15298
15299
15300static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15301 PyObject *resultobj;
15302 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15303 int result;
15304 PyObject * obj0 = 0 ;
15305 char *kwnames[] = {
15306 (char *) "self", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15312 {
15313 PyThreadState* __tstate = wxPyBeginAllowThreads();
15314 result = (int)(arg1)->GetCol();
15315
15316 wxPyEndAllowThreads(__tstate);
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
2f4c0a16 15319 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15320 return resultobj;
15321 fail:
15322 return NULL;
15323}
15324
15325
15326static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15327 PyObject *resultobj;
15328 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15329 wxControl *result;
15330 PyObject * obj0 = 0 ;
15331 char *kwnames[] = {
15332 (char *) "self", NULL
15333 };
15334
15335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15338 {
15339 PyThreadState* __tstate = wxPyBeginAllowThreads();
15340 result = (wxControl *)(arg1)->GetControl();
15341
15342 wxPyEndAllowThreads(__tstate);
15343 if (PyErr_Occurred()) SWIG_fail;
15344 }
15345 {
15346 resultobj = wxPyMake_wxObject(result);
15347 }
15348 return resultobj;
15349 fail:
15350 return NULL;
15351}
15352
15353
15354static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15355 PyObject *resultobj;
15356 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15357 int arg2 ;
15358 PyObject * obj0 = 0 ;
8edf1c75 15359 PyObject * obj1 = 0 ;
d14a1e28
RD
15360 char *kwnames[] = {
15361 (char *) "self",(char *) "row", NULL
15362 };
15363
8edf1c75 15364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15367 arg2 = (int) SWIG_AsInt(obj1);
15368 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 (arg1)->SetRow(arg2);
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 Py_INCREF(Py_None); resultobj = Py_None;
15377 return resultobj;
15378 fail:
15379 return NULL;
15380}
15381
15382
15383static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15384 PyObject *resultobj;
15385 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15386 int arg2 ;
15387 PyObject * obj0 = 0 ;
8edf1c75 15388 PyObject * obj1 = 0 ;
d14a1e28
RD
15389 char *kwnames[] = {
15390 (char *) "self",(char *) "col", NULL
15391 };
15392
8edf1c75 15393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15396 arg2 = (int) SWIG_AsInt(obj1);
15397 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15398 {
15399 PyThreadState* __tstate = wxPyBeginAllowThreads();
15400 (arg1)->SetCol(arg2);
15401
15402 wxPyEndAllowThreads(__tstate);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 }
15405 Py_INCREF(Py_None); resultobj = Py_None;
15406 return resultobj;
15407 fail:
15408 return NULL;
15409}
15410
15411
15412static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15413 PyObject *resultobj;
15414 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15415 wxControl *arg2 = (wxControl *) 0 ;
15416 PyObject * obj0 = 0 ;
15417 PyObject * obj1 = 0 ;
15418 char *kwnames[] = {
15419 (char *) "self",(char *) "ctrl", NULL
15420 };
15421
15422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
15426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15427 {
15428 PyThreadState* __tstate = wxPyBeginAllowThreads();
15429 (arg1)->SetControl(arg2);
15430
15431 wxPyEndAllowThreads(__tstate);
15432 if (PyErr_Occurred()) SWIG_fail;
15433 }
15434 Py_INCREF(Py_None); resultobj = Py_None;
15435 return resultobj;
15436 fail:
15437 return NULL;
15438}
15439
15440
15441static PyObject * GridEditorCreatedEvent_swigregister(PyObject *self, PyObject *args) {
15442 PyObject *obj;
15443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15444 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent, obj);
15445 Py_INCREF(obj);
15446 return Py_BuildValue((char *)"");
15447}
15448static PyMethodDef SwigMethods[] = {
15449 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction) _wrap_GridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15450 { (char *)"GridCellRenderer_SetParameters", (PyCFunction) _wrap_GridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
15451 { (char *)"GridCellRenderer_IncRef", (PyCFunction) _wrap_GridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
15452 { (char *)"GridCellRenderer_DecRef", (PyCFunction) _wrap_GridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
15453 { (char *)"GridCellRenderer_Draw", (PyCFunction) _wrap_GridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
15454 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction) _wrap_GridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
15455 { (char *)"GridCellRenderer_Clone", (PyCFunction) _wrap_GridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
15456 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister, METH_VARARGS },
15457 { (char *)"new_PyGridCellRenderer", (PyCFunction) _wrap_new_PyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
15458 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_PyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15459 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_PyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15460 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister, METH_VARARGS },
15461 { (char *)"new_GridCellStringRenderer", (PyCFunction) _wrap_new_GridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
15462 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister, METH_VARARGS },
15463 { (char *)"new_GridCellNumberRenderer", (PyCFunction) _wrap_new_GridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
15464 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister, METH_VARARGS },
15465 { (char *)"new_GridCellFloatRenderer", (PyCFunction) _wrap_new_GridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
15466 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
15467 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
15468 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
15469 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
15470 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister, METH_VARARGS },
15471 { (char *)"new_GridCellBoolRenderer", (PyCFunction) _wrap_new_GridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
15472 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister, METH_VARARGS },
15473 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction) _wrap_new_GridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
15474 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister, METH_VARARGS },
15475 { (char *)"new_GridCellEnumRenderer", (PyCFunction) _wrap_new_GridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
15476 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister, METH_VARARGS },
15477 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_GridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
15478 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister, METH_VARARGS },
15479 { (char *)"GridCellEditor__setOORInfo", (PyCFunction) _wrap_GridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15480 { (char *)"GridCellEditor_IsCreated", (PyCFunction) _wrap_GridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
15481 { (char *)"GridCellEditor_GetControl", (PyCFunction) _wrap_GridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
15482 { (char *)"GridCellEditor_SetControl", (PyCFunction) _wrap_GridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
15483 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction) _wrap_GridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS },
15484 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction) _wrap_GridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS },
15485 { (char *)"GridCellEditor_SetParameters", (PyCFunction) _wrap_GridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
15486 { (char *)"GridCellEditor_IncRef", (PyCFunction) _wrap_GridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
15487 { (char *)"GridCellEditor_DecRef", (PyCFunction) _wrap_GridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
15488 { (char *)"GridCellEditor_Create", (PyCFunction) _wrap_GridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
15489 { (char *)"GridCellEditor_BeginEdit", (PyCFunction) _wrap_GridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
15490 { (char *)"GridCellEditor_EndEdit", (PyCFunction) _wrap_GridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
15491 { (char *)"GridCellEditor_Reset", (PyCFunction) _wrap_GridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
15492 { (char *)"GridCellEditor_Clone", (PyCFunction) _wrap_GridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
15493 { (char *)"GridCellEditor_SetSize", (PyCFunction) _wrap_GridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
15494 { (char *)"GridCellEditor_Show", (PyCFunction) _wrap_GridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
15495 { (char *)"GridCellEditor_PaintBackground", (PyCFunction) _wrap_GridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15496 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_GridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15497 { (char *)"GridCellEditor_StartingKey", (PyCFunction) _wrap_GridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
15498 { (char *)"GridCellEditor_StartingClick", (PyCFunction) _wrap_GridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
15499 { (char *)"GridCellEditor_HandleReturn", (PyCFunction) _wrap_GridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15500 { (char *)"GridCellEditor_Destroy", (PyCFunction) _wrap_GridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
15501 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister, METH_VARARGS },
15502 { (char *)"new_PyGridCellEditor", (PyCFunction) _wrap_new_PyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
15503 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_PyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15504 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction) _wrap_PyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
15505 { (char *)"PyGridCellEditor_base_Show", (PyCFunction) _wrap_PyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
15506 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_PyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15507 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_PyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15508 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_PyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
15509 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_PyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
15510 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_PyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15511 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction) _wrap_PyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
15512 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_PyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15513 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister, METH_VARARGS },
15514 { (char *)"new_GridCellTextEditor", (PyCFunction) _wrap_new_GridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
15515 { (char *)"GridCellTextEditor_GetValue", (PyCFunction) _wrap_GridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15516 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister, METH_VARARGS },
15517 { (char *)"new_GridCellNumberEditor", (PyCFunction) _wrap_new_GridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
15518 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction) _wrap_GridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15519 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister, METH_VARARGS },
15520 { (char *)"new_GridCellFloatEditor", (PyCFunction) _wrap_new_GridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
15521 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction) _wrap_GridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15522 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS },
15523 { (char *)"new_GridCellBoolEditor", (PyCFunction) _wrap_new_GridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
15524 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction) _wrap_GridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15525 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS },
15526 { (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
15527 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction) _wrap_GridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15528 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister, METH_VARARGS },
15529 { (char *)"new_GridCellEnumEditor", (PyCFunction) _wrap_new_GridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
15530 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction) _wrap_GridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15531 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister, METH_VARARGS },
15532 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_GridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
15533 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_GridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15534 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister, METH_VARARGS },
15535 { (char *)"GridCellAttr__setOORInfo", (PyCFunction) _wrap_GridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15536 { (char *)"new_GridCellAttr", (PyCFunction) _wrap_new_GridCellAttr, METH_VARARGS | METH_KEYWORDS },
15537 { (char *)"GridCellAttr_Clone", (PyCFunction) _wrap_GridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
15538 { (char *)"GridCellAttr_MergeWith", (PyCFunction) _wrap_GridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
15539 { (char *)"GridCellAttr_IncRef", (PyCFunction) _wrap_GridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
15540 { (char *)"GridCellAttr_DecRef", (PyCFunction) _wrap_GridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
15541 { (char *)"GridCellAttr_SetTextColour", (PyCFunction) _wrap_GridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
15542 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15543 { (char *)"GridCellAttr_SetFont", (PyCFunction) _wrap_GridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
15544 { (char *)"GridCellAttr_SetAlignment", (PyCFunction) _wrap_GridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
15545 { (char *)"GridCellAttr_SetSize", (PyCFunction) _wrap_GridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS },
15546 { (char *)"GridCellAttr_SetOverflow", (PyCFunction) _wrap_GridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS },
15547 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction) _wrap_GridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15548 { (char *)"GridCellAttr_SetRenderer", (PyCFunction) _wrap_GridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
15549 { (char *)"GridCellAttr_SetEditor", (PyCFunction) _wrap_GridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
15550 { (char *)"GridCellAttr_SetKind", (PyCFunction) _wrap_GridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
15551 { (char *)"GridCellAttr_HasTextColour", (PyCFunction) _wrap_GridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
15552 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_GridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15553 { (char *)"GridCellAttr_HasFont", (PyCFunction) _wrap_GridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
15554 { (char *)"GridCellAttr_HasAlignment", (PyCFunction) _wrap_GridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
15555 { (char *)"GridCellAttr_HasRenderer", (PyCFunction) _wrap_GridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
15556 { (char *)"GridCellAttr_HasEditor", (PyCFunction) _wrap_GridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
15557 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_GridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
15558 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction) _wrap_GridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS },
15559 { (char *)"GridCellAttr_GetTextColour", (PyCFunction) _wrap_GridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
15560 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15561 { (char *)"GridCellAttr_GetFont", (PyCFunction) _wrap_GridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
15562 { (char *)"GridCellAttr_GetAlignment", (PyCFunction) _wrap_GridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
15563 { (char *)"GridCellAttr_GetSize", (PyCFunction) _wrap_GridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS },
15564 { (char *)"GridCellAttr_GetOverflow", (PyCFunction) _wrap_GridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS },
15565 { (char *)"GridCellAttr_GetRenderer", (PyCFunction) _wrap_GridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
15566 { (char *)"GridCellAttr_GetEditor", (PyCFunction) _wrap_GridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
15567 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction) _wrap_GridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15568 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction) _wrap_GridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
15569 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister, METH_VARARGS },
15570 { (char *)"new_GridCellAttrProvider", (PyCFunction) _wrap_new_GridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15571 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_GridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15572 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction) _wrap_GridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
15573 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
15574 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15575 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15576 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
15577 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
15578 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister, METH_VARARGS },
15579 { (char *)"new_PyGridCellAttrProvider", (PyCFunction) _wrap_new_PyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15580 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_PyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15581 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15582 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15583 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15584 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15585 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister, METH_VARARGS },
15586 { (char *)"GridTableBase__setOORInfo", (PyCFunction) _wrap_GridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15587 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction) _wrap_GridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15588 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction) _wrap_GridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15589 { (char *)"GridTableBase_SetView", (PyCFunction) _wrap_GridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
15590 { (char *)"GridTableBase_GetView", (PyCFunction) _wrap_GridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
15591 { (char *)"GridTableBase_GetNumberRows", (PyCFunction) _wrap_GridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15592 { (char *)"GridTableBase_GetNumberCols", (PyCFunction) _wrap_GridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15593 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction) _wrap_GridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
15594 { (char *)"GridTableBase_GetValue", (PyCFunction) _wrap_GridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
15595 { (char *)"GridTableBase_SetValue", (PyCFunction) _wrap_GridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
15596 { (char *)"GridTableBase_GetTypeName", (PyCFunction) _wrap_GridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15597 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction) _wrap_GridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15598 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction) _wrap_GridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15599 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction) _wrap_GridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15600 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction) _wrap_GridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15601 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction) _wrap_GridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15602 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction) _wrap_GridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15603 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction) _wrap_GridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15604 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction) _wrap_GridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15605 { (char *)"GridTableBase_Clear", (PyCFunction) _wrap_GridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
15606 { (char *)"GridTableBase_InsertRows", (PyCFunction) _wrap_GridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
15607 { (char *)"GridTableBase_AppendRows", (PyCFunction) _wrap_GridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
15608 { (char *)"GridTableBase_DeleteRows", (PyCFunction) _wrap_GridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15609 { (char *)"GridTableBase_InsertCols", (PyCFunction) _wrap_GridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
15610 { (char *)"GridTableBase_AppendCols", (PyCFunction) _wrap_GridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
15611 { (char *)"GridTableBase_DeleteCols", (PyCFunction) _wrap_GridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15612 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction) _wrap_GridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15613 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction) _wrap_GridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15614 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction) _wrap_GridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15615 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction) _wrap_GridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15616 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction) _wrap_GridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15617 { (char *)"GridTableBase_GetAttr", (PyCFunction) _wrap_GridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
15618 { (char *)"GridTableBase_SetAttr", (PyCFunction) _wrap_GridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
15619 { (char *)"GridTableBase_SetRowAttr", (PyCFunction) _wrap_GridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15620 { (char *)"GridTableBase_SetColAttr", (PyCFunction) _wrap_GridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15621 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister, METH_VARARGS },
15622 { (char *)"new_PyGridTableBase", (PyCFunction) _wrap_new_PyGridTableBase, METH_VARARGS | METH_KEYWORDS },
15623 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_PyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15624 { (char *)"PyGridTableBase_Destroy", (PyCFunction) _wrap_PyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
15625 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_PyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15626 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15627 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15628 { (char *)"PyGridTableBase_base_Clear", (PyCFunction) _wrap_PyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
15629 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction) _wrap_PyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
15630 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction) _wrap_PyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
15631 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_PyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15632 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction) _wrap_PyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
15633 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction) _wrap_PyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
15634 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_PyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15635 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15636 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15637 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15638 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15639 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_PyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15640 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction) _wrap_PyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15641 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15642 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15643 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15644 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister, METH_VARARGS },
15645 { (char *)"new_GridStringTable", (PyCFunction) _wrap_new_GridStringTable, METH_VARARGS | METH_KEYWORDS },
15646 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister, METH_VARARGS },
15647 { (char *)"new_GridTableMessage", (PyCFunction) _wrap_new_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15648 { (char *)"delete_GridTableMessage", (PyCFunction) _wrap_delete_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15649 { (char *)"GridTableMessage_SetTableObject", (PyCFunction) _wrap_GridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
15650 { (char *)"GridTableMessage_GetTableObject", (PyCFunction) _wrap_GridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
15651 { (char *)"GridTableMessage_SetId", (PyCFunction) _wrap_GridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
15652 { (char *)"GridTableMessage_GetId", (PyCFunction) _wrap_GridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
15653 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction) _wrap_GridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
15654 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction) _wrap_GridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
15655 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction) _wrap_GridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15656 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction) _wrap_GridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15657 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister, METH_VARARGS },
15658 { (char *)"new_GridCellCoords", (PyCFunction) _wrap_new_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15659 { (char *)"delete_GridCellCoords", (PyCFunction) _wrap_delete_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15660 { (char *)"GridCellCoords_GetRow", (PyCFunction) _wrap_GridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
15661 { (char *)"GridCellCoords_SetRow", (PyCFunction) _wrap_GridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
15662 { (char *)"GridCellCoords_GetCol", (PyCFunction) _wrap_GridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
15663 { (char *)"GridCellCoords_SetCol", (PyCFunction) _wrap_GridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
15664 { (char *)"GridCellCoords_Set", (PyCFunction) _wrap_GridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
15665 { (char *)"GridCellCoords___eq__", (PyCFunction) _wrap_GridCellCoords___eq__, METH_VARARGS | METH_KEYWORDS },
15666 { (char *)"GridCellCoords___ne__", (PyCFunction) _wrap_GridCellCoords___ne__, METH_VARARGS | METH_KEYWORDS },
15667 { (char *)"GridCellCoords_asTuple", (PyCFunction) _wrap_GridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
15668 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister, METH_VARARGS },
15669 { (char *)"new_Grid", (PyCFunction) _wrap_new_Grid, METH_VARARGS | METH_KEYWORDS },
15670 { (char *)"Grid_CreateGrid", (PyCFunction) _wrap_Grid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
15671 { (char *)"Grid_SetSelectionMode", (PyCFunction) _wrap_Grid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15672 { (char *)"Grid_GetSelectionMode", (PyCFunction) _wrap_Grid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15673 { (char *)"Grid_GetNumberRows", (PyCFunction) _wrap_Grid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15674 { (char *)"Grid_GetNumberCols", (PyCFunction) _wrap_Grid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15675 { (char *)"Grid_ProcessTableMessage", (PyCFunction) _wrap_Grid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
15676 { (char *)"Grid_GetTable", (PyCFunction) _wrap_Grid_GetTable, METH_VARARGS | METH_KEYWORDS },
15677 { (char *)"Grid_SetTable", (PyCFunction) _wrap_Grid_SetTable, METH_VARARGS | METH_KEYWORDS },
15678 { (char *)"Grid_ClearGrid", (PyCFunction) _wrap_Grid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
15679 { (char *)"Grid_InsertRows", (PyCFunction) _wrap_Grid_InsertRows, METH_VARARGS | METH_KEYWORDS },
15680 { (char *)"Grid_AppendRows", (PyCFunction) _wrap_Grid_AppendRows, METH_VARARGS | METH_KEYWORDS },
15681 { (char *)"Grid_DeleteRows", (PyCFunction) _wrap_Grid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15682 { (char *)"Grid_InsertCols", (PyCFunction) _wrap_Grid_InsertCols, METH_VARARGS | METH_KEYWORDS },
15683 { (char *)"Grid_AppendCols", (PyCFunction) _wrap_Grid_AppendCols, METH_VARARGS | METH_KEYWORDS },
15684 { (char *)"Grid_DeleteCols", (PyCFunction) _wrap_Grid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15685 { (char *)"Grid_DrawCellHighlight", (PyCFunction) _wrap_Grid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
15686 { (char *)"Grid_DrawTextRectangle", (PyCFunction) _wrap_Grid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
15687 { (char *)"Grid_GetTextBoxSize", (PyCFunction) _wrap_Grid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
15688 { (char *)"Grid_BeginBatch", (PyCFunction) _wrap_Grid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
15689 { (char *)"Grid_EndBatch", (PyCFunction) _wrap_Grid_EndBatch, METH_VARARGS | METH_KEYWORDS },
15690 { (char *)"Grid_GetBatchCount", (PyCFunction) _wrap_Grid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
15691 { (char *)"Grid_ForceRefresh", (PyCFunction) _wrap_Grid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
15692 { (char *)"Grid_IsEditable", (PyCFunction) _wrap_Grid_IsEditable, METH_VARARGS | METH_KEYWORDS },
15693 { (char *)"Grid_EnableEditing", (PyCFunction) _wrap_Grid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
15694 { (char *)"Grid_EnableCellEditControl", (PyCFunction) _wrap_Grid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15695 { (char *)"Grid_DisableCellEditControl", (PyCFunction) _wrap_Grid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15696 { (char *)"Grid_CanEnableCellControl", (PyCFunction) _wrap_Grid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
15697 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction) _wrap_Grid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
15698 { (char *)"Grid_IsCellEditControlShown", (PyCFunction) _wrap_Grid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
15699 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction) _wrap_Grid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
15700 { (char *)"Grid_ShowCellEditControl", (PyCFunction) _wrap_Grid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
15701 { (char *)"Grid_HideCellEditControl", (PyCFunction) _wrap_Grid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
15702 { (char *)"Grid_SaveEditControlValue", (PyCFunction) _wrap_Grid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
15703 { (char *)"Grid_XYToCell", (PyCFunction) _wrap_Grid_XYToCell, METH_VARARGS | METH_KEYWORDS },
15704 { (char *)"Grid_YToRow", (PyCFunction) _wrap_Grid_YToRow, METH_VARARGS | METH_KEYWORDS },
15705 { (char *)"Grid_XToCol", (PyCFunction) _wrap_Grid_XToCol, METH_VARARGS | METH_KEYWORDS },
15706 { (char *)"Grid_YToEdgeOfRow", (PyCFunction) _wrap_Grid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
15707 { (char *)"Grid_XToEdgeOfCol", (PyCFunction) _wrap_Grid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
15708 { (char *)"Grid_CellToRect", (PyCFunction) _wrap_Grid_CellToRect, METH_VARARGS | METH_KEYWORDS },
15709 { (char *)"Grid_GetGridCursorRow", (PyCFunction) _wrap_Grid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
15710 { (char *)"Grid_GetGridCursorCol", (PyCFunction) _wrap_Grid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
15711 { (char *)"Grid_IsVisible", (PyCFunction) _wrap_Grid_IsVisible, METH_VARARGS | METH_KEYWORDS },
15712 { (char *)"Grid_MakeCellVisible", (PyCFunction) _wrap_Grid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
15713 { (char *)"Grid_SetGridCursor", (PyCFunction) _wrap_Grid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
15714 { (char *)"Grid_MoveCursorUp", (PyCFunction) _wrap_Grid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
15715 { (char *)"Grid_MoveCursorDown", (PyCFunction) _wrap_Grid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
15716 { (char *)"Grid_MoveCursorLeft", (PyCFunction) _wrap_Grid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
15717 { (char *)"Grid_MoveCursorRight", (PyCFunction) _wrap_Grid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
15718 { (char *)"Grid_MovePageDown", (PyCFunction) _wrap_Grid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
15719 { (char *)"Grid_MovePageUp", (PyCFunction) _wrap_Grid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
15720 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction) _wrap_Grid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
15721 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction) _wrap_Grid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
15722 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction) _wrap_Grid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
15723 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction) _wrap_Grid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
15724 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction) _wrap_Grid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15725 { (char *)"Grid_GetRowLabelSize", (PyCFunction) _wrap_Grid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15726 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction) _wrap_Grid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
15727 { (char *)"Grid_GetColLabelSize", (PyCFunction) _wrap_Grid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15728 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction) _wrap_Grid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15729 { (char *)"Grid_GetLabelTextColour", (PyCFunction) _wrap_Grid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15730 { (char *)"Grid_GetLabelFont", (PyCFunction) _wrap_Grid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
15731 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction) _wrap_Grid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15732 { (char *)"Grid_GetColLabelAlignment", (PyCFunction) _wrap_Grid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15733 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction) _wrap_Grid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15734 { (char *)"Grid_GetRowLabelValue", (PyCFunction) _wrap_Grid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15735 { (char *)"Grid_GetColLabelValue", (PyCFunction) _wrap_Grid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15736 { (char *)"Grid_GetGridLineColour", (PyCFunction) _wrap_Grid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15737 { (char *)"Grid_GetCellHighlightColour", (PyCFunction) _wrap_Grid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15738 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15739 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15740 { (char *)"Grid_SetRowLabelSize", (PyCFunction) _wrap_Grid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15741 { (char *)"Grid_SetColLabelSize", (PyCFunction) _wrap_Grid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15742 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction) _wrap_Grid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15743 { (char *)"Grid_SetLabelTextColour", (PyCFunction) _wrap_Grid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15744 { (char *)"Grid_SetLabelFont", (PyCFunction) _wrap_Grid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
15745 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction) _wrap_Grid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15746 { (char *)"Grid_SetColLabelAlignment", (PyCFunction) _wrap_Grid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15747 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction) _wrap_Grid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15748 { (char *)"Grid_SetRowLabelValue", (PyCFunction) _wrap_Grid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15749 { (char *)"Grid_SetColLabelValue", (PyCFunction) _wrap_Grid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15750 { (char *)"Grid_SetGridLineColour", (PyCFunction) _wrap_Grid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15751 { (char *)"Grid_SetCellHighlightColour", (PyCFunction) _wrap_Grid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15752 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15753 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15754 { (char *)"Grid_EnableDragRowSize", (PyCFunction) _wrap_Grid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15755 { (char *)"Grid_DisableDragRowSize", (PyCFunction) _wrap_Grid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15756 { (char *)"Grid_CanDragRowSize", (PyCFunction) _wrap_Grid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
15757 { (char *)"Grid_EnableDragColSize", (PyCFunction) _wrap_Grid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
15758 { (char *)"Grid_DisableDragColSize", (PyCFunction) _wrap_Grid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
15759 { (char *)"Grid_CanDragColSize", (PyCFunction) _wrap_Grid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
15760 { (char *)"Grid_EnableDragGridSize", (PyCFunction) _wrap_Grid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15761 { (char *)"Grid_DisableDragGridSize", (PyCFunction) _wrap_Grid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15762 { (char *)"Grid_CanDragGridSize", (PyCFunction) _wrap_Grid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
15763 { (char *)"Grid_SetAttr", (PyCFunction) _wrap_Grid_SetAttr, METH_VARARGS | METH_KEYWORDS },
15764 { (char *)"Grid_SetRowAttr", (PyCFunction) _wrap_Grid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15765 { (char *)"Grid_SetColAttr", (PyCFunction) _wrap_Grid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15766 { (char *)"Grid_SetColFormatBool", (PyCFunction) _wrap_Grid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
15767 { (char *)"Grid_SetColFormatNumber", (PyCFunction) _wrap_Grid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
15768 { (char *)"Grid_SetColFormatFloat", (PyCFunction) _wrap_Grid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
15769 { (char *)"Grid_SetColFormatCustom", (PyCFunction) _wrap_Grid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
15770 { (char *)"Grid_EnableGridLines", (PyCFunction) _wrap_Grid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
15771 { (char *)"Grid_GridLinesEnabled", (PyCFunction) _wrap_Grid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
15772 { (char *)"Grid_GetDefaultRowSize", (PyCFunction) _wrap_Grid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15773 { (char *)"Grid_GetRowSize", (PyCFunction) _wrap_Grid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
15774 { (char *)"Grid_GetDefaultColSize", (PyCFunction) _wrap_Grid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15775 { (char *)"Grid_GetColSize", (PyCFunction) _wrap_Grid_GetColSize, METH_VARARGS | METH_KEYWORDS },
15776 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15777 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction) _wrap_Grid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15778 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction) _wrap_Grid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15779 { (char *)"Grid_GetCellTextColour", (PyCFunction) _wrap_Grid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15780 { (char *)"Grid_GetDefaultCellFont", (PyCFunction) _wrap_Grid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15781 { (char *)"Grid_GetCellFont", (PyCFunction) _wrap_Grid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
15782 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction) _wrap_Grid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15783 { (char *)"Grid_GetCellAlignment", (PyCFunction) _wrap_Grid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15784 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction) _wrap_Grid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15785 { (char *)"Grid_GetCellOverflow", (PyCFunction) _wrap_Grid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15786 { (char *)"Grid_GetCellSize", (PyCFunction) _wrap_Grid_GetCellSize, METH_VARARGS | METH_KEYWORDS },
15787 { (char *)"Grid_SetDefaultRowSize", (PyCFunction) _wrap_Grid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15788 { (char *)"Grid_SetRowSize", (PyCFunction) _wrap_Grid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
15789 { (char *)"Grid_SetDefaultColSize", (PyCFunction) _wrap_Grid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15790 { (char *)"Grid_SetColSize", (PyCFunction) _wrap_Grid_SetColSize, METH_VARARGS | METH_KEYWORDS },
15791 { (char *)"Grid_AutoSizeColumn", (PyCFunction) _wrap_Grid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
15792 { (char *)"Grid_AutoSizeRow", (PyCFunction) _wrap_Grid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
15793 { (char *)"Grid_AutoSizeColumns", (PyCFunction) _wrap_Grid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
15794 { (char *)"Grid_AutoSizeRows", (PyCFunction) _wrap_Grid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
15795 { (char *)"Grid_AutoSize", (PyCFunction) _wrap_Grid_AutoSize, METH_VARARGS | METH_KEYWORDS },
15796 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction) _wrap_Grid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15797 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction) _wrap_Grid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS },
15798 { (char *)"Grid_SetColMinimalWidth", (PyCFunction) _wrap_Grid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
15799 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction) _wrap_Grid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
15800 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15801 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15802 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15803 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15804 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15805 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction) _wrap_Grid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15806 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction) _wrap_Grid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15807 { (char *)"Grid_SetCellTextColour", (PyCFunction) _wrap_Grid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15808 { (char *)"Grid_SetDefaultCellFont", (PyCFunction) _wrap_Grid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15809 { (char *)"Grid_SetCellFont", (PyCFunction) _wrap_Grid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
15810 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction) _wrap_Grid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15811 { (char *)"Grid_SetCellAlignment", (PyCFunction) _wrap_Grid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15812 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction) _wrap_Grid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15813 { (char *)"Grid_SetCellOverflow", (PyCFunction) _wrap_Grid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15814 { (char *)"Grid_SetCellSize", (PyCFunction) _wrap_Grid_SetCellSize, METH_VARARGS | METH_KEYWORDS },
15815 { (char *)"Grid_SetDefaultRenderer", (PyCFunction) _wrap_Grid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15816 { (char *)"Grid_SetCellRenderer", (PyCFunction) _wrap_Grid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15817 { (char *)"Grid_GetDefaultRenderer", (PyCFunction) _wrap_Grid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15818 { (char *)"Grid_GetCellRenderer", (PyCFunction) _wrap_Grid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15819 { (char *)"Grid_SetDefaultEditor", (PyCFunction) _wrap_Grid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15820 { (char *)"Grid_SetCellEditor", (PyCFunction) _wrap_Grid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
15821 { (char *)"Grid_GetDefaultEditor", (PyCFunction) _wrap_Grid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15822 { (char *)"Grid_GetCellEditor", (PyCFunction) _wrap_Grid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
15823 { (char *)"Grid_GetCellValue", (PyCFunction) _wrap_Grid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
15824 { (char *)"Grid_SetCellValue", (PyCFunction) _wrap_Grid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
15825 { (char *)"Grid_IsReadOnly", (PyCFunction) _wrap_Grid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15826 { (char *)"Grid_SetReadOnly", (PyCFunction) _wrap_Grid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15827 { (char *)"Grid_SelectRow", (PyCFunction) _wrap_Grid_SelectRow, METH_VARARGS | METH_KEYWORDS },
15828 { (char *)"Grid_SelectCol", (PyCFunction) _wrap_Grid_SelectCol, METH_VARARGS | METH_KEYWORDS },
15829 { (char *)"Grid_SelectBlock", (PyCFunction) _wrap_Grid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
15830 { (char *)"Grid_SelectAll", (PyCFunction) _wrap_Grid_SelectAll, METH_VARARGS | METH_KEYWORDS },
15831 { (char *)"Grid_IsSelection", (PyCFunction) _wrap_Grid_IsSelection, METH_VARARGS | METH_KEYWORDS },
15832 { (char *)"Grid_ClearSelection", (PyCFunction) _wrap_Grid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
15833 { (char *)"Grid_IsInSelection", (PyCFunction) _wrap_Grid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
15834 { (char *)"Grid_GetSelectedCells", (PyCFunction) _wrap_Grid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS },
15835 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_Grid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS },
15836 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_Grid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS },
15837 { (char *)"Grid_GetSelectedRows", (PyCFunction) _wrap_Grid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS },
15838 { (char *)"Grid_GetSelectedCols", (PyCFunction) _wrap_Grid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS },
15839 { (char *)"Grid_DeselectRow", (PyCFunction) _wrap_Grid_DeselectRow, METH_VARARGS | METH_KEYWORDS },
15840 { (char *)"Grid_DeselectCol", (PyCFunction) _wrap_Grid_DeselectCol, METH_VARARGS | METH_KEYWORDS },
15841 { (char *)"Grid_DeselectCell", (PyCFunction) _wrap_Grid_DeselectCell, METH_VARARGS | METH_KEYWORDS },
15842 { (char *)"Grid_BlockToDeviceRect", (PyCFunction) _wrap_Grid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
15843 { (char *)"Grid_GetSelectionBackground", (PyCFunction) _wrap_Grid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15844 { (char *)"Grid_GetSelectionForeground", (PyCFunction) _wrap_Grid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15845 { (char *)"Grid_SetSelectionBackground", (PyCFunction) _wrap_Grid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15846 { (char *)"Grid_SetSelectionForeground", (PyCFunction) _wrap_Grid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15847 { (char *)"Grid_RegisterDataType", (PyCFunction) _wrap_Grid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
15848 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction) _wrap_Grid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
15849 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction) _wrap_Grid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
15850 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction) _wrap_Grid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
15851 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction) _wrap_Grid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
15852 { (char *)"Grid_SetMargins", (PyCFunction) _wrap_Grid_SetMargins, METH_VARARGS | METH_KEYWORDS },
15853 { (char *)"Grid_GetGridWindow", (PyCFunction) _wrap_Grid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
15854 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
15855 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
15856 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
15857 { (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS },
15858 { (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS },
15859 { (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
15860 { (char *)"GridEvent_GetCol", (PyCFunction) _wrap_GridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
15861 { (char *)"GridEvent_GetPosition", (PyCFunction) _wrap_GridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
15862 { (char *)"GridEvent_Selecting", (PyCFunction) _wrap_GridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
15863 { (char *)"GridEvent_ControlDown", (PyCFunction) _wrap_GridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15864 { (char *)"GridEvent_MetaDown", (PyCFunction) _wrap_GridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15865 { (char *)"GridEvent_ShiftDown", (PyCFunction) _wrap_GridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15866 { (char *)"GridEvent_AltDown", (PyCFunction) _wrap_GridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15867 { (char *)"GridEvent_swigregister", GridEvent_swigregister, METH_VARARGS },
15868 { (char *)"new_GridSizeEvent", (PyCFunction) _wrap_new_GridSizeEvent, METH_VARARGS | METH_KEYWORDS },
15869 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_GridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
15870 { (char *)"GridSizeEvent_GetPosition", (PyCFunction) _wrap_GridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
15871 { (char *)"GridSizeEvent_ControlDown", (PyCFunction) _wrap_GridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15872 { (char *)"GridSizeEvent_MetaDown", (PyCFunction) _wrap_GridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15873 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction) _wrap_GridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15874 { (char *)"GridSizeEvent_AltDown", (PyCFunction) _wrap_GridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15875 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister, METH_VARARGS },
15876 { (char *)"new_GridRangeSelectEvent", (PyCFunction) _wrap_new_GridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
15877 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
15878 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
15879 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
15880 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
15881 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
15882 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
15883 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction) _wrap_GridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
15884 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_GridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15885 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_GridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15886 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_GridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15887 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction) _wrap_GridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15888 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister, METH_VARARGS },
15889 { (char *)"new_GridEditorCreatedEvent", (PyCFunction) _wrap_new_GridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
15890 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
15891 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
15892 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
15893 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
15894 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
15895 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
15896 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister, METH_VARARGS },
15897 { NULL, NULL }
15898};
15899
15900
15901/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15902
15903static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x) {
15904 return (void *)((wxGridCellRenderer *) ((wxPyGridCellRenderer *) x));
15905}
15906static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x) {
15907 return (void *)((wxGridCellRenderer *) ((wxGridCellStringRenderer *) x));
15908}
15909static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x) {
15910 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
15911}
15912static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x) {
15913 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
15914}
15915static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x) {
15916 return (void *)((wxGridCellRenderer *) ((wxGridCellBoolRenderer *) x));
15917}
15918static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x) {
15919 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
15920}
15921static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x) {
15922 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
15923}
15924static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x) {
15925 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
15926}
15927static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x) {
15928 return (void *)((wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
15929}
15930static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x) {
15931 return (void *)((wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
15932}
15933static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x) {
15934 return (void *)((wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
15935}
15936static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x) {
15937 return (void *)((wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
15938}
15939static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x) {
15940 return (void *)((wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
15941}
15942static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
15943 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
15944}
15945static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
15946 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
15947}
a2482628
RD
15948static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
15949 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15950}
d14a1e28
RD
15951static void *_p_wxGridTo_p_wxPanel(void *x) {
15952 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxGrid *) x));
15953}
15954static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
15955 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15956}
15957static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
15958 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15959}
15960static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
15961 return (void *)((wxPanel *) ((wxPyPanel *) x));
15962}
15963static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
15964 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
15965}
15966static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
15967 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
15968}
15969static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
15970 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15971}
15972static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x) {
15973 return (void *)((wxNotifyEvent *) ((wxGridSizeEvent *) x));
15974}
15975static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x) {
15976 return (void *)((wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
15977}
15978static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
15979 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
15980}
15981static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x) {
15982 return (void *)((wxNotifyEvent *) ((wxGridEvent *) x));
15983}
a2482628
RD
15984static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
15985 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15986}
d14a1e28
RD
15987static void *_p_wxGridTo_p_wxScrolledWindow(void *x) {
15988 return (void *)((wxScrolledWindow *) ((wxGrid *) x));
15989}
15990static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
15991 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
15992}
15993static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
15994 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15995}
15996static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
15997 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15998}
15999static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
16000 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
16001}
16002static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
16003 return (void *)((wxWindow *) ((wxMenuBar *) x));
16004}
16005static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
16006 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16007}
16008static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
16009 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16010}
16011static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
16012 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16013}
16014static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
16015 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16016}
16017static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
16018 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16019}
16020static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
16021 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16022}
16023static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
16024 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16025}
16026static void *_p_wxPanelTo_p_wxWindow(void *x) {
16027 return (void *)((wxWindow *) ((wxPanel *) x));
16028}
16029static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
16030 return (void *)((wxWindow *) ((wxStatusBar *) x));
16031}
16032static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
16033 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
16034}
16035static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
16036 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
16037}
16038static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
16039 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16040}
16041static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
16042 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16043}
16044static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
16045 return (void *)((wxWindow *) ((wxPopupWindow *) x));
16046}
16047static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
16048 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
16049}
16050static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
16051 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
16052}
16053static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
16054 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
16055}
16056static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
16057 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
16058}
16059static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
16060 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
16061}
16062static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
16063 return (void *)((wxWindow *) ((wxSashWindow *) x));
16064}
a2482628
RD
16065static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
16066 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16067}
d14a1e28
RD
16068static void *_p_wxControlTo_p_wxWindow(void *x) {
16069 return (void *)((wxWindow *) ((wxControl *) x));
16070}
16071static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
16072 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16073}
16074static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
16075 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16076}
16077static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
16078 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16079}
16080static void *_p_wxGridTo_p_wxWindow(void *x) {
16081 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16082}
16083static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
16084 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
16085}
16086static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
16087 return (void *)((wxWindow *) ((wxPyWindow *) x));
16088}
16089static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
16090 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16091}
16092static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
16093 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16094}
16095static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
16096 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16097}
16098static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
16099 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
16100}
16101static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
16102 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16103}
16104static void *_p_wxFrameTo_p_wxWindow(void *x) {
16105 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
16106}
16107static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
16108 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16109}
16110static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
16111 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16112}
16113static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
16114 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16115}
16116static void *_p_wxDialogTo_p_wxWindow(void *x) {
16117 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
16118}
16119static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
16120 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16121}
16122static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
16123 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16124}
16125static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
16126 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16127}
16128static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
16129 return (void *)((wxControl *) ((wxControlWithItems *) x));
16130}
16131static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
16132 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
16133}
16134static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
16135 return (void *)((wxEvent *) ((wxMenuEvent *) x));
16136}
16137static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
16138 return (void *)((wxEvent *) ((wxCloseEvent *) x));
16139}
16140static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
16141 return (void *)((wxEvent *) ((wxMouseEvent *) x));
16142}
16143static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
16144 return (void *)((wxEvent *) ((wxEraseEvent *) x));
16145}
16146static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
16147 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
16148}
16149static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
16150 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16151}
16152static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
16153 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
16154}
16155static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
16156 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
16157}
16158static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
16159 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
16160}
16161static void *_p_wxPyEventTo_p_wxEvent(void *x) {
16162 return (void *)((wxEvent *) ((wxPyEvent *) x));
16163}
16164static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
16165 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
16166}
16167static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
16168 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
16169}
16170static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x) {
16171 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16172}
16173static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
16174 return (void *)((wxEvent *) ((wxIdleEvent *) x));
16175}
16176static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
16177 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
16178}
16179static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
16180 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
16181}
16182static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
16183 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
16184}
16185static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
16186 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
16187}
16188static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
16189 return (void *)((wxEvent *) ((wxActivateEvent *) x));
16190}
16191static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
16192 return (void *)((wxEvent *) ((wxSizeEvent *) x));
16193}
16194static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
16195 return (void *)((wxEvent *) ((wxMoveEvent *) x));
16196}
16197static void *_p_wxGridSizeEventTo_p_wxEvent(void *x) {
16198 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16199}
16200static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
16201 return (void *)((wxEvent *) ((wxPaintEvent *) x));
16202}
16203static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
16204 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
16205}
16206static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
16207 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
16208}
16209static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
16210 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
16211}
16212static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
16213 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
16214}
16215static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
16216 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16217}
16218static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
16219 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
16220}
16221static void *_p_wxGridEventTo_p_wxEvent(void *x) {
16222 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16223}
16224static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x) {
16225 return (void *)((wxEvent *) (wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16226}
16227static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
16228 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
16229}
16230static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
16231 return (void *)((wxEvent *) ((wxFocusEvent *) x));
16232}
16233static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
16234 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
16235}
16236static void *_p_wxSashEventTo_p_wxEvent(void *x) {
16237 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
16238}
16239static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
16240 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16241}
16242static void *_p_wxShowEventTo_p_wxEvent(void *x) {
16243 return (void *)((wxEvent *) ((wxShowEvent *) x));
16244}
16245static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
16246 return (void *)((wxEvent *) ((wxCommandEvent *) x));
16247}
16248static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
16249 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
16250}
16251static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
16252 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16253}
16254static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
16255 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
16256}
16257static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
16258 return (void *)((wxEvent *) ((wxKeyEvent *) x));
16259}
16260static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
16261 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
16262}
16263static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
16264 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
16265}
16266static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
16267 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
16268}
16269static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
16270 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16271}
16272static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
16273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16274}
16275static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
16276 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16277}
16278static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
16279 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
16280}
16281static void *_p_wxSizerItemTo_p_wxObject(void *x) {
16282 return (void *)((wxObject *) ((wxSizerItem *) x));
16283}
16284static void *_p_wxScrollEventTo_p_wxObject(void *x) {
16285 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
16286}
16287static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
16288 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
16289}
16290static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
16291 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
16292}
16293static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
16294 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
16295}
16296static void *_p_wxSizerTo_p_wxObject(void *x) {
16297 return (void *)((wxObject *) ((wxSizer *) x));
16298}
16299static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
16300 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
16301}
16302static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
16303 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
16304}
16305static void *_p_wxPyPanelTo_p_wxObject(void *x) {
16306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16307}
16308static void *_p_wxEventTo_p_wxObject(void *x) {
16309 return (void *)((wxObject *) ((wxEvent *) x));
16310}
16311static void *_p_wxFontDataTo_p_wxObject(void *x) {
16312 return (void *)((wxObject *) ((wxFontData *) x));
16313}
16314static void *_p_wxPrintDataTo_p_wxObject(void *x) {
16315 return (void *)((wxObject *) ((wxPrintData *) x));
16316}
16317static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
16318 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
16319}
16320static void *_p_wxGridSizerTo_p_wxObject(void *x) {
16321 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
16322}
16323static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
16324 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
16325}
16326static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
16327 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
16328}
16329static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
16330 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
16331}
16332static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
16333 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
16334}
16335static void *_p_wxGridStringTableTo_p_wxObject(void *x) {
16336 return (void *)((wxObject *) (wxGridTableBase *) ((wxGridStringTable *) x));
16337}
16338static void *_p_wxPaintEventTo_p_wxObject(void *x) {
16339 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
16340}
16341static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
16342 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
16343}
16344static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
16345 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
16346}
16347static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
16348 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
16349}
16350static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
16351 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16352}
16353static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
16354 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
16355}
16356static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
16357 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16358}
16359static void *_p_wxGridEventTo_p_wxObject(void *x) {
16360 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16361}
16362static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x) {
16363 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16364}
16365static void *_p_wxControlTo_p_wxObject(void *x) {
16366 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
16367}
16368static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
16369 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
16370}
16371static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
16372 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16373}
16374static void *_p_wxFSFileTo_p_wxObject(void *x) {
16375 return (void *)((wxObject *) ((wxFSFile *) x));
16376}
16377static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
16378 return (void *)((wxObject *) ((wxFindReplaceData *) x));
16379}
16380static void *_p_wxGridTo_p_wxObject(void *x) {
16381 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16382}
16383static void *_p_wxPySizerTo_p_wxObject(void *x) {
16384 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
16385}
16386static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
16387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16388}
16389static void *_p_wxColourDataTo_p_wxObject(void *x) {
16390 return (void *)((wxObject *) ((wxColourData *) x));
16391}
16392static void *_p_wxPyEventTo_p_wxObject(void *x) {
16393 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
16394}
16395static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
16396 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
16397}
16398static void *_p_wxPyWindowTo_p_wxObject(void *x) {
16399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
16400}
16401static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
16402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16403}
16404static void *_p_wxFileDialogTo_p_wxObject(void *x) {
16405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16406}
16407static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
16408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16409}
16410static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
16411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16412}
16413static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
16414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16415}
16416static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
16417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16418}
16419static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
16420 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16421}
16422static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
16423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16424}
16425static void *_p_wxShowEventTo_p_wxObject(void *x) {
16426 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
16427}
16428static void *_p_wxPrinterTo_p_wxObject(void *x) {
16429 return (void *)((wxObject *) ((wxPrinter *) x));
16430}
16431static void *_p_wxMenuItemTo_p_wxObject(void *x) {
16432 return (void *)((wxObject *) ((wxMenuItem *) x));
16433}
16434static void *_p_wxIdleEventTo_p_wxObject(void *x) {
16435 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
16436}
16437static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
16438 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
16439}
16440static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
16441 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
16442}
16443static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
16444 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
16445}
16446static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
16447 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
16448}
16449static void *_p_wxSizeEventTo_p_wxObject(void *x) {
16450 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
16451}
16452static void *_p_wxMoveEventTo_p_wxObject(void *x) {
16453 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
16454}
16455static void *_p_wxActivateEventTo_p_wxObject(void *x) {
16456 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
16457}
16458static void *_p_wxGridSizeEventTo_p_wxObject(void *x) {
16459 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16460}
16461static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
16462 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
16463}
16464static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
16465 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
16466}
16467static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
16468 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
16469}
16470static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
16471 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
16472}
16473static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
16474 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
16475}
16476static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
16477 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
16478}
16479static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
16480 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
16481}
16482static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
16483 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
16484}
16485static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
16486 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
16487}
16488static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
16489 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
16490}
16491static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
16492 return (void *)((wxObject *) ((wxImageHandler *) x));
16493}
16494static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
16495 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
16496}
16497static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
16498 return (void *)((wxObject *) ((wxEvtHandler *) x));
16499}
16500static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
16501 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
16502}
16503static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x) {
16504 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16505}
16506static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
16507 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16508}
16509static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
16510 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16511}
16512static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
16513 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
16514}
16515static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
16516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16517}
16518static void *_p_wxImageTo_p_wxObject(void *x) {
16519 return (void *)((wxObject *) ((wxImage *) x));
16520}
16521static void *_p_wxFrameTo_p_wxObject(void *x) {
16522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16523}
16524static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
16525 return (void *)((wxObject *) ((wxPyPrintout *) x));
16526}
16527static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
16528 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
16529}
16530static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
16531 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
16532}
16533static void *_p_wxStatusBarTo_p_wxObject(void *x) {
16534 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
16535}
16536static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
16537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16538}
16539static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
16540 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16541}
16542static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
16543 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
16544}
16545static void *_p_wxKeyEventTo_p_wxObject(void *x) {
16546 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
16547}
d14a1e28
RD
16548static void *_p_wxWindowTo_p_wxObject(void *x) {
16549 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
16550}
16551static void *_p_wxMenuTo_p_wxObject(void *x) {
16552 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
16553}
16554static void *_p_wxMenuBarTo_p_wxObject(void *x) {
16555 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
16556}
41f1cec7
RD
16557static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
16558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16559}
d14a1e28
RD
16560static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
16561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
16562}
16563static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
16564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
16565}
16566static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
16567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
16568}
16569static void *_p_wxSashWindowTo_p_wxObject(void *x) {
16570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
16571}
16572static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
16573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16574}
16575static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
16576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
16577}
16578static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
16579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16580}
16581static void *_p_wxTipWindowTo_p_wxObject(void *x) {
16582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16583}
16584static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
16585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16586}
16587static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
16588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
16589}
a2482628
RD
16590static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
16591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16592}
d14a1e28
RD
16593static void *_p_wxSashEventTo_p_wxObject(void *x) {
16594 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
16595}
16596static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
16597 return (void *)((wxObject *) ((wxPrintPreview *) x));
16598}
16599static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
16600 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
16601}
16602static void *_p_wxPanelTo_p_wxObject(void *x) {
16603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
16604}
16605static void *_p_wxDialogTo_p_wxObject(void *x) {
16606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
16607}
16608static void *_p_wxColourDialogTo_p_wxObject(void *x) {
16609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16610}
16611static void *_p_wxDirDialogTo_p_wxObject(void *x) {
16612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16613}
16614static void *_p_wxFontDialogTo_p_wxObject(void *x) {
16615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16616}
16617static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
16618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16619}
16620static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
16621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16622}
16623static void *_p_wxFileSystemTo_p_wxObject(void *x) {
16624 return (void *)((wxObject *) ((wxFileSystem *) x));
16625}
16626static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
16627 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
16628}
16629static void *_p_wxMenuEventTo_p_wxObject(void *x) {
16630 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
16631}
16632static void *_p_wxPyAppTo_p_wxObject(void *x) {
16633 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
16634}
16635static void *_p_wxCloseEventTo_p_wxObject(void *x) {
16636 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
16637}
16638static void *_p_wxMouseEventTo_p_wxObject(void *x) {
16639 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
16640}
16641static void *_p_wxEraseEventTo_p_wxObject(void *x) {
16642 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
16643}
16644static void *_p_wxGridTableBaseTo_p_wxObject(void *x) {
16645 return (void *)((wxObject *) ((wxGridTableBase *) x));
16646}
16647static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x) {
16648 return (void *)((wxObject *) (wxGridTableBase *) ((wxPyGridTableBase *) x));
16649}
16650static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
16651 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
16652}
16653static void *_p_wxCommandEventTo_p_wxObject(void *x) {
16654 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
16655}
16656static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
16657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16658}
16659static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
16660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16661}
16662static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
16663 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
16664}
16665static void *_p_wxFocusEventTo_p_wxObject(void *x) {
16666 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
16667}
16668static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
16669 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
16670}
16671static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
16672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16673}
16674static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
16675 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
16676}
16677static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
16678 return (void *)((wxObject *) ((wxPrintDialogData *) x));
16679}
16680static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
16681 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
16682}
16683static void *_p_wxValidatorTo_p_wxObject(void *x) {
16684 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
16685}
16686static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
16687 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16688}
16689static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
16690 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16691}
16692static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
16693 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16694}
16695static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
16696 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
16697}
16698static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
16699 return (void *)((wxEvtHandler *) ((wxValidator *) x));
16700}
16701static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
16702 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
16703}
16704static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
16705 return (void *)((wxEvtHandler *) ((wxMenu *) x));
16706}
16707static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
16708 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16709}
16710static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
16711 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16712}
16713static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
16714 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16715}
16716static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
16717 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16718}
16719static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
16720 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16721}
16722static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
16723 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16724}
16725static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
16726 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16727}
16728static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
16729 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
16730}
16731static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
16732 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
16733}
16734static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
16735 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16736}
16737static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
16738 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16739}
16740static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
16741 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16742}
16743static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
16744 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
16745}
16746static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
16747 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16748}
16749static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
16750 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
16751}
16752static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
16753 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
16754}
16755static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
16756 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
16757}
16758static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
16759 return (void *)((wxEvtHandler *) ((wxWindow *) x));
16760}
16761static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
16762 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16763}
16764static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
16765 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
16766}
16767static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
16768 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
16769}
a2482628
RD
16770static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
16771 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16772}
d14a1e28
RD
16773static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
16774 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
16775}
16776static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
16777 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16778}
16779static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
16780 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16781}
16782static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
16783 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16784}
16785static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
16786 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
16787}
16788static void *_p_wxGridTo_p_wxEvtHandler(void *x) {
16789 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16790}
16791static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
16792 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16793}
16794static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
16795 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
16796}
16797static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
16798 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16799}
16800static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
16801 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16802}
16803static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
16804 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16805}
16806static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
16807 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16808}
16809static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
16810 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16811}
16812static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
16813 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
16814}
16815static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
16816 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16817}
16818static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
16819 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16820}
16821static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
16822 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16823}
16824static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
16825 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16826}
16827static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
16828 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
16829}
16830static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
16831 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16832}
16833static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
16834 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16835}
16836static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
16837 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16838}
16839static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x) {
16840 return (void *)((wxGridTableBase *) ((wxGridStringTable *) x));
16841}
16842static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x) {
16843 return (void *)((wxGridTableBase *) ((wxPyGridTableBase *) x));
16844}
16845static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x) {
16846 return (void *)((wxGridCellEditor *) ((wxPyGridCellEditor *) x));
16847}
16848static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x) {
16849 return (void *)((wxGridCellEditor *) ((wxGridCellTextEditor *) x));
16850}
16851static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x) {
16852 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
16853}
16854static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x) {
16855 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
16856}
16857static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x) {
16858 return (void *)((wxGridCellEditor *) ((wxGridCellBoolEditor *) x));
16859}
16860static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x) {
16861 return (void *)((wxGridCellEditor *) ((wxGridCellChoiceEditor *) x));
16862}
16863static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x) {
16864 return (void *)((wxGridCellEditor *) (wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
16865}
16866static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x) {
16867 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
16868}
16869static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x) {
16870 return (void *)((wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
16871}
16872static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x) {
16873 return (void *)((wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
16874}
16875static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x) {
16876 return (void *)((wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
16877}
16878static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
16879 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
16880}
16881static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
16882 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16883}
16884static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
16885 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
16886}
16887static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
16888 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
16889}
16890static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
16891 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
16892}
16893static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
16894 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
16895}
16896static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
16897 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
16898}
16899static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x) {
16900 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16901}
16902static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x) {
16903 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridSizeEvent *) x));
16904}
16905static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
16906 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
16907}
16908static void *_p_wxGridEventTo_p_wxCommandEvent(void *x) {
16909 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridEvent *) x));
16910}
16911static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x) {
16912 return (void *)((wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16913}
16914static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
16915 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
16916}
16917static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
16918 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
16919}
16920static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
16921 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
16922}
16923static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) {
16924 return (void *)((wxGridCellAttrProvider *) ((wxPyGridCellAttrProvider *) x));
16925}
16926static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) {
16927 return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
16928}
2f4c0a16
RD
16929static 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}};
16930static 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}};
16931static 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}};
16932static 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}};
16933static 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}};
16934static 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}};
16935static 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}};
16936static 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}};
16937static 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}};
16938static 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}};
16939static 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}};
16940static 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}};
16941static 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}};
16942static 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}};
16943static 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 16944static 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
16945static 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}};
16946static 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}};
16947static 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}};
16948static 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
16949static 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}};
16950static 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
16951static 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}};
16952static 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}};
16953static 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 16954static 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
16955static 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}};
16956static 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}};
16957static 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}};
16958static 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 16959static 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
16960static 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}};
16961static 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}};
16962static 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}};
16963static 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}};
16964static 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}};
16965static 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}};
16966static 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}};
16967static 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}};
16968static 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}};
16969static 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}};
16970static 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}};
16971static 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}};
16972static 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}};
16973static 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}};
16974static 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}};
16975static 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}};
16976static 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}};
16977static 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}};
16978static 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}};
16979static 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}};
16980static 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
16981
16982static swig_type_info *swig_types_initial[] = {
16983_swigt__p_wxGridCellAutoWrapStringRenderer,
16984_swigt__p_wxGridCellEnumRenderer,
16985_swigt__p_wxGridCellDateTimeRenderer,
16986_swigt__p_wxGridCellBoolRenderer,
16987_swigt__p_wxGridCellFloatRenderer,
16988_swigt__p_wxGridCellNumberRenderer,
16989_swigt__p_wxPyGridCellRenderer,
16990_swigt__p_wxGridCellRenderer,
16991_swigt__p_wxGridCellStringRenderer,
16992_swigt__p_wxGridCellAttr,
16993_swigt__p_wxColour,
16994_swigt__p_wxDC,
16995_swigt__p_wxGridTableMessage,
16996_swigt__p_wxGrid,
8edf1c75 16997_swigt__p_char,
d14a1e28
RD
16998_swigt__p_wxPanel,
16999_swigt__p_wxNotifyEvent,
17000_swigt__p_wxGridRangeSelectEvent,
17001_swigt__p_wxSize,
17002_swigt__p_wxGridCellCoords,
17003_swigt__p_wxScrolledWindow,
17004_swigt__p_wxWindow,
17005_swigt__p_wxFont,
17006_swigt__p_wxControl,
17007_swigt__p_wxEvent,
17008_swigt__p_wxObject,
17009_swigt__p_wxGridSizeEvent,
17010_swigt__p_wxRect,
17011_swigt__p_long,
17012_swigt__p_wxString,
17013_swigt__p_wxEvtHandler,
17014_swigt__p_wxPoint,
17015_swigt__p_wxGridEvent,
17016_swigt__p_wxGridEditorCreatedEvent,
17017_swigt__p_wxGridTableBase,
d14a1e28
RD
17018_swigt__p_wxGridCellNumberEditor,
17019_swigt__p_wxPyGridCellEditor,
17020_swigt__p_wxGridCellEditor,
17021_swigt__p_wxGridCellTextEditor,
8edf1c75 17022_swigt__p_wxGridCellFloatEditor,
d14a1e28
RD
17023_swigt__p_wxGridCellBoolEditor,
17024_swigt__p_wxPyGridTableBase,
17025_swigt__p_wxGridStringTable,
17026_swigt__p_wxArrayString,
17027_swigt__p_wxCommandEvent,
17028_swigt__p_wxGridCellAttrProvider,
17029_swigt__p_wxKeyEvent,
17030_swigt__p_wxGridCellChoiceEditor,
17031_swigt__p_wxGridCellEnumEditor,
17032_swigt__p_wxGridCellAutoWrapStringEditor,
17033_swigt__p_int,
17034_swigt__p_wxPyGridCellAttrProvider,
170350
17036};
17037
17038
17039/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17040
17041static swig_const_info swig_const_table[] = {
2f4c0a16
RD
17042{ SWIG_PY_POINTER, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17043{ SWIG_PY_POINTER, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char},
17044{ SWIG_PY_POINTER, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17045{ SWIG_PY_POINTER, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char},
17046{ SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char},
17047{ SWIG_PY_POINTER, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17048{ SWIG_PY_POINTER, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17049{ SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char},
17050{ SWIG_PY_POINTER, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char},
d14a1e28
RD
17051{0}};
17052
17053#ifdef __cplusplus
17054}
17055#endif
17056
17057#ifdef __cplusplus
17058extern "C"
17059#endif
17060SWIGEXPORT(void) SWIG_init(void) {
17061 static PyObject *SWIG_globals = 0;
17062 static int typeinit = 0;
17063 PyObject *m, *d;
17064 int i;
17065 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
17066 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17067 d = PyModule_GetDict(m);
17068
17069 if (!typeinit) {
17070 for (i = 0; swig_types_initial[i]; i++) {
17071 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
17072 }
17073 typeinit = 1;
17074 }
17075 SWIG_InstallConstants(d,swig_const_table);
17076
17077 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
d03fd34d 17078 SWIG_addvarlink(SWIG_globals,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get, _wrap_DateTimeFormatStr_set);
2f4c0a16
RD
17079 PyDict_SetItemString(d,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
17080 PyDict_SetItemString(d,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
17081 PyDict_SetItemString(d,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
17082 PyDict_SetItemString(d,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
17083 PyDict_SetItemString(d,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
17084 PyDict_SetItemString(d,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
17085 PyDict_SetItemString(d,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
17086 PyDict_SetItemString(d,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
17087 PyDict_SetItemString(d,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
d14a1e28
RD
17088 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set);
17089 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set);
2f4c0a16
RD
17090 PyDict_SetItemString(d,"GridCellAttr_Any", SWIG_FromInt((int)wxGridCellAttr::Any));
17091 PyDict_SetItemString(d,"GridCellAttr_Default", SWIG_FromInt((int)wxGridCellAttr::Default));
17092 PyDict_SetItemString(d,"GridCellAttr_Cell", SWIG_FromInt((int)wxGridCellAttr::Cell));
17093 PyDict_SetItemString(d,"GridCellAttr_Row", SWIG_FromInt((int)wxGridCellAttr::Row));
17094 PyDict_SetItemString(d,"GridCellAttr_Col", SWIG_FromInt((int)wxGridCellAttr::Col));
17095 PyDict_SetItemString(d,"GridCellAttr_Merged", SWIG_FromInt((int)wxGridCellAttr::Merged));
17096 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
17097 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
17098 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
17099 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
17100 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED));
17101 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED));
17102 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED));
17103 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED));
17104 PyDict_SetItemString(d,"Grid_wxGridSelectCells", SWIG_FromInt((int)wxGrid::wxGridSelectCells));
17105 PyDict_SetItemString(d,"Grid_wxGridSelectRows", SWIG_FromInt((int)wxGrid::wxGridSelectRows));
17106 PyDict_SetItemString(d,"Grid_wxGridSelectColumns", SWIG_FromInt((int)wxGrid::wxGridSelectColumns));
d14a1e28
RD
17107 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));
17108 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK));
17109 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK));
17110 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK));
17111 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK));
17112 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK));
17113 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK));
17114 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK));
17115 PyDict_SetItemString(d, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE));
17116 PyDict_SetItemString(d, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE));
17117 PyDict_SetItemString(d, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT));
17118 PyDict_SetItemString(d, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE));
17119 PyDict_SetItemString(d, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL));
17120 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN));
17121 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN));
17122 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED));
17123
17124
17125}
17126