]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/grid_wrap.cpp
forward declare wxPyTaskBarIcon
[wxWidgets.git] / wxPython / src / gtk / grid_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
c32bde28 46#define SWIG_TypePrettyName SWIG_Python_TypePrettyName
d14a1e28
RD
47#define SWIG_TypeQuery SWIG_Python_TypeQuery
48#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
RD
49#define SWIG_PackData SWIG_Python_PackData
50#define SWIG_UnpackData SWIG_Python_UnpackData
51
d14a1e28
RD
52
53/***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63#include <string.h>
64
cc6dd355
RD
65#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66# if defined(_MSC_VER) || defined(__GNUC__)
67# if defined(STATIC_LINKED)
68# define SWIGEXPORT(a) a
69# define SWIGIMPORT(a) extern a
70# else
71# define SWIGEXPORT(a) __declspec(dllexport) a
72# define SWIGIMPORT(a) extern a
73# endif
74# else
75# if defined(__BORLANDC__)
76# define SWIGEXPORT(a) a _export
77# define SWIGIMPORT(a) a _export
78# else
79# define SWIGEXPORT(a) a
80# define SWIGIMPORT(a) a
81# endif
82# endif
d14a1e28 83#else
cc6dd355
RD
84# define SWIGEXPORT(a) a
85# define SWIGIMPORT(a) a
d14a1e28
RD
86#endif
87
88#ifdef SWIG_GLOBAL
cc6dd355 89# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 90#else
cc6dd355 91# define SWIGRUNTIME(a) static a
d14a1e28
RD
92#endif
93
d14a1e28
RD
94#ifdef __cplusplus
95extern "C" {
96#endif
97
98typedef void *(*swig_converter_func)(void *);
99typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101typedef struct swig_type_info {
cc6dd355 102 const char *name;
d14a1e28
RD
103 swig_converter_func converter;
104 const char *str;
cc6dd355 105 void *clientdata;
d14a1e28
RD
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109} swig_type_info;
110
111
112SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
c32bde28 117SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
d14a1e28
RD
118SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
120SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
122
123
124#ifdef __cplusplus
125}
126#endif
127
c32bde28 128
d14a1e28
RD
129/***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
d14a1e28
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
d14a1e28
RD
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 174
d14a1e28
RD
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
994141e6 187typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 188
cc6dd355
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
d14a1e28
RD
198
199/* Contract support */
200
9d1d5697 201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 202
d14a1e28
RD
203#ifdef __cplusplus
204}
205#endif
206
207
c32bde28 208
d14a1e28
RD
209/* -------- TYPES TABLE (BEGIN) -------- */
210
211#define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
212#define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
213#define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
214#define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
215#define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
216#define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
217#define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
218#define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
219#define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
220#define SWIGTYPE_p_wxGridCellAttr swig_types[9]
221#define SWIGTYPE_p_wxColour swig_types[10]
222#define SWIGTYPE_p_wxDC swig_types[11]
223#define SWIGTYPE_p_wxGridTableMessage swig_types[12]
224#define SWIGTYPE_p_wxGrid swig_types[13]
22bfe96c
RD
225#define SWIGTYPE_p_wxVisualAttributes swig_types[14]
226#define SWIGTYPE_p_char swig_types[15]
227#define SWIGTYPE_p_wxPanel swig_types[16]
228#define SWIGTYPE_p_wxNotifyEvent swig_types[17]
229#define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[18]
230#define SWIGTYPE_p_wxSize swig_types[19]
231#define SWIGTYPE_p_wxGridCellCoords swig_types[20]
232#define SWIGTYPE_p_wxScrolledWindow swig_types[21]
233#define SWIGTYPE_p_wxWindow swig_types[22]
234#define SWIGTYPE_p_wxFont swig_types[23]
235#define SWIGTYPE_p_wxControl swig_types[24]
236#define SWIGTYPE_p_wxEvent swig_types[25]
237#define SWIGTYPE_p_wxObject swig_types[26]
238#define SWIGTYPE_p_wxGridSizeEvent swig_types[27]
239#define SWIGTYPE_p_wxRect swig_types[28]
240#define SWIGTYPE_p_long swig_types[29]
241#define SWIGTYPE_p_wxString swig_types[30]
242#define SWIGTYPE_p_wxEvtHandler swig_types[31]
243#define SWIGTYPE_p_wxPoint swig_types[32]
244#define SWIGTYPE_p_wxGridEvent swig_types[33]
245#define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[34]
246#define SWIGTYPE_p_wxGridTableBase swig_types[35]
247#define SWIGTYPE_p_wxGridCellNumberEditor swig_types[36]
248#define SWIGTYPE_p_wxPyGridCellEditor swig_types[37]
249#define SWIGTYPE_p_wxGridCellEditor swig_types[38]
250#define SWIGTYPE_p_wxGridCellTextEditor swig_types[39]
251#define SWIGTYPE_p_wxGridCellFloatEditor swig_types[40]
252#define SWIGTYPE_p_wxGridCellBoolEditor swig_types[41]
253#define SWIGTYPE_p_wxPyGridTableBase swig_types[42]
254#define SWIGTYPE_p_wxGridStringTable swig_types[43]
255#define SWIGTYPE_p_wxArrayString swig_types[44]
256#define SWIGTYPE_p_wxCommandEvent swig_types[45]
257#define SWIGTYPE_p_wxGridCellAttrProvider swig_types[46]
258#define SWIGTYPE_p_wxKeyEvent swig_types[47]
259#define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[48]
260#define SWIGTYPE_p_wxGridCellEnumEditor swig_types[49]
261#define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[50]
262#define SWIGTYPE_p_int swig_types[51]
263#define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[52]
264static swig_type_info *swig_types[54];
d14a1e28
RD
265
266/* -------- TYPES TABLE (END) -------- */
267
268
269/*-----------------------------------------------
270 @(target):= _grid.so
271 ------------------------------------------------*/
272#define SWIG_init init_grid
273
274#define SWIG_name "_grid"
275
c32bde28
RD
276/* Auxiliar swig macros that appear in the header */
277
278#define SWIG_OLDOBJ 1
279#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
280#define SWIG_PYSTR SWIG_NEWOBJ + 1
994141e6 281
994141e6 282#ifdef __cplusplus
15afbcd0 283#define SWIGSTATICINLINE(a) static inline a
994141e6 284#define SWIGSTATIC(a) static a
c32bde28
RD
285#define swig_new_array(size,Type) (new Type[(size)])
286#define swig_delete(cptr) delete cptr
15afbcd0 287#define swig_delete_array(cptr) delete[] cptr
c32bde28
RD
288#define swig_const_cast(a,Type) const_cast<Type >(a)
289#define swig_static_cast(a,Type) static_cast<Type >(a)
290#define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
291#define swig_new_copy(ptr,Type) (new Type(*ptr))
292#define swig_numeric_cast(a,Type) static_cast<Type >(a)
994141e6 293
15afbcd0
RD
294#else /* C case */
295
296#define SWIGSTATICINLINE(a) static a
297#define SWIGSTATIC(a) static a
c32bde28
RD
298#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
299#define swig_delete(cptr) free((char*)cptr)
15afbcd0 300#define swig_delete_array(cptr) free((char*)cptr)
c32bde28
RD
301#define swig_const_cast(a,Type) (Type)(a)
302#define swig_static_cast(a,Type) (Type)(a)
303#define swig_reinterpret_cast(a,Type) (Type)(a)
304#define swig_numeric_cast(a,Type) (Type)(a)
305#define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
15afbcd0
RD
306
307#endif /* __cplusplus */
994141e6
RD
308
309
c32bde28
RD
310/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
311#define SWIG_From_signed_SS_char PyInt_FromLong
312/*@@*/
313/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
314#define SWIG_From_unsigned_SS_char PyInt_FromLong
315/*@@*/
316/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
317#define SWIG_From_short PyInt_FromLong
318/*@@*/
319/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
320#define SWIG_From_unsigned_SS_short PyInt_FromLong
321/*@@*/
322/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
323#define SWIG_From_int PyInt_FromLong
324/*@@*/
325/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
326#define SWIG_From_long PyInt_FromLong
327/*@@*/
328/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
329#define SWIG_From_float PyFloat_FromDouble
330/*@@*/
331/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
332#define SWIG_From_double PyFloat_FromDouble
333/*@@*/
994141e6
RD
334
335
d14a1e28
RD
336#include "wx/wxPython/wxPython.h"
337#include "wx/wxPython/pyclasses.h"
338#include "wx/wxPython/printfw.h"
339
340#include <wx/grid.h>
341#include <wx/generic/gridctrl.h>
342
d14a1e28 343
b2dc1044
RD
344 static const wxString wxPyEmptyString(wxEmptyString);
345 static const wxString wxPyPanelNameStr(wxPanelNameStr);
33b885b9 346 static const wxString wxPyDateTimeFormatStr(wxT("%c"));
d14a1e28
RD
347
348
349#define wxPyMake_TEMPLATE(TYPE) \
412d302d 350PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \
d14a1e28
RD
351 PyObject* target = NULL; \
352 if (source) { \
353 /* Check if there is already a pointer to a Python object in the \
354 OOR data that we can use. */ \
355 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
356 if (data) { \
357 target = data->m_obj; \
b0f7404b
RD
358 if (target) \
359 Py_INCREF(target); \
d14a1e28
RD
360 } \
361 /* Otherwise make a new wrapper for it the old fashioned way and \
362 give it the OOR treatment */ \
363 if (! target) { \
412d302d 364 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
d14a1e28
RD
365 if (target) \
366 source->SetClientObject(new wxPyOORClientData(target)); \
367 } \
368 } else { /* source was NULL so return None. */ \
369 Py_INCREF(Py_None); target = Py_None; \
370 } \
371 return target; \
372} \
373
374
375wxPyMake_TEMPLATE(wxGridCellRenderer)
376wxPyMake_TEMPLATE(wxGridCellEditor)
377wxPyMake_TEMPLATE(wxGridCellAttr)
378wxPyMake_TEMPLATE(wxGridCellAttrProvider)
379wxPyMake_TEMPLATE(wxGridTableBase)
380
381
382
383#define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
384 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
385 wxGridCellAttr* rval = NULL; \
386 bool found; \
4f89f6a3 387 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
388 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
389 PyObject* ro; \
390 wxGridCellAttr* ptr; \
391 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
392 if (ro) { \
393 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
394 rval = ptr; \
395 Py_DECREF(ro); \
396 } \
397 } \
4f89f6a3 398 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
399 if (! found) \
400 rval = PCLASS::CBNAME(a, b, c); \
401 return rval; \
402 } \
403 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
404 return PCLASS::CBNAME(a, b, c); \
405 }
406
407
408
409#define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
410 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
4f89f6a3 411 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
412 bool found; \
413 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
412d302d 414 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
d14a1e28
RD
415 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
416 Py_DECREF(obj); \
417 } \
4f89f6a3 418 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
419 if (! found) \
420 PCLASS::CBNAME(attr, a, b); \
421 } \
422 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
423 PCLASS::CBNAME(attr, a, b); \
424 }
425
426
427
428#define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
429 void CBNAME(wxGridCellAttr *attr, int val) { \
4f89f6a3 430 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
431 bool found; \
432 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
412d302d 433 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
d14a1e28
RD
434 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
435 Py_DECREF(obj); \
436 } \
4f89f6a3 437 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
438 if (! found) \
439 PCLASS::CBNAME(attr, val); \
440 } \
441 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
442 PCLASS::CBNAME(attr, val); \
443 }
444
445
446
447#define PYCALLBACK_INT__pure(CBNAME) \
448 int CBNAME() { \
4f89f6a3 449 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
450 int rval = 0; \
451 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
452 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
4f89f6a3 453 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
454 return rval; \
455 }
456
457
458
459#define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
460 bool CBNAME(int a, int b) { \
4f89f6a3 461 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
462 bool rval = 0; \
463 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
464 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
4f89f6a3 465 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
466 return rval; \
467 }
468
469
470#define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
471 wxString CBNAME(int a, int b) { \
4f89f6a3 472 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
473 wxString rval; \
474 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
475 PyObject* ro; \
476 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
477 if (ro) { \
478 rval = Py2wxString(ro); \
479 Py_DECREF(ro); \
480 } \
481 } \
4f89f6a3 482 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
483 return rval; \
484 }
485
486
487#define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
488 void CBNAME(int a, int b, const wxString& c) { \
4f89f6a3 489 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
490 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
491 PyObject* s = wx2PyString(c); \
492 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
493 Py_DECREF(s); \
494 } \
4f89f6a3 495 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
496 }
497
498
499#define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
500 wxString CBNAME(int a, int b) { \
501 bool found; \
4f89f6a3 502 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
503 wxString rval; \
504 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
505 PyObject* ro; \
506 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
507 if (ro) { \
508 rval = Py2wxString(ro); \
509 Py_DECREF(ro); \
510 } \
511 } \
4f89f6a3 512 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
513 if (! found) \
514 rval = PCLASS::CBNAME(a, b); \
515 return rval; \
516 } \
517 wxString base_##CBNAME(int a, int b) { \
518 return PCLASS::CBNAME(a, b); \
519 }
520
521
522#define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
523 bool CBNAME(int a, int b, const wxString& c) { \
524 bool rval = 0; \
525 bool found; \
4f89f6a3 526 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
527 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
528 PyObject* s = wx2PyString(c); \
529 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
530 Py_DECREF(s); \
531 } \
4f89f6a3 532 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
533 if (! found) \
534 rval = PCLASS::CBNAME(a,b,c); \
535 return rval; \
536 } \
537 bool base_##CBNAME(int a, int b, const wxString& c) { \
538 return PCLASS::CBNAME(a,b,c); \
539 }
540
541
542
543
544#define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
545 long CBNAME(int a, int b) { \
546 long rval; \
547 bool found; \
4f89f6a3 548 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
549 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
550 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 551 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
552 if (! found) \
553 rval = PCLASS::CBNAME(a,b); \
554 return rval; \
555 } \
556 long base_##CBNAME(int a, int b) { \
557 return PCLASS::CBNAME(a,b); \
558 }
559
560
561
562#define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
563 bool CBNAME(int a, int b) { \
564 bool rval = 0; \
565 bool found; \
4f89f6a3 566 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
567 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
568 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 569 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
570 if (! found) \
571 rval = PCLASS::CBNAME(a,b); \
572 return rval; \
573 } \
574 bool base_##CBNAME(int a, int b) { \
575 return PCLASS::CBNAME(a,b); \
576 }
577
578
579
580#define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
581 double CBNAME(int a, int b) { \
582 bool found; \
4f89f6a3 583 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
584 double rval; \
585 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
586 PyObject* ro; \
587 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
588 if (ro) { \
589 PyObject* str = PyObject_Str(ro); \
590 rval = PyFloat_AsDouble(str); \
591 Py_DECREF(ro); Py_DECREF(str); \
592 } \
593 } \
4f89f6a3 594 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
595 if (! found) \
596 rval = PCLASS::CBNAME(a, b); \
597 return rval; \
598 } \
599 double base_##CBNAME(int a, int b) { \
600 return PCLASS::CBNAME(a, b); \
601 }
602
603
604
605#define PYCALLBACK__(PCLASS, CBNAME) \
606 void CBNAME() { \
607 bool found; \
4f89f6a3 608 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
609 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
610 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
4f89f6a3 611 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
612 if (! found) \
613 PCLASS::CBNAME(); \
614 } \
615 void base_##CBNAME() { \
616 PCLASS::CBNAME(); \
617 }
618
619
620
621
622#define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
623 bool CBNAME(size_t a, size_t b) { \
624 bool rval = 0; \
625 bool found; \
4f89f6a3 626 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
627 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
628 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 629 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
630 if (! found) \
631 rval = PCLASS::CBNAME(a,b); \
632 return rval; \
633 } \
634 bool base_##CBNAME(size_t a, size_t b) { \
635 return PCLASS::CBNAME(a,b); \
636 }
637
638
639
640#define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
641 bool CBNAME(size_t a) { \
642 bool rval = 0; \
643 bool found; \
4f89f6a3 644 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
645 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
646 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
4f89f6a3 647 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
648 if (! found) \
649 rval = PCLASS::CBNAME(a); \
650 return rval; \
651 } \
652 bool base_##CBNAME(size_t a) { \
653 return PCLASS::CBNAME(a); \
654 }
655
656
657#define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
658 wxString CBNAME(int a) { \
659 bool found; \
4f89f6a3 660 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
661 wxString rval; \
662 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
663 PyObject* ro; \
664 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
665 if (ro) { \
666 rval = Py2wxString(ro); \
667 Py_DECREF(ro); \
668 } \
669 } \
4f89f6a3 670 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
671 if (! found) \
672 rval = PCLASS::CBNAME(a); \
673 return rval; \
674 } \
675 wxString base_##CBNAME(int a) { \
676 return PCLASS::CBNAME(a); \
677 }
678
679
680#define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
681 void CBNAME(int a, const wxString& c) { \
682 bool found; \
4f89f6a3 683 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
684 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
685 PyObject* s = wx2PyString(c); \
686 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
687 Py_DECREF(s); \
688 } \
4f89f6a3 689 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
690 if (! found) \
691 PCLASS::CBNAME(a,c); \
692 } \
693 void base_##CBNAME(int a, const wxString& c) { \
694 PCLASS::CBNAME(a,c); \
695 }
696
697
698
699
700#define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
701 bool CBNAME() { \
702 bool rval = 0; \
703 bool found; \
4f89f6a3 704 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
705 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
706 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
4f89f6a3 707 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
708 if (! found) \
709 rval = PCLASS::CBNAME(); \
710 return rval; \
711 } \
712 bool base_##CBNAME() { \
713 return PCLASS::CBNAME(); \
714 }
715
716
717
718#define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
719 void CBNAME(size_t a, int b) { \
720 bool found; \
4f89f6a3 721 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
722 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
723 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 724 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
725 if (! found) \
726 PCLASS::CBNAME(a,b); \
727 } \
728 void base_##CBNAME(size_t a, int b) { \
729 PCLASS::CBNAME(a,b); \
730 }
731
732
733
734
735#define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
736 void CBNAME(int a, int b, long c) { \
737 bool found; \
4f89f6a3 738 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
739 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
740 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
4f89f6a3 741 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
742 if (! found) \
743 PCLASS::CBNAME(a,b,c); \
744 } \
745 void base_##CBNAME(int a, int b, long c) { \
746 PCLASS::CBNAME(a,b,c); \
747 }
748
749
750
751
752#define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
753 void CBNAME(int a, int b, double c) { \
754 bool found; \
4f89f6a3 755 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
756 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
757 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
4f89f6a3 758 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
759 if (! found) \
760 PCLASS::CBNAME(a,b,c); \
761 } \
762 void base_##CBNAME(int a, int b, double c) { \
763 PCLASS::CBNAME(a,b,c); \
764 }
765
766
767
768#define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
769 void CBNAME(int a, int b, bool c) { \
770 bool found; \
4f89f6a3 771 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
772 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
773 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
4f89f6a3 774 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
775 if (! found) \
776 PCLASS::CBNAME(a,b,c); \
777 } \
778 void base_##CBNAME(int a, int b, bool c) { \
779 PCLASS::CBNAME(a,b,c); \
780 }
781
782
783
784
785
15afbcd0
RD
786
787SWIGSTATICINLINE(PyObject *)
788SWIG_FromCharPtr(const char* cptr)
789{
15afbcd0 790 if (cptr) {
c32bde28 791 size_t size = strlen(cptr);
15afbcd0 792 if (size > INT_MAX) {
c32bde28 793 return SWIG_NewPointerObj(swig_const_cast(cptr,char*),
15afbcd0
RD
794 SWIG_TypeQuery("char *"), 0);
795 } else {
c32bde28
RD
796 if (size != 0) {
797 return PyString_FromStringAndSize(cptr, size);
798 } else {
799 return PyString_FromString(cptr);
800 }
15afbcd0 801 }
15afbcd0 802 }
c32bde28
RD
803 Py_INCREF(Py_None);
804 return Py_None;
15afbcd0
RD
805}
806
b0f7404b
RD
807
808#define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
809#define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
810#define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
811#define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
812#define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
813#define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
814#define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
815#define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
816#define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
817#define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
818
d14a1e28 819void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject *_self){
b0f7404b
RD
820 if (!self->GetClientObject())
821 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
822 }
823
15afbcd0
RD
824#include <limits.h>
825
826
c32bde28
RD
827SWIGSTATICINLINE(int)
828 SWIG_CheckLongInRange(long value, long min_value, long max_value,
829 const char *errmsg)
15afbcd0 830{
c32bde28
RD
831 if (value < min_value) {
832 if (errmsg) {
833 PyErr_Format(PyExc_OverflowError,
834 "value %ld is less than '%s' minimum %ld",
835 value, errmsg, min_value);
836 }
837 return 0;
838 } else if (value > max_value) {
839 if (errmsg) {
840 PyErr_Format(PyExc_OverflowError,
841 "value %ld is greater than '%s' maximum %ld",
842 value, errmsg, max_value);
15afbcd0 843 }
c32bde28 844 return 0;
15afbcd0 845 }
c32bde28 846 return 1;
15afbcd0
RD
847}
848
849
c32bde28
RD
850// See my_fragments.i
851SWIGSTATICINLINE(int)
852SWIG_AsVal_long(PyObject* obj, long* val)
15afbcd0 853{
c32bde28
RD
854 if (PyNumber_Check(obj)) {
855 if (val) *val = PyInt_AsLong(obj);
856 return 1;
857 }
69223c70
RD
858 else {
859 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
860 obj->ob_type->tp_name);
861 PyErr_SetObject(PyExc_TypeError, errmsg);
862 Py_DECREF(errmsg);
69223c70 863 }
c32bde28 864 return 0;
15afbcd0
RD
865}
866
867
868#if INT_MAX != LONG_MAX
869SWIGSTATICINLINE(int)
c32bde28 870 SWIG_AsVal_int(PyObject *obj, int *val)
994141e6 871{
c32bde28
RD
872 const char* errmsg = val ? "int" : 0;
873 long v;
874 if (SWIG_AsVal_long(obj, &v)) {
875 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
876 if (val) *val = swig_numeric_cast(v, int);
877 return 1;
878 } else {
879 return 0;
880 }
881 } else {
882 PyErr_Clear();
883 }
884 if (val) {
885 PyErr_SetString(PyExc_TypeError, "an int is expected");
886 }
887 return 0;
994141e6 888}
15afbcd0 889#else
c32bde28
RD
890SWIGSTATICINLINE(int)
891 SWIG_AsVal_int(PyObject *obj, int *val)
892{
893 return SWIG_AsVal_long(obj,(long*)val);
894}
15afbcd0 895#endif
994141e6
RD
896
897
c32bde28
RD
898SWIGSTATICINLINE(int)
899SWIG_As_int(PyObject* obj)
994141e6 900{
c32bde28
RD
901 int v;
902 if (!SWIG_AsVal_int(obj, &v)) {
903 /*
904 this is needed to make valgrind/purify happier. the other
905 solution is throw an exception, but since this code should work
906 with plain C ....
907 */
908 memset((void*)&v, 0, sizeof(int));
909 }
910 return v;
994141e6
RD
911}
912
913
15afbcd0 914SWIGSTATICINLINE(int)
c32bde28 915 SWIG_AsVal_bool(PyObject *obj, bool *val)
15afbcd0 916{
c32bde28
RD
917 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
918 if (obj == Py_True) {
919 if (val) *val = true;
920 return 1;
921 }
922 if (obj == Py_False) {
923 if (val) *val = false;
924 return 1;
925 }
926 int res = 0;
927 if (SWIG_AsVal_int(obj, &res)) {
928 if (val) *val = (bool)res;
15afbcd0
RD
929 return 1;
930 }
c32bde28
RD
931 if (val) {
932 PyErr_SetString(PyExc_TypeError, "a bool is expected");
933 }
934 return 0;
15afbcd0
RD
935}
936
937
c32bde28
RD
938SWIGSTATICINLINE(bool)
939SWIG_As_bool(PyObject* obj)
15afbcd0 940{
c32bde28
RD
941 bool v;
942 if (!SWIG_AsVal_bool(obj, &v)) {
943 /*
944 this is needed to make valgrind/purify happier. the other
945 solution is throw an exception, but since this code should work
946 with plain C ....
947 */
948 memset((void*)&v, 0, sizeof(bool));
15afbcd0 949 }
c32bde28
RD
950 return v;
951}
952
953
954SWIGSTATICINLINE(int)
955SWIG_Check_int(PyObject* obj)
956{
957 return SWIG_AsVal_int(obj, (int*)0);
958}
959
960
961SWIGSTATICINLINE(int)
962SWIG_Check_bool(PyObject* obj)
963{
964 return SWIG_AsVal_bool(obj, (bool*)0);
15afbcd0
RD
965}
966
967
d14a1e28
RD
968class wxPyGridCellRenderer : public wxGridCellRenderer
969{
970public:
971 wxPyGridCellRenderer() : wxGridCellRenderer() {};
972
973 // Implement Python callback aware virtual methods
974 void Draw(wxGrid& grid, wxGridCellAttr& attr,
975 wxDC& dc, const wxRect& rect,
976 int row, int col, bool isSelected) {
4f89f6a3 977 bool blocked = wxPyBeginBlockThreads();
d14a1e28 978 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
412d302d
RD
979 PyObject* go = wxPyMake_wxObject(&grid,false);
980 PyObject* dco = wxPyMake_wxObject(&dc,false);
981 PyObject* ao = wxPyMake_wxGridCellAttr(&attr,false);
d14a1e28
RD
982 PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
983
984 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro,
985 row, col, isSelected));
986 Py_DECREF(go);
987 Py_DECREF(ao);
988 Py_DECREF(dco);
989 Py_DECREF(ro);
990 }
4f89f6a3 991 wxPyEndBlockThreads(blocked);
d14a1e28
RD
992 }
993
994 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
995 int row, int col) {
996 wxSize rval;
4f89f6a3 997 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
998 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
999 PyObject* ro;
1000 wxSize* ptr;
412d302d
RD
1001 PyObject* go = wxPyMake_wxObject(&grid,false);
1002 PyObject* dco = wxPyMake_wxObject(&dc,false);
1003 PyObject* ao = wxPyMake_wxGridCellAttr(&attr,false);
d14a1e28
RD
1004
1005 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)",
1006 go, ao, dco,
1007 row, col));
1008 Py_DECREF(go);
1009 Py_DECREF(ao);
1010 Py_DECREF(dco);
1011
1012 if (ro) {
1013 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
1014 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxSize"))) {
1015 rval = *ptr;
1016 }
1017 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
1018 PyObject* o1 = PySequence_GetItem(ro, 0);
1019 PyObject* o2 = PySequence_GetItem(ro, 1);
1020 if (PyNumber_Check(o1) && PyNumber_Check(o2))
1021 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
1022 else
1023 PyErr_SetString(PyExc_TypeError, errmsg);
1024 Py_DECREF(o1);
1025 Py_DECREF(o2);
1026 }
1027 else {
1028 PyErr_SetString(PyExc_TypeError, errmsg);
1029 }
1030 Py_DECREF(ro);
1031 }
1032 }
4f89f6a3 1033 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1034 return rval;
1035 }
1036
1037
1038 wxGridCellRenderer *Clone() const {
1039 wxGridCellRenderer* rval = NULL;
4f89f6a3 1040 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1041 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
1042 PyObject* ro;
1043 wxGridCellRenderer* ptr;
1044 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1045 if (ro) {
1046 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellRenderer")))
1047 rval = ptr;
1048 Py_DECREF(ro);
1049 }
1050 }
4f89f6a3 1051 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1052 return rval;
1053 }
1054
1055 DEC_PYCALLBACK__STRING(SetParameters);
1056
1057 PYPRIVATE;
1058};
1059
1060IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
1061
1062
1063void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject *_self){
b0f7404b
RD
1064 if (!self->GetClientObject())
1065 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
1066 }
1067
1068class wxPyGridCellEditor : public wxGridCellEditor
1069{
1070public:
1071 wxPyGridCellEditor() : wxGridCellEditor() {}
1072
1073 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
4f89f6a3 1074 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1075 if (wxPyCBH_findCallback(m_myInst, "Create")) {
412d302d
RD
1076 PyObject* po = wxPyMake_wxObject(parent,false);
1077 PyObject* eo = wxPyMake_wxObject(evtHandler,false);
d14a1e28
RD
1078
1079 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo));
1080 Py_DECREF(po);
1081 Py_DECREF(eo);
1082 }
4f89f6a3 1083 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1084 }
1085
1086
1087 void BeginEdit(int row, int col, wxGrid* grid) {
4f89f6a3 1088 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1089 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
412d302d 1090 PyObject* go = wxPyMake_wxObject(grid,false);
d14a1e28
RD
1091 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
1092 Py_DECREF(go);
1093 }
4f89f6a3 1094 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1095 }
1096
1097
1098 bool EndEdit(int row, int col, wxGrid* grid) {
ae8162c8 1099 bool rv = false;
4f89f6a3 1100 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1101 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
412d302d 1102 PyObject* go = wxPyMake_wxObject(grid,false);
d14a1e28
RD
1103 rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
1104 Py_DECREF(go);
1105 }
4f89f6a3 1106 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1107 return rv;
1108 }
1109
1110
1111 wxGridCellEditor* Clone() const {
1112 wxGridCellEditor* rval = NULL;
4f89f6a3 1113 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1114 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
1115 PyObject* ro;
1116 wxGridCellEditor* ptr;
1117 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1118 if (ro) {
1119 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellEditor")))
1120 rval = ptr;
1121 Py_DECREF(ro);
1122 }
1123 }
4f89f6a3 1124 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1125 return rval;
1126 }
1127
1128
1129 void Show(bool show, wxGridCellAttr *attr) {
1130 bool found;
4f89f6a3 1131 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1132 if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) {
412d302d 1133 PyObject* ao = wxPyMake_wxGridCellAttr(attr,false);
d14a1e28
RD
1134 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao));
1135 Py_DECREF(ao);
1136 }
4f89f6a3 1137 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1138 if (! found)
1139 wxGridCellEditor::Show(show, attr);
1140 }
1141 void base_Show(bool show, wxGridCellAttr *attr) {
1142 wxGridCellEditor::Show(show, attr);
1143 }
1144
1145
1146 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1147 bool found;
4f89f6a3 1148 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1149 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) {
412d302d 1150 PyObject* ao = wxPyMake_wxGridCellAttr(attr,false);
d14a1e28
RD
1151 PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
1152
1153 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao));
1154
1155 Py_DECREF(ro);
1156 Py_DECREF(ao);
1157 }
4f89f6a3 1158 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1159 if (! found)
1160 wxGridCellEditor::PaintBackground(rectCell, attr);
1161 }
1162 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1163 wxGridCellEditor::PaintBackground(rectCell, attr);
1164 }
1165
1166
1167 DEC_PYCALLBACK___pure(Reset);
1168 DEC_PYCALLBACK__constany(SetSize, wxRect);
1169 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
1170 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
1171 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
1172 DEC_PYCALLBACK__(StartingClick);
1173 DEC_PYCALLBACK__(Destroy);
1174 DEC_PYCALLBACK__STRING(SetParameters);
1175 DEC_PYCALLBACK_STRING__constpure(GetValue);
1176
1177 PYPRIVATE;
1178};
1179
1180
1181IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
1182IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
1183IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
1184IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
1185IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
1186IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
1187IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
1188IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
1189IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue);
1190
1191
1192void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject *_self){
b0f7404b
RD
1193 if (!self->GetClientObject())
1194 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
1195 }
1196
c32bde28 1197 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d14a1e28
RD
1198 PyObject* o2;
1199 PyObject* o3;
c32bde28 1200
d14a1e28
RD
1201 if (!target) {
1202 target = o;
1203 } else if (target == Py_None) {
1204 Py_DECREF(Py_None);
1205 target = o;
7e63a440
RD
1206 } else {
1207 if (!PyTuple_Check(target)) {
1208 o2 = target;
1209 target = PyTuple_New(1);
1210 PyTuple_SetItem(target, 0, o2);
1211 }
d14a1e28
RD
1212 o3 = PyTuple_New(1);
1213 PyTuple_SetItem(o3, 0, o);
1214
1215 o2 = target;
1216 target = PySequence_Concat(o2, o3);
1217 Py_DECREF(o2);
1218 Py_DECREF(o3);
1219 }
1220 return target;
7e63a440 1221 }
d14a1e28 1222
c32bde28 1223
d14a1e28 1224void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject *_self){
b0f7404b
RD
1225 if (!self->GetClientObject())
1226 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
1227 }
1228
c32bde28
RD
1229// See my_fragments.i
1230SWIGSTATICINLINE(int)
1231SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
15afbcd0 1232{
c32bde28
RD
1233 long v = 0;
1234 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1235 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
1236 return 0;
15afbcd0 1237 }
c32bde28
RD
1238 else if (val)
1239 *val = (unsigned long)v;
1240 return 1;
15afbcd0
RD
1241}
1242
1243
c32bde28
RD
1244SWIGSTATICINLINE(unsigned long)
1245SWIG_As_unsigned_SS_long(PyObject* obj)
15afbcd0 1246{
c32bde28
RD
1247 unsigned long v;
1248 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1249 /*
1250 this is needed to make valgrind/purify happier. the other
1251 solution is throw an exception, but since this code should work
1252 with plain C ....
1253 */
1254 memset((void*)&v, 0, sizeof(unsigned long));
15afbcd0 1255 }
c32bde28
RD
1256 return v;
1257}
1258
1259
1260SWIGSTATICINLINE(int)
1261SWIG_Check_unsigned_SS_long(PyObject* obj)
1262{
1263 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
15afbcd0
RD
1264}
1265
1266
d14a1e28
RD
1267class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
1268{
1269public:
1270 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1271
1272 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
1273 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
1274 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
1275 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
1276
1277 PYPRIVATE;
1278};
1279
1280void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject *_self){
b0f7404b
RD
1281 if (!self->GetClientObject())
1282 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
1283 }
1284
c32bde28
RD
1285SWIGSTATICINLINE(long)
1286SWIG_As_long(PyObject* obj)
994141e6 1287{
c32bde28
RD
1288 long v;
1289 if (!SWIG_AsVal_long(obj, &v)) {
1290 /*
1291 this is needed to make valgrind/purify happier. the other
1292 solution is throw an exception, but since this code should work
1293 with plain C ....
1294 */
1295 memset((void*)&v, 0, sizeof(long));
15afbcd0 1296 }
c32bde28 1297 return v;
994141e6
RD
1298}
1299
c32bde28
RD
1300
1301SWIGSTATICINLINE(int)
1302SWIG_Check_long(PyObject* obj)
1303{
1304 return SWIG_AsVal_long(obj, (long*)0);
1305}
994141e6 1306
c32bde28
RD
1307
1308// See my_fragments.i
1309SWIGSTATICINLINE(int)
1310SWIG_AsVal_double(PyObject *obj, double* val)
994141e6 1311{
c32bde28
RD
1312 if (PyNumber_Check(obj)) {
1313 if (val) *val = PyFloat_AsDouble(obj);
1314 return 1;
1315 }
69223c70
RD
1316 else {
1317 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1318 obj->ob_type->tp_name);
1319 PyErr_SetObject(PyExc_TypeError, errmsg);
1320 Py_DECREF(errmsg);
69223c70 1321 }
c32bde28 1322 return 0;
15afbcd0
RD
1323}
1324
1325
c32bde28
RD
1326SWIGSTATICINLINE(double)
1327SWIG_As_double(PyObject* obj)
15afbcd0 1328{
c32bde28
RD
1329 double v;
1330 if (!SWIG_AsVal_double(obj, &v)) {
1331 /*
1332 this is needed to make valgrind/purify happier. the other
1333 solution is throw an exception, but since this code should work
1334 with plain C ....
1335 */
1336 memset((void*)&v, 0, sizeof(double));
15afbcd0 1337 }
c32bde28
RD
1338 return v;
1339}
1340
1341
1342SWIGSTATICINLINE(int)
1343SWIG_Check_double(PyObject* obj)
1344{
1345 return SWIG_AsVal_double(obj, (double*)0);
994141e6
RD
1346}
1347
1348
d14a1e28
RD
1349class wxPyGridTableBase : public wxGridTableBase
1350{
1351public:
1352 wxPyGridTableBase() : wxGridTableBase() {}
1353
1354 PYCALLBACK_INT__pure(GetNumberRows);
1355 PYCALLBACK_INT__pure(GetNumberCols);
1356 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
1357 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
1358 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
1359 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
1360 PYCALLBACK__(wxGridTableBase, Clear);
1361 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
1362 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
1363 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
1364 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
1365 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
1366 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
1367 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
1368 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
1369 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
1370 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
1371 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
1372 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
1373 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
1374 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
1375 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
1376
1377
1378 wxString GetValue(int row, int col) {
4f89f6a3 1379 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1380 wxString rval;
1381 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1382 PyObject* ro;
1383 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
1384 if (ro) {
f8167d6e
RD
1385 if (!PyString_Check(ro) && !PyUnicode_Check(ro)) {
1386 PyObject* old = ro;
1387 ro = PyObject_Str(ro);
1388 Py_DECREF(old);
1389 }
d14a1e28
RD
1390 rval = Py2wxString(ro);
1391 Py_DECREF(ro);
1392 }
1393 }
4f89f6a3 1394 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1395 return rval;
1396 }
1397
1398 void SetValue(int row, int col, const wxString& val) {
4f89f6a3 1399 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1400 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1401 PyObject* s = wx2PyString(val);
1402 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s));
1403 Py_DECREF(s);
1404 }
4f89f6a3 1405 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1406 }
1407
1408
1409 // Map the Get/Set methods for the standard non-string types to
1410 // the GetValue and SetValue python methods.
1411 long GetValueAsLong( int row, int col ) {
1412 long rval = 0;
4f89f6a3 1413 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1414 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1415 PyObject* ro;
1416 PyObject* num;
1417 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1418 if (ro && PyNumber_Check(ro)) {
1419 num = PyNumber_Int(ro);
1420 if (num) {
1421 rval = PyInt_AsLong(num);
1422 Py_DECREF(num);
1423 }
1424 Py_DECREF(ro);
1425 }
1426 }
4f89f6a3 1427 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1428 return rval;
1429 }
1430
1431 double GetValueAsDouble( int row, int col ) {
1432 double rval = 0.0;
4f89f6a3 1433 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1434 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1435 PyObject* ro;
1436 PyObject* num;
1437 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1438 if (ro && PyNumber_Check(ro)) {
1439 num = PyNumber_Float(ro);
1440 if (num) {
1441 rval = PyFloat_AsDouble(num);
1442 Py_DECREF(num);
1443 }
1444 Py_DECREF(ro);
1445 }
1446 }
4f89f6a3 1447 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1448 return rval;
1449 }
1450
1451 bool GetValueAsBool( int row, int col ) {
1452 return (bool)GetValueAsLong(row, col);
1453 }
1454
1455 void SetValueAsLong( int row, int col, long value ) {
4f89f6a3 1456 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1457 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1458 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
1459 }
4f89f6a3 1460 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1461 }
1462
1463 void SetValueAsDouble( int row, int col, double value ) {
4f89f6a3 1464 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1465 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1466 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
1467 }
4f89f6a3 1468 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1469 }
1470
1471 void SetValueAsBool( int row, int col, bool value ) {
1472 SetValueAsLong( row, col, (long)value );
1473 }
1474
1475
1476 PYPRIVATE;
1477};
1478
1479void wxPyGridTableBase_Destroy(wxPyGridTableBase *self){ delete self; }
d14a1e28
RD
1480
1481bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
1482
22faec7d
RD
1483 if (source == Py_None) {
1484 **obj = wxGridCellCoords(-1,-1);
ae8162c8 1485 return true;
22faec7d
RD
1486 }
1487
d14a1e28
RD
1488 // If source is an object instance then it may already be the right type
1489 if (wxPySwigInstance_Check(source)) {
1490 wxGridCellCoords* ptr;
1491 if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1492 goto error;
1493 *obj = ptr;
ae8162c8 1494 return true;
d14a1e28
RD
1495 }
1496 // otherwise a 2-tuple of integers is expected
1497 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
1498 PyObject* o1 = PySequence_GetItem(source, 0);
1499 PyObject* o2 = PySequence_GetItem(source, 1);
1500 if (!PyNumber_Check(o1) || !PyNumber_Check(o2)) {
1501 Py_DECREF(o1);
1502 Py_DECREF(o2);
1503 goto error;
1504 }
1505 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
1506 Py_DECREF(o1);
1507 Py_DECREF(o2);
ae8162c8 1508 return true;
d14a1e28
RD
1509 }
1510
1511 error:
1512 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
ae8162c8 1513 return false;
d14a1e28
RD
1514}
1515
1516
1517bool wxGridCellCoords_typecheck(PyObject* source) {
1518 void* ptr;
f8167d6e 1519
d14a1e28
RD
1520 if (wxPySwigInstance_Check(source) &&
1521 wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
ae8162c8 1522 return true;
d14a1e28
RD
1523
1524 PyErr_Clear();
1525 if (PySequence_Check(source) && PySequence_Length(source) == 2)
ae8162c8 1526 return true;
f8167d6e 1527
ae8162c8 1528 return false;
d14a1e28
RD
1529}
1530
1531
1532PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray& source)
1533{
1534 PyObject* list = PyList_New(0);
1535 size_t idx;
1536 for (idx = 0; idx < source.GetCount(); idx += 1) {
1537 wxGridCellCoords& coord = source.Item(idx);
1538 PyObject* tup = PyTuple_New(2);
1539 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow()));
1540 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol()));
1541 PyList_Append(list, tup);
1542 Py_DECREF(tup);
1543 }
1544 return list;
1545}
1546
41e2b43e 1547PyObject *wxGridCellCoords_Get(wxGridCellCoords *self){
22faec7d
RD
1548 PyObject* tup = PyTuple_New(2);
1549 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1550 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1551 return tup;
1552 }
d14a1e28
RD
1553
1554typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
1555
c32bde28 1556
d14a1e28
RD
1557wxGridCellCoords wxGrid_XYToCell(wxGrid *self,int x,int y){
1558 wxGridCellCoords rv;
1559 self->XYToCell(x, y, rv);
1560 return rv;
1561 }
1562#ifdef __cplusplus
1563extern "C" {
1564#endif
c32bde28 1565static int _wrap_DateTimeFormatStr_set(PyObject *) {
b2dc1044
RD
1566 PyErr_SetString(PyExc_TypeError,"Variable DateTimeFormatStr is read-only.");
1567 return 1;
1568}
1569
1570
1571static PyObject *_wrap_DateTimeFormatStr_get() {
1572 PyObject *pyobj;
1573
1574 {
1575#if wxUSE_UNICODE
1576 pyobj = PyUnicode_FromWideChar((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1577#else
1578 pyobj = PyString_FromStringAndSize((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1579#endif
1580 }
1581 return pyobj;
1582}
1583
1584
c32bde28 1585static int _wrap_GridNoCellCoords_set(PyObject *) {
d14a1e28
RD
1586 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellCoords is read-only.");
1587 return 1;
1588}
1589
1590
1591static PyObject *_wrap_GridNoCellCoords_get() {
1592 PyObject *pyobj;
1593
15afbcd0 1594 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellCoords), SWIGTYPE_p_wxGridCellCoords, 0);
d14a1e28
RD
1595 return pyobj;
1596}
1597
1598
c32bde28 1599static int _wrap_GridNoCellRect_set(PyObject *) {
d14a1e28
RD
1600 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellRect is read-only.");
1601 return 1;
1602}
1603
1604
1605static PyObject *_wrap_GridNoCellRect_get() {
1606 PyObject *pyobj;
1607
15afbcd0 1608 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellRect), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
1609 return pyobj;
1610}
1611
1612
c32bde28 1613static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1614 PyObject *resultobj;
1615 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1616 PyObject *arg2 = (PyObject *) 0 ;
1617 PyObject * obj0 = 0 ;
1618 PyObject * obj1 = 0 ;
1619 char *kwnames[] = {
1620 (char *) "self",(char *) "_self", NULL
1621 };
1622
1623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1626 arg2 = obj1;
1627 {
1628 PyThreadState* __tstate = wxPyBeginAllowThreads();
1629 wxGridCellRenderer__setOORInfo(arg1,arg2);
1630
1631 wxPyEndAllowThreads(__tstate);
1632 if (PyErr_Occurred()) SWIG_fail;
1633 }
1634 Py_INCREF(Py_None); resultobj = Py_None;
1635 return resultobj;
1636 fail:
1637 return NULL;
1638}
1639
1640
c32bde28 1641static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1642 PyObject *resultobj;
1643 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1644 wxString *arg2 = 0 ;
ae8162c8 1645 bool temp2 = false ;
d14a1e28
RD
1646 PyObject * obj0 = 0 ;
1647 PyObject * obj1 = 0 ;
1648 char *kwnames[] = {
1649 (char *) "self",(char *) "params", NULL
1650 };
1651
1652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1655 {
1656 arg2 = wxString_in_helper(obj1);
1657 if (arg2 == NULL) SWIG_fail;
ae8162c8 1658 temp2 = true;
d14a1e28
RD
1659 }
1660 {
1661 PyThreadState* __tstate = wxPyBeginAllowThreads();
1662 (arg1)->SetParameters((wxString const &)*arg2);
1663
1664 wxPyEndAllowThreads(__tstate);
1665 if (PyErr_Occurred()) SWIG_fail;
1666 }
1667 Py_INCREF(Py_None); resultobj = Py_None;
1668 {
1669 if (temp2)
1670 delete arg2;
1671 }
1672 return resultobj;
1673 fail:
1674 {
1675 if (temp2)
1676 delete arg2;
1677 }
1678 return NULL;
1679}
1680
1681
c32bde28 1682static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1683 PyObject *resultobj;
1684 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1685 PyObject * obj0 = 0 ;
1686 char *kwnames[] = {
1687 (char *) "self", NULL
1688 };
1689
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_IncRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
1691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1693 {
1694 PyThreadState* __tstate = wxPyBeginAllowThreads();
1695 (arg1)->IncRef();
1696
1697 wxPyEndAllowThreads(__tstate);
1698 if (PyErr_Occurred()) SWIG_fail;
1699 }
1700 Py_INCREF(Py_None); resultobj = Py_None;
1701 return resultobj;
1702 fail:
1703 return NULL;
1704}
1705
1706
c32bde28 1707static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1708 PyObject *resultobj;
1709 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1710 PyObject * obj0 = 0 ;
1711 char *kwnames[] = {
1712 (char *) "self", NULL
1713 };
1714
1715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_DecRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
1716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1718 {
1719 PyThreadState* __tstate = wxPyBeginAllowThreads();
1720 (arg1)->DecRef();
1721
1722 wxPyEndAllowThreads(__tstate);
1723 if (PyErr_Occurred()) SWIG_fail;
1724 }
1725 Py_INCREF(Py_None); resultobj = Py_None;
1726 return resultobj;
1727 fail:
1728 return NULL;
1729}
1730
1731
c32bde28 1732static PyObject *_wrap_GridCellRenderer_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1733 PyObject *resultobj;
1734 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1735 wxGrid *arg2 = 0 ;
1736 wxGridCellAttr *arg3 = 0 ;
1737 wxDC *arg4 = 0 ;
1738 wxRect *arg5 = 0 ;
1739 int arg6 ;
1740 int arg7 ;
1741 bool arg8 ;
1742 wxRect temp5 ;
1743 PyObject * obj0 = 0 ;
1744 PyObject * obj1 = 0 ;
1745 PyObject * obj2 = 0 ;
1746 PyObject * obj3 = 0 ;
1747 PyObject * obj4 = 0 ;
994141e6
RD
1748 PyObject * obj5 = 0 ;
1749 PyObject * obj6 = 0 ;
d14a1e28
RD
1750 PyObject * obj7 = 0 ;
1751 char *kwnames[] = {
1752 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1753 };
1754
994141e6 1755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1758 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1759 SWIG_POINTER_EXCEPTION | 0)) == -1)
1760 SWIG_fail;
d14a1e28 1761 if (arg2 == NULL) {
15afbcd0
RD
1762 PyErr_SetString(PyExc_TypeError,"null reference");
1763 SWIG_fail;
d14a1e28 1764 }
15afbcd0
RD
1765 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1766 SWIG_POINTER_EXCEPTION | 0)) == -1)
1767 SWIG_fail;
d14a1e28 1768 if (arg3 == NULL) {
15afbcd0
RD
1769 PyErr_SetString(PyExc_TypeError,"null reference");
1770 SWIG_fail;
d14a1e28 1771 }
15afbcd0
RD
1772 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1773 SWIG_POINTER_EXCEPTION | 0)) == -1)
1774 SWIG_fail;
d14a1e28 1775 if (arg4 == NULL) {
15afbcd0
RD
1776 PyErr_SetString(PyExc_TypeError,"null reference");
1777 SWIG_fail;
d14a1e28
RD
1778 }
1779 {
1780 arg5 = &temp5;
1781 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
1782 }
c32bde28 1783 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 1784 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1785 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 1786 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1787 arg8 = (bool)SWIG_As_bool(obj7);
15afbcd0 1788 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1789 {
1790 PyThreadState* __tstate = wxPyBeginAllowThreads();
1791 (arg1)->Draw(*arg2,*arg3,*arg4,(wxRect const &)*arg5,arg6,arg7,arg8);
1792
1793 wxPyEndAllowThreads(__tstate);
1794 if (PyErr_Occurred()) SWIG_fail;
1795 }
1796 Py_INCREF(Py_None); resultobj = Py_None;
1797 return resultobj;
1798 fail:
1799 return NULL;
1800}
1801
1802
c32bde28 1803static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1804 PyObject *resultobj;
1805 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1806 wxGrid *arg2 = 0 ;
1807 wxGridCellAttr *arg3 = 0 ;
1808 wxDC *arg4 = 0 ;
1809 int arg5 ;
1810 int arg6 ;
1811 wxSize result;
1812 PyObject * obj0 = 0 ;
1813 PyObject * obj1 = 0 ;
1814 PyObject * obj2 = 0 ;
1815 PyObject * obj3 = 0 ;
994141e6
RD
1816 PyObject * obj4 = 0 ;
1817 PyObject * obj5 = 0 ;
d14a1e28
RD
1818 char *kwnames[] = {
1819 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1820 };
1821
994141e6 1822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
1823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1825 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1826 SWIG_POINTER_EXCEPTION | 0)) == -1)
1827 SWIG_fail;
d14a1e28 1828 if (arg2 == NULL) {
15afbcd0
RD
1829 PyErr_SetString(PyExc_TypeError,"null reference");
1830 SWIG_fail;
d14a1e28 1831 }
15afbcd0
RD
1832 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1833 SWIG_POINTER_EXCEPTION | 0)) == -1)
1834 SWIG_fail;
d14a1e28 1835 if (arg3 == NULL) {
15afbcd0
RD
1836 PyErr_SetString(PyExc_TypeError,"null reference");
1837 SWIG_fail;
d14a1e28 1838 }
15afbcd0
RD
1839 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1840 SWIG_POINTER_EXCEPTION | 0)) == -1)
1841 SWIG_fail;
d14a1e28 1842 if (arg4 == NULL) {
15afbcd0
RD
1843 PyErr_SetString(PyExc_TypeError,"null reference");
1844 SWIG_fail;
994141e6 1845 }
c32bde28 1846 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 1847 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1848 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 1849 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1850 {
1851 PyThreadState* __tstate = wxPyBeginAllowThreads();
1852 result = (arg1)->GetBestSize(*arg2,*arg3,*arg4,arg5,arg6);
1853
1854 wxPyEndAllowThreads(__tstate);
1855 if (PyErr_Occurred()) SWIG_fail;
1856 }
1857 {
1858 wxSize * resultptr;
1859 resultptr = new wxSize((wxSize &) result);
15afbcd0 1860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1861 }
1862 return resultobj;
1863 fail:
1864 return NULL;
1865}
1866
1867
c32bde28 1868static PyObject *_wrap_GridCellRenderer_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1869 PyObject *resultobj;
1870 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1871 wxGridCellRenderer *result;
1872 PyObject * obj0 = 0 ;
1873 char *kwnames[] = {
1874 (char *) "self", NULL
1875 };
1876
1877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
1878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1880 {
1881 PyThreadState* __tstate = wxPyBeginAllowThreads();
1882 result = (wxGridCellRenderer *)((wxGridCellRenderer const *)arg1)->Clone();
1883
1884 wxPyEndAllowThreads(__tstate);
1885 if (PyErr_Occurred()) SWIG_fail;
1886 }
1887 {
412d302d 1888 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
d14a1e28
RD
1889 }
1890 return resultobj;
1891 fail:
1892 return NULL;
1893}
1894
1895
c32bde28 1896static PyObject * GridCellRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1897 PyObject *obj;
1898 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1899 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer, obj);
1900 Py_INCREF(obj);
1901 return Py_BuildValue((char *)"");
1902}
c32bde28 1903static PyObject *_wrap_new_PyGridCellRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1904 PyObject *resultobj;
1905 wxPyGridCellRenderer *result;
1906 char *kwnames[] = {
1907 NULL
1908 };
1909
1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellRenderer",kwnames)) goto fail;
1911 {
1912 PyThreadState* __tstate = wxPyBeginAllowThreads();
1913 result = (wxPyGridCellRenderer *)new wxPyGridCellRenderer();
1914
1915 wxPyEndAllowThreads(__tstate);
1916 if (PyErr_Occurred()) SWIG_fail;
1917 }
15afbcd0 1918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellRenderer, 1);
d14a1e28
RD
1919 return resultobj;
1920 fail:
1921 return NULL;
1922}
1923
1924
c32bde28 1925static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1926 PyObject *resultobj;
1927 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1928 PyObject *arg2 = (PyObject *) 0 ;
1929 PyObject *arg3 = (PyObject *) 0 ;
1930 PyObject * obj0 = 0 ;
1931 PyObject * obj1 = 0 ;
1932 PyObject * obj2 = 0 ;
1933 char *kwnames[] = {
1934 (char *) "self",(char *) "self",(char *) "_class", NULL
1935 };
1936
1937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1940 arg2 = obj1;
1941 arg3 = obj2;
1942 {
1943 PyThreadState* __tstate = wxPyBeginAllowThreads();
1944 (arg1)->_setCallbackInfo(arg2,arg3);
1945
1946 wxPyEndAllowThreads(__tstate);
1947 if (PyErr_Occurred()) SWIG_fail;
1948 }
1949 Py_INCREF(Py_None); resultobj = Py_None;
1950 return resultobj;
1951 fail:
1952 return NULL;
1953}
1954
1955
c32bde28 1956static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1957 PyObject *resultobj;
1958 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1959 wxString *arg2 = 0 ;
ae8162c8 1960 bool temp2 = false ;
d14a1e28
RD
1961 PyObject * obj0 = 0 ;
1962 PyObject * obj1 = 0 ;
1963 char *kwnames[] = {
1964 (char *) "self",(char *) "params", NULL
1965 };
1966
1967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1970 {
1971 arg2 = wxString_in_helper(obj1);
1972 if (arg2 == NULL) SWIG_fail;
ae8162c8 1973 temp2 = true;
d14a1e28
RD
1974 }
1975 {
1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
1977 (arg1)->base_SetParameters((wxString const &)*arg2);
1978
1979 wxPyEndAllowThreads(__tstate);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
1982 Py_INCREF(Py_None); resultobj = Py_None;
1983 {
1984 if (temp2)
1985 delete arg2;
1986 }
1987 return resultobj;
1988 fail:
1989 {
1990 if (temp2)
1991 delete arg2;
1992 }
1993 return NULL;
1994}
1995
1996
c32bde28 1997static PyObject * PyGridCellRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1998 PyObject *obj;
1999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2000 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer, obj);
2001 Py_INCREF(obj);
2002 return Py_BuildValue((char *)"");
2003}
c32bde28 2004static PyObject *_wrap_new_GridCellStringRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2005 PyObject *resultobj;
2006 wxGridCellStringRenderer *result;
2007 char *kwnames[] = {
2008 NULL
2009 };
2010
2011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellStringRenderer",kwnames)) goto fail;
2012 {
2013 PyThreadState* __tstate = wxPyBeginAllowThreads();
2014 result = (wxGridCellStringRenderer *)new wxGridCellStringRenderer();
2015
2016 wxPyEndAllowThreads(__tstate);
2017 if (PyErr_Occurred()) SWIG_fail;
2018 }
15afbcd0 2019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellStringRenderer, 1);
d14a1e28
RD
2020 return resultobj;
2021 fail:
2022 return NULL;
2023}
2024
2025
c32bde28 2026static PyObject * GridCellStringRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2027 PyObject *obj;
2028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2029 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer, obj);
2030 Py_INCREF(obj);
2031 return Py_BuildValue((char *)"");
2032}
c32bde28 2033static PyObject *_wrap_new_GridCellNumberRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2034 PyObject *resultobj;
2035 wxGridCellNumberRenderer *result;
2036 char *kwnames[] = {
2037 NULL
2038 };
2039
2040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellNumberRenderer",kwnames)) goto fail;
2041 {
2042 PyThreadState* __tstate = wxPyBeginAllowThreads();
2043 result = (wxGridCellNumberRenderer *)new wxGridCellNumberRenderer();
2044
2045 wxPyEndAllowThreads(__tstate);
2046 if (PyErr_Occurred()) SWIG_fail;
2047 }
15afbcd0 2048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberRenderer, 1);
d14a1e28
RD
2049 return resultobj;
2050 fail:
2051 return NULL;
2052}
2053
2054
c32bde28 2055static PyObject * GridCellNumberRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2056 PyObject *obj;
2057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2058 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer, obj);
2059 Py_INCREF(obj);
2060 return Py_BuildValue((char *)"");
2061}
c32bde28 2062static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2063 PyObject *resultobj;
2064 int arg1 = (int) -1 ;
2065 int arg2 = (int) -1 ;
2066 wxGridCellFloatRenderer *result;
994141e6
RD
2067 PyObject * obj0 = 0 ;
2068 PyObject * obj1 = 0 ;
d14a1e28
RD
2069 char *kwnames[] = {
2070 (char *) "width",(char *) "precision", NULL
2071 };
2072
994141e6
RD
2073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatRenderer",kwnames,&obj0,&obj1)) goto fail;
2074 if (obj0) {
c32bde28 2075 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 2076 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2077 }
2078 if (obj1) {
c32bde28 2079 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2080 if (PyErr_Occurred()) SWIG_fail;
994141e6 2081 }
d14a1e28
RD
2082 {
2083 PyThreadState* __tstate = wxPyBeginAllowThreads();
2084 result = (wxGridCellFloatRenderer *)new wxGridCellFloatRenderer(arg1,arg2);
2085
2086 wxPyEndAllowThreads(__tstate);
2087 if (PyErr_Occurred()) SWIG_fail;
2088 }
15afbcd0 2089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatRenderer, 1);
d14a1e28
RD
2090 return resultobj;
2091 fail:
2092 return NULL;
2093}
2094
2095
c32bde28 2096static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2097 PyObject *resultobj;
2098 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2099 int result;
2100 PyObject * obj0 = 0 ;
2101 char *kwnames[] = {
2102 (char *) "self", NULL
2103 };
2104
2105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2108 {
2109 PyThreadState* __tstate = wxPyBeginAllowThreads();
2110 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetWidth();
2111
2112 wxPyEndAllowThreads(__tstate);
2113 if (PyErr_Occurred()) SWIG_fail;
2114 }
c32bde28 2115 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2116 return resultobj;
2117 fail:
2118 return NULL;
2119}
2120
2121
c32bde28 2122static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2123 PyObject *resultobj;
2124 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2125 int arg2 ;
2126 PyObject * obj0 = 0 ;
994141e6 2127 PyObject * obj1 = 0 ;
d14a1e28
RD
2128 char *kwnames[] = {
2129 (char *) "self",(char *) "width", NULL
2130 };
2131
994141e6 2132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2135 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2136 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2137 {
2138 PyThreadState* __tstate = wxPyBeginAllowThreads();
2139 (arg1)->SetWidth(arg2);
2140
2141 wxPyEndAllowThreads(__tstate);
2142 if (PyErr_Occurred()) SWIG_fail;
2143 }
2144 Py_INCREF(Py_None); resultobj = Py_None;
2145 return resultobj;
2146 fail:
2147 return NULL;
2148}
2149
2150
c32bde28 2151static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2152 PyObject *resultobj;
2153 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2154 int result;
2155 PyObject * obj0 = 0 ;
2156 char *kwnames[] = {
2157 (char *) "self", NULL
2158 };
2159
2160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames,&obj0)) goto fail;
15afbcd0
RD
2161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2163 {
2164 PyThreadState* __tstate = wxPyBeginAllowThreads();
2165 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetPrecision();
2166
2167 wxPyEndAllowThreads(__tstate);
2168 if (PyErr_Occurred()) SWIG_fail;
2169 }
c32bde28 2170 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2171 return resultobj;
2172 fail:
2173 return NULL;
2174}
2175
2176
c32bde28 2177static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2178 PyObject *resultobj;
2179 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2180 int arg2 ;
2181 PyObject * obj0 = 0 ;
994141e6 2182 PyObject * obj1 = 0 ;
d14a1e28
RD
2183 char *kwnames[] = {
2184 (char *) "self",(char *) "precision", NULL
2185 };
2186
994141e6 2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2190 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2191 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2192 {
2193 PyThreadState* __tstate = wxPyBeginAllowThreads();
2194 (arg1)->SetPrecision(arg2);
2195
2196 wxPyEndAllowThreads(__tstate);
2197 if (PyErr_Occurred()) SWIG_fail;
2198 }
2199 Py_INCREF(Py_None); resultobj = Py_None;
2200 return resultobj;
2201 fail:
2202 return NULL;
2203}
2204
2205
c32bde28 2206static PyObject * GridCellFloatRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2207 PyObject *obj;
2208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2209 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer, obj);
2210 Py_INCREF(obj);
2211 return Py_BuildValue((char *)"");
2212}
c32bde28 2213static PyObject *_wrap_new_GridCellBoolRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2214 PyObject *resultobj;
2215 wxGridCellBoolRenderer *result;
2216 char *kwnames[] = {
2217 NULL
2218 };
2219
2220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolRenderer",kwnames)) goto fail;
2221 {
2222 PyThreadState* __tstate = wxPyBeginAllowThreads();
2223 result = (wxGridCellBoolRenderer *)new wxGridCellBoolRenderer();
2224
2225 wxPyEndAllowThreads(__tstate);
2226 if (PyErr_Occurred()) SWIG_fail;
2227 }
15afbcd0 2228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolRenderer, 1);
d14a1e28
RD
2229 return resultobj;
2230 fail:
2231 return NULL;
2232}
2233
2234
c32bde28 2235static PyObject * GridCellBoolRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2236 PyObject *obj;
2237 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2238 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer, obj);
2239 Py_INCREF(obj);
2240 return Py_BuildValue((char *)"");
2241}
c32bde28 2242static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2243 PyObject *resultobj;
2244 wxString arg1 = (wxString) wxPyDateTimeFormatStr ;
2245 wxString arg2 = (wxString) wxPyDateTimeFormatStr ;
2246 wxGridCellDateTimeRenderer *result;
d14a1e28
RD
2247 PyObject * obj0 = 0 ;
2248 PyObject * obj1 = 0 ;
2249 char *kwnames[] = {
2250 (char *) "outformat",(char *) "informat", NULL
2251 };
2252
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail;
2254 if (obj0) {
e811c8ce
RD
2255 {
2256 wxString* sptr = wxString_in_helper(obj0);
2257 if (sptr == NULL) SWIG_fail;
2258 arg1 = *sptr;
2259 delete sptr;
2260 }
d14a1e28
RD
2261 }
2262 if (obj1) {
e811c8ce
RD
2263 {
2264 wxString* sptr = wxString_in_helper(obj1);
2265 if (sptr == NULL) SWIG_fail;
2266 arg2 = *sptr;
2267 delete sptr;
2268 }
d14a1e28
RD
2269 }
2270 {
2271 PyThreadState* __tstate = wxPyBeginAllowThreads();
2272 result = (wxGridCellDateTimeRenderer *)new wxGridCellDateTimeRenderer(arg1,arg2);
2273
2274 wxPyEndAllowThreads(__tstate);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 }
15afbcd0 2277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellDateTimeRenderer, 1);
d14a1e28
RD
2278 return resultobj;
2279 fail:
2280 return NULL;
2281}
2282
2283
c32bde28 2284static PyObject * GridCellDateTimeRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2285 PyObject *obj;
2286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2287 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer, obj);
2288 Py_INCREF(obj);
2289 return Py_BuildValue((char *)"");
2290}
c32bde28 2291static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2292 PyObject *resultobj;
2293 wxString const &arg1_defvalue = wxPyEmptyString ;
2294 wxString *arg1 = (wxString *) &arg1_defvalue ;
2295 wxGridCellEnumRenderer *result;
ae8162c8 2296 bool temp1 = false ;
d14a1e28
RD
2297 PyObject * obj0 = 0 ;
2298 char *kwnames[] = {
2299 (char *) "choices", NULL
2300 };
2301
2302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumRenderer",kwnames,&obj0)) goto fail;
2303 if (obj0) {
2304 {
2305 arg1 = wxString_in_helper(obj0);
2306 if (arg1 == NULL) SWIG_fail;
ae8162c8 2307 temp1 = true;
d14a1e28
RD
2308 }
2309 }
2310 {
2311 PyThreadState* __tstate = wxPyBeginAllowThreads();
2312 result = (wxGridCellEnumRenderer *)new wxGridCellEnumRenderer((wxString const &)*arg1);
2313
2314 wxPyEndAllowThreads(__tstate);
2315 if (PyErr_Occurred()) SWIG_fail;
2316 }
15afbcd0 2317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumRenderer, 1);
d14a1e28
RD
2318 {
2319 if (temp1)
2320 delete arg1;
2321 }
2322 return resultobj;
2323 fail:
2324 {
2325 if (temp1)
2326 delete arg1;
2327 }
2328 return NULL;
2329}
2330
2331
c32bde28 2332static PyObject * GridCellEnumRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2333 PyObject *obj;
2334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2335 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer, obj);
2336 Py_INCREF(obj);
2337 return Py_BuildValue((char *)"");
2338}
c32bde28 2339static PyObject *_wrap_new_GridCellAutoWrapStringRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2340 PyObject *resultobj;
2341 wxGridCellAutoWrapStringRenderer *result;
2342 char *kwnames[] = {
2343 NULL
2344 };
2345
2346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringRenderer",kwnames)) goto fail;
2347 {
2348 PyThreadState* __tstate = wxPyBeginAllowThreads();
2349 result = (wxGridCellAutoWrapStringRenderer *)new wxGridCellAutoWrapStringRenderer();
2350
2351 wxPyEndAllowThreads(__tstate);
2352 if (PyErr_Occurred()) SWIG_fail;
2353 }
15afbcd0 2354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, 1);
d14a1e28
RD
2355 return resultobj;
2356 fail:
2357 return NULL;
2358}
2359
2360
c32bde28 2361static PyObject * GridCellAutoWrapStringRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2362 PyObject *obj;
2363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2364 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, obj);
2365 Py_INCREF(obj);
2366 return Py_BuildValue((char *)"");
2367}
c32bde28 2368static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2369 PyObject *resultobj;
2370 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2371 PyObject *arg2 = (PyObject *) 0 ;
2372 PyObject * obj0 = 0 ;
2373 PyObject * obj1 = 0 ;
2374 char *kwnames[] = {
2375 (char *) "self",(char *) "_self", NULL
2376 };
2377
2378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2381 arg2 = obj1;
2382 {
2383 PyThreadState* __tstate = wxPyBeginAllowThreads();
2384 wxGridCellEditor__setOORInfo(arg1,arg2);
2385
2386 wxPyEndAllowThreads(__tstate);
2387 if (PyErr_Occurred()) SWIG_fail;
2388 }
2389 Py_INCREF(Py_None); resultobj = Py_None;
2390 return resultobj;
2391 fail:
2392 return NULL;
2393}
2394
2395
c32bde28 2396static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2397 PyObject *resultobj;
2398 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2399 bool result;
2400 PyObject * obj0 = 0 ;
2401 char *kwnames[] = {
2402 (char *) "self", NULL
2403 };
2404
2405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IsCreated",kwnames,&obj0)) goto fail;
15afbcd0
RD
2406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2408 {
2409 PyThreadState* __tstate = wxPyBeginAllowThreads();
2410 result = (bool)(arg1)->IsCreated();
2411
2412 wxPyEndAllowThreads(__tstate);
2413 if (PyErr_Occurred()) SWIG_fail;
2414 }
4f89f6a3
RD
2415 {
2416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2417 }
d14a1e28
RD
2418 return resultobj;
2419 fail:
2420 return NULL;
2421}
2422
2423
c32bde28 2424static PyObject *_wrap_GridCellEditor_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2425 PyObject *resultobj;
2426 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2427 wxControl *result;
2428 PyObject * obj0 = 0 ;
2429 char *kwnames[] = {
2430 (char *) "self", NULL
2431 };
2432
2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
2434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2436 {
2437 PyThreadState* __tstate = wxPyBeginAllowThreads();
2438 result = (wxControl *)(arg1)->GetControl();
2439
2440 wxPyEndAllowThreads(__tstate);
2441 if (PyErr_Occurred()) SWIG_fail;
2442 }
2443 {
412d302d 2444 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2445 }
2446 return resultobj;
2447 fail:
2448 return NULL;
2449}
2450
2451
c32bde28 2452static PyObject *_wrap_GridCellEditor_SetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2453 PyObject *resultobj;
2454 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2455 wxControl *arg2 = (wxControl *) 0 ;
2456 PyObject * obj0 = 0 ;
2457 PyObject * obj1 = 0 ;
2458 char *kwnames[] = {
2459 (char *) "self",(char *) "control", NULL
2460 };
2461
2462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2465 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
2466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2467 {
2468 PyThreadState* __tstate = wxPyBeginAllowThreads();
2469 (arg1)->SetControl(arg2);
2470
2471 wxPyEndAllowThreads(__tstate);
2472 if (PyErr_Occurred()) SWIG_fail;
2473 }
2474 Py_INCREF(Py_None); resultobj = Py_None;
2475 return resultobj;
2476 fail:
2477 return NULL;
2478}
2479
2480
c32bde28 2481static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2482 PyObject *resultobj;
2483 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2484 wxGridCellAttr *result;
2485 PyObject * obj0 = 0 ;
2486 char *kwnames[] = {
2487 (char *) "self", NULL
2488 };
2489
2490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetCellAttr",kwnames,&obj0)) goto fail;
15afbcd0
RD
2491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2493 {
2494 PyThreadState* __tstate = wxPyBeginAllowThreads();
2495 result = (wxGridCellAttr *)(arg1)->GetCellAttr();
2496
2497 wxPyEndAllowThreads(__tstate);
2498 if (PyErr_Occurred()) SWIG_fail;
2499 }
2500 {
412d302d 2501 resultobj = wxPyMake_wxGridCellAttr(result, 0);
d14a1e28
RD
2502 }
2503 return resultobj;
2504 fail:
2505 return NULL;
2506}
2507
2508
c32bde28 2509static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2510 PyObject *resultobj;
2511 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2512 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
2513 PyObject * obj0 = 0 ;
2514 PyObject * obj1 = 0 ;
2515 char *kwnames[] = {
2516 (char *) "self",(char *) "attr", NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetCellAttr",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
2523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2524 {
2525 PyThreadState* __tstate = wxPyBeginAllowThreads();
2526 (arg1)->SetCellAttr(arg2);
2527
2528 wxPyEndAllowThreads(__tstate);
2529 if (PyErr_Occurred()) SWIG_fail;
2530 }
2531 Py_INCREF(Py_None); resultobj = Py_None;
2532 return resultobj;
2533 fail:
2534 return NULL;
2535}
2536
2537
c32bde28 2538static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2539 PyObject *resultobj;
2540 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2541 wxString *arg2 = 0 ;
ae8162c8 2542 bool temp2 = false ;
d14a1e28
RD
2543 PyObject * obj0 = 0 ;
2544 PyObject * obj1 = 0 ;
2545 char *kwnames[] = {
2546 (char *) "self",(char *) "params", NULL
2547 };
2548
2549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2552 {
2553 arg2 = wxString_in_helper(obj1);
2554 if (arg2 == NULL) SWIG_fail;
ae8162c8 2555 temp2 = true;
d14a1e28
RD
2556 }
2557 {
2558 PyThreadState* __tstate = wxPyBeginAllowThreads();
2559 (arg1)->SetParameters((wxString const &)*arg2);
2560
2561 wxPyEndAllowThreads(__tstate);
2562 if (PyErr_Occurred()) SWIG_fail;
2563 }
2564 Py_INCREF(Py_None); resultobj = Py_None;
2565 {
2566 if (temp2)
2567 delete arg2;
2568 }
2569 return resultobj;
2570 fail:
2571 {
2572 if (temp2)
2573 delete arg2;
2574 }
2575 return NULL;
2576}
2577
2578
c32bde28 2579static PyObject *_wrap_GridCellEditor_IncRef(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2580 PyObject *resultobj;
2581 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2582 PyObject * obj0 = 0 ;
2583 char *kwnames[] = {
2584 (char *) "self", NULL
2585 };
2586
2587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IncRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
2588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2590 {
2591 PyThreadState* __tstate = wxPyBeginAllowThreads();
2592 (arg1)->IncRef();
2593
2594 wxPyEndAllowThreads(__tstate);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 }
2597 Py_INCREF(Py_None); resultobj = Py_None;
2598 return resultobj;
2599 fail:
2600 return NULL;
2601}
2602
2603
c32bde28 2604static PyObject *_wrap_GridCellEditor_DecRef(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2605 PyObject *resultobj;
2606 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2607 PyObject * obj0 = 0 ;
2608 char *kwnames[] = {
2609 (char *) "self", NULL
2610 };
2611
2612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_DecRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
2613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2615 {
2616 PyThreadState* __tstate = wxPyBeginAllowThreads();
2617 (arg1)->DecRef();
2618
2619 wxPyEndAllowThreads(__tstate);
2620 if (PyErr_Occurred()) SWIG_fail;
2621 }
2622 Py_INCREF(Py_None); resultobj = Py_None;
2623 return resultobj;
2624 fail:
2625 return NULL;
2626}
2627
2628
c32bde28 2629static PyObject *_wrap_GridCellEditor_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2630 PyObject *resultobj;
2631 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2632 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2633 int arg3 ;
d14a1e28
RD
2634 wxEvtHandler *arg4 = (wxEvtHandler *) 0 ;
2635 PyObject * obj0 = 0 ;
2636 PyObject * obj1 = 0 ;
994141e6 2637 PyObject * obj2 = 0 ;
d14a1e28
RD
2638 PyObject * obj3 = 0 ;
2639 char *kwnames[] = {
2640 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2641 };
2642
994141e6 2643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
2644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2646 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2648 arg3 = (int)SWIG_As_int(obj2);
15afbcd0
RD
2649 if (PyErr_Occurred()) SWIG_fail;
2650 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxEvtHandler,
2651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2652 {
2653 PyThreadState* __tstate = wxPyBeginAllowThreads();
2654 (arg1)->Create(arg2,arg3,arg4);
2655
2656 wxPyEndAllowThreads(__tstate);
2657 if (PyErr_Occurred()) SWIG_fail;
2658 }
2659 Py_INCREF(Py_None); resultobj = Py_None;
2660 return resultobj;
2661 fail:
2662 return NULL;
2663}
2664
2665
c32bde28 2666static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2667 PyObject *resultobj;
2668 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2669 int arg2 ;
2670 int arg3 ;
2671 wxGrid *arg4 = (wxGrid *) 0 ;
2672 PyObject * obj0 = 0 ;
994141e6
RD
2673 PyObject * obj1 = 0 ;
2674 PyObject * obj2 = 0 ;
d14a1e28
RD
2675 PyObject * obj3 = 0 ;
2676 char *kwnames[] = {
2677 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2678 };
2679
994141e6 2680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
2681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2683 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2684 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2685 arg3 = (int)SWIG_As_int(obj2);
15afbcd0
RD
2686 if (PyErr_Occurred()) SWIG_fail;
2687 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2689 {
2690 PyThreadState* __tstate = wxPyBeginAllowThreads();
2691 (arg1)->BeginEdit(arg2,arg3,arg4);
2692
2693 wxPyEndAllowThreads(__tstate);
2694 if (PyErr_Occurred()) SWIG_fail;
2695 }
2696 Py_INCREF(Py_None); resultobj = Py_None;
2697 return resultobj;
2698 fail:
2699 return NULL;
2700}
2701
2702
c32bde28 2703static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2704 PyObject *resultobj;
2705 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2706 int arg2 ;
2707 int arg3 ;
2708 wxGrid *arg4 = (wxGrid *) 0 ;
2709 bool result;
2710 PyObject * obj0 = 0 ;
994141e6
RD
2711 PyObject * obj1 = 0 ;
2712 PyObject * obj2 = 0 ;
d14a1e28
RD
2713 PyObject * obj3 = 0 ;
2714 char *kwnames[] = {
2715 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2716 };
2717
994141e6 2718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_EndEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
2719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2721 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2722 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2723 arg3 = (int)SWIG_As_int(obj2);
15afbcd0
RD
2724 if (PyErr_Occurred()) SWIG_fail;
2725 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2727 {
2728 PyThreadState* __tstate = wxPyBeginAllowThreads();
2729 result = (bool)(arg1)->EndEdit(arg2,arg3,arg4);
2730
2731 wxPyEndAllowThreads(__tstate);
2732 if (PyErr_Occurred()) SWIG_fail;
2733 }
4f89f6a3
RD
2734 {
2735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2736 }
d14a1e28
RD
2737 return resultobj;
2738 fail:
2739 return NULL;
2740}
2741
2742
c32bde28 2743static PyObject *_wrap_GridCellEditor_Reset(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2744 PyObject *resultobj;
2745 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2746 PyObject * obj0 = 0 ;
2747 char *kwnames[] = {
2748 (char *) "self", NULL
2749 };
2750
2751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Reset",kwnames,&obj0)) goto fail;
15afbcd0
RD
2752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2754 {
2755 PyThreadState* __tstate = wxPyBeginAllowThreads();
2756 (arg1)->Reset();
2757
2758 wxPyEndAllowThreads(__tstate);
2759 if (PyErr_Occurred()) SWIG_fail;
2760 }
2761 Py_INCREF(Py_None); resultobj = Py_None;
2762 return resultobj;
2763 fail:
2764 return NULL;
2765}
2766
2767
c32bde28 2768static PyObject *_wrap_GridCellEditor_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2769 PyObject *resultobj;
2770 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2771 wxGridCellEditor *result;
2772 PyObject * obj0 = 0 ;
2773 char *kwnames[] = {
2774 (char *) "self", NULL
2775 };
2776
2777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
2778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2780 {
2781 PyThreadState* __tstate = wxPyBeginAllowThreads();
2782 result = (wxGridCellEditor *)((wxGridCellEditor const *)arg1)->Clone();
2783
2784 wxPyEndAllowThreads(__tstate);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 }
2787 {
412d302d 2788 resultobj = wxPyMake_wxGridCellEditor(result, 0);
d14a1e28
RD
2789 }
2790 return resultobj;
2791 fail:
2792 return NULL;
2793}
2794
2795
c32bde28 2796static PyObject *_wrap_GridCellEditor_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2797 PyObject *resultobj;
2798 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2799 wxRect *arg2 = 0 ;
2800 wxRect temp2 ;
2801 PyObject * obj0 = 0 ;
2802 PyObject * obj1 = 0 ;
2803 char *kwnames[] = {
2804 (char *) "self",(char *) "rect", NULL
2805 };
2806
2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2810 {
2811 arg2 = &temp2;
2812 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2813 }
2814 {
2815 PyThreadState* __tstate = wxPyBeginAllowThreads();
2816 (arg1)->SetSize((wxRect const &)*arg2);
2817
2818 wxPyEndAllowThreads(__tstate);
2819 if (PyErr_Occurred()) SWIG_fail;
2820 }
2821 Py_INCREF(Py_None); resultobj = Py_None;
2822 return resultobj;
2823 fail:
2824 return NULL;
2825}
2826
2827
c32bde28 2828static PyObject *_wrap_GridCellEditor_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2829 PyObject *resultobj;
2830 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2831 bool arg2 ;
2832 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
2833 PyObject * obj0 = 0 ;
2834 PyObject * obj1 = 0 ;
2835 PyObject * obj2 = 0 ;
2836 char *kwnames[] = {
2837 (char *) "self",(char *) "show",(char *) "attr", NULL
2838 };
2839
2840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridCellEditor_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2843 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 2844 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2845 if (obj2) {
15afbcd0
RD
2846 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2848 }
2849 {
2850 PyThreadState* __tstate = wxPyBeginAllowThreads();
2851 (arg1)->Show(arg2,arg3);
2852
2853 wxPyEndAllowThreads(__tstate);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 Py_INCREF(Py_None); resultobj = Py_None;
2857 return resultobj;
2858 fail:
2859 return NULL;
2860}
2861
2862
c32bde28 2863static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2864 PyObject *resultobj;
2865 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2866 wxRect *arg2 = 0 ;
2867 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
2868 wxRect temp2 ;
2869 PyObject * obj0 = 0 ;
2870 PyObject * obj1 = 0 ;
2871 PyObject * obj2 = 0 ;
2872 char *kwnames[] = {
2873 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2874 };
2875
2876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellEditor_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2879 {
2880 arg2 = &temp2;
2881 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2882 }
15afbcd0
RD
2883 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2885 {
2886 PyThreadState* __tstate = wxPyBeginAllowThreads();
2887 (arg1)->PaintBackground((wxRect const &)*arg2,arg3);
2888
2889 wxPyEndAllowThreads(__tstate);
2890 if (PyErr_Occurred()) SWIG_fail;
2891 }
2892 Py_INCREF(Py_None); resultobj = Py_None;
2893 return resultobj;
2894 fail:
2895 return NULL;
2896}
2897
2898
c32bde28 2899static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2900 PyObject *resultobj;
2901 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2902 wxKeyEvent *arg2 = 0 ;
2903 bool result;
2904 PyObject * obj0 = 0 ;
2905 PyObject * obj1 = 0 ;
2906 char *kwnames[] = {
2907 (char *) "self",(char *) "event", NULL
2908 };
2909
2910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2913 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2914 SWIG_POINTER_EXCEPTION | 0)) == -1)
2915 SWIG_fail;
d14a1e28 2916 if (arg2 == NULL) {
15afbcd0
RD
2917 PyErr_SetString(PyExc_TypeError,"null reference");
2918 SWIG_fail;
d14a1e28
RD
2919 }
2920 {
2921 PyThreadState* __tstate = wxPyBeginAllowThreads();
2922 result = (bool)(arg1)->IsAcceptedKey(*arg2);
2923
2924 wxPyEndAllowThreads(__tstate);
2925 if (PyErr_Occurred()) SWIG_fail;
2926 }
4f89f6a3
RD
2927 {
2928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2929 }
d14a1e28
RD
2930 return resultobj;
2931 fail:
2932 return NULL;
2933}
2934
2935
c32bde28 2936static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2937 PyObject *resultobj;
2938 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2939 wxKeyEvent *arg2 = 0 ;
2940 PyObject * obj0 = 0 ;
2941 PyObject * obj1 = 0 ;
2942 char *kwnames[] = {
2943 (char *) "self",(char *) "event", NULL
2944 };
2945
2946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_StartingKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2950 SWIG_POINTER_EXCEPTION | 0)) == -1)
2951 SWIG_fail;
d14a1e28 2952 if (arg2 == NULL) {
15afbcd0
RD
2953 PyErr_SetString(PyExc_TypeError,"null reference");
2954 SWIG_fail;
d14a1e28
RD
2955 }
2956 {
2957 PyThreadState* __tstate = wxPyBeginAllowThreads();
2958 (arg1)->StartingKey(*arg2);
2959
2960 wxPyEndAllowThreads(__tstate);
2961 if (PyErr_Occurred()) SWIG_fail;
2962 }
2963 Py_INCREF(Py_None); resultobj = Py_None;
2964 return resultobj;
2965 fail:
2966 return NULL;
2967}
2968
2969
c32bde28 2970static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2971 PyObject *resultobj;
2972 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2973 PyObject * obj0 = 0 ;
2974 char *kwnames[] = {
2975 (char *) "self", NULL
2976 };
2977
2978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_StartingClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
2979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2981 {
2982 PyThreadState* __tstate = wxPyBeginAllowThreads();
2983 (arg1)->StartingClick();
2984
2985 wxPyEndAllowThreads(__tstate);
2986 if (PyErr_Occurred()) SWIG_fail;
2987 }
2988 Py_INCREF(Py_None); resultobj = Py_None;
2989 return resultobj;
2990 fail:
2991 return NULL;
2992}
2993
2994
c32bde28 2995static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2996 PyObject *resultobj;
2997 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2998 wxKeyEvent *arg2 = 0 ;
2999 PyObject * obj0 = 0 ;
3000 PyObject * obj1 = 0 ;
3001 char *kwnames[] = {
3002 (char *) "self",(char *) "event", NULL
3003 };
3004
3005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
3007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3009 SWIG_POINTER_EXCEPTION | 0)) == -1)
3010 SWIG_fail;
d14a1e28 3011 if (arg2 == NULL) {
15afbcd0
RD
3012 PyErr_SetString(PyExc_TypeError,"null reference");
3013 SWIG_fail;
d14a1e28
RD
3014 }
3015 {
3016 PyThreadState* __tstate = wxPyBeginAllowThreads();
3017 (arg1)->HandleReturn(*arg2);
3018
3019 wxPyEndAllowThreads(__tstate);
3020 if (PyErr_Occurred()) SWIG_fail;
3021 }
3022 Py_INCREF(Py_None); resultobj = Py_None;
3023 return resultobj;
3024 fail:
3025 return NULL;
3026}
3027
3028
c32bde28 3029static PyObject *_wrap_GridCellEditor_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3030 PyObject *resultobj;
3031 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
3032 PyObject * obj0 = 0 ;
3033 char *kwnames[] = {
3034 (char *) "self", NULL
3035 };
3036
3037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
3038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
3039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3040 {
3041 PyThreadState* __tstate = wxPyBeginAllowThreads();
3042 (arg1)->Destroy();
3043
3044 wxPyEndAllowThreads(__tstate);
3045 if (PyErr_Occurred()) SWIG_fail;
3046 }
3047 Py_INCREF(Py_None); resultobj = Py_None;
3048 return resultobj;
3049 fail:
3050 return NULL;
3051}
3052
3053
c32bde28 3054static PyObject * GridCellEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3055 PyObject *obj;
3056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3057 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor, obj);
3058 Py_INCREF(obj);
3059 return Py_BuildValue((char *)"");
3060}
c32bde28 3061static PyObject *_wrap_new_PyGridCellEditor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3062 PyObject *resultobj;
3063 wxPyGridCellEditor *result;
3064 char *kwnames[] = {
3065 NULL
3066 };
3067
3068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellEditor",kwnames)) goto fail;
3069 {
3070 PyThreadState* __tstate = wxPyBeginAllowThreads();
3071 result = (wxPyGridCellEditor *)new wxPyGridCellEditor();
3072
3073 wxPyEndAllowThreads(__tstate);
3074 if (PyErr_Occurred()) SWIG_fail;
3075 }
15afbcd0 3076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellEditor, 1);
d14a1e28
RD
3077 return resultobj;
3078 fail:
3079 return NULL;
3080}
3081
3082
c32bde28 3083static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3084 PyObject *resultobj;
3085 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3086 PyObject *arg2 = (PyObject *) 0 ;
3087 PyObject *arg3 = (PyObject *) 0 ;
3088 PyObject * obj0 = 0 ;
3089 PyObject * obj1 = 0 ;
3090 PyObject * obj2 = 0 ;
3091 char *kwnames[] = {
3092 (char *) "self",(char *) "self",(char *) "_class", NULL
3093 };
3094
3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3098 arg2 = obj1;
3099 arg3 = obj2;
3100 {
3101 PyThreadState* __tstate = wxPyBeginAllowThreads();
3102 (arg1)->_setCallbackInfo(arg2,arg3);
3103
3104 wxPyEndAllowThreads(__tstate);
3105 if (PyErr_Occurred()) SWIG_fail;
3106 }
3107 Py_INCREF(Py_None); resultobj = Py_None;
3108 return resultobj;
3109 fail:
3110 return NULL;
3111}
3112
3113
c32bde28 3114static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3115 PyObject *resultobj;
3116 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3117 wxRect *arg2 = 0 ;
3118 wxRect temp2 ;
3119 PyObject * obj0 = 0 ;
3120 PyObject * obj1 = 0 ;
3121 char *kwnames[] = {
3122 (char *) "self",(char *) "rect", NULL
3123 };
3124
3125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3128 {
3129 arg2 = &temp2;
3130 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3131 }
3132 {
3133 PyThreadState* __tstate = wxPyBeginAllowThreads();
3134 (arg1)->base_SetSize((wxRect const &)*arg2);
3135
3136 wxPyEndAllowThreads(__tstate);
3137 if (PyErr_Occurred()) SWIG_fail;
3138 }
3139 Py_INCREF(Py_None); resultobj = Py_None;
3140 return resultobj;
3141 fail:
3142 return NULL;
3143}
3144
3145
c32bde28 3146static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3147 PyObject *resultobj;
3148 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3149 bool arg2 ;
3150 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
3151 PyObject * obj0 = 0 ;
3152 PyObject * obj1 = 0 ;
3153 PyObject * obj2 = 0 ;
3154 char *kwnames[] = {
3155 (char *) "self",(char *) "show",(char *) "attr", NULL
3156 };
3157
3158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3161 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 3162 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3163 if (obj2) {
15afbcd0
RD
3164 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3166 }
3167 {
3168 PyThreadState* __tstate = wxPyBeginAllowThreads();
3169 (arg1)->base_Show(arg2,arg3);
3170
3171 wxPyEndAllowThreads(__tstate);
3172 if (PyErr_Occurred()) SWIG_fail;
3173 }
3174 Py_INCREF(Py_None); resultobj = Py_None;
3175 return resultobj;
3176 fail:
3177 return NULL;
3178}
3179
3180
c32bde28 3181static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3182 PyObject *resultobj;
3183 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3184 wxRect *arg2 = 0 ;
3185 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
3186 wxRect temp2 ;
3187 PyObject * obj0 = 0 ;
3188 PyObject * obj1 = 0 ;
3189 PyObject * obj2 = 0 ;
3190 char *kwnames[] = {
3191 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3192 };
3193
3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3197 {
3198 arg2 = &temp2;
3199 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3200 }
15afbcd0
RD
3201 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3203 {
3204 PyThreadState* __tstate = wxPyBeginAllowThreads();
3205 (arg1)->base_PaintBackground((wxRect const &)*arg2,arg3);
3206
3207 wxPyEndAllowThreads(__tstate);
3208 if (PyErr_Occurred()) SWIG_fail;
3209 }
3210 Py_INCREF(Py_None); resultobj = Py_None;
3211 return resultobj;
3212 fail:
3213 return NULL;
3214}
3215
3216
c32bde28 3217static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3218 PyObject *resultobj;
3219 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3220 wxKeyEvent *arg2 = 0 ;
3221 bool result;
3222 PyObject * obj0 = 0 ;
3223 PyObject * obj1 = 0 ;
3224 char *kwnames[] = {
3225 (char *) "self",(char *) "event", NULL
3226 };
3227
3228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3232 SWIG_POINTER_EXCEPTION | 0)) == -1)
3233 SWIG_fail;
d14a1e28 3234 if (arg2 == NULL) {
15afbcd0
RD
3235 PyErr_SetString(PyExc_TypeError,"null reference");
3236 SWIG_fail;
d14a1e28
RD
3237 }
3238 {
3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
3240 result = (bool)(arg1)->base_IsAcceptedKey(*arg2);
3241
3242 wxPyEndAllowThreads(__tstate);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 }
4f89f6a3
RD
3245 {
3246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3247 }
d14a1e28
RD
3248 return resultobj;
3249 fail:
3250 return NULL;
3251}
3252
3253
c32bde28 3254static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3255 PyObject *resultobj;
3256 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3257 wxKeyEvent *arg2 = 0 ;
3258 PyObject * obj0 = 0 ;
3259 PyObject * obj1 = 0 ;
3260 char *kwnames[] = {
3261 (char *) "self",(char *) "event", NULL
3262 };
3263
3264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3268 SWIG_POINTER_EXCEPTION | 0)) == -1)
3269 SWIG_fail;
d14a1e28 3270 if (arg2 == NULL) {
15afbcd0
RD
3271 PyErr_SetString(PyExc_TypeError,"null reference");
3272 SWIG_fail;
d14a1e28
RD
3273 }
3274 {
3275 PyThreadState* __tstate = wxPyBeginAllowThreads();
3276 (arg1)->base_StartingKey(*arg2);
3277
3278 wxPyEndAllowThreads(__tstate);
3279 if (PyErr_Occurred()) SWIG_fail;
3280 }
3281 Py_INCREF(Py_None); resultobj = Py_None;
3282 return resultobj;
3283 fail:
3284 return NULL;
3285}
3286
3287
c32bde28 3288static PyObject *_wrap_PyGridCellEditor_base_StartingClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3289 PyObject *resultobj;
3290 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3291 PyObject * obj0 = 0 ;
3292 char *kwnames[] = {
3293 (char *) "self", NULL
3294 };
3295
3296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
3297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3299 {
3300 PyThreadState* __tstate = wxPyBeginAllowThreads();
3301 (arg1)->base_StartingClick();
3302
3303 wxPyEndAllowThreads(__tstate);
3304 if (PyErr_Occurred()) SWIG_fail;
3305 }
3306 Py_INCREF(Py_None); resultobj = Py_None;
3307 return resultobj;
3308 fail:
3309 return NULL;
3310}
3311
3312
c32bde28 3313static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3314 PyObject *resultobj;
3315 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3316 wxKeyEvent *arg2 = 0 ;
3317 PyObject * obj0 = 0 ;
3318 PyObject * obj1 = 0 ;
3319 char *kwnames[] = {
3320 (char *) "self",(char *) "event", NULL
3321 };
3322
3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3327 SWIG_POINTER_EXCEPTION | 0)) == -1)
3328 SWIG_fail;
d14a1e28 3329 if (arg2 == NULL) {
15afbcd0
RD
3330 PyErr_SetString(PyExc_TypeError,"null reference");
3331 SWIG_fail;
d14a1e28
RD
3332 }
3333 {
3334 PyThreadState* __tstate = wxPyBeginAllowThreads();
3335 (arg1)->base_HandleReturn(*arg2);
3336
3337 wxPyEndAllowThreads(__tstate);
3338 if (PyErr_Occurred()) SWIG_fail;
3339 }
3340 Py_INCREF(Py_None); resultobj = Py_None;
3341 return resultobj;
3342 fail:
3343 return NULL;
3344}
3345
3346
c32bde28 3347static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3348 PyObject *resultobj;
3349 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3350 PyObject * obj0 = 0 ;
3351 char *kwnames[] = {
3352 (char *) "self", NULL
3353 };
3354
3355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
3356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3358 {
3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
3360 (arg1)->base_Destroy();
3361
3362 wxPyEndAllowThreads(__tstate);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 Py_INCREF(Py_None); resultobj = Py_None;
3366 return resultobj;
3367 fail:
3368 return NULL;
3369}
3370
3371
c32bde28 3372static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3373 PyObject *resultobj;
3374 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3375 wxString *arg2 = 0 ;
ae8162c8 3376 bool temp2 = false ;
d14a1e28
RD
3377 PyObject * obj0 = 0 ;
3378 PyObject * obj1 = 0 ;
3379 char *kwnames[] = {
3380 (char *) "self",(char *) "params", NULL
3381 };
3382
3383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3386 {
3387 arg2 = wxString_in_helper(obj1);
3388 if (arg2 == NULL) SWIG_fail;
ae8162c8 3389 temp2 = true;
d14a1e28
RD
3390 }
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 (arg1)->base_SetParameters((wxString const &)*arg2);
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) SWIG_fail;
3397 }
3398 Py_INCREF(Py_None); resultobj = Py_None;
3399 {
3400 if (temp2)
3401 delete arg2;
3402 }
3403 return resultobj;
3404 fail:
3405 {
3406 if (temp2)
3407 delete arg2;
3408 }
3409 return NULL;
3410}
3411
3412
c32bde28 3413static PyObject * PyGridCellEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3414 PyObject *obj;
3415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3416 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor, obj);
3417 Py_INCREF(obj);
3418 return Py_BuildValue((char *)"");
3419}
c32bde28 3420static PyObject *_wrap_new_GridCellTextEditor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3421 PyObject *resultobj;
3422 wxGridCellTextEditor *result;
3423 char *kwnames[] = {
3424 NULL
3425 };
3426
3427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellTextEditor",kwnames)) goto fail;
3428 {
3429 PyThreadState* __tstate = wxPyBeginAllowThreads();
3430 result = (wxGridCellTextEditor *)new wxGridCellTextEditor();
3431
3432 wxPyEndAllowThreads(__tstate);
3433 if (PyErr_Occurred()) SWIG_fail;
3434 }
15afbcd0 3435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellTextEditor, 1);
d14a1e28
RD
3436 return resultobj;
3437 fail:
3438 return NULL;
3439}
3440
3441
c32bde28 3442static PyObject *_wrap_GridCellTextEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3443 PyObject *resultobj;
3444 wxGridCellTextEditor *arg1 = (wxGridCellTextEditor *) 0 ;
3445 wxString result;
3446 PyObject * obj0 = 0 ;
3447 char *kwnames[] = {
3448 (char *) "self", NULL
3449 };
3450
3451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellTextEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellTextEditor,
3453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3454 {
3455 PyThreadState* __tstate = wxPyBeginAllowThreads();
3456 result = (arg1)->GetValue();
3457
3458 wxPyEndAllowThreads(__tstate);
3459 if (PyErr_Occurred()) SWIG_fail;
3460 }
3461 {
3462#if wxUSE_UNICODE
3463 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3464#else
3465 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3466#endif
3467 }
3468 return resultobj;
3469 fail:
3470 return NULL;
3471}
3472
3473
c32bde28 3474static PyObject * GridCellTextEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3475 PyObject *obj;
3476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3477 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor, obj);
3478 Py_INCREF(obj);
3479 return Py_BuildValue((char *)"");
3480}
c32bde28 3481static PyObject *_wrap_new_GridCellNumberEditor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3482 PyObject *resultobj;
3483 int arg1 = (int) -1 ;
3484 int arg2 = (int) -1 ;
3485 wxGridCellNumberEditor *result;
994141e6
RD
3486 PyObject * obj0 = 0 ;
3487 PyObject * obj1 = 0 ;
d14a1e28
RD
3488 char *kwnames[] = {
3489 (char *) "min",(char *) "max", NULL
3490 };
3491
994141e6
RD
3492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellNumberEditor",kwnames,&obj0,&obj1)) goto fail;
3493 if (obj0) {
c32bde28 3494 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 3495 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3496 }
3497 if (obj1) {
c32bde28 3498 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3499 if (PyErr_Occurred()) SWIG_fail;
994141e6 3500 }
d14a1e28
RD
3501 {
3502 PyThreadState* __tstate = wxPyBeginAllowThreads();
3503 result = (wxGridCellNumberEditor *)new wxGridCellNumberEditor(arg1,arg2);
3504
3505 wxPyEndAllowThreads(__tstate);
3506 if (PyErr_Occurred()) SWIG_fail;
3507 }
15afbcd0 3508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberEditor, 1);
d14a1e28
RD
3509 return resultobj;
3510 fail:
3511 return NULL;
3512}
3513
3514
c32bde28 3515static PyObject *_wrap_GridCellNumberEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3516 PyObject *resultobj;
3517 wxGridCellNumberEditor *arg1 = (wxGridCellNumberEditor *) 0 ;
3518 wxString result;
3519 PyObject * obj0 = 0 ;
3520 char *kwnames[] = {
3521 (char *) "self", NULL
3522 };
3523
3524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellNumberEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellNumberEditor,
3526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3527 {
3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
3529 result = (arg1)->GetValue();
3530
3531 wxPyEndAllowThreads(__tstate);
3532 if (PyErr_Occurred()) SWIG_fail;
3533 }
3534 {
3535#if wxUSE_UNICODE
3536 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3537#else
3538 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3539#endif
3540 }
3541 return resultobj;
3542 fail:
3543 return NULL;
3544}
3545
3546
c32bde28 3547static PyObject * GridCellNumberEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3548 PyObject *obj;
3549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3550 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor, obj);
3551 Py_INCREF(obj);
3552 return Py_BuildValue((char *)"");
3553}
c32bde28 3554static PyObject *_wrap_new_GridCellFloatEditor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3555 PyObject *resultobj;
b2df227b
RD
3556 int arg1 = (int) -1 ;
3557 int arg2 = (int) -1 ;
d14a1e28 3558 wxGridCellFloatEditor *result;
b2df227b
RD
3559 PyObject * obj0 = 0 ;
3560 PyObject * obj1 = 0 ;
d14a1e28 3561 char *kwnames[] = {
b2df227b 3562 (char *) "width",(char *) "precision", NULL
d14a1e28
RD
3563 };
3564
b2df227b
RD
3565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatEditor",kwnames,&obj0,&obj1)) goto fail;
3566 if (obj0) {
c32bde28 3567 arg1 = (int)SWIG_As_int(obj0);
b2df227b
RD
3568 if (PyErr_Occurred()) SWIG_fail;
3569 }
3570 if (obj1) {
c32bde28 3571 arg2 = (int)SWIG_As_int(obj1);
b2df227b
RD
3572 if (PyErr_Occurred()) SWIG_fail;
3573 }
d14a1e28
RD
3574 {
3575 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2df227b 3576 result = (wxGridCellFloatEditor *)new wxGridCellFloatEditor(arg1,arg2);
d14a1e28
RD
3577
3578 wxPyEndAllowThreads(__tstate);
3579 if (PyErr_Occurred()) SWIG_fail;
3580 }
15afbcd0 3581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatEditor, 1);
d14a1e28
RD
3582 return resultobj;
3583 fail:
3584 return NULL;
3585}
3586
3587
c32bde28 3588static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3589 PyObject *resultobj;
3590 wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ;
3591 wxString result;
3592 PyObject * obj0 = 0 ;
3593 char *kwnames[] = {
3594 (char *) "self", NULL
3595 };
3596
3597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatEditor,
3599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3600 {
3601 PyThreadState* __tstate = wxPyBeginAllowThreads();
3602 result = (arg1)->GetValue();
3603
3604 wxPyEndAllowThreads(__tstate);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
3607 {
3608#if wxUSE_UNICODE
3609 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3610#else
3611 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3612#endif
3613 }
3614 return resultobj;
3615 fail:
3616 return NULL;
3617}
3618
3619
c32bde28 3620static PyObject * GridCellFloatEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3621 PyObject *obj;
3622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3623 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor, obj);
3624 Py_INCREF(obj);
3625 return Py_BuildValue((char *)"");
3626}
c32bde28 3627static PyObject *_wrap_new_GridCellBoolEditor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3628 PyObject *resultobj;
3629 wxGridCellBoolEditor *result;
3630 char *kwnames[] = {
3631 NULL
3632 };
3633
3634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolEditor",kwnames)) goto fail;
3635 {
3636 PyThreadState* __tstate = wxPyBeginAllowThreads();
3637 result = (wxGridCellBoolEditor *)new wxGridCellBoolEditor();
3638
3639 wxPyEndAllowThreads(__tstate);
3640 if (PyErr_Occurred()) SWIG_fail;
3641 }
15afbcd0 3642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolEditor, 1);
d14a1e28
RD
3643 return resultobj;
3644 fail:
3645 return NULL;
3646}
3647
3648
c32bde28 3649static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3650 PyObject *resultobj;
3651 wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ;
3652 wxString result;
3653 PyObject * obj0 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellBoolEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellBoolEditor,
3660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3661 {
3662 PyThreadState* __tstate = wxPyBeginAllowThreads();
3663 result = (arg1)->GetValue();
3664
3665 wxPyEndAllowThreads(__tstate);
3666 if (PyErr_Occurred()) SWIG_fail;
3667 }
3668 {
3669#if wxUSE_UNICODE
3670 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3671#else
3672 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3673#endif
3674 }
3675 return resultobj;
3676 fail:
3677 return NULL;
3678}
3679
3680
c32bde28 3681static PyObject * GridCellBoolEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3682 PyObject *obj;
3683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3684 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor, obj);
3685 Py_INCREF(obj);
3686 return Py_BuildValue((char *)"");
3687}
c32bde28 3688static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3689 PyObject *resultobj;
3690 int arg1 = (int) 0 ;
3691 wxString *arg2 = (wxString *) NULL ;
ae8162c8 3692 bool arg3 = (bool) false ;
d14a1e28 3693 wxGridCellChoiceEditor *result;
7722248d 3694 PyObject * obj0 = 0 ;
d14a1e28 3695 PyObject * obj1 = 0 ;
d14a1e28 3696 char *kwnames[] = {
7722248d 3697 (char *) "choices",(char *) "allowOthers", NULL
d14a1e28
RD
3698 };
3699
7722248d
RD
3700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellChoiceEditor",kwnames,&obj0,&obj1)) goto fail;
3701 if (obj0) {
3702 {
3703 arg1 = PyList_Size(obj0);
3704 arg2 = wxString_LIST_helper(obj0);
3705 if (arg2 == NULL) SWIG_fail;
3706 }
d14a1e28 3707 }
7722248d 3708 if (obj1) {
c32bde28 3709 arg3 = (bool)SWIG_As_bool(obj1);
15afbcd0 3710 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3711 }
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 result = (wxGridCellChoiceEditor *)new wxGridCellChoiceEditor(arg1,(wxString const *)arg2,arg3);
3715
3716 wxPyEndAllowThreads(__tstate);
3717 if (PyErr_Occurred()) SWIG_fail;
3718 }
15afbcd0 3719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellChoiceEditor, 1);
7722248d
RD
3720 {
3721 if (arg2) delete [] arg2;
3722 }
d14a1e28
RD
3723 return resultobj;
3724 fail:
7722248d
RD
3725 {
3726 if (arg2) delete [] arg2;
3727 }
d14a1e28
RD
3728 return NULL;
3729}
3730
3731
c32bde28 3732static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3733 PyObject *resultobj;
3734 wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ;
3735 wxString result;
3736 PyObject * obj0 = 0 ;
3737 char *kwnames[] = {
3738 (char *) "self", NULL
3739 };
3740
3741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellChoiceEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellChoiceEditor,
3743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3744 {
3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
3746 result = (arg1)->GetValue();
3747
3748 wxPyEndAllowThreads(__tstate);
3749 if (PyErr_Occurred()) SWIG_fail;
3750 }
3751 {
3752#if wxUSE_UNICODE
3753 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3754#else
3755 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3756#endif
3757 }
3758 return resultobj;
3759 fail:
3760 return NULL;
3761}
3762
3763
c32bde28 3764static PyObject * GridCellChoiceEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3765 PyObject *obj;
3766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3767 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor, obj);
3768 Py_INCREF(obj);
3769 return Py_BuildValue((char *)"");
3770}
c32bde28 3771static PyObject *_wrap_new_GridCellEnumEditor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3772 PyObject *resultobj;
3773 wxString const &arg1_defvalue = wxPyEmptyString ;
3774 wxString *arg1 = (wxString *) &arg1_defvalue ;
3775 wxGridCellEnumEditor *result;
ae8162c8 3776 bool temp1 = false ;
d14a1e28
RD
3777 PyObject * obj0 = 0 ;
3778 char *kwnames[] = {
3779 (char *) "choices", NULL
3780 };
3781
3782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumEditor",kwnames,&obj0)) goto fail;
3783 if (obj0) {
3784 {
3785 arg1 = wxString_in_helper(obj0);
3786 if (arg1 == NULL) SWIG_fail;
ae8162c8 3787 temp1 = true;
d14a1e28
RD
3788 }
3789 }
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 result = (wxGridCellEnumEditor *)new wxGridCellEnumEditor((wxString const &)*arg1);
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
15afbcd0 3797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumEditor, 1);
d14a1e28
RD
3798 {
3799 if (temp1)
3800 delete arg1;
3801 }
3802 return resultobj;
3803 fail:
3804 {
3805 if (temp1)
3806 delete arg1;
3807 }
3808 return NULL;
3809}
3810
3811
c32bde28 3812static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3813 PyObject *resultobj;
3814 wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ;
3815 wxString result;
3816 PyObject * obj0 = 0 ;
3817 char *kwnames[] = {
3818 (char *) "self", NULL
3819 };
3820
3821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEnumEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEnumEditor,
3823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 result = (arg1)->GetValue();
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) SWIG_fail;
3830 }
3831 {
3832#if wxUSE_UNICODE
3833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3834#else
3835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3836#endif
3837 }
3838 return resultobj;
3839 fail:
3840 return NULL;
3841}
3842
3843
c32bde28 3844static PyObject * GridCellEnumEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3845 PyObject *obj;
3846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3847 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor, obj);
3848 Py_INCREF(obj);
3849 return Py_BuildValue((char *)"");
3850}
c32bde28 3851static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3852 PyObject *resultobj;
3853 wxGridCellAutoWrapStringEditor *result;
3854 char *kwnames[] = {
3855 NULL
3856 };
3857
3858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringEditor",kwnames)) goto fail;
3859 {
3860 PyThreadState* __tstate = wxPyBeginAllowThreads();
3861 result = (wxGridCellAutoWrapStringEditor *)new wxGridCellAutoWrapStringEditor();
3862
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) SWIG_fail;
3865 }
15afbcd0 3866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringEditor, 1);
d14a1e28
RD
3867 return resultobj;
3868 fail:
3869 return NULL;
3870}
3871
3872
c32bde28 3873static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3874 PyObject *resultobj;
3875 wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ;
3876 wxString result;
3877 PyObject * obj0 = 0 ;
3878 char *kwnames[] = {
3879 (char *) "self", NULL
3880 };
3881
3882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAutoWrapStringEditor,
3884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3885 {
3886 PyThreadState* __tstate = wxPyBeginAllowThreads();
3887 result = (arg1)->GetValue();
3888
3889 wxPyEndAllowThreads(__tstate);
3890 if (PyErr_Occurred()) SWIG_fail;
3891 }
3892 {
3893#if wxUSE_UNICODE
3894 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3895#else
3896 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3897#endif
3898 }
3899 return resultobj;
3900 fail:
3901 return NULL;
3902}
3903
3904
c32bde28 3905static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3906 PyObject *obj;
3907 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3908 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor, obj);
3909 Py_INCREF(obj);
3910 return Py_BuildValue((char *)"");
3911}
c32bde28 3912static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3913 PyObject *resultobj;
3914 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3915 PyObject *arg2 = (PyObject *) 0 ;
3916 PyObject * obj0 = 0 ;
3917 PyObject * obj1 = 0 ;
3918 char *kwnames[] = {
3919 (char *) "self",(char *) "_self", NULL
3920 };
3921
3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3925 arg2 = obj1;
3926 {
3927 PyThreadState* __tstate = wxPyBeginAllowThreads();
3928 wxGridCellAttr__setOORInfo(arg1,arg2);
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
c32bde28 3940static PyObject *_wrap_new_GridCellAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3941 PyObject *resultobj;
3942 wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ;
3943 wxGridCellAttr *result;
3944 PyObject * obj0 = 0 ;
3945 char *kwnames[] = {
3946 (char *) "attrDefault", NULL
3947 };
3948
3949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellAttr",kwnames,&obj0)) goto fail;
3950 if (obj0) {
15afbcd0
RD
3951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3953 }
3954 {
3955 PyThreadState* __tstate = wxPyBeginAllowThreads();
3956 result = (wxGridCellAttr *)new wxGridCellAttr(arg1);
3957
3958 wxPyEndAllowThreads(__tstate);
3959 if (PyErr_Occurred()) SWIG_fail;
3960 }
3961 {
412d302d 3962 resultobj = wxPyMake_wxGridCellAttr(result, 1);
d14a1e28
RD
3963 }
3964 return resultobj;
3965 fail:
3966 return NULL;
3967}
3968
3969
c32bde28 3970static PyObject *_wrap_GridCellAttr_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3971 PyObject *resultobj;
3972 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3973 wxGridCellAttr *result;
3974 PyObject * obj0 = 0 ;
3975 char *kwnames[] = {
3976 (char *) "self", NULL
3977 };
3978
3979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
3980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3982 {
3983 PyThreadState* __tstate = wxPyBeginAllowThreads();
3984 result = (wxGridCellAttr *)((wxGridCellAttr const *)arg1)->Clone();
3985
3986 wxPyEndAllowThreads(__tstate);
3987 if (PyErr_Occurred()) SWIG_fail;
3988 }
3989 {
412d302d 3990 resultobj = wxPyMake_wxGridCellAttr(result, 0);
d14a1e28
RD
3991 }
3992 return resultobj;
3993 fail:
3994 return NULL;
3995}
3996
3997
c32bde28 3998static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3999 PyObject *resultobj;
4000 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4001 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4002 PyObject * obj0 = 0 ;
4003 PyObject * obj1 = 0 ;
4004 char *kwnames[] = {
4005 (char *) "self",(char *) "mergefrom", NULL
4006 };
4007
4008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_MergeWith",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4013 {
4014 PyThreadState* __tstate = wxPyBeginAllowThreads();
4015 (arg1)->MergeWith(arg2);
4016
4017 wxPyEndAllowThreads(__tstate);
4018 if (PyErr_Occurred()) SWIG_fail;
4019 }
4020 Py_INCREF(Py_None); resultobj = Py_None;
4021 return resultobj;
4022 fail:
4023 return NULL;
4024}
4025
4026
c32bde28 4027static PyObject *_wrap_GridCellAttr_IncRef(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4028 PyObject *resultobj;
4029 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4030 PyObject * obj0 = 0 ;
4031 char *kwnames[] = {
4032 (char *) "self", NULL
4033 };
4034
4035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IncRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
4036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4038 {
4039 PyThreadState* __tstate = wxPyBeginAllowThreads();
4040 (arg1)->IncRef();
4041
4042 wxPyEndAllowThreads(__tstate);
4043 if (PyErr_Occurred()) SWIG_fail;
4044 }
4045 Py_INCREF(Py_None); resultobj = Py_None;
4046 return resultobj;
4047 fail:
4048 return NULL;
4049}
4050
4051
c32bde28 4052static PyObject *_wrap_GridCellAttr_DecRef(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4053 PyObject *resultobj;
4054 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4055 PyObject * obj0 = 0 ;
4056 char *kwnames[] = {
4057 (char *) "self", NULL
4058 };
4059
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_DecRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
4061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 (arg1)->DecRef();
4066
4067 wxPyEndAllowThreads(__tstate);
4068 if (PyErr_Occurred()) SWIG_fail;
4069 }
4070 Py_INCREF(Py_None); resultobj = Py_None;
4071 return resultobj;
4072 fail:
4073 return NULL;
4074}
4075
4076
c32bde28 4077static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4078 PyObject *resultobj;
4079 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4080 wxColour *arg2 = 0 ;
4081 wxColour temp2 ;
4082 PyObject * obj0 = 0 ;
4083 PyObject * obj1 = 0 ;
4084 char *kwnames[] = {
4085 (char *) "self",(char *) "colText", NULL
4086 };
4087
4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4091 {
4092 arg2 = &temp2;
4093 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4094 }
4095 {
4096 PyThreadState* __tstate = wxPyBeginAllowThreads();
4097 (arg1)->SetTextColour((wxColour const &)*arg2);
4098
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 Py_INCREF(Py_None); resultobj = Py_None;
4103 return resultobj;
4104 fail:
4105 return NULL;
4106}
4107
4108
c32bde28 4109static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4110 PyObject *resultobj;
4111 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4112 wxColour *arg2 = 0 ;
4113 wxColour temp2 ;
4114 PyObject * obj0 = 0 ;
4115 PyObject * obj1 = 0 ;
4116 char *kwnames[] = {
4117 (char *) "self",(char *) "colBack", NULL
4118 };
4119
4120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4123 {
4124 arg2 = &temp2;
4125 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4126 }
4127 {
4128 PyThreadState* __tstate = wxPyBeginAllowThreads();
4129 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
4130
4131 wxPyEndAllowThreads(__tstate);
4132 if (PyErr_Occurred()) SWIG_fail;
4133 }
4134 Py_INCREF(Py_None); resultobj = Py_None;
4135 return resultobj;
4136 fail:
4137 return NULL;
4138}
4139
4140
c32bde28 4141static PyObject *_wrap_GridCellAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4142 PyObject *resultobj;
4143 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4144 wxFont *arg2 = 0 ;
4145 PyObject * obj0 = 0 ;
4146 PyObject * obj1 = 0 ;
4147 char *kwnames[] = {
4148 (char *) "self",(char *) "font", NULL
4149 };
4150
4151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
4155 SWIG_POINTER_EXCEPTION | 0)) == -1)
4156 SWIG_fail;
d14a1e28 4157 if (arg2 == NULL) {
15afbcd0
RD
4158 PyErr_SetString(PyExc_TypeError,"null reference");
4159 SWIG_fail;
d14a1e28
RD
4160 }
4161 {
4162 PyThreadState* __tstate = wxPyBeginAllowThreads();
4163 (arg1)->SetFont((wxFont const &)*arg2);
4164
4165 wxPyEndAllowThreads(__tstate);
4166 if (PyErr_Occurred()) SWIG_fail;
4167 }
4168 Py_INCREF(Py_None); resultobj = Py_None;
4169 return resultobj;
4170 fail:
4171 return NULL;
4172}
4173
4174
c32bde28 4175static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4176 PyObject *resultobj;
4177 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4178 int arg2 ;
4179 int arg3 ;
4180 PyObject * obj0 = 0 ;
994141e6
RD
4181 PyObject * obj1 = 0 ;
4182 PyObject * obj2 = 0 ;
d14a1e28
RD
4183 char *kwnames[] = {
4184 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4185 };
4186
994141e6 4187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4190 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4191 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4192 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4193 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4194 {
4195 PyThreadState* __tstate = wxPyBeginAllowThreads();
4196 (arg1)->SetAlignment(arg2,arg3);
4197
4198 wxPyEndAllowThreads(__tstate);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 }
4201 Py_INCREF(Py_None); resultobj = Py_None;
4202 return resultobj;
4203 fail:
4204 return NULL;
4205}
4206
4207
c32bde28 4208static PyObject *_wrap_GridCellAttr_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4209 PyObject *resultobj;
4210 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4211 int arg2 ;
4212 int arg3 ;
4213 PyObject * obj0 = 0 ;
994141e6
RD
4214 PyObject * obj1 = 0 ;
4215 PyObject * obj2 = 0 ;
d14a1e28
RD
4216 char *kwnames[] = {
4217 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4218 };
4219
994141e6 4220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4223 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4224 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4225 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4226 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 (arg1)->SetSize(arg2,arg3);
4230
4231 wxPyEndAllowThreads(__tstate);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 }
4234 Py_INCREF(Py_None); resultobj = Py_None;
4235 return resultobj;
4236 fail:
4237 return NULL;
4238}
4239
4240
c32bde28 4241static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4242 PyObject *resultobj;
4243 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
ae8162c8 4244 bool arg2 = (bool) true ;
d14a1e28
RD
4245 PyObject * obj0 = 0 ;
4246 PyObject * obj1 = 0 ;
4247 char *kwnames[] = {
4248 (char *) "self",(char *) "allow", NULL
4249 };
4250
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetOverflow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4254 if (obj1) {
c32bde28 4255 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 4256 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4257 }
4258 {
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 (arg1)->SetOverflow(arg2);
4261
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 Py_INCREF(Py_None); resultobj = Py_None;
4266 return resultobj;
4267 fail:
4268 return NULL;
4269}
4270
4271
c32bde28 4272static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4273 PyObject *resultobj;
4274 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
ae8162c8 4275 bool arg2 = (bool) true ;
d14a1e28
RD
4276 PyObject * obj0 = 0 ;
4277 PyObject * obj1 = 0 ;
4278 char *kwnames[] = {
4279 (char *) "self",(char *) "isReadOnly", NULL
4280 };
4281
4282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4285 if (obj1) {
c32bde28 4286 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 4287 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4288 }
4289 {
4290 PyThreadState* __tstate = wxPyBeginAllowThreads();
4291 (arg1)->SetReadOnly(arg2);
4292
4293 wxPyEndAllowThreads(__tstate);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 }
4296 Py_INCREF(Py_None); resultobj = Py_None;
4297 return resultobj;
4298 fail:
4299 return NULL;
4300}
4301
4302
c32bde28 4303static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4304 PyObject *resultobj;
4305 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4306 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
4307 PyObject * obj0 = 0 ;
4308 PyObject * obj1 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "self",(char *) "renderer", NULL
4311 };
4312
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetRenderer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
4317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4318 {
4319 PyThreadState* __tstate = wxPyBeginAllowThreads();
4320 (arg1)->SetRenderer(arg2);
4321
4322 wxPyEndAllowThreads(__tstate);
4323 if (PyErr_Occurred()) SWIG_fail;
4324 }
4325 Py_INCREF(Py_None); resultobj = Py_None;
4326 return resultobj;
4327 fail:
4328 return NULL;
4329}
4330
4331
c32bde28 4332static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4333 PyObject *resultobj;
4334 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4335 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
4336 PyObject * obj0 = 0 ;
4337 PyObject * obj1 = 0 ;
4338 char *kwnames[] = {
4339 (char *) "self",(char *) "editor", NULL
4340 };
4341
4342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetEditor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4345 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
4346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4347 {
4348 PyThreadState* __tstate = wxPyBeginAllowThreads();
4349 (arg1)->SetEditor(arg2);
4350
4351 wxPyEndAllowThreads(__tstate);
4352 if (PyErr_Occurred()) SWIG_fail;
4353 }
4354 Py_INCREF(Py_None); resultobj = Py_None;
4355 return resultobj;
4356 fail:
4357 return NULL;
4358}
4359
4360
c32bde28 4361static PyObject *_wrap_GridCellAttr_SetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4362 PyObject *resultobj;
4363 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4364 int arg2 ;
4365 PyObject * obj0 = 0 ;
994141e6 4366 PyObject * obj1 = 0 ;
d14a1e28
RD
4367 char *kwnames[] = {
4368 (char *) "self",(char *) "kind", NULL
4369 };
4370
994141e6 4371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetKind",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4374 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4375 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4376 {
4377 PyThreadState* __tstate = wxPyBeginAllowThreads();
4378 (arg1)->SetKind((wxGridCellAttr::wxAttrKind )arg2);
4379
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 Py_INCREF(Py_None); resultobj = Py_None;
4384 return resultobj;
4385 fail:
4386 return NULL;
4387}
4388
4389
c32bde28 4390static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4391 PyObject *resultobj;
4392 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4393 bool result;
4394 PyObject * obj0 = 0 ;
4395 char *kwnames[] = {
4396 (char *) "self", NULL
4397 };
4398
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4402 {
4403 PyThreadState* __tstate = wxPyBeginAllowThreads();
4404 result = (bool)((wxGridCellAttr const *)arg1)->HasTextColour();
4405
4406 wxPyEndAllowThreads(__tstate);
4407 if (PyErr_Occurred()) SWIG_fail;
4408 }
4f89f6a3
RD
4409 {
4410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4411 }
d14a1e28
RD
4412 return resultobj;
4413 fail:
4414 return NULL;
4415}
4416
4417
c32bde28 4418static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4419 PyObject *resultobj;
4420 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4421 bool result;
4422 PyObject * obj0 = 0 ;
4423 char *kwnames[] = {
4424 (char *) "self", NULL
4425 };
4426
4427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4430 {
4431 PyThreadState* __tstate = wxPyBeginAllowThreads();
4432 result = (bool)((wxGridCellAttr const *)arg1)->HasBackgroundColour();
4433
4434 wxPyEndAllowThreads(__tstate);
4435 if (PyErr_Occurred()) SWIG_fail;
4436 }
4f89f6a3
RD
4437 {
4438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4439 }
d14a1e28
RD
4440 return resultobj;
4441 fail:
4442 return NULL;
4443}
4444
4445
c32bde28 4446static PyObject *_wrap_GridCellAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4447 PyObject *resultobj;
4448 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4449 bool result;
4450 PyObject * obj0 = 0 ;
4451 char *kwnames[] = {
4452 (char *) "self", NULL
4453 };
4454
4455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
4456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4458 {
4459 PyThreadState* __tstate = wxPyBeginAllowThreads();
4460 result = (bool)((wxGridCellAttr const *)arg1)->HasFont();
4461
4462 wxPyEndAllowThreads(__tstate);
4463 if (PyErr_Occurred()) SWIG_fail;
4464 }
4f89f6a3
RD
4465 {
4466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4467 }
d14a1e28
RD
4468 return resultobj;
4469 fail:
4470 return NULL;
4471}
4472
4473
c32bde28 4474static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4475 PyObject *resultobj;
4476 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4477 bool result;
4478 PyObject * obj0 = 0 ;
4479 char *kwnames[] = {
4480 (char *) "self", NULL
4481 };
4482
4483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
4484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4486 {
4487 PyThreadState* __tstate = wxPyBeginAllowThreads();
4488 result = (bool)((wxGridCellAttr const *)arg1)->HasAlignment();
4489
4490 wxPyEndAllowThreads(__tstate);
4491 if (PyErr_Occurred()) SWIG_fail;
4492 }
4f89f6a3
RD
4493 {
4494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4495 }
d14a1e28
RD
4496 return resultobj;
4497 fail:
4498 return NULL;
4499}
4500
4501
c32bde28 4502static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4503 PyObject *resultobj;
4504 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4505 bool result;
4506 PyObject * obj0 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasRenderer",kwnames,&obj0)) goto fail;
15afbcd0
RD
4512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 result = (bool)((wxGridCellAttr const *)arg1)->HasRenderer();
4517
4518 wxPyEndAllowThreads(__tstate);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 }
4f89f6a3
RD
4521 {
4522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4523 }
d14a1e28
RD
4524 return resultobj;
4525 fail:
4526 return NULL;
4527}
4528
4529
c32bde28 4530static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4531 PyObject *resultobj;
4532 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4533 bool result;
4534 PyObject * obj0 = 0 ;
4535 char *kwnames[] = {
4536 (char *) "self", NULL
4537 };
4538
4539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasEditor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4542 {
4543 PyThreadState* __tstate = wxPyBeginAllowThreads();
4544 result = (bool)((wxGridCellAttr const *)arg1)->HasEditor();
4545
4546 wxPyEndAllowThreads(__tstate);
4547 if (PyErr_Occurred()) SWIG_fail;
4548 }
4f89f6a3
RD
4549 {
4550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4551 }
d14a1e28
RD
4552 return resultobj;
4553 fail:
4554 return NULL;
4555}
4556
4557
c32bde28 4558static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4559 PyObject *resultobj;
4560 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4561 bool result;
4562 PyObject * obj0 = 0 ;
4563 char *kwnames[] = {
4564 (char *) "self", NULL
4565 };
4566
4567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
4568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4570 {
4571 PyThreadState* __tstate = wxPyBeginAllowThreads();
4572 result = (bool)((wxGridCellAttr const *)arg1)->HasReadWriteMode();
4573
4574 wxPyEndAllowThreads(__tstate);
4575 if (PyErr_Occurred()) SWIG_fail;
4576 }
4f89f6a3
RD
4577 {
4578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4579 }
d14a1e28
RD
4580 return resultobj;
4581 fail:
4582 return NULL;
4583}
4584
4585
c32bde28 4586static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4587 PyObject *resultobj;
4588 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4589 bool result;
4590 PyObject * obj0 = 0 ;
4591 char *kwnames[] = {
4592 (char *) "self", NULL
4593 };
4594
4595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasOverflowMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
4596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4598 {
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
4600 result = (bool)((wxGridCellAttr const *)arg1)->HasOverflowMode();
4601
4602 wxPyEndAllowThreads(__tstate);
4603 if (PyErr_Occurred()) SWIG_fail;
4604 }
4f89f6a3
RD
4605 {
4606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4607 }
d14a1e28
RD
4608 return resultobj;
4609 fail:
4610 return NULL;
4611}
4612
4613
c32bde28 4614static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4615 PyObject *resultobj;
4616 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4617 wxColour result;
4618 PyObject * obj0 = 0 ;
4619 char *kwnames[] = {
4620 (char *) "self", NULL
4621 };
4622
4623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4626 {
4627 PyThreadState* __tstate = wxPyBeginAllowThreads();
4628 result = ((wxGridCellAttr const *)arg1)->GetTextColour();
4629
4630 wxPyEndAllowThreads(__tstate);
4631 if (PyErr_Occurred()) SWIG_fail;
4632 }
4633 {
4634 wxColour * resultptr;
4635 resultptr = new wxColour((wxColour &) result);
15afbcd0 4636 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4637 }
4638 return resultobj;
4639 fail:
4640 return NULL;
4641}
4642
4643
c32bde28 4644static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4645 PyObject *resultobj;
4646 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4647 wxColour result;
4648 PyObject * obj0 = 0 ;
4649 char *kwnames[] = {
4650 (char *) "self", NULL
4651 };
4652
4653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4656 {
4657 PyThreadState* __tstate = wxPyBeginAllowThreads();
4658 result = ((wxGridCellAttr const *)arg1)->GetBackgroundColour();
4659
4660 wxPyEndAllowThreads(__tstate);
4661 if (PyErr_Occurred()) SWIG_fail;
4662 }
4663 {
4664 wxColour * resultptr;
4665 resultptr = new wxColour((wxColour &) result);
15afbcd0 4666 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4667 }
4668 return resultobj;
4669 fail:
4670 return NULL;
4671}
4672
4673
c32bde28 4674static PyObject *_wrap_GridCellAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4675 PyObject *resultobj;
4676 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4677 wxFont result;
4678 PyObject * obj0 = 0 ;
4679 char *kwnames[] = {
4680 (char *) "self", NULL
4681 };
4682
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
4684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4686 {
4687 PyThreadState* __tstate = wxPyBeginAllowThreads();
4688 result = ((wxGridCellAttr const *)arg1)->GetFont();
4689
4690 wxPyEndAllowThreads(__tstate);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 {
4694 wxFont * resultptr;
4695 resultptr = new wxFont((wxFont &) result);
15afbcd0 4696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
4697 }
4698 return resultobj;
4699 fail:
4700 return NULL;
4701}
4702
4703
c32bde28 4704static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4705 PyObject *resultobj;
4706 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4707 int *arg2 = (int *) 0 ;
4708 int *arg3 = (int *) 0 ;
4709 int temp2 ;
c32bde28 4710 int res2 = 0 ;
d14a1e28 4711 int temp3 ;
c32bde28 4712 int res3 = 0 ;
d14a1e28
RD
4713 PyObject * obj0 = 0 ;
4714 char *kwnames[] = {
4715 (char *) "self", NULL
4716 };
4717
c32bde28
RD
4718 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4719 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
4721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4723 {
4724 PyThreadState* __tstate = wxPyBeginAllowThreads();
4725 ((wxGridCellAttr const *)arg1)->GetAlignment(arg2,arg3);
4726
4727 wxPyEndAllowThreads(__tstate);
4728 if (PyErr_Occurred()) SWIG_fail;
4729 }
4730 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
4731 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4732 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
4733 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4734 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
4735 return resultobj;
4736 fail:
4737 return NULL;
4738}
4739
4740
c32bde28 4741static PyObject *_wrap_GridCellAttr_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4742 PyObject *resultobj;
4743 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4744 int *arg2 = (int *) 0 ;
4745 int *arg3 = (int *) 0 ;
4746 int temp2 ;
c32bde28 4747 int res2 = 0 ;
d14a1e28 4748 int temp3 ;
c32bde28 4749 int res3 = 0 ;
d14a1e28
RD
4750 PyObject * obj0 = 0 ;
4751 char *kwnames[] = {
4752 (char *) "self", NULL
4753 };
4754
c32bde28
RD
4755 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4756 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 4757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
4758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4760 {
4761 PyThreadState* __tstate = wxPyBeginAllowThreads();
4762 ((wxGridCellAttr const *)arg1)->GetSize(arg2,arg3);
4763
4764 wxPyEndAllowThreads(__tstate);
4765 if (PyErr_Occurred()) SWIG_fail;
4766 }
4767 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
4768 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4769 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
4770 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4771 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
4772 return resultobj;
4773 fail:
4774 return NULL;
4775}
4776
4777
c32bde28 4778static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4779 PyObject *resultobj;
4780 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4781 bool result;
4782 PyObject * obj0 = 0 ;
4783 char *kwnames[] = {
4784 (char *) "self", NULL
4785 };
4786
4787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetOverflow",kwnames,&obj0)) goto fail;
15afbcd0
RD
4788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 result = (bool)((wxGridCellAttr const *)arg1)->GetOverflow();
4793
4794 wxPyEndAllowThreads(__tstate);
4795 if (PyErr_Occurred()) SWIG_fail;
4796 }
4f89f6a3
RD
4797 {
4798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4799 }
d14a1e28
RD
4800 return resultobj;
4801 fail:
4802 return NULL;
4803}
4804
4805
c32bde28 4806static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4807 PyObject *resultobj;
4808 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4809 wxGrid *arg2 = (wxGrid *) 0 ;
4810 int arg3 ;
4811 int arg4 ;
4812 wxGridCellRenderer *result;
4813 PyObject * obj0 = 0 ;
4814 PyObject * obj1 = 0 ;
994141e6
RD
4815 PyObject * obj2 = 0 ;
4816 PyObject * obj3 = 0 ;
d14a1e28
RD
4817 char *kwnames[] = {
4818 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4819 };
4820
994141e6 4821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4824 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4826 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4827 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4828 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 4829 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4830 {
4831 PyThreadState* __tstate = wxPyBeginAllowThreads();
4832 result = (wxGridCellRenderer *)((wxGridCellAttr const *)arg1)->GetRenderer(arg2,arg3,arg4);
4833
4834 wxPyEndAllowThreads(__tstate);
4835 if (PyErr_Occurred()) SWIG_fail;
4836 }
4837 {
412d302d 4838 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
d14a1e28
RD
4839 }
4840 return resultobj;
4841 fail:
4842 return NULL;
4843}
4844
4845
c32bde28 4846static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4847 PyObject *resultobj;
4848 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4849 wxGrid *arg2 = (wxGrid *) 0 ;
4850 int arg3 ;
4851 int arg4 ;
4852 wxGridCellEditor *result;
4853 PyObject * obj0 = 0 ;
4854 PyObject * obj1 = 0 ;
994141e6
RD
4855 PyObject * obj2 = 0 ;
4856 PyObject * obj3 = 0 ;
d14a1e28
RD
4857 char *kwnames[] = {
4858 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4859 };
4860
994141e6 4861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4864 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4866 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4867 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4868 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 4869 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4870 {
4871 PyThreadState* __tstate = wxPyBeginAllowThreads();
4872 result = (wxGridCellEditor *)((wxGridCellAttr const *)arg1)->GetEditor(arg2,arg3,arg4);
4873
4874 wxPyEndAllowThreads(__tstate);
4875 if (PyErr_Occurred()) SWIG_fail;
4876 }
4877 {
412d302d 4878 resultobj = wxPyMake_wxGridCellEditor(result, 0);
d14a1e28
RD
4879 }
4880 return resultobj;
4881 fail:
4882 return NULL;
4883}
4884
4885
c32bde28 4886static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4887 PyObject *resultobj;
4888 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4889 bool result;
4890 PyObject * obj0 = 0 ;
4891 char *kwnames[] = {
4892 (char *) "self", NULL
4893 };
4894
4895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IsReadOnly",kwnames,&obj0)) goto fail;
15afbcd0
RD
4896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4898 {
4899 PyThreadState* __tstate = wxPyBeginAllowThreads();
4900 result = (bool)((wxGridCellAttr const *)arg1)->IsReadOnly();
4901
4902 wxPyEndAllowThreads(__tstate);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4f89f6a3
RD
4905 {
4906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4907 }
d14a1e28
RD
4908 return resultobj;
4909 fail:
4910 return NULL;
4911}
4912
4913
c32bde28 4914static PyObject *_wrap_GridCellAttr_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
fd2dc343
RD
4915 PyObject *resultobj;
4916 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4917 int result;
4918 PyObject * obj0 = 0 ;
4919 char *kwnames[] = {
4920 (char *) "self", NULL
4921 };
4922
4923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetKind",kwnames,&obj0)) goto fail;
4924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4926 {
4927 PyThreadState* __tstate = wxPyBeginAllowThreads();
4928 result = (int)(arg1)->GetKind();
4929
4930 wxPyEndAllowThreads(__tstate);
4931 if (PyErr_Occurred()) SWIG_fail;
4932 }
c32bde28 4933 resultobj = SWIG_From_int((int)result);
fd2dc343
RD
4934 return resultobj;
4935 fail:
4936 return NULL;
4937}
4938
4939
c32bde28 4940static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4941 PyObject *resultobj;
4942 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4943 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4944 PyObject * obj0 = 0 ;
4945 PyObject * obj1 = 0 ;
4946 char *kwnames[] = {
4947 (char *) "self",(char *) "defAttr", NULL
4948 };
4949
4950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetDefAttr",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4955 {
4956 PyThreadState* __tstate = wxPyBeginAllowThreads();
4957 (arg1)->SetDefAttr(arg2);
4958
4959 wxPyEndAllowThreads(__tstate);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 Py_INCREF(Py_None); resultobj = Py_None;
4963 return resultobj;
4964 fail:
4965 return NULL;
4966}
4967
4968
c32bde28 4969static PyObject * GridCellAttr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4970 PyObject *obj;
4971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4972 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr, obj);
4973 Py_INCREF(obj);
4974 return Py_BuildValue((char *)"");
4975}
c32bde28 4976static PyObject *_wrap_new_GridCellAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4977 PyObject *resultobj;
4978 wxGridCellAttrProvider *result;
4979 char *kwnames[] = {
4980 NULL
4981 };
4982
4983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAttrProvider",kwnames)) goto fail;
4984 {
4985 PyThreadState* __tstate = wxPyBeginAllowThreads();
4986 result = (wxGridCellAttrProvider *)new wxGridCellAttrProvider();
4987
4988 wxPyEndAllowThreads(__tstate);
4989 if (PyErr_Occurred()) SWIG_fail;
4990 }
4991 {
412d302d 4992 resultobj = wxPyMake_wxGridCellAttrProvider(result, 1);
d14a1e28
RD
4993 }
4994 return resultobj;
4995 fail:
4996 return NULL;
4997}
4998
4999
c32bde28 5000static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5001 PyObject *resultobj;
5002 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5003 PyObject *arg2 = (PyObject *) 0 ;
5004 PyObject * obj0 = 0 ;
5005 PyObject * obj1 = 0 ;
5006 char *kwnames[] = {
5007 (char *) "self",(char *) "_self", NULL
5008 };
5009
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5013 arg2 = obj1;
5014 {
5015 PyThreadState* __tstate = wxPyBeginAllowThreads();
5016 wxGridCellAttrProvider__setOORInfo(arg1,arg2);
5017
5018 wxPyEndAllowThreads(__tstate);
5019 if (PyErr_Occurred()) SWIG_fail;
5020 }
5021 Py_INCREF(Py_None); resultobj = Py_None;
5022 return resultobj;
5023 fail:
5024 return NULL;
5025}
5026
5027
c32bde28 5028static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5029 PyObject *resultobj;
5030 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5031 int arg2 ;
5032 int arg3 ;
5033 int arg4 ;
5034 wxGridCellAttr *result;
5035 PyObject * obj0 = 0 ;
994141e6
RD
5036 PyObject * obj1 = 0 ;
5037 PyObject * obj2 = 0 ;
5038 PyObject * obj3 = 0 ;
d14a1e28
RD
5039 char *kwnames[] = {
5040 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5041 };
5042
994141e6 5043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5046 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5047 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5048 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5049 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5050 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5052 {
5053 PyThreadState* __tstate = wxPyBeginAllowThreads();
5054 result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
5055
5056 wxPyEndAllowThreads(__tstate);
5057 if (PyErr_Occurred()) SWIG_fail;
5058 }
5059 {
412d302d 5060 resultobj = wxPyMake_wxGridCellAttr(result, 0);
d14a1e28
RD
5061 }
5062 return resultobj;
5063 fail:
5064 return NULL;
5065}
5066
5067
c32bde28 5068static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5069 PyObject *resultobj;
5070 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5071 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5072 int arg3 ;
5073 int arg4 ;
5074 PyObject * obj0 = 0 ;
5075 PyObject * obj1 = 0 ;
994141e6
RD
5076 PyObject * obj2 = 0 ;
5077 PyObject * obj3 = 0 ;
d14a1e28
RD
5078 char *kwnames[] = {
5079 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5080 };
5081
994141e6 5082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5085 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5087 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5088 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5089 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5090 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
5093 (arg1)->SetAttr(arg2,arg3,arg4);
5094
5095 wxPyEndAllowThreads(__tstate);
5096 if (PyErr_Occurred()) SWIG_fail;
5097 }
5098 Py_INCREF(Py_None); resultobj = Py_None;
5099 return resultobj;
5100 fail:
5101 return NULL;
5102}
5103
5104
c32bde28 5105static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5106 PyObject *resultobj;
5107 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5108 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5109 int arg3 ;
5110 PyObject * obj0 = 0 ;
5111 PyObject * obj1 = 0 ;
994141e6 5112 PyObject * obj2 = 0 ;
d14a1e28
RD
5113 char *kwnames[] = {
5114 (char *) "self",(char *) "attr",(char *) "row", NULL
5115 };
5116
994141e6 5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5122 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5123 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 (arg1)->SetRowAttr(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
c32bde28 5138static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5139 PyObject *resultobj;
5140 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5141 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5142 int arg3 ;
5143 PyObject * obj0 = 0 ;
5144 PyObject * obj1 = 0 ;
994141e6 5145 PyObject * obj2 = 0 ;
d14a1e28
RD
5146 char *kwnames[] = {
5147 (char *) "self",(char *) "attr",(char *) "col", NULL
5148 };
5149
994141e6 5150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5153 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5155 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5156 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5157 {
5158 PyThreadState* __tstate = wxPyBeginAllowThreads();
5159 (arg1)->SetColAttr(arg2,arg3);
5160
5161 wxPyEndAllowThreads(__tstate);
5162 if (PyErr_Occurred()) SWIG_fail;
5163 }
5164 Py_INCREF(Py_None); resultobj = Py_None;
5165 return resultobj;
5166 fail:
5167 return NULL;
5168}
5169
5170
c32bde28 5171static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5172 PyObject *resultobj;
5173 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5174 size_t arg2 ;
5175 int arg3 ;
5176 PyObject * obj0 = 0 ;
5177 PyObject * obj1 = 0 ;
994141e6 5178 PyObject * obj2 = 0 ;
d14a1e28
RD
5179 char *kwnames[] = {
5180 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5181 };
5182
994141e6 5183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5186 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 5187 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5188 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5189 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5190 {
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 (arg1)->UpdateAttrRows(arg2,arg3);
5193
5194 wxPyEndAllowThreads(__tstate);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 Py_INCREF(Py_None); resultobj = Py_None;
5198 return resultobj;
5199 fail:
5200 return NULL;
5201}
5202
5203
c32bde28 5204static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5205 PyObject *resultobj;
5206 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5207 size_t arg2 ;
5208 int arg3 ;
5209 PyObject * obj0 = 0 ;
5210 PyObject * obj1 = 0 ;
994141e6 5211 PyObject * obj2 = 0 ;
d14a1e28
RD
5212 char *kwnames[] = {
5213 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5214 };
5215
994141e6 5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5219 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 5220 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5221 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5222 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 (arg1)->UpdateAttrCols(arg2,arg3);
5226
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 Py_INCREF(Py_None); resultobj = Py_None;
5231 return resultobj;
5232 fail:
5233 return NULL;
5234}
5235
5236
c32bde28 5237static PyObject * GridCellAttrProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5238 PyObject *obj;
5239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5240 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider, obj);
5241 Py_INCREF(obj);
5242 return Py_BuildValue((char *)"");
5243}
c32bde28 5244static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5245 PyObject *resultobj;
5246 wxPyGridCellAttrProvider *result;
5247 char *kwnames[] = {
5248 NULL
5249 };
5250
5251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellAttrProvider",kwnames)) goto fail;
5252 {
5253 PyThreadState* __tstate = wxPyBeginAllowThreads();
5254 result = (wxPyGridCellAttrProvider *)new wxPyGridCellAttrProvider();
5255
5256 wxPyEndAllowThreads(__tstate);
5257 if (PyErr_Occurred()) SWIG_fail;
5258 }
15afbcd0 5259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellAttrProvider, 1);
d14a1e28
RD
5260 return resultobj;
5261 fail:
5262 return NULL;
5263}
5264
5265
c32bde28 5266static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5267 PyObject *resultobj;
5268 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5269 PyObject *arg2 = (PyObject *) 0 ;
5270 PyObject *arg3 = (PyObject *) 0 ;
5271 PyObject * obj0 = 0 ;
5272 PyObject * obj1 = 0 ;
5273 PyObject * obj2 = 0 ;
5274 char *kwnames[] = {
5275 (char *) "self",(char *) "self",(char *) "_class", NULL
5276 };
5277
5278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5281 arg2 = obj1;
5282 arg3 = obj2;
5283 {
5284 PyThreadState* __tstate = wxPyBeginAllowThreads();
5285 (arg1)->_setCallbackInfo(arg2,arg3);
5286
5287 wxPyEndAllowThreads(__tstate);
5288 if (PyErr_Occurred()) SWIG_fail;
5289 }
5290 Py_INCREF(Py_None); resultobj = Py_None;
5291 return resultobj;
5292 fail:
5293 return NULL;
5294}
5295
5296
c32bde28 5297static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5298 PyObject *resultobj;
5299 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5300 int arg2 ;
5301 int arg3 ;
5302 int arg4 ;
5303 wxGridCellAttr *result;
5304 PyObject * obj0 = 0 ;
994141e6
RD
5305 PyObject * obj1 = 0 ;
5306 PyObject * obj2 = 0 ;
5307 PyObject * obj3 = 0 ;
d14a1e28
RD
5308 char *kwnames[] = {
5309 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5310 };
5311
994141e6 5312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5315 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5316 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5317 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5318 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5319 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5320 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5321 {
5322 PyThreadState* __tstate = wxPyBeginAllowThreads();
5323 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
5324
5325 wxPyEndAllowThreads(__tstate);
5326 if (PyErr_Occurred()) SWIG_fail;
5327 }
5328 {
412d302d 5329 resultobj = wxPyMake_wxGridCellAttr(result, 0);
d14a1e28
RD
5330 }
5331 return resultobj;
5332 fail:
5333 return NULL;
5334}
5335
5336
c32bde28 5337static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5338 PyObject *resultobj;
5339 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5340 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5341 int arg3 ;
5342 int arg4 ;
5343 PyObject * obj0 = 0 ;
5344 PyObject * obj1 = 0 ;
994141e6
RD
5345 PyObject * obj2 = 0 ;
5346 PyObject * obj3 = 0 ;
d14a1e28
RD
5347 char *kwnames[] = {
5348 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5349 };
5350
994141e6 5351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5356 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5357 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5358 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5359 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 (arg1)->base_SetAttr(arg2,arg3,arg4);
5363
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 Py_INCREF(Py_None); resultobj = Py_None;
5368 return resultobj;
5369 fail:
5370 return NULL;
5371}
5372
5373
c32bde28 5374static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5375 PyObject *resultobj;
5376 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5377 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5378 int arg3 ;
5379 PyObject * obj0 = 0 ;
5380 PyObject * obj1 = 0 ;
994141e6 5381 PyObject * obj2 = 0 ;
d14a1e28
RD
5382 char *kwnames[] = {
5383 (char *) "self",(char *) "attr",(char *) "row", NULL
5384 };
5385
994141e6 5386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5391 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5393 {
5394 PyThreadState* __tstate = wxPyBeginAllowThreads();
5395 (arg1)->base_SetRowAttr(arg2,arg3);
5396
5397 wxPyEndAllowThreads(__tstate);
5398 if (PyErr_Occurred()) SWIG_fail;
5399 }
5400 Py_INCREF(Py_None); resultobj = Py_None;
5401 return resultobj;
5402 fail:
5403 return NULL;
5404}
5405
5406
c32bde28 5407static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5408 PyObject *resultobj;
5409 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5410 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5411 int arg3 ;
5412 PyObject * obj0 = 0 ;
5413 PyObject * obj1 = 0 ;
994141e6 5414 PyObject * obj2 = 0 ;
d14a1e28
RD
5415 char *kwnames[] = {
5416 (char *) "self",(char *) "attr",(char *) "col", NULL
5417 };
5418
994141e6 5419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5422 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5424 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5425 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5426 {
5427 PyThreadState* __tstate = wxPyBeginAllowThreads();
5428 (arg1)->base_SetColAttr(arg2,arg3);
5429
5430 wxPyEndAllowThreads(__tstate);
5431 if (PyErr_Occurred()) SWIG_fail;
5432 }
5433 Py_INCREF(Py_None); resultobj = Py_None;
5434 return resultobj;
5435 fail:
5436 return NULL;
5437}
5438
5439
c32bde28 5440static PyObject * PyGridCellAttrProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5441 PyObject *obj;
5442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5443 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider, obj);
5444 Py_INCREF(obj);
5445 return Py_BuildValue((char *)"");
5446}
c32bde28 5447static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5448 PyObject *resultobj;
5449 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5450 PyObject *arg2 = (PyObject *) 0 ;
5451 PyObject * obj0 = 0 ;
5452 PyObject * obj1 = 0 ;
5453 char *kwnames[] = {
5454 (char *) "self",(char *) "_self", NULL
5455 };
5456
5457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5460 arg2 = obj1;
5461 {
5462 PyThreadState* __tstate = wxPyBeginAllowThreads();
5463 wxGridTableBase__setOORInfo(arg1,arg2);
5464
5465 wxPyEndAllowThreads(__tstate);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 }
5468 Py_INCREF(Py_None); resultobj = Py_None;
5469 return resultobj;
5470 fail:
5471 return NULL;
5472}
5473
5474
c32bde28 5475static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5476 PyObject *resultobj;
5477 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5478 wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ;
5479 PyObject * obj0 = 0 ;
5480 PyObject * obj1 = 0 ;
5481 char *kwnames[] = {
5482 (char *) "self",(char *) "attrProvider", NULL
5483 };
5484
5485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetAttrProvider",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5488 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttrProvider,
5489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 (arg1)->SetAttrProvider(arg2);
5493
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 Py_INCREF(Py_None); resultobj = Py_None;
5498 return resultobj;
5499 fail:
5500 return NULL;
5501}
5502
5503
c32bde28 5504static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5505 PyObject *resultobj;
5506 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5507 wxGridCellAttrProvider *result;
5508 PyObject * obj0 = 0 ;
5509 char *kwnames[] = {
5510 (char *) "self", NULL
5511 };
5512
5513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetAttrProvider",kwnames,&obj0)) goto fail;
15afbcd0
RD
5514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 result = (wxGridCellAttrProvider *)((wxGridTableBase const *)arg1)->GetAttrProvider();
5519
5520 wxPyEndAllowThreads(__tstate);
5521 if (PyErr_Occurred()) SWIG_fail;
5522 }
5523 {
412d302d 5524 resultobj = wxPyMake_wxGridCellAttrProvider(result, 0);
d14a1e28
RD
5525 }
5526 return resultobj;
5527 fail:
5528 return NULL;
5529}
5530
5531
c32bde28 5532static PyObject *_wrap_GridTableBase_SetView(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5533 PyObject *resultobj;
5534 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5535 wxGrid *arg2 = (wxGrid *) 0 ;
5536 PyObject * obj0 = 0 ;
5537 PyObject * obj1 = 0 ;
5538 char *kwnames[] = {
5539 (char *) "self",(char *) "grid", NULL
5540 };
5541
5542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetView",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5545 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
5546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 (arg1)->SetView(arg2);
5550
5551 wxPyEndAllowThreads(__tstate);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
5554 Py_INCREF(Py_None); resultobj = Py_None;
5555 return resultobj;
5556 fail:
5557 return NULL;
5558}
5559
5560
c32bde28 5561static PyObject *_wrap_GridTableBase_GetView(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5562 PyObject *resultobj;
5563 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5564 wxGrid *result;
5565 PyObject * obj0 = 0 ;
5566 char *kwnames[] = {
5567 (char *) "self", NULL
5568 };
5569
5570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetView",kwnames,&obj0)) goto fail;
15afbcd0
RD
5571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 result = (wxGrid *)((wxGridTableBase const *)arg1)->GetView();
5576
5577 wxPyEndAllowThreads(__tstate);
5578 if (PyErr_Occurred()) SWIG_fail;
5579 }
5580 {
412d302d 5581 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5582 }
5583 return resultobj;
5584 fail:
5585 return NULL;
5586}
5587
5588
c32bde28 5589static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5590 PyObject *resultobj;
5591 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5592 int result;
5593 PyObject * obj0 = 0 ;
5594 char *kwnames[] = {
5595 (char *) "self", NULL
5596 };
5597
5598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
5599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 result = (int)(arg1)->GetNumberRows();
5604
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
c32bde28 5608 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5609 return resultobj;
5610 fail:
5611 return NULL;
5612}
5613
5614
c32bde28 5615static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5616 PyObject *resultobj;
5617 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5618 int result;
5619 PyObject * obj0 = 0 ;
5620 char *kwnames[] = {
5621 (char *) "self", NULL
5622 };
5623
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
5625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 result = (int)(arg1)->GetNumberCols();
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
c32bde28 5634 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5635 return resultobj;
5636 fail:
5637 return NULL;
5638}
5639
5640
c32bde28 5641static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5642 PyObject *resultobj;
5643 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5644 int arg2 ;
5645 int arg3 ;
5646 bool result;
5647 PyObject * obj0 = 0 ;
994141e6
RD
5648 PyObject * obj1 = 0 ;
5649 PyObject * obj2 = 0 ;
d14a1e28
RD
5650 char *kwnames[] = {
5651 (char *) "self",(char *) "row",(char *) "col", NULL
5652 };
5653
994141e6 5654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5657 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5658 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5659 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5660 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5661 {
5662 PyThreadState* __tstate = wxPyBeginAllowThreads();
5663 result = (bool)(arg1)->IsEmptyCell(arg2,arg3);
5664
5665 wxPyEndAllowThreads(__tstate);
5666 if (PyErr_Occurred()) SWIG_fail;
5667 }
4f89f6a3
RD
5668 {
5669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5670 }
d14a1e28
RD
5671 return resultobj;
5672 fail:
5673 return NULL;
5674}
5675
5676
c32bde28 5677static PyObject *_wrap_GridTableBase_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5678 PyObject *resultobj;
5679 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5680 int arg2 ;
5681 int arg3 ;
5682 wxString result;
5683 PyObject * obj0 = 0 ;
994141e6
RD
5684 PyObject * obj1 = 0 ;
5685 PyObject * obj2 = 0 ;
d14a1e28
RD
5686 char *kwnames[] = {
5687 (char *) "self",(char *) "row",(char *) "col", NULL
5688 };
5689
994141e6 5690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5693 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5694 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5695 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5696 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 result = (arg1)->GetValue(arg2,arg3);
5700
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
5704 {
5705#if wxUSE_UNICODE
5706 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5707#else
5708 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5709#endif
5710 }
5711 return resultobj;
5712 fail:
5713 return NULL;
5714}
5715
5716
c32bde28 5717static PyObject *_wrap_GridTableBase_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5718 PyObject *resultobj;
5719 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5720 int arg2 ;
5721 int arg3 ;
5722 wxString *arg4 = 0 ;
ae8162c8 5723 bool temp4 = false ;
d14a1e28 5724 PyObject * obj0 = 0 ;
994141e6
RD
5725 PyObject * obj1 = 0 ;
5726 PyObject * obj2 = 0 ;
d14a1e28
RD
5727 PyObject * obj3 = 0 ;
5728 char *kwnames[] = {
5729 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5730 };
5731
994141e6 5732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5735 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5736 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5737 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5738 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5739 {
5740 arg4 = wxString_in_helper(obj3);
5741 if (arg4 == NULL) SWIG_fail;
ae8162c8 5742 temp4 = true;
d14a1e28
RD
5743 }
5744 {
5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
5746 (arg1)->SetValue(arg2,arg3,(wxString const &)*arg4);
5747
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 Py_INCREF(Py_None); resultobj = Py_None;
5752 {
5753 if (temp4)
5754 delete arg4;
5755 }
5756 return resultobj;
5757 fail:
5758 {
5759 if (temp4)
5760 delete arg4;
5761 }
5762 return NULL;
5763}
5764
5765
c32bde28 5766static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5767 PyObject *resultobj;
5768 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5769 int arg2 ;
5770 int arg3 ;
5771 wxString result;
5772 PyObject * obj0 = 0 ;
994141e6
RD
5773 PyObject * obj1 = 0 ;
5774 PyObject * obj2 = 0 ;
d14a1e28
RD
5775 char *kwnames[] = {
5776 (char *) "self",(char *) "row",(char *) "col", NULL
5777 };
5778
994141e6 5779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5782 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5783 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5784 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5785 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5786 {
5787 PyThreadState* __tstate = wxPyBeginAllowThreads();
5788 result = (arg1)->GetTypeName(arg2,arg3);
5789
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 }
5793 {
5794#if wxUSE_UNICODE
5795 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5796#else
5797 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5798#endif
5799 }
5800 return resultobj;
5801 fail:
5802 return NULL;
5803}
5804
5805
c32bde28 5806static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5807 PyObject *resultobj;
5808 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5809 int arg2 ;
5810 int arg3 ;
5811 wxString *arg4 = 0 ;
5812 bool result;
ae8162c8 5813 bool temp4 = false ;
d14a1e28 5814 PyObject * obj0 = 0 ;
994141e6
RD
5815 PyObject * obj1 = 0 ;
5816 PyObject * obj2 = 0 ;
d14a1e28
RD
5817 PyObject * obj3 = 0 ;
5818 char *kwnames[] = {
5819 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5820 };
5821
994141e6 5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5825 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5826 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5827 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5828 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5829 {
5830 arg4 = wxString_in_helper(obj3);
5831 if (arg4 == NULL) SWIG_fail;
ae8162c8 5832 temp4 = true;
d14a1e28
RD
5833 }
5834 {
5835 PyThreadState* __tstate = wxPyBeginAllowThreads();
5836 result = (bool)(arg1)->CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
5837
5838 wxPyEndAllowThreads(__tstate);
5839 if (PyErr_Occurred()) SWIG_fail;
5840 }
4f89f6a3
RD
5841 {
5842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5843 }
d14a1e28
RD
5844 {
5845 if (temp4)
5846 delete arg4;
5847 }
5848 return resultobj;
5849 fail:
5850 {
5851 if (temp4)
5852 delete arg4;
5853 }
5854 return NULL;
5855}
5856
5857
c32bde28 5858static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5859 PyObject *resultobj;
5860 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5861 int arg2 ;
5862 int arg3 ;
5863 wxString *arg4 = 0 ;
5864 bool result;
ae8162c8 5865 bool temp4 = false ;
d14a1e28 5866 PyObject * obj0 = 0 ;
994141e6
RD
5867 PyObject * obj1 = 0 ;
5868 PyObject * obj2 = 0 ;
d14a1e28
RD
5869 PyObject * obj3 = 0 ;
5870 char *kwnames[] = {
5871 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5872 };
5873
994141e6 5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5877 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5878 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5879 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5880 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5881 {
5882 arg4 = wxString_in_helper(obj3);
5883 if (arg4 == NULL) SWIG_fail;
ae8162c8 5884 temp4 = true;
d14a1e28
RD
5885 }
5886 {
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 result = (bool)(arg1)->CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
5889
5890 wxPyEndAllowThreads(__tstate);
5891 if (PyErr_Occurred()) SWIG_fail;
5892 }
4f89f6a3
RD
5893 {
5894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5895 }
d14a1e28
RD
5896 {
5897 if (temp4)
5898 delete arg4;
5899 }
5900 return resultobj;
5901 fail:
5902 {
5903 if (temp4)
5904 delete arg4;
5905 }
5906 return NULL;
5907}
5908
5909
c32bde28 5910static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5911 PyObject *resultobj;
5912 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5913 int arg2 ;
5914 int arg3 ;
5915 long result;
5916 PyObject * obj0 = 0 ;
994141e6
RD
5917 PyObject * obj1 = 0 ;
5918 PyObject * obj2 = 0 ;
d14a1e28
RD
5919 char *kwnames[] = {
5920 (char *) "self",(char *) "row",(char *) "col", NULL
5921 };
5922
994141e6 5923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5926 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5927 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5928 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5929 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5930 {
5931 PyThreadState* __tstate = wxPyBeginAllowThreads();
5932 result = (long)(arg1)->GetValueAsLong(arg2,arg3);
5933
5934 wxPyEndAllowThreads(__tstate);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 }
c32bde28 5937 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
5938 return resultobj;
5939 fail:
5940 return NULL;
5941}
5942
5943
c32bde28 5944static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5945 PyObject *resultobj;
5946 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5947 int arg2 ;
5948 int arg3 ;
5949 double result;
5950 PyObject * obj0 = 0 ;
994141e6
RD
5951 PyObject * obj1 = 0 ;
5952 PyObject * obj2 = 0 ;
d14a1e28
RD
5953 char *kwnames[] = {
5954 (char *) "self",(char *) "row",(char *) "col", NULL
5955 };
5956
994141e6 5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5960 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5961 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5962 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5963 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5964 {
5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
5966 result = (double)(arg1)->GetValueAsDouble(arg2,arg3);
5967
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 }
c32bde28 5971 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
5972 return resultobj;
5973 fail:
5974 return NULL;
5975}
5976
5977
c32bde28 5978static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5979 PyObject *resultobj;
5980 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5981 int arg2 ;
5982 int arg3 ;
5983 bool result;
5984 PyObject * obj0 = 0 ;
994141e6
RD
5985 PyObject * obj1 = 0 ;
5986 PyObject * obj2 = 0 ;
d14a1e28
RD
5987 char *kwnames[] = {
5988 (char *) "self",(char *) "row",(char *) "col", NULL
5989 };
5990
994141e6 5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5994 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5995 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5996 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5997 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5998 {
5999 PyThreadState* __tstate = wxPyBeginAllowThreads();
6000 result = (bool)(arg1)->GetValueAsBool(arg2,arg3);
6001
6002 wxPyEndAllowThreads(__tstate);
6003 if (PyErr_Occurred()) SWIG_fail;
6004 }
4f89f6a3
RD
6005 {
6006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6007 }
d14a1e28
RD
6008 return resultobj;
6009 fail:
6010 return NULL;
6011}
6012
6013
c32bde28 6014static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6015 PyObject *resultobj;
6016 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6017 int arg2 ;
6018 int arg3 ;
6019 long arg4 ;
6020 PyObject * obj0 = 0 ;
994141e6
RD
6021 PyObject * obj1 = 0 ;
6022 PyObject * obj2 = 0 ;
6023 PyObject * obj3 = 0 ;
d14a1e28
RD
6024 char *kwnames[] = {
6025 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
6026 };
6027
994141e6 6028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6031 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6032 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6033 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6034 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6035 arg4 = (long)SWIG_As_long(obj3);
15afbcd0 6036 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6037 {
6038 PyThreadState* __tstate = wxPyBeginAllowThreads();
6039 (arg1)->SetValueAsLong(arg2,arg3,arg4);
6040
6041 wxPyEndAllowThreads(__tstate);
6042 if (PyErr_Occurred()) SWIG_fail;
6043 }
6044 Py_INCREF(Py_None); resultobj = Py_None;
6045 return resultobj;
6046 fail:
6047 return NULL;
6048}
6049
6050
c32bde28 6051static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6052 PyObject *resultobj;
6053 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6054 int arg2 ;
6055 int arg3 ;
6056 double arg4 ;
6057 PyObject * obj0 = 0 ;
994141e6
RD
6058 PyObject * obj1 = 0 ;
6059 PyObject * obj2 = 0 ;
6060 PyObject * obj3 = 0 ;
d14a1e28
RD
6061 char *kwnames[] = {
6062 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
6063 };
6064
994141e6 6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6068 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6069 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6070 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6071 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6072 arg4 = (double)SWIG_As_double(obj3);
15afbcd0 6073 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6074 {
6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6076 (arg1)->SetValueAsDouble(arg2,arg3,arg4);
6077
6078 wxPyEndAllowThreads(__tstate);
6079 if (PyErr_Occurred()) SWIG_fail;
6080 }
6081 Py_INCREF(Py_None); resultobj = Py_None;
6082 return resultobj;
6083 fail:
6084 return NULL;
6085}
6086
6087
c32bde28 6088static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6089 PyObject *resultobj;
6090 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6091 int arg2 ;
6092 int arg3 ;
6093 bool arg4 ;
6094 PyObject * obj0 = 0 ;
994141e6
RD
6095 PyObject * obj1 = 0 ;
6096 PyObject * obj2 = 0 ;
d14a1e28
RD
6097 PyObject * obj3 = 0 ;
6098 char *kwnames[] = {
6099 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
6100 };
6101
994141e6 6102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6105 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6106 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6107 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6108 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6109 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 6110 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6111 {
6112 PyThreadState* __tstate = wxPyBeginAllowThreads();
6113 (arg1)->SetValueAsBool(arg2,arg3,arg4);
6114
6115 wxPyEndAllowThreads(__tstate);
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
6118 Py_INCREF(Py_None); resultobj = Py_None;
6119 return resultobj;
6120 fail:
6121 return NULL;
6122}
6123
6124
c32bde28 6125static PyObject *_wrap_GridTableBase_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6126 PyObject *resultobj;
6127 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6128 PyObject * obj0 = 0 ;
6129 char *kwnames[] = {
6130 (char *) "self", NULL
6131 };
6132
6133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
6134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6136 {
6137 PyThreadState* __tstate = wxPyBeginAllowThreads();
6138 (arg1)->Clear();
6139
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 Py_INCREF(Py_None); resultobj = Py_None;
6144 return resultobj;
6145 fail:
6146 return NULL;
6147}
6148
6149
c32bde28 6150static PyObject *_wrap_GridTableBase_InsertRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6151 PyObject *resultobj;
6152 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6153 size_t arg2 = (size_t) 0 ;
6154 size_t arg3 = (size_t) 1 ;
6155 bool result;
6156 PyObject * obj0 = 0 ;
6157 PyObject * obj1 = 0 ;
6158 PyObject * obj2 = 0 ;
6159 char *kwnames[] = {
6160 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6161 };
6162
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6166 if (obj1) {
c32bde28 6167 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 6168 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6169 }
6170 if (obj2) {
c32bde28 6171 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
15afbcd0 6172 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6173 }
6174 {
6175 PyThreadState* __tstate = wxPyBeginAllowThreads();
6176 result = (bool)(arg1)->InsertRows(arg2,arg3);
6177
6178 wxPyEndAllowThreads(__tstate);
6179 if (PyErr_Occurred()) SWIG_fail;
6180 }
4f89f6a3
RD
6181 {
6182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6183 }
d14a1e28
RD
6184 return resultobj;
6185 fail:
6186 return NULL;
6187}
6188
6189
c32bde28 6190static PyObject *_wrap_GridTableBase_AppendRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6191 PyObject *resultobj;
6192 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6193 size_t arg2 = (size_t) 1 ;
6194 bool result;
6195 PyObject * obj0 = 0 ;
6196 PyObject * obj1 = 0 ;
6197 char *kwnames[] = {
6198 (char *) "self",(char *) "numRows", NULL
6199 };
6200
6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6204 if (obj1) {
c32bde28 6205 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 6206 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6207 }
6208 {
6209 PyThreadState* __tstate = wxPyBeginAllowThreads();
6210 result = (bool)(arg1)->AppendRows(arg2);
6211
6212 wxPyEndAllowThreads(__tstate);
6213 if (PyErr_Occurred()) SWIG_fail;
6214 }
4f89f6a3
RD
6215 {
6216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6217 }
d14a1e28
RD
6218 return resultobj;
6219 fail:
6220 return NULL;
6221}
6222
6223
c32bde28 6224static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6225 PyObject *resultobj;
6226 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6227 size_t arg2 = (size_t) 0 ;
6228 size_t arg3 = (size_t) 1 ;
6229 bool result;
6230 PyObject * obj0 = 0 ;
6231 PyObject * obj1 = 0 ;
6232 PyObject * obj2 = 0 ;
6233 char *kwnames[] = {
6234 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6235 };
6236
6237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6240 if (obj1) {
c32bde28 6241 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 6242 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6243 }
6244 if (obj2) {
c32bde28 6245 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
15afbcd0 6246 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6247 }
6248 {
6249 PyThreadState* __tstate = wxPyBeginAllowThreads();
6250 result = (bool)(arg1)->DeleteRows(arg2,arg3);
6251
6252 wxPyEndAllowThreads(__tstate);
6253 if (PyErr_Occurred()) SWIG_fail;
6254 }
4f89f6a3
RD
6255 {
6256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6257 }
d14a1e28
RD
6258 return resultobj;
6259 fail:
6260 return NULL;
6261}
6262
6263
c32bde28 6264static PyObject *_wrap_GridTableBase_InsertCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6265 PyObject *resultobj;
6266 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6267 size_t arg2 = (size_t) 0 ;
6268 size_t arg3 = (size_t) 1 ;
6269 bool result;
6270 PyObject * obj0 = 0 ;
6271 PyObject * obj1 = 0 ;
6272 PyObject * obj2 = 0 ;
6273 char *kwnames[] = {
6274 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6275 };
6276
6277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6280 if (obj1) {
c32bde28 6281 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 6282 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6283 }
6284 if (obj2) {
c32bde28 6285 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
15afbcd0 6286 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6287 }
6288 {
6289 PyThreadState* __tstate = wxPyBeginAllowThreads();
6290 result = (bool)(arg1)->InsertCols(arg2,arg3);
6291
6292 wxPyEndAllowThreads(__tstate);
6293 if (PyErr_Occurred()) SWIG_fail;
6294 }
4f89f6a3
RD
6295 {
6296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6297 }
d14a1e28
RD
6298 return resultobj;
6299 fail:
6300 return NULL;
6301}
6302
6303
c32bde28 6304static PyObject *_wrap_GridTableBase_AppendCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6305 PyObject *resultobj;
6306 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6307 size_t arg2 = (size_t) 1 ;
6308 bool result;
6309 PyObject * obj0 = 0 ;
6310 PyObject * obj1 = 0 ;
6311 char *kwnames[] = {
6312 (char *) "self",(char *) "numCols", NULL
6313 };
6314
6315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6318 if (obj1) {
c32bde28 6319 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 6320 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6321 }
6322 {
6323 PyThreadState* __tstate = wxPyBeginAllowThreads();
6324 result = (bool)(arg1)->AppendCols(arg2);
6325
6326 wxPyEndAllowThreads(__tstate);
6327 if (PyErr_Occurred()) SWIG_fail;
6328 }
4f89f6a3
RD
6329 {
6330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6331 }
d14a1e28
RD
6332 return resultobj;
6333 fail:
6334 return NULL;
6335}
6336
6337
c32bde28 6338static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6339 PyObject *resultobj;
6340 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6341 size_t arg2 = (size_t) 0 ;
6342 size_t arg3 = (size_t) 1 ;
6343 bool result;
6344 PyObject * obj0 = 0 ;
6345 PyObject * obj1 = 0 ;
6346 PyObject * obj2 = 0 ;
6347 char *kwnames[] = {
6348 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6349 };
6350
6351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6354 if (obj1) {
c32bde28 6355 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 6356 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6357 }
6358 if (obj2) {
c32bde28 6359 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
15afbcd0 6360 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6361 }
6362 {
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 result = (bool)(arg1)->DeleteCols(arg2,arg3);
6365
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
4f89f6a3
RD
6369 {
6370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6371 }
d14a1e28
RD
6372 return resultobj;
6373 fail:
6374 return NULL;
6375}
6376
6377
c32bde28 6378static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6379 PyObject *resultobj;
6380 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6381 int arg2 ;
6382 wxString result;
6383 PyObject * obj0 = 0 ;
994141e6 6384 PyObject * obj1 = 0 ;
d14a1e28
RD
6385 char *kwnames[] = {
6386 (char *) "self",(char *) "row", NULL
6387 };
6388
994141e6 6389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6392 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6393 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6394 {
6395 PyThreadState* __tstate = wxPyBeginAllowThreads();
6396 result = (arg1)->GetRowLabelValue(arg2);
6397
6398 wxPyEndAllowThreads(__tstate);
6399 if (PyErr_Occurred()) SWIG_fail;
6400 }
6401 {
6402#if wxUSE_UNICODE
6403 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6404#else
6405 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6406#endif
6407 }
6408 return resultobj;
6409 fail:
6410 return NULL;
6411}
6412
6413
c32bde28 6414static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6415 PyObject *resultobj;
6416 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6417 int arg2 ;
6418 wxString result;
6419 PyObject * obj0 = 0 ;
994141e6 6420 PyObject * obj1 = 0 ;
d14a1e28
RD
6421 char *kwnames[] = {
6422 (char *) "self",(char *) "col", NULL
6423 };
6424
994141e6 6425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6428 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6429 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6430 {
6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
6432 result = (arg1)->GetColLabelValue(arg2);
6433
6434 wxPyEndAllowThreads(__tstate);
6435 if (PyErr_Occurred()) SWIG_fail;
6436 }
6437 {
6438#if wxUSE_UNICODE
6439 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6440#else
6441 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6442#endif
6443 }
6444 return resultobj;
6445 fail:
6446 return NULL;
6447}
6448
6449
c32bde28 6450static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6451 PyObject *resultobj;
6452 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6453 int arg2 ;
6454 wxString *arg3 = 0 ;
ae8162c8 6455 bool temp3 = false ;
d14a1e28 6456 PyObject * obj0 = 0 ;
994141e6 6457 PyObject * obj1 = 0 ;
d14a1e28
RD
6458 PyObject * obj2 = 0 ;
6459 char *kwnames[] = {
6460 (char *) "self",(char *) "row",(char *) "value", NULL
6461 };
6462
994141e6 6463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6466 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6467 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6468 {
6469 arg3 = wxString_in_helper(obj2);
6470 if (arg3 == NULL) SWIG_fail;
ae8162c8 6471 temp3 = true;
d14a1e28
RD
6472 }
6473 {
6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
6475 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 Py_INCREF(Py_None); resultobj = Py_None;
6481 {
6482 if (temp3)
6483 delete arg3;
6484 }
6485 return resultobj;
6486 fail:
6487 {
6488 if (temp3)
6489 delete arg3;
6490 }
6491 return NULL;
6492}
6493
6494
c32bde28 6495static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6496 PyObject *resultobj;
6497 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6498 int arg2 ;
6499 wxString *arg3 = 0 ;
ae8162c8 6500 bool temp3 = false ;
d14a1e28 6501 PyObject * obj0 = 0 ;
994141e6 6502 PyObject * obj1 = 0 ;
d14a1e28
RD
6503 PyObject * obj2 = 0 ;
6504 char *kwnames[] = {
6505 (char *) "self",(char *) "col",(char *) "value", NULL
6506 };
6507
994141e6 6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6511 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6512 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6513 {
6514 arg3 = wxString_in_helper(obj2);
6515 if (arg3 == NULL) SWIG_fail;
ae8162c8 6516 temp3 = true;
d14a1e28
RD
6517 }
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
6521
6522 wxPyEndAllowThreads(__tstate);
6523 if (PyErr_Occurred()) SWIG_fail;
6524 }
6525 Py_INCREF(Py_None); resultobj = Py_None;
6526 {
6527 if (temp3)
6528 delete arg3;
6529 }
6530 return resultobj;
6531 fail:
6532 {
6533 if (temp3)
6534 delete arg3;
6535 }
6536 return NULL;
6537}
6538
6539
c32bde28 6540static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6541 PyObject *resultobj;
6542 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6543 bool result;
6544 PyObject * obj0 = 0 ;
6545 char *kwnames[] = {
6546 (char *) "self", NULL
6547 };
6548
6549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_CanHaveAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
6550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6552 {
6553 PyThreadState* __tstate = wxPyBeginAllowThreads();
6554 result = (bool)(arg1)->CanHaveAttributes();
6555
6556 wxPyEndAllowThreads(__tstate);
6557 if (PyErr_Occurred()) SWIG_fail;
6558 }
4f89f6a3
RD
6559 {
6560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6561 }
d14a1e28
RD
6562 return resultobj;
6563 fail:
6564 return NULL;
6565}
6566
6567
c32bde28 6568static PyObject *_wrap_GridTableBase_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6569 PyObject *resultobj;
6570 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6571 int arg2 ;
6572 int arg3 ;
6573 int arg4 ;
6574 wxGridCellAttr *result;
6575 PyObject * obj0 = 0 ;
994141e6
RD
6576 PyObject * obj1 = 0 ;
6577 PyObject * obj2 = 0 ;
6578 PyObject * obj3 = 0 ;
d14a1e28
RD
6579 char *kwnames[] = {
6580 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6581 };
6582
994141e6 6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6586 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6587 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6588 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6589 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6590 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 6591 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6592 {
6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6594 result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
6595
6596 wxPyEndAllowThreads(__tstate);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 }
6599 {
412d302d 6600 resultobj = wxPyMake_wxGridCellAttr(result, 0);
d14a1e28
RD
6601 }
6602 return resultobj;
6603 fail:
6604 return NULL;
6605}
6606
6607
c32bde28 6608static PyObject *_wrap_GridTableBase_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6609 PyObject *resultobj;
6610 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6611 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6612 int arg3 ;
6613 int arg4 ;
6614 PyObject * obj0 = 0 ;
6615 PyObject * obj1 = 0 ;
994141e6
RD
6616 PyObject * obj2 = 0 ;
6617 PyObject * obj3 = 0 ;
d14a1e28
RD
6618 char *kwnames[] = {
6619 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6620 };
6621
994141e6 6622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6625 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6627 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6628 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6629 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 6630 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6631 {
6632 PyThreadState* __tstate = wxPyBeginAllowThreads();
6633 (arg1)->SetAttr(arg2,arg3,arg4);
6634
6635 wxPyEndAllowThreads(__tstate);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 }
6638 Py_INCREF(Py_None); resultobj = Py_None;
6639 return resultobj;
6640 fail:
6641 return NULL;
6642}
6643
6644
c32bde28 6645static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6646 PyObject *resultobj;
6647 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6648 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6649 int arg3 ;
6650 PyObject * obj0 = 0 ;
6651 PyObject * obj1 = 0 ;
994141e6 6652 PyObject * obj2 = 0 ;
d14a1e28
RD
6653 char *kwnames[] = {
6654 (char *) "self",(char *) "attr",(char *) "row", NULL
6655 };
6656
994141e6 6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6662 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6663 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6664 {
6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
6666 (arg1)->SetRowAttr(arg2,arg3);
6667
6668 wxPyEndAllowThreads(__tstate);
6669 if (PyErr_Occurred()) SWIG_fail;
6670 }
6671 Py_INCREF(Py_None); resultobj = Py_None;
6672 return resultobj;
6673 fail:
6674 return NULL;
6675}
6676
6677
c32bde28 6678static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6679 PyObject *resultobj;
6680 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6681 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6682 int arg3 ;
6683 PyObject * obj0 = 0 ;
6684 PyObject * obj1 = 0 ;
994141e6 6685 PyObject * obj2 = 0 ;
d14a1e28
RD
6686 char *kwnames[] = {
6687 (char *) "self",(char *) "attr",(char *) "col", NULL
6688 };
6689
994141e6 6690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6695 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6696 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 (arg1)->SetColAttr(arg2,arg3);
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 Py_INCREF(Py_None); resultobj = Py_None;
6705 return resultobj;
6706 fail:
6707 return NULL;
6708}
6709
6710
c32bde28 6711static PyObject * GridTableBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6712 PyObject *obj;
6713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6714 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase, obj);
6715 Py_INCREF(obj);
6716 return Py_BuildValue((char *)"");
6717}
c32bde28 6718static PyObject *_wrap_new_PyGridTableBase(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6719 PyObject *resultobj;
6720 wxPyGridTableBase *result;
6721 char *kwnames[] = {
6722 NULL
6723 };
6724
6725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridTableBase",kwnames)) goto fail;
6726 {
6727 PyThreadState* __tstate = wxPyBeginAllowThreads();
6728 result = (wxPyGridTableBase *)new wxPyGridTableBase();
6729
6730 wxPyEndAllowThreads(__tstate);
6731 if (PyErr_Occurred()) SWIG_fail;
6732 }
15afbcd0 6733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridTableBase, 1);
d14a1e28
RD
6734 return resultobj;
6735 fail:
6736 return NULL;
6737}
6738
6739
c32bde28 6740static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6741 PyObject *resultobj;
6742 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6743 PyObject *arg2 = (PyObject *) 0 ;
6744 PyObject *arg3 = (PyObject *) 0 ;
6745 PyObject * obj0 = 0 ;
6746 PyObject * obj1 = 0 ;
6747 PyObject * obj2 = 0 ;
6748 char *kwnames[] = {
6749 (char *) "self",(char *) "self",(char *) "_class", NULL
6750 };
6751
6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6755 arg2 = obj1;
6756 arg3 = obj2;
6757 {
6758 PyThreadState* __tstate = wxPyBeginAllowThreads();
6759 (arg1)->_setCallbackInfo(arg2,arg3);
6760
6761 wxPyEndAllowThreads(__tstate);
6762 if (PyErr_Occurred()) SWIG_fail;
6763 }
6764 Py_INCREF(Py_None); resultobj = Py_None;
6765 return resultobj;
6766 fail:
6767 return NULL;
6768}
6769
6770
c32bde28 6771static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6772 PyObject *resultobj;
6773 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6774 PyObject * obj0 = 0 ;
6775 char *kwnames[] = {
6776 (char *) "self", NULL
6777 };
6778
6779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
6780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 wxPyGridTableBase_Destroy(arg1);
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 Py_INCREF(Py_None); resultobj = Py_None;
6790 return resultobj;
6791 fail:
6792 return NULL;
6793}
6794
6795
c32bde28 6796static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6797 PyObject *resultobj;
6798 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6799 int arg2 ;
6800 int arg3 ;
6801 wxString result;
6802 PyObject * obj0 = 0 ;
994141e6
RD
6803 PyObject * obj1 = 0 ;
6804 PyObject * obj2 = 0 ;
d14a1e28
RD
6805 char *kwnames[] = {
6806 (char *) "self",(char *) "row",(char *) "col", NULL
6807 };
6808
994141e6 6809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6812 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6813 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6814 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6815 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6816 {
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 result = (arg1)->base_GetTypeName(arg2,arg3);
6819
6820 wxPyEndAllowThreads(__tstate);
6821 if (PyErr_Occurred()) SWIG_fail;
6822 }
6823 {
6824#if wxUSE_UNICODE
6825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6826#else
6827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6828#endif
6829 }
6830 return resultobj;
6831 fail:
6832 return NULL;
6833}
6834
6835
c32bde28 6836static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6837 PyObject *resultobj;
6838 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6839 int arg2 ;
6840 int arg3 ;
6841 wxString *arg4 = 0 ;
6842 bool result;
ae8162c8 6843 bool temp4 = false ;
d14a1e28 6844 PyObject * obj0 = 0 ;
994141e6
RD
6845 PyObject * obj1 = 0 ;
6846 PyObject * obj2 = 0 ;
d14a1e28
RD
6847 PyObject * obj3 = 0 ;
6848 char *kwnames[] = {
6849 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6850 };
6851
994141e6 6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6855 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6856 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6857 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6858 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6859 {
6860 arg4 = wxString_in_helper(obj3);
6861 if (arg4 == NULL) SWIG_fail;
ae8162c8 6862 temp4 = true;
d14a1e28
RD
6863 }
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 result = (bool)(arg1)->base_CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
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 {
6875 if (temp4)
6876 delete arg4;
6877 }
6878 return resultobj;
6879 fail:
6880 {
6881 if (temp4)
6882 delete arg4;
6883 }
6884 return NULL;
6885}
6886
6887
c32bde28 6888static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6889 PyObject *resultobj;
6890 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6891 int arg2 ;
6892 int arg3 ;
6893 wxString *arg4 = 0 ;
6894 bool result;
ae8162c8 6895 bool temp4 = false ;
d14a1e28 6896 PyObject * obj0 = 0 ;
994141e6
RD
6897 PyObject * obj1 = 0 ;
6898 PyObject * obj2 = 0 ;
d14a1e28
RD
6899 PyObject * obj3 = 0 ;
6900 char *kwnames[] = {
6901 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6902 };
6903
994141e6 6904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6907 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6908 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6909 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6910 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6911 {
6912 arg4 = wxString_in_helper(obj3);
6913 if (arg4 == NULL) SWIG_fail;
ae8162c8 6914 temp4 = true;
d14a1e28
RD
6915 }
6916 {
6917 PyThreadState* __tstate = wxPyBeginAllowThreads();
6918 result = (bool)(arg1)->base_CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
6919
6920 wxPyEndAllowThreads(__tstate);
6921 if (PyErr_Occurred()) SWIG_fail;
6922 }
4f89f6a3
RD
6923 {
6924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6925 }
d14a1e28
RD
6926 {
6927 if (temp4)
6928 delete arg4;
6929 }
6930 return resultobj;
6931 fail:
6932 {
6933 if (temp4)
6934 delete arg4;
6935 }
6936 return NULL;
6937}
6938
6939
c32bde28 6940static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6941 PyObject *resultobj;
6942 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6943 PyObject * obj0 = 0 ;
6944 char *kwnames[] = {
6945 (char *) "self", NULL
6946 };
6947
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
6949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6951 {
6952 PyThreadState* __tstate = wxPyBeginAllowThreads();
6953 (arg1)->base_Clear();
6954
6955 wxPyEndAllowThreads(__tstate);
6956 if (PyErr_Occurred()) SWIG_fail;
6957 }
6958 Py_INCREF(Py_None); resultobj = Py_None;
6959 return resultobj;
6960 fail:
6961 return NULL;
6962}
6963
6964
c32bde28 6965static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6966 PyObject *resultobj;
6967 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6968 size_t arg2 = (size_t) 0 ;
6969 size_t arg3 = (size_t) 1 ;
6970 bool result;
6971 PyObject * obj0 = 0 ;
6972 PyObject * obj1 = 0 ;
6973 PyObject * obj2 = 0 ;
6974 char *kwnames[] = {
6975 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6976 };
6977
6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6981 if (obj1) {
c32bde28 6982 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 6983 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6984 }
6985 if (obj2) {
c32bde28 6986 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
15afbcd0 6987 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6988 }
6989 {
6990 PyThreadState* __tstate = wxPyBeginAllowThreads();
6991 result = (bool)(arg1)->base_InsertRows(arg2,arg3);
6992
6993 wxPyEndAllowThreads(__tstate);
6994 if (PyErr_Occurred()) SWIG_fail;
6995 }
4f89f6a3
RD
6996 {
6997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6998 }
d14a1e28
RD
6999 return resultobj;
7000 fail:
7001 return NULL;
7002}
7003
7004
c32bde28 7005static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7006 PyObject *resultobj;
7007 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7008 size_t arg2 = (size_t) 1 ;
7009 bool result;
7010 PyObject * obj0 = 0 ;
7011 PyObject * obj1 = 0 ;
7012 char *kwnames[] = {
7013 (char *) "self",(char *) "numRows", NULL
7014 };
7015
7016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7019 if (obj1) {
c32bde28 7020 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 7021 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7022 }
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 result = (bool)(arg1)->base_AppendRows(arg2);
7026
7027 wxPyEndAllowThreads(__tstate);
7028 if (PyErr_Occurred()) SWIG_fail;
7029 }
4f89f6a3
RD
7030 {
7031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7032 }
d14a1e28
RD
7033 return resultobj;
7034 fail:
7035 return NULL;
7036}
7037
7038
c32bde28 7039static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7040 PyObject *resultobj;
7041 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7042 size_t arg2 = (size_t) 0 ;
7043 size_t arg3 = (size_t) 1 ;
7044 bool result;
7045 PyObject * obj0 = 0 ;
7046 PyObject * obj1 = 0 ;
7047 PyObject * obj2 = 0 ;
7048 char *kwnames[] = {
7049 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7055 if (obj1) {
c32bde28 7056 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 7057 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7058 }
7059 if (obj2) {
c32bde28 7060 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
15afbcd0 7061 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7062 }
7063 {
7064 PyThreadState* __tstate = wxPyBeginAllowThreads();
7065 result = (bool)(arg1)->base_DeleteRows(arg2,arg3);
7066
7067 wxPyEndAllowThreads(__tstate);
7068 if (PyErr_Occurred()) SWIG_fail;
7069 }
4f89f6a3
RD
7070 {
7071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7072 }
d14a1e28
RD
7073 return resultobj;
7074 fail:
7075 return NULL;
7076}
7077
7078
c32bde28 7079static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7080 PyObject *resultobj;
7081 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7082 size_t arg2 = (size_t) 0 ;
7083 size_t arg3 = (size_t) 1 ;
7084 bool result;
7085 PyObject * obj0 = 0 ;
7086 PyObject * obj1 = 0 ;
7087 PyObject * obj2 = 0 ;
7088 char *kwnames[] = {
7089 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7090 };
7091
7092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7095 if (obj1) {
c32bde28 7096 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 7097 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7098 }
7099 if (obj2) {
c32bde28 7100 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
15afbcd0 7101 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7102 }
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 result = (bool)(arg1)->base_InsertCols(arg2,arg3);
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
4f89f6a3
RD
7110 {
7111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7112 }
d14a1e28
RD
7113 return resultobj;
7114 fail:
7115 return NULL;
7116}
7117
7118
c32bde28 7119static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7120 PyObject *resultobj;
7121 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7122 size_t arg2 = (size_t) 1 ;
7123 bool result;
7124 PyObject * obj0 = 0 ;
7125 PyObject * obj1 = 0 ;
7126 char *kwnames[] = {
7127 (char *) "self",(char *) "numCols", NULL
7128 };
7129
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7133 if (obj1) {
c32bde28 7134 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 7135 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7136 }
7137 {
7138 PyThreadState* __tstate = wxPyBeginAllowThreads();
7139 result = (bool)(arg1)->base_AppendCols(arg2);
7140
7141 wxPyEndAllowThreads(__tstate);
7142 if (PyErr_Occurred()) SWIG_fail;
7143 }
4f89f6a3
RD
7144 {
7145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7146 }
d14a1e28
RD
7147 return resultobj;
7148 fail:
7149 return NULL;
7150}
7151
7152
c32bde28 7153static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7154 PyObject *resultobj;
7155 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7156 size_t arg2 = (size_t) 0 ;
7157 size_t arg3 = (size_t) 1 ;
7158 bool result;
7159 PyObject * obj0 = 0 ;
7160 PyObject * obj1 = 0 ;
7161 PyObject * obj2 = 0 ;
7162 char *kwnames[] = {
7163 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7164 };
7165
7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7169 if (obj1) {
c32bde28 7170 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 7171 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7172 }
7173 if (obj2) {
c32bde28 7174 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
15afbcd0 7175 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7176 }
7177 {
7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
7179 result = (bool)(arg1)->base_DeleteCols(arg2,arg3);
7180
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 }
4f89f6a3
RD
7184 {
7185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7186 }
d14a1e28
RD
7187 return resultobj;
7188 fail:
7189 return NULL;
7190}
7191
7192
c32bde28 7193static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7194 PyObject *resultobj;
7195 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7196 int arg2 ;
7197 wxString result;
7198 PyObject * obj0 = 0 ;
994141e6 7199 PyObject * obj1 = 0 ;
d14a1e28
RD
7200 char *kwnames[] = {
7201 (char *) "self",(char *) "row", NULL
7202 };
7203
994141e6 7204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7207 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7208 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 result = (arg1)->base_GetRowLabelValue(arg2);
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 {
7217#if wxUSE_UNICODE
7218 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7219#else
7220 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7221#endif
7222 }
7223 return resultobj;
7224 fail:
7225 return NULL;
7226}
7227
7228
c32bde28 7229static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7230 PyObject *resultobj;
7231 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7232 int arg2 ;
7233 wxString result;
7234 PyObject * obj0 = 0 ;
994141e6 7235 PyObject * obj1 = 0 ;
d14a1e28
RD
7236 char *kwnames[] = {
7237 (char *) "self",(char *) "col", NULL
7238 };
7239
994141e6 7240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7243 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7245 {
7246 PyThreadState* __tstate = wxPyBeginAllowThreads();
7247 result = (arg1)->base_GetColLabelValue(arg2);
7248
7249 wxPyEndAllowThreads(__tstate);
7250 if (PyErr_Occurred()) SWIG_fail;
7251 }
7252 {
7253#if wxUSE_UNICODE
7254 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7255#else
7256 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7257#endif
7258 }
7259 return resultobj;
7260 fail:
7261 return NULL;
7262}
7263
7264
c32bde28 7265static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7266 PyObject *resultobj;
7267 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7268 int arg2 ;
7269 wxString *arg3 = 0 ;
ae8162c8 7270 bool temp3 = false ;
d14a1e28 7271 PyObject * obj0 = 0 ;
994141e6 7272 PyObject * obj1 = 0 ;
d14a1e28
RD
7273 PyObject * obj2 = 0 ;
7274 char *kwnames[] = {
7275 (char *) "self",(char *) "row",(char *) "value", NULL
7276 };
7277
994141e6 7278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7281 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7282 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7283 {
7284 arg3 = wxString_in_helper(obj2);
7285 if (arg3 == NULL) SWIG_fail;
ae8162c8 7286 temp3 = true;
d14a1e28
RD
7287 }
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 (arg1)->base_SetRowLabelValue(arg2,(wxString const &)*arg3);
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 Py_INCREF(Py_None); resultobj = Py_None;
7296 {
7297 if (temp3)
7298 delete arg3;
7299 }
7300 return resultobj;
7301 fail:
7302 {
7303 if (temp3)
7304 delete arg3;
7305 }
7306 return NULL;
7307}
7308
7309
c32bde28 7310static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7311 PyObject *resultobj;
7312 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7313 int arg2 ;
7314 wxString *arg3 = 0 ;
ae8162c8 7315 bool temp3 = false ;
d14a1e28 7316 PyObject * obj0 = 0 ;
994141e6 7317 PyObject * obj1 = 0 ;
d14a1e28
RD
7318 PyObject * obj2 = 0 ;
7319 char *kwnames[] = {
7320 (char *) "self",(char *) "col",(char *) "value", NULL
7321 };
7322
994141e6 7323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7326 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7327 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7328 {
7329 arg3 = wxString_in_helper(obj2);
7330 if (arg3 == NULL) SWIG_fail;
ae8162c8 7331 temp3 = true;
d14a1e28
RD
7332 }
7333 {
7334 PyThreadState* __tstate = wxPyBeginAllowThreads();
7335 (arg1)->base_SetColLabelValue(arg2,(wxString const &)*arg3);
7336
7337 wxPyEndAllowThreads(__tstate);
7338 if (PyErr_Occurred()) SWIG_fail;
7339 }
7340 Py_INCREF(Py_None); resultobj = Py_None;
7341 {
7342 if (temp3)
7343 delete arg3;
7344 }
7345 return resultobj;
7346 fail:
7347 {
7348 if (temp3)
7349 delete arg3;
7350 }
7351 return NULL;
7352}
7353
7354
c32bde28 7355static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7356 PyObject *resultobj;
7357 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7358 bool result;
7359 PyObject * obj0 = 0 ;
7360 char *kwnames[] = {
7361 (char *) "self", NULL
7362 };
7363
7364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
7365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7367 {
7368 PyThreadState* __tstate = wxPyBeginAllowThreads();
7369 result = (bool)(arg1)->base_CanHaveAttributes();
7370
7371 wxPyEndAllowThreads(__tstate);
7372 if (PyErr_Occurred()) SWIG_fail;
7373 }
4f89f6a3
RD
7374 {
7375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7376 }
d14a1e28
RD
7377 return resultobj;
7378 fail:
7379 return NULL;
7380}
7381
7382
c32bde28 7383static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7384 PyObject *resultobj;
7385 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7386 int arg2 ;
7387 int arg3 ;
7388 int arg4 ;
7389 wxGridCellAttr *result;
7390 PyObject * obj0 = 0 ;
994141e6
RD
7391 PyObject * obj1 = 0 ;
7392 PyObject * obj2 = 0 ;
7393 PyObject * obj3 = 0 ;
d14a1e28
RD
7394 char *kwnames[] = {
7395 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7396 };
7397
994141e6 7398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7401 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7402 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7403 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7404 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7405 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 7406 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7407 {
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
7410
7411 wxPyEndAllowThreads(__tstate);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 }
7414 {
412d302d 7415 resultobj = wxPyMake_wxGridCellAttr(result, 0);
d14a1e28
RD
7416 }
7417 return resultobj;
7418 fail:
7419 return NULL;
7420}
7421
7422
c32bde28 7423static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7424 PyObject *resultobj;
7425 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7426 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7427 int arg3 ;
7428 int arg4 ;
7429 PyObject * obj0 = 0 ;
7430 PyObject * obj1 = 0 ;
994141e6
RD
7431 PyObject * obj2 = 0 ;
7432 PyObject * obj3 = 0 ;
d14a1e28
RD
7433 char *kwnames[] = {
7434 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7435 };
7436
994141e6 7437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7440 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7442 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7443 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7444 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 7445 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7446 {
7447 PyThreadState* __tstate = wxPyBeginAllowThreads();
7448 (arg1)->base_SetAttr(arg2,arg3,arg4);
7449
7450 wxPyEndAllowThreads(__tstate);
7451 if (PyErr_Occurred()) SWIG_fail;
7452 }
7453 Py_INCREF(Py_None); resultobj = Py_None;
7454 return resultobj;
7455 fail:
7456 return NULL;
7457}
7458
7459
c32bde28 7460static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7461 PyObject *resultobj;
7462 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7463 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7464 int arg3 ;
7465 PyObject * obj0 = 0 ;
7466 PyObject * obj1 = 0 ;
994141e6 7467 PyObject * obj2 = 0 ;
d14a1e28
RD
7468 char *kwnames[] = {
7469 (char *) "self",(char *) "attr",(char *) "row", NULL
7470 };
7471
994141e6 7472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7475 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7477 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7478 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
7481 (arg1)->base_SetRowAttr(arg2,arg3);
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
7486 Py_INCREF(Py_None); resultobj = Py_None;
7487 return resultobj;
7488 fail:
7489 return NULL;
7490}
7491
7492
c32bde28 7493static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7494 PyObject *resultobj;
7495 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7496 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7497 int arg3 ;
7498 PyObject * obj0 = 0 ;
7499 PyObject * obj1 = 0 ;
994141e6 7500 PyObject * obj2 = 0 ;
d14a1e28
RD
7501 char *kwnames[] = {
7502 (char *) "self",(char *) "attr",(char *) "col", NULL
7503 };
7504
994141e6 7505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7508 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7510 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7511 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 (arg1)->base_SetColAttr(arg2,arg3);
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 Py_INCREF(Py_None); resultobj = Py_None;
7520 return resultobj;
7521 fail:
7522 return NULL;
7523}
7524
7525
c32bde28 7526static PyObject * PyGridTableBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7527 PyObject *obj;
7528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7529 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase, obj);
7530 Py_INCREF(obj);
7531 return Py_BuildValue((char *)"");
7532}
c32bde28 7533static PyObject *_wrap_new_GridStringTable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7534 PyObject *resultobj;
7535 int arg1 = (int) 0 ;
7536 int arg2 = (int) 0 ;
7537 wxGridStringTable *result;
994141e6
RD
7538 PyObject * obj0 = 0 ;
7539 PyObject * obj1 = 0 ;
d14a1e28
RD
7540 char *kwnames[] = {
7541 (char *) "numRows",(char *) "numCols", NULL
7542 };
7543
994141e6
RD
7544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridStringTable",kwnames,&obj0,&obj1)) goto fail;
7545 if (obj0) {
c32bde28 7546 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7547 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7548 }
7549 if (obj1) {
c32bde28 7550 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7551 if (PyErr_Occurred()) SWIG_fail;
994141e6 7552 }
d14a1e28
RD
7553 {
7554 PyThreadState* __tstate = wxPyBeginAllowThreads();
7555 result = (wxGridStringTable *)new wxGridStringTable(arg1,arg2);
7556
7557 wxPyEndAllowThreads(__tstate);
7558 if (PyErr_Occurred()) SWIG_fail;
7559 }
15afbcd0 7560 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridStringTable, 1);
d14a1e28
RD
7561 return resultobj;
7562 fail:
7563 return NULL;
7564}
7565
7566
c32bde28 7567static PyObject * GridStringTable_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7568 PyObject *obj;
7569 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7570 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable, obj);
7571 Py_INCREF(obj);
7572 return Py_BuildValue((char *)"");
7573}
c32bde28 7574static PyObject *_wrap_new_GridTableMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7575 PyObject *resultobj;
7576 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7577 int arg2 ;
7578 int arg3 = (int) -1 ;
7579 int arg4 = (int) -1 ;
7580 wxGridTableMessage *result;
7581 PyObject * obj0 = 0 ;
994141e6
RD
7582 PyObject * obj1 = 0 ;
7583 PyObject * obj2 = 0 ;
7584 PyObject * obj3 = 0 ;
d14a1e28
RD
7585 char *kwnames[] = {
7586 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7587 };
7588
994141e6 7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_GridTableMessage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
7591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7592 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7593 if (PyErr_Occurred()) SWIG_fail;
994141e6 7594 if (obj2) {
c32bde28 7595 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7596 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7597 }
7598 if (obj3) {
c32bde28 7599 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 7600 if (PyErr_Occurred()) SWIG_fail;
994141e6 7601 }
d14a1e28
RD
7602 {
7603 PyThreadState* __tstate = wxPyBeginAllowThreads();
7604 result = (wxGridTableMessage *)new wxGridTableMessage(arg1,arg2,arg3,arg4);
7605
7606 wxPyEndAllowThreads(__tstate);
7607 if (PyErr_Occurred()) SWIG_fail;
7608 }
15afbcd0 7609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridTableMessage, 1);
d14a1e28
RD
7610 return resultobj;
7611 fail:
7612 return NULL;
7613}
7614
7615
c32bde28 7616static PyObject *_wrap_delete_GridTableMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7617 PyObject *resultobj;
7618 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7619 PyObject * obj0 = 0 ;
7620 char *kwnames[] = {
7621 (char *) "self", NULL
7622 };
7623
7624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridTableMessage",kwnames,&obj0)) goto fail;
15afbcd0
RD
7625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7627 {
7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
7629 delete arg1;
7630
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 Py_INCREF(Py_None); resultobj = Py_None;
7635 return resultobj;
7636 fail:
7637 return NULL;
7638}
7639
7640
c32bde28 7641static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7642 PyObject *resultobj;
7643 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7644 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
7645 PyObject * obj0 = 0 ;
7646 PyObject * obj1 = 0 ;
7647 char *kwnames[] = {
7648 (char *) "self",(char *) "table", NULL
7649 };
7650
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetTableObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
7655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 (arg1)->SetTableObject(arg2);
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 Py_INCREF(Py_None); resultobj = Py_None;
7664 return resultobj;
7665 fail:
7666 return NULL;
7667}
7668
7669
c32bde28 7670static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7671 PyObject *resultobj;
7672 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7673 wxGridTableBase *result;
7674 PyObject * obj0 = 0 ;
7675 char *kwnames[] = {
7676 (char *) "self", NULL
7677 };
7678
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetTableObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
7680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 result = (wxGridTableBase *)((wxGridTableMessage const *)arg1)->GetTableObject();
7685
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 {
412d302d 7690 resultobj = wxPyMake_wxGridTableBase(result, 0);
d14a1e28
RD
7691 }
7692 return resultobj;
7693 fail:
7694 return NULL;
7695}
7696
7697
c32bde28 7698static PyObject *_wrap_GridTableMessage_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7699 PyObject *resultobj;
7700 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7701 int arg2 ;
7702 PyObject * obj0 = 0 ;
994141e6 7703 PyObject * obj1 = 0 ;
d14a1e28
RD
7704 char *kwnames[] = {
7705 (char *) "self",(char *) "id", NULL
7706 };
7707
994141e6 7708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7711 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7712 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 (arg1)->SetId(arg2);
7716
7717 wxPyEndAllowThreads(__tstate);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
7720 Py_INCREF(Py_None); resultobj = Py_None;
7721 return resultobj;
7722 fail:
7723 return NULL;
7724}
7725
7726
c32bde28 7727static PyObject *_wrap_GridTableMessage_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7728 PyObject *resultobj;
7729 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7730 int result;
7731 PyObject * obj0 = 0 ;
7732 char *kwnames[] = {
7733 (char *) "self", NULL
7734 };
7735
7736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
7737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7739 {
7740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7741 result = (int)(arg1)->GetId();
7742
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
c32bde28 7746 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7747 return resultobj;
7748 fail:
7749 return NULL;
7750}
7751
7752
c32bde28 7753static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7754 PyObject *resultobj;
7755 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7756 int arg2 ;
7757 PyObject * obj0 = 0 ;
994141e6 7758 PyObject * obj1 = 0 ;
d14a1e28
RD
7759 char *kwnames[] = {
7760 (char *) "self",(char *) "comInt1", NULL
7761 };
7762
994141e6 7763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7766 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7767 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7768 {
7769 PyThreadState* __tstate = wxPyBeginAllowThreads();
7770 (arg1)->SetCommandInt(arg2);
7771
7772 wxPyEndAllowThreads(__tstate);
7773 if (PyErr_Occurred()) SWIG_fail;
7774 }
7775 Py_INCREF(Py_None); resultobj = Py_None;
7776 return resultobj;
7777 fail:
7778 return NULL;
7779}
7780
7781
c32bde28 7782static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7783 PyObject *resultobj;
7784 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7785 int result;
7786 PyObject * obj0 = 0 ;
7787 char *kwnames[] = {
7788 (char *) "self", NULL
7789 };
7790
7791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt",kwnames,&obj0)) goto fail;
15afbcd0
RD
7792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7794 {
7795 PyThreadState* __tstate = wxPyBeginAllowThreads();
7796 result = (int)(arg1)->GetCommandInt();
7797
7798 wxPyEndAllowThreads(__tstate);
7799 if (PyErr_Occurred()) SWIG_fail;
7800 }
c32bde28 7801 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7802 return resultobj;
7803 fail:
7804 return NULL;
7805}
7806
7807
c32bde28 7808static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7809 PyObject *resultobj;
7810 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7811 int arg2 ;
7812 PyObject * obj0 = 0 ;
994141e6 7813 PyObject * obj1 = 0 ;
d14a1e28
RD
7814 char *kwnames[] = {
7815 (char *) "self",(char *) "comInt2", NULL
7816 };
7817
994141e6 7818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7821 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7822 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7823 {
7824 PyThreadState* __tstate = wxPyBeginAllowThreads();
7825 (arg1)->SetCommandInt2(arg2);
7826
7827 wxPyEndAllowThreads(__tstate);
7828 if (PyErr_Occurred()) SWIG_fail;
7829 }
7830 Py_INCREF(Py_None); resultobj = Py_None;
7831 return resultobj;
7832 fail:
7833 return NULL;
7834}
7835
7836
c32bde28 7837static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7838 PyObject *resultobj;
7839 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7840 int result;
7841 PyObject * obj0 = 0 ;
7842 char *kwnames[] = {
7843 (char *) "self", NULL
7844 };
7845
7846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt2",kwnames,&obj0)) goto fail;
15afbcd0
RD
7847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7849 {
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 result = (int)(arg1)->GetCommandInt2();
7852
7853 wxPyEndAllowThreads(__tstate);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 }
c32bde28 7856 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7857 return resultobj;
7858 fail:
7859 return NULL;
7860}
7861
7862
c32bde28 7863static PyObject * GridTableMessage_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7864 PyObject *obj;
7865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7866 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage, obj);
7867 Py_INCREF(obj);
7868 return Py_BuildValue((char *)"");
7869}
c32bde28 7870static PyObject *_wrap_new_GridCellCoords(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7871 PyObject *resultobj;
7872 int arg1 = (int) -1 ;
7873 int arg2 = (int) -1 ;
7874 wxGridCellCoords *result;
994141e6
RD
7875 PyObject * obj0 = 0 ;
7876 PyObject * obj1 = 0 ;
d14a1e28
RD
7877 char *kwnames[] = {
7878 (char *) "r",(char *) "c", NULL
7879 };
7880
994141e6
RD
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellCoords",kwnames,&obj0,&obj1)) goto fail;
7882 if (obj0) {
c32bde28 7883 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7884 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7885 }
7886 if (obj1) {
c32bde28 7887 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7888 if (PyErr_Occurred()) SWIG_fail;
994141e6 7889 }
d14a1e28
RD
7890 {
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 result = (wxGridCellCoords *)new wxGridCellCoords(arg1,arg2);
7893
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
15afbcd0 7897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
7898 return resultobj;
7899 fail:
7900 return NULL;
7901}
7902
7903
c32bde28 7904static PyObject *_wrap_delete_GridCellCoords(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7905 PyObject *resultobj;
7906 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7907 PyObject * obj0 = 0 ;
7908 char *kwnames[] = {
7909 (char *) "self", NULL
7910 };
7911
7912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridCellCoords",kwnames,&obj0)) goto fail;
15afbcd0
RD
7913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7915 {
7916 PyThreadState* __tstate = wxPyBeginAllowThreads();
7917 delete arg1;
7918
7919 wxPyEndAllowThreads(__tstate);
7920 if (PyErr_Occurred()) SWIG_fail;
7921 }
7922 Py_INCREF(Py_None); resultobj = Py_None;
7923 return resultobj;
7924 fail:
7925 return NULL;
7926}
7927
7928
c32bde28 7929static PyObject *_wrap_GridCellCoords_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7930 PyObject *resultobj;
7931 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7932 int result;
7933 PyObject * obj0 = 0 ;
7934 char *kwnames[] = {
7935 (char *) "self", NULL
7936 };
7937
7938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
7939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
7943 result = (int)((wxGridCellCoords const *)arg1)->GetRow();
7944
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
c32bde28 7948 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7949 return resultobj;
7950 fail:
7951 return NULL;
7952}
7953
7954
c32bde28 7955static PyObject *_wrap_GridCellCoords_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7956 PyObject *resultobj;
7957 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7958 int arg2 ;
7959 PyObject * obj0 = 0 ;
994141e6 7960 PyObject * obj1 = 0 ;
d14a1e28
RD
7961 char *kwnames[] = {
7962 (char *) "self",(char *) "n", NULL
7963 };
7964
994141e6 7965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7968 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7969 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7970 {
7971 PyThreadState* __tstate = wxPyBeginAllowThreads();
7972 (arg1)->SetRow(arg2);
7973
7974 wxPyEndAllowThreads(__tstate);
7975 if (PyErr_Occurred()) SWIG_fail;
7976 }
7977 Py_INCREF(Py_None); resultobj = Py_None;
7978 return resultobj;
7979 fail:
7980 return NULL;
7981}
7982
7983
c32bde28 7984static PyObject *_wrap_GridCellCoords_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7985 PyObject *resultobj;
7986 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7987 int result;
7988 PyObject * obj0 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "self", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
7994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 result = (int)((wxGridCellCoords const *)arg1)->GetCol();
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
c32bde28 8003 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8004 return resultobj;
8005 fail:
8006 return NULL;
8007}
8008
8009
c32bde28 8010static PyObject *_wrap_GridCellCoords_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8011 PyObject *resultobj;
8012 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
8013 int arg2 ;
8014 PyObject * obj0 = 0 ;
994141e6 8015 PyObject * obj1 = 0 ;
d14a1e28
RD
8016 char *kwnames[] = {
8017 (char *) "self",(char *) "n", NULL
8018 };
8019
994141e6 8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
8022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8023 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8024 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8025 {
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 (arg1)->SetCol(arg2);
8028
8029 wxPyEndAllowThreads(__tstate);
8030 if (PyErr_Occurred()) SWIG_fail;
8031 }
8032 Py_INCREF(Py_None); resultobj = Py_None;
8033 return resultobj;
8034 fail:
8035 return NULL;
8036}
8037
8038
c32bde28 8039static PyObject *_wrap_GridCellCoords_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8040 PyObject *resultobj;
8041 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
8042 int arg2 ;
8043 int arg3 ;
8044 PyObject * obj0 = 0 ;
994141e6
RD
8045 PyObject * obj1 = 0 ;
8046 PyObject * obj2 = 0 ;
d14a1e28
RD
8047 char *kwnames[] = {
8048 (char *) "self",(char *) "row",(char *) "col", NULL
8049 };
8050
994141e6 8051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellCoords_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
8053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8054 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8055 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8056 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 8057 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 (arg1)->Set(arg2,arg3);
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 Py_INCREF(Py_None); resultobj = Py_None;
8066 return resultobj;
8067 fail:
8068 return NULL;
8069}
8070
8071
c32bde28 8072static PyObject *_wrap_GridCellCoords___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8073 PyObject *resultobj;
8074 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
8075 wxGridCellCoords *arg2 = 0 ;
8076 bool result;
22faec7d 8077 wxGridCellCoords temp2 ;
d14a1e28
RD
8078 PyObject * obj0 = 0 ;
8079 PyObject * obj1 = 0 ;
8080 char *kwnames[] = {
8081 (char *) "self",(char *) "other", NULL
8082 };
8083
8084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
8086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22faec7d
RD
8087 {
8088 arg2 = &temp2;
8089 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
8090 }
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 result = (bool)((wxGridCellCoords const *)arg1)->operator ==((wxGridCellCoords const &)*arg2);
8094
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
4f89f6a3
RD
8098 {
8099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8100 }
d14a1e28
RD
8101 return resultobj;
8102 fail:
8103 return NULL;
8104}
8105
8106
c32bde28 8107static PyObject *_wrap_GridCellCoords___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8108 PyObject *resultobj;
8109 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
8110 wxGridCellCoords *arg2 = 0 ;
8111 bool result;
22faec7d 8112 wxGridCellCoords temp2 ;
d14a1e28
RD
8113 PyObject * obj0 = 0 ;
8114 PyObject * obj1 = 0 ;
8115 char *kwnames[] = {
8116 (char *) "self",(char *) "other", NULL
8117 };
8118
8119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
8121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22faec7d
RD
8122 {
8123 arg2 = &temp2;
8124 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
8125 }
8126 {
8127 PyThreadState* __tstate = wxPyBeginAllowThreads();
8128 result = (bool)((wxGridCellCoords const *)arg1)->operator !=((wxGridCellCoords const &)*arg2);
8129
8130 wxPyEndAllowThreads(__tstate);
8131 if (PyErr_Occurred()) SWIG_fail;
8132 }
4f89f6a3
RD
8133 {
8134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8135 }
d14a1e28
RD
8136 return resultobj;
8137 fail:
8138 return NULL;
8139}
8140
8141
c32bde28 8142static PyObject *_wrap_GridCellCoords_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8143 PyObject *resultobj;
8144 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
8145 PyObject *result;
8146 PyObject * obj0 = 0 ;
8147 char *kwnames[] = {
8148 (char *) "self", NULL
8149 };
8150
41e2b43e 8151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
8152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
8153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8154 {
8155 PyThreadState* __tstate = wxPyBeginAllowThreads();
41e2b43e 8156 result = (PyObject *)wxGridCellCoords_Get(arg1);
d14a1e28
RD
8157
8158 wxPyEndAllowThreads(__tstate);
8159 if (PyErr_Occurred()) SWIG_fail;
8160 }
8161 resultobj = result;
8162 return resultobj;
8163 fail:
8164 return NULL;
8165}
8166
8167
c32bde28 8168static PyObject * GridCellCoords_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8169 PyObject *obj;
8170 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8171 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords, obj);
8172 Py_INCREF(obj);
8173 return Py_BuildValue((char *)"");
8174}
c32bde28 8175static PyObject *_wrap_new_Grid(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8176 PyObject *resultobj;
8177 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8178 int arg2 = (int) -1 ;
d14a1e28
RD
8179 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8180 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8181 wxSize const &arg4_defvalue = wxDefaultSize ;
8182 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8183 long arg5 = (long) wxWANTS_CHARS ;
8184 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8185 wxString *arg6 = (wxString *) &arg6_defvalue ;
8186 wxGrid *result;
8187 wxPoint temp3 ;
8188 wxSize temp4 ;
ae8162c8 8189 bool temp6 = false ;
d14a1e28 8190 PyObject * obj0 = 0 ;
994141e6 8191 PyObject * obj1 = 0 ;
d14a1e28
RD
8192 PyObject * obj2 = 0 ;
8193 PyObject * obj3 = 0 ;
994141e6 8194 PyObject * obj4 = 0 ;
d14a1e28
RD
8195 PyObject * obj5 = 0 ;
8196 char *kwnames[] = {
8197 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8198 };
8199
248ed943 8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Grid",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
8201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 8203 if (obj1) {
c32bde28 8204 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
8205 if (PyErr_Occurred()) SWIG_fail;
8206 }
d14a1e28
RD
8207 if (obj2) {
8208 {
8209 arg3 = &temp3;
8210 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8211 }
8212 }
8213 if (obj3) {
8214 {
8215 arg4 = &temp4;
8216 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8217 }
8218 }
994141e6 8219 if (obj4) {
c32bde28 8220 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 8221 if (PyErr_Occurred()) SWIG_fail;
994141e6 8222 }
d14a1e28
RD
8223 if (obj5) {
8224 {
8225 arg6 = wxString_in_helper(obj5);
8226 if (arg6 == NULL) SWIG_fail;
ae8162c8 8227 temp6 = true;
d14a1e28
RD
8228 }
8229 }
8230 {
e3b71cb8 8231 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 result = (wxGrid *)new wxGrid(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8234
8235 wxPyEndAllowThreads(__tstate);
110da5b0 8236 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8237 }
b0f7404b 8238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGrid, 1);
d14a1e28
RD
8239 {
8240 if (temp6)
8241 delete arg6;
8242 }
8243 return resultobj;
8244 fail:
8245 {
8246 if (temp6)
8247 delete arg6;
8248 }
8249 return NULL;
8250}
8251
8252
c32bde28 8253static PyObject *_wrap_new_PreGrid(PyObject *, PyObject *args, PyObject *kwargs) {
1a10c483
RD
8254 PyObject *resultobj;
8255 wxGrid *result;
8256 char *kwnames[] = {
8257 NULL
8258 };
8259
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGrid",kwnames)) goto fail;
8261 {
e3b71cb8 8262 if (!wxPyCheckForApp()) SWIG_fail;
1a10c483
RD
8263 PyThreadState* __tstate = wxPyBeginAllowThreads();
8264 result = (wxGrid *)new wxGrid();
8265
8266 wxPyEndAllowThreads(__tstate);
110da5b0 8267 if (PyErr_Occurred()) SWIG_fail;
1a10c483 8268 }
b0f7404b 8269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGrid, 1);
1a10c483
RD
8270 return resultobj;
8271 fail:
8272 return NULL;
8273}
8274
8275
c32bde28 8276static PyObject *_wrap_Grid_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1a10c483
RD
8277 PyObject *resultobj;
8278 wxGrid *arg1 = (wxGrid *) 0 ;
8279 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8280 int arg3 = (int) -1 ;
1a10c483
RD
8281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8283 wxSize const &arg5_defvalue = wxDefaultSize ;
8284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8285 long arg6 = (long) wxWANTS_CHARS ;
8286 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8287 wxString *arg7 = (wxString *) &arg7_defvalue ;
8288 bool result;
8289 wxPoint temp4 ;
8290 wxSize temp5 ;
ae8162c8 8291 bool temp7 = false ;
1a10c483
RD
8292 PyObject * obj0 = 0 ;
8293 PyObject * obj1 = 0 ;
8294 PyObject * obj2 = 0 ;
8295 PyObject * obj3 = 0 ;
8296 PyObject * obj4 = 0 ;
8297 PyObject * obj5 = 0 ;
8298 PyObject * obj6 = 0 ;
8299 char *kwnames[] = {
8300 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8301 };
8302
248ed943 8303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Grid_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1a10c483
RD
8304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8306 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 8308 if (obj2) {
c32bde28 8309 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
8310 if (PyErr_Occurred()) SWIG_fail;
8311 }
1a10c483
RD
8312 if (obj3) {
8313 {
8314 arg4 = &temp4;
8315 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8316 }
8317 }
8318 if (obj4) {
8319 {
8320 arg5 = &temp5;
8321 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8322 }
8323 }
8324 if (obj5) {
c32bde28 8325 arg6 = (long)SWIG_As_long(obj5);
1a10c483
RD
8326 if (PyErr_Occurred()) SWIG_fail;
8327 }
8328 if (obj6) {
8329 {
8330 arg7 = wxString_in_helper(obj6);
8331 if (arg7 == NULL) SWIG_fail;
ae8162c8 8332 temp7 = true;
1a10c483
RD
8333 }
8334 }
8335 {
8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
8337 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8338
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 {
8343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8344 }
8345 {
8346 if (temp7)
8347 delete arg7;
8348 }
8349 return resultobj;
8350 fail:
8351 {
8352 if (temp7)
8353 delete arg7;
8354 }
8355 return NULL;
8356}
8357
8358
c32bde28 8359static PyObject *_wrap_Grid_CreateGrid(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8360 PyObject *resultobj;
8361 wxGrid *arg1 = (wxGrid *) 0 ;
8362 int arg2 ;
8363 int arg3 ;
8364 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8365 bool result;
8366 PyObject * obj0 = 0 ;
994141e6
RD
8367 PyObject * obj1 = 0 ;
8368 PyObject * obj2 = 0 ;
8369 PyObject * obj3 = 0 ;
d14a1e28
RD
8370 char *kwnames[] = {
8371 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8372 };
8373
994141e6 8374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_CreateGrid",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8377 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8378 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8379 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 8380 if (PyErr_Occurred()) SWIG_fail;
994141e6 8381 if (obj3) {
c32bde28 8382 arg4 = (WXGRIDSELECTIONMODES)SWIG_As_int(obj3);
15afbcd0 8383 if (PyErr_Occurred()) SWIG_fail;
994141e6 8384 }
d14a1e28
RD
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 result = (bool)(arg1)->CreateGrid(arg2,arg3,arg4);
8388
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
4f89f6a3
RD
8392 {
8393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8394 }
d14a1e28
RD
8395 return resultobj;
8396 fail:
8397 return NULL;
8398}
8399
8400
c32bde28 8401static PyObject *_wrap_Grid_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8402 PyObject *resultobj;
8403 wxGrid *arg1 = (wxGrid *) 0 ;
8404 WXGRIDSELECTIONMODES arg2 ;
8405 PyObject * obj0 = 0 ;
994141e6 8406 PyObject * obj1 = 0 ;
d14a1e28
RD
8407 char *kwnames[] = {
8408 (char *) "self",(char *) "selmode", NULL
8409 };
8410
994141e6 8411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8414 arg2 = (WXGRIDSELECTIONMODES)SWIG_As_int(obj1);
15afbcd0 8415 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8416 {
8417 PyThreadState* __tstate = wxPyBeginAllowThreads();
8418 (arg1)->SetSelectionMode(arg2);
8419
8420 wxPyEndAllowThreads(__tstate);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 }
8423 Py_INCREF(Py_None); resultobj = Py_None;
8424 return resultobj;
8425 fail:
8426 return NULL;
8427}
8428
8429
c32bde28 8430static PyObject *_wrap_Grid_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8431 PyObject *resultobj;
8432 wxGrid *arg1 = (wxGrid *) 0 ;
8433 WXGRIDSELECTIONMODES result;
8434 PyObject * obj0 = 0 ;
8435 char *kwnames[] = {
8436 (char *) "self", NULL
8437 };
8438
8439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
8440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 result = (WXGRIDSELECTIONMODES)(arg1)->GetSelectionMode();
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
c32bde28 8449 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8450 return resultobj;
8451 fail:
8452 return NULL;
8453}
8454
8455
c32bde28 8456static PyObject *_wrap_Grid_GetNumberRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8457 PyObject *resultobj;
8458 wxGrid *arg1 = (wxGrid *) 0 ;
8459 int result;
8460 PyObject * obj0 = 0 ;
8461 char *kwnames[] = {
8462 (char *) "self", NULL
8463 };
8464
8465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
8466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 result = (int)(arg1)->GetNumberRows();
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
c32bde28 8475 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8476 return resultobj;
8477 fail:
8478 return NULL;
8479}
8480
8481
c32bde28 8482static PyObject *_wrap_Grid_GetNumberCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8483 PyObject *resultobj;
8484 wxGrid *arg1 = (wxGrid *) 0 ;
8485 int result;
8486 PyObject * obj0 = 0 ;
8487 char *kwnames[] = {
8488 (char *) "self", NULL
8489 };
8490
8491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
8492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 result = (int)(arg1)->GetNumberCols();
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
c32bde28 8501 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8502 return resultobj;
8503 fail:
8504 return NULL;
8505}
8506
8507
c32bde28 8508static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8509 PyObject *resultobj;
8510 wxGrid *arg1 = (wxGrid *) 0 ;
8511 wxGridTableMessage *arg2 = 0 ;
8512 bool result;
8513 PyObject * obj0 = 0 ;
8514 PyObject * obj1 = 0 ;
8515 char *kwnames[] = {
8516 (char *) "self","arg2", NULL
8517 };
8518
8519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_ProcessTableMessage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableMessage,
8523 SWIG_POINTER_EXCEPTION | 0)) == -1)
8524 SWIG_fail;
d14a1e28 8525 if (arg2 == NULL) {
15afbcd0
RD
8526 PyErr_SetString(PyExc_TypeError,"null reference");
8527 SWIG_fail;
d14a1e28
RD
8528 }
8529 {
8530 PyThreadState* __tstate = wxPyBeginAllowThreads();
8531 result = (bool)(arg1)->ProcessTableMessage(*arg2);
8532
8533 wxPyEndAllowThreads(__tstate);
8534 if (PyErr_Occurred()) SWIG_fail;
8535 }
4f89f6a3
RD
8536 {
8537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8538 }
d14a1e28
RD
8539 return resultobj;
8540 fail:
8541 return NULL;
8542}
8543
8544
c32bde28 8545static PyObject *_wrap_Grid_GetTable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8546 PyObject *resultobj;
8547 wxGrid *arg1 = (wxGrid *) 0 ;
8548 wxGridTableBase *result;
8549 PyObject * obj0 = 0 ;
8550 char *kwnames[] = {
8551 (char *) "self", NULL
8552 };
8553
8554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
8555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
8559 result = (wxGridTableBase *)((wxGrid const *)arg1)->GetTable();
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
8564 {
412d302d 8565 resultobj = wxPyMake_wxGridTableBase(result, 0);
d14a1e28
RD
8566 }
8567 return resultobj;
8568 fail:
8569 return NULL;
8570}
8571
8572
c32bde28 8573static PyObject *_wrap_Grid_SetTable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8574 PyObject *resultobj;
8575 wxGrid *arg1 = (wxGrid *) 0 ;
8576 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
ae8162c8 8577 bool arg3 = (bool) false ;
d14a1e28
RD
8578 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8579 bool result;
8580 PyObject * obj0 = 0 ;
8581 PyObject * obj1 = 0 ;
8582 PyObject * obj2 = 0 ;
994141e6 8583 PyObject * obj3 = 0 ;
d14a1e28
RD
8584 char *kwnames[] = {
8585 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8586 };
8587
994141e6 8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetTable",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
8592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8593 if (obj2) {
c32bde28 8594 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 8595 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8596 }
8597 if (obj3) {
c32bde28 8598 arg4 = (WXGRIDSELECTIONMODES)SWIG_As_int(obj3);
15afbcd0 8599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8600 }
8601 {
8602 PyThreadState* __tstate = wxPyBeginAllowThreads();
8603 result = (bool)(arg1)->SetTable(arg2,arg3,arg4);
8604
8605 wxPyEndAllowThreads(__tstate);
8606 if (PyErr_Occurred()) SWIG_fail;
8607 }
4f89f6a3
RD
8608 {
8609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8610 }
d14a1e28
RD
8611 return resultobj;
8612 fail:
8613 return NULL;
8614}
8615
8616
c32bde28 8617static PyObject *_wrap_Grid_ClearGrid(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8618 PyObject *resultobj;
8619 wxGrid *arg1 = (wxGrid *) 0 ;
8620 PyObject * obj0 = 0 ;
8621 char *kwnames[] = {
8622 (char *) "self", NULL
8623 };
8624
8625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearGrid",kwnames,&obj0)) goto fail;
15afbcd0
RD
8626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8628 {
8629 PyThreadState* __tstate = wxPyBeginAllowThreads();
8630 (arg1)->ClearGrid();
8631
8632 wxPyEndAllowThreads(__tstate);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 }
8635 Py_INCREF(Py_None); resultobj = Py_None;
8636 return resultobj;
8637 fail:
8638 return NULL;
8639}
8640
8641
c32bde28 8642static PyObject *_wrap_Grid_InsertRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8643 PyObject *resultobj;
8644 wxGrid *arg1 = (wxGrid *) 0 ;
8645 int arg2 = (int) 0 ;
8646 int arg3 = (int) 1 ;
ae8162c8 8647 bool arg4 = (bool) true ;
d14a1e28
RD
8648 bool result;
8649 PyObject * obj0 = 0 ;
994141e6
RD
8650 PyObject * obj1 = 0 ;
8651 PyObject * obj2 = 0 ;
d14a1e28
RD
8652 PyObject * obj3 = 0 ;
8653 char *kwnames[] = {
8654 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8655 };
8656
994141e6 8657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8660 if (obj1) {
c32bde28 8661 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8662 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8663 }
8664 if (obj2) {
c32bde28 8665 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 8666 if (PyErr_Occurred()) SWIG_fail;
994141e6 8667 }
d14a1e28 8668 if (obj3) {
c32bde28 8669 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 8670 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8671 }
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 result = (bool)(arg1)->InsertRows(arg2,arg3,arg4);
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
4f89f6a3
RD
8679 {
8680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8681 }
d14a1e28
RD
8682 return resultobj;
8683 fail:
8684 return NULL;
8685}
8686
8687
c32bde28 8688static PyObject *_wrap_Grid_AppendRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8689 PyObject *resultobj;
8690 wxGrid *arg1 = (wxGrid *) 0 ;
8691 int arg2 = (int) 1 ;
ae8162c8 8692 bool arg3 = (bool) true ;
d14a1e28
RD
8693 bool result;
8694 PyObject * obj0 = 0 ;
994141e6 8695 PyObject * obj1 = 0 ;
d14a1e28
RD
8696 PyObject * obj2 = 0 ;
8697 char *kwnames[] = {
8698 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8699 };
8700
994141e6 8701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8704 if (obj1) {
c32bde28 8705 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8706 if (PyErr_Occurred()) SWIG_fail;
994141e6 8707 }
d14a1e28 8708 if (obj2) {
c32bde28 8709 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 8710 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8711 }
8712 {
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 result = (bool)(arg1)->AppendRows(arg2,arg3);
8715
8716 wxPyEndAllowThreads(__tstate);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 }
4f89f6a3
RD
8719 {
8720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8721 }
d14a1e28
RD
8722 return resultobj;
8723 fail:
8724 return NULL;
8725}
8726
8727
c32bde28 8728static PyObject *_wrap_Grid_DeleteRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8729 PyObject *resultobj;
8730 wxGrid *arg1 = (wxGrid *) 0 ;
8731 int arg2 = (int) 0 ;
8732 int arg3 = (int) 1 ;
ae8162c8 8733 bool arg4 = (bool) true ;
d14a1e28
RD
8734 bool result;
8735 PyObject * obj0 = 0 ;
994141e6
RD
8736 PyObject * obj1 = 0 ;
8737 PyObject * obj2 = 0 ;
d14a1e28
RD
8738 PyObject * obj3 = 0 ;
8739 char *kwnames[] = {
8740 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8741 };
8742
994141e6 8743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8746 if (obj1) {
c32bde28 8747 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8748 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8749 }
8750 if (obj2) {
c32bde28 8751 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 8752 if (PyErr_Occurred()) SWIG_fail;
994141e6 8753 }
d14a1e28 8754 if (obj3) {
c32bde28 8755 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 8756 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8757 }
8758 {
8759 PyThreadState* __tstate = wxPyBeginAllowThreads();
8760 result = (bool)(arg1)->DeleteRows(arg2,arg3,arg4);
8761
8762 wxPyEndAllowThreads(__tstate);
8763 if (PyErr_Occurred()) SWIG_fail;
8764 }
4f89f6a3
RD
8765 {
8766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8767 }
d14a1e28
RD
8768 return resultobj;
8769 fail:
8770 return NULL;
8771}
8772
8773
c32bde28 8774static PyObject *_wrap_Grid_InsertCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8775 PyObject *resultobj;
8776 wxGrid *arg1 = (wxGrid *) 0 ;
8777 int arg2 = (int) 0 ;
8778 int arg3 = (int) 1 ;
ae8162c8 8779 bool arg4 = (bool) true ;
d14a1e28
RD
8780 bool result;
8781 PyObject * obj0 = 0 ;
994141e6
RD
8782 PyObject * obj1 = 0 ;
8783 PyObject * obj2 = 0 ;
d14a1e28
RD
8784 PyObject * obj3 = 0 ;
8785 char *kwnames[] = {
8786 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8787 };
8788
994141e6 8789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8792 if (obj1) {
c32bde28 8793 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8794 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8795 }
8796 if (obj2) {
c32bde28 8797 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 8798 if (PyErr_Occurred()) SWIG_fail;
994141e6 8799 }
d14a1e28 8800 if (obj3) {
c32bde28 8801 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 8802 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8803 }
8804 {
8805 PyThreadState* __tstate = wxPyBeginAllowThreads();
8806 result = (bool)(arg1)->InsertCols(arg2,arg3,arg4);
8807
8808 wxPyEndAllowThreads(__tstate);
8809 if (PyErr_Occurred()) SWIG_fail;
8810 }
4f89f6a3
RD
8811 {
8812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8813 }
d14a1e28
RD
8814 return resultobj;
8815 fail:
8816 return NULL;
8817}
8818
8819
c32bde28 8820static PyObject *_wrap_Grid_AppendCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8821 PyObject *resultobj;
8822 wxGrid *arg1 = (wxGrid *) 0 ;
8823 int arg2 = (int) 1 ;
ae8162c8 8824 bool arg3 = (bool) true ;
d14a1e28
RD
8825 bool result;
8826 PyObject * obj0 = 0 ;
994141e6 8827 PyObject * obj1 = 0 ;
d14a1e28
RD
8828 PyObject * obj2 = 0 ;
8829 char *kwnames[] = {
8830 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8831 };
8832
994141e6 8833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8836 if (obj1) {
c32bde28 8837 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8838 if (PyErr_Occurred()) SWIG_fail;
994141e6 8839 }
d14a1e28 8840 if (obj2) {
c32bde28 8841 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 8842 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8843 }
8844 {
8845 PyThreadState* __tstate = wxPyBeginAllowThreads();
8846 result = (bool)(arg1)->AppendCols(arg2,arg3);
8847
8848 wxPyEndAllowThreads(__tstate);
8849 if (PyErr_Occurred()) SWIG_fail;
8850 }
4f89f6a3
RD
8851 {
8852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8853 }
d14a1e28
RD
8854 return resultobj;
8855 fail:
8856 return NULL;
8857}
8858
8859
c32bde28 8860static PyObject *_wrap_Grid_DeleteCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8861 PyObject *resultobj;
8862 wxGrid *arg1 = (wxGrid *) 0 ;
8863 int arg2 = (int) 0 ;
8864 int arg3 = (int) 1 ;
ae8162c8 8865 bool arg4 = (bool) true ;
d14a1e28
RD
8866 bool result;
8867 PyObject * obj0 = 0 ;
994141e6
RD
8868 PyObject * obj1 = 0 ;
8869 PyObject * obj2 = 0 ;
d14a1e28
RD
8870 PyObject * obj3 = 0 ;
8871 char *kwnames[] = {
8872 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8873 };
8874
994141e6 8875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8878 if (obj1) {
c32bde28 8879 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8880 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8881 }
8882 if (obj2) {
c32bde28 8883 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 8884 if (PyErr_Occurred()) SWIG_fail;
994141e6 8885 }
d14a1e28 8886 if (obj3) {
c32bde28 8887 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 8888 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8889 }
8890 {
8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
8892 result = (bool)(arg1)->DeleteCols(arg2,arg3,arg4);
8893
8894 wxPyEndAllowThreads(__tstate);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 }
4f89f6a3
RD
8897 {
8898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8899 }
d14a1e28
RD
8900 return resultobj;
8901 fail:
8902 return NULL;
8903}
8904
8905
c32bde28 8906static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8907 PyObject *resultobj;
8908 wxGrid *arg1 = (wxGrid *) 0 ;
8909 wxDC *arg2 = 0 ;
8910 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
8911 PyObject * obj0 = 0 ;
8912 PyObject * obj1 = 0 ;
8913 PyObject * obj2 = 0 ;
8914 char *kwnames[] = {
8915 (char *) "self",(char *) "dc",(char *) "attr", NULL
8916 };
8917
8918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DrawCellHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8922 SWIG_POINTER_EXCEPTION | 0)) == -1)
8923 SWIG_fail;
d14a1e28 8924 if (arg2 == NULL) {
15afbcd0
RD
8925 PyErr_SetString(PyExc_TypeError,"null reference");
8926 SWIG_fail;
d14a1e28 8927 }
15afbcd0
RD
8928 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
8929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 (arg1)->DrawCellHighlight(*arg2,(wxGridCellAttr const *)arg3);
8933
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 Py_INCREF(Py_None); resultobj = Py_None;
8938 return resultobj;
8939 fail:
8940 return NULL;
8941}
8942
8943
c32bde28 8944static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8945 PyObject *resultobj;
8946 wxGrid *arg1 = (wxGrid *) 0 ;
8947 wxDC *arg2 = 0 ;
8948 wxString *arg3 = 0 ;
8949 wxRect *arg4 = 0 ;
8950 int arg5 = (int) wxLEFT ;
8951 int arg6 = (int) wxTOP ;
8952 int arg7 = (int) wxHORIZONTAL ;
ae8162c8 8953 bool temp3 = false ;
d14a1e28
RD
8954 wxRect temp4 ;
8955 PyObject * obj0 = 0 ;
8956 PyObject * obj1 = 0 ;
8957 PyObject * obj2 = 0 ;
8958 PyObject * obj3 = 0 ;
994141e6
RD
8959 PyObject * obj4 = 0 ;
8960 PyObject * obj5 = 0 ;
8961 PyObject * obj6 = 0 ;
d14a1e28
RD
8962 char *kwnames[] = {
8963 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8964 };
8965
994141e6 8966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
8967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8970 SWIG_POINTER_EXCEPTION | 0)) == -1)
8971 SWIG_fail;
d14a1e28 8972 if (arg2 == NULL) {
15afbcd0
RD
8973 PyErr_SetString(PyExc_TypeError,"null reference");
8974 SWIG_fail;
d14a1e28
RD
8975 }
8976 {
8977 arg3 = wxString_in_helper(obj2);
8978 if (arg3 == NULL) SWIG_fail;
ae8162c8 8979 temp3 = true;
d14a1e28
RD
8980 }
8981 {
8982 arg4 = &temp4;
8983 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
8984 }
994141e6 8985 if (obj4) {
c32bde28 8986 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 8987 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8988 }
8989 if (obj5) {
c32bde28 8990 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 8991 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8992 }
8993 if (obj6) {
c32bde28 8994 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 8995 if (PyErr_Occurred()) SWIG_fail;
994141e6 8996 }
d14a1e28
RD
8997 {
8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
8999 (arg1)->DrawTextRectangle(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
9000
9001 wxPyEndAllowThreads(__tstate);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 }
9004 Py_INCREF(Py_None); resultobj = Py_None;
9005 {
9006 if (temp3)
9007 delete arg3;
9008 }
9009 return resultobj;
9010 fail:
9011 {
9012 if (temp3)
9013 delete arg3;
9014 }
9015 return NULL;
9016}
9017
9018
c32bde28 9019static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9020 PyObject *resultobj;
9021 wxGrid *arg1 = (wxGrid *) 0 ;
9022 wxDC *arg2 = 0 ;
9023 wxArrayString *arg3 = 0 ;
9024 long *arg4 = (long *) 0 ;
9025 long *arg5 = (long *) 0 ;
ae8162c8 9026 bool temp3 = false ;
d14a1e28 9027 long temp4 ;
c32bde28 9028 int res4 = 0 ;
d14a1e28 9029 long temp5 ;
c32bde28 9030 int res5 = 0 ;
d14a1e28
RD
9031 PyObject * obj0 = 0 ;
9032 PyObject * obj1 = 0 ;
9033 PyObject * obj2 = 0 ;
9034 char *kwnames[] = {
9035 (char *) "self",(char *) "dc",(char *) "lines", NULL
9036 };
9037
c32bde28
RD
9038 arg4 = &temp4; res4 = SWIG_NEWOBJ;
9039 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d14a1e28 9040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetTextBoxSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
9044 SWIG_POINTER_EXCEPTION | 0)) == -1)
9045 SWIG_fail;
d14a1e28 9046 if (arg2 == NULL) {
15afbcd0
RD
9047 PyErr_SetString(PyExc_TypeError,"null reference");
9048 SWIG_fail;
d14a1e28
RD
9049 }
9050 {
9051 if (! PySequence_Check(obj2)) {
9052 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9053 SWIG_fail;
9054 }
9055 arg3 = new wxArrayString;
ae8162c8 9056 temp3 = true;
d14a1e28
RD
9057 int i, len=PySequence_Length(obj2);
9058 for (i=0; i<len; i++) {
9059 PyObject* item = PySequence_GetItem(obj2, i);
9060#if wxUSE_UNICODE
9061 PyObject* str = PyObject_Unicode(item);
9062#else
9063 PyObject* str = PyObject_Str(item);
9064#endif
74a57fcd 9065 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9066 arg3->Add(Py2wxString(str));
9067 Py_DECREF(item);
9068 Py_DECREF(str);
9069 }
9070 }
9071 {
9072 PyThreadState* __tstate = wxPyBeginAllowThreads();
9073 (arg1)->GetTextBoxSize(*arg2,*arg3,arg4,arg5);
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
9079 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
9080 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
9081 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
9082 SWIG_From_long((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_long, 0)));
d14a1e28 9083 {
3adfb63b 9084 if (temp3) delete arg3;
d14a1e28
RD
9085 }
9086 return resultobj;
9087 fail:
9088 {
3adfb63b 9089 if (temp3) delete arg3;
d14a1e28
RD
9090 }
9091 return NULL;
9092}
9093
9094
c32bde28 9095static PyObject *_wrap_Grid_BeginBatch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9096 PyObject *resultobj;
9097 wxGrid *arg1 = (wxGrid *) 0 ;
9098 PyObject * obj0 = 0 ;
9099 char *kwnames[] = {
9100 (char *) "self", NULL
9101 };
9102
9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_BeginBatch",kwnames,&obj0)) goto fail;
15afbcd0
RD
9104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9106 {
9107 PyThreadState* __tstate = wxPyBeginAllowThreads();
9108 (arg1)->BeginBatch();
9109
9110 wxPyEndAllowThreads(__tstate);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 }
9113 Py_INCREF(Py_None); resultobj = Py_None;
9114 return resultobj;
9115 fail:
9116 return NULL;
9117}
9118
9119
c32bde28 9120static PyObject *_wrap_Grid_EndBatch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9121 PyObject *resultobj;
9122 wxGrid *arg1 = (wxGrid *) 0 ;
9123 PyObject * obj0 = 0 ;
9124 char *kwnames[] = {
9125 (char *) "self", NULL
9126 };
9127
9128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_EndBatch",kwnames,&obj0)) goto fail;
15afbcd0
RD
9129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9131 {
9132 PyThreadState* __tstate = wxPyBeginAllowThreads();
9133 (arg1)->EndBatch();
9134
9135 wxPyEndAllowThreads(__tstate);
9136 if (PyErr_Occurred()) SWIG_fail;
9137 }
9138 Py_INCREF(Py_None); resultobj = Py_None;
9139 return resultobj;
9140 fail:
9141 return NULL;
9142}
9143
9144
c32bde28 9145static PyObject *_wrap_Grid_GetBatchCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9146 PyObject *resultobj;
9147 wxGrid *arg1 = (wxGrid *) 0 ;
9148 int result;
9149 PyObject * obj0 = 0 ;
9150 char *kwnames[] = {
9151 (char *) "self", NULL
9152 };
9153
9154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetBatchCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
9155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9157 {
9158 PyThreadState* __tstate = wxPyBeginAllowThreads();
9159 result = (int)(arg1)->GetBatchCount();
9160
9161 wxPyEndAllowThreads(__tstate);
9162 if (PyErr_Occurred()) SWIG_fail;
9163 }
c32bde28 9164 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9165 return resultobj;
9166 fail:
9167 return NULL;
9168}
9169
9170
c32bde28 9171static PyObject *_wrap_Grid_ForceRefresh(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9172 PyObject *resultobj;
9173 wxGrid *arg1 = (wxGrid *) 0 ;
9174 PyObject * obj0 = 0 ;
9175 char *kwnames[] = {
9176 (char *) "self", NULL
9177 };
9178
9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ForceRefresh",kwnames,&obj0)) goto fail;
15afbcd0
RD
9180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9182 {
9183 PyThreadState* __tstate = wxPyBeginAllowThreads();
9184 (arg1)->ForceRefresh();
9185
9186 wxPyEndAllowThreads(__tstate);
9187 if (PyErr_Occurred()) SWIG_fail;
9188 }
9189 Py_INCREF(Py_None); resultobj = Py_None;
9190 return resultobj;
9191 fail:
9192 return NULL;
9193}
9194
9195
c32bde28 9196static PyObject *_wrap_Grid_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9197 PyObject *resultobj;
9198 wxGrid *arg1 = (wxGrid *) 0 ;
9199 bool result;
9200 PyObject * obj0 = 0 ;
9201 char *kwnames[] = {
9202 (char *) "self", NULL
9203 };
9204
9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsEditable",kwnames,&obj0)) goto fail;
15afbcd0
RD
9206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9208 {
9209 PyThreadState* __tstate = wxPyBeginAllowThreads();
9210 result = (bool)(arg1)->IsEditable();
9211
9212 wxPyEndAllowThreads(__tstate);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 }
4f89f6a3
RD
9215 {
9216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9217 }
d14a1e28
RD
9218 return resultobj;
9219 fail:
9220 return NULL;
9221}
9222
9223
c32bde28 9224static PyObject *_wrap_Grid_EnableEditing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9225 PyObject *resultobj;
9226 wxGrid *arg1 = (wxGrid *) 0 ;
9227 bool arg2 ;
9228 PyObject * obj0 = 0 ;
9229 PyObject * obj1 = 0 ;
9230 char *kwnames[] = {
9231 (char *) "self",(char *) "edit", NULL
9232 };
9233
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_EnableEditing",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9237 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 9238 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 (arg1)->EnableEditing(arg2);
9242
9243 wxPyEndAllowThreads(__tstate);
9244 if (PyErr_Occurred()) SWIG_fail;
9245 }
9246 Py_INCREF(Py_None); resultobj = Py_None;
9247 return resultobj;
9248 fail:
9249 return NULL;
9250}
9251
9252
c32bde28 9253static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9254 PyObject *resultobj;
9255 wxGrid *arg1 = (wxGrid *) 0 ;
ae8162c8 9256 bool arg2 = (bool) true ;
d14a1e28
RD
9257 PyObject * obj0 = 0 ;
9258 PyObject * obj1 = 0 ;
9259 char *kwnames[] = {
9260 (char *) "self",(char *) "enable", NULL
9261 };
9262
9263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableCellEditControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9266 if (obj1) {
c32bde28 9267 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 9268 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9269 }
9270 {
9271 PyThreadState* __tstate = wxPyBeginAllowThreads();
9272 (arg1)->EnableCellEditControl(arg2);
9273
9274 wxPyEndAllowThreads(__tstate);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 Py_INCREF(Py_None); resultobj = Py_None;
9278 return resultobj;
9279 fail:
9280 return NULL;
9281}
9282
9283
c32bde28 9284static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9285 PyObject *resultobj;
9286 wxGrid *arg1 = (wxGrid *) 0 ;
9287 PyObject * obj0 = 0 ;
9288 char *kwnames[] = {
9289 (char *) "self", NULL
9290 };
9291
9292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableCellEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
9293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9295 {
9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
9297 (arg1)->DisableCellEditControl();
9298
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 Py_INCREF(Py_None); resultobj = Py_None;
9303 return resultobj;
9304 fail:
9305 return NULL;
9306}
9307
9308
c32bde28 9309static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9310 PyObject *resultobj;
9311 wxGrid *arg1 = (wxGrid *) 0 ;
9312 bool result;
9313 PyObject * obj0 = 0 ;
9314 char *kwnames[] = {
9315 (char *) "self", NULL
9316 };
9317
9318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanEnableCellControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
9319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9321 {
9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
9323 result = (bool)((wxGrid const *)arg1)->CanEnableCellControl();
9324
9325 wxPyEndAllowThreads(__tstate);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
4f89f6a3
RD
9328 {
9329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9330 }
d14a1e28
RD
9331 return resultobj;
9332 fail:
9333 return NULL;
9334}
9335
9336
c32bde28 9337static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9338 PyObject *resultobj;
9339 wxGrid *arg1 = (wxGrid *) 0 ;
9340 bool result;
9341 PyObject * obj0 = 0 ;
9342 char *kwnames[] = {
9343 (char *) "self", NULL
9344 };
9345
9346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
9347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9349 {
9350 PyThreadState* __tstate = wxPyBeginAllowThreads();
9351 result = (bool)((wxGrid const *)arg1)->IsCellEditControlEnabled();
9352
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
4f89f6a3
RD
9356 {
9357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9358 }
d14a1e28
RD
9359 return resultobj;
9360 fail:
9361 return NULL;
9362}
9363
9364
c32bde28 9365static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9366 PyObject *resultobj;
9367 wxGrid *arg1 = (wxGrid *) 0 ;
9368 bool result;
9369 PyObject * obj0 = 0 ;
9370 char *kwnames[] = {
9371 (char *) "self", NULL
9372 };
9373
9374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
9375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9377 {
9378 PyThreadState* __tstate = wxPyBeginAllowThreads();
9379 result = (bool)((wxGrid const *)arg1)->IsCellEditControlShown();
9380
9381 wxPyEndAllowThreads(__tstate);
9382 if (PyErr_Occurred()) SWIG_fail;
9383 }
4f89f6a3
RD
9384 {
9385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9386 }
d14a1e28
RD
9387 return resultobj;
9388 fail:
9389 return NULL;
9390}
9391
9392
c32bde28 9393static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9394 PyObject *resultobj;
9395 wxGrid *arg1 = (wxGrid *) 0 ;
9396 bool result;
9397 PyObject * obj0 = 0 ;
9398 char *kwnames[] = {
9399 (char *) "self", NULL
9400 };
9401
9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames,&obj0)) goto fail;
15afbcd0
RD
9403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9405 {
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
9407 result = (bool)((wxGrid const *)arg1)->IsCurrentCellReadOnly();
9408
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
4f89f6a3
RD
9412 {
9413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9414 }
d14a1e28
RD
9415 return resultobj;
9416 fail:
9417 return NULL;
9418}
9419
9420
c32bde28 9421static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9422 PyObject *resultobj;
9423 wxGrid *arg1 = (wxGrid *) 0 ;
9424 PyObject * obj0 = 0 ;
9425 char *kwnames[] = {
9426 (char *) "self", NULL
9427 };
9428
9429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ShowCellEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
9430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9432 {
9433 PyThreadState* __tstate = wxPyBeginAllowThreads();
9434 (arg1)->ShowCellEditControl();
9435
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 Py_INCREF(Py_None); resultobj = Py_None;
9440 return resultobj;
9441 fail:
9442 return NULL;
9443}
9444
9445
c32bde28 9446static PyObject *_wrap_Grid_HideCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9447 PyObject *resultobj;
9448 wxGrid *arg1 = (wxGrid *) 0 ;
9449 PyObject * obj0 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_HideCellEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
9455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9457 {
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
9459 (arg1)->HideCellEditControl();
9460
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
9464 Py_INCREF(Py_None); resultobj = Py_None;
9465 return resultobj;
9466 fail:
9467 return NULL;
9468}
9469
9470
c32bde28 9471static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9472 PyObject *resultobj;
9473 wxGrid *arg1 = (wxGrid *) 0 ;
9474 PyObject * obj0 = 0 ;
9475 char *kwnames[] = {
9476 (char *) "self", NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SaveEditControlValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
9480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9482 {
9483 PyThreadState* __tstate = wxPyBeginAllowThreads();
9484 (arg1)->SaveEditControlValue();
9485
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 }
9489 Py_INCREF(Py_None); resultobj = Py_None;
9490 return resultobj;
9491 fail:
9492 return NULL;
9493}
9494
9495
c32bde28 9496static PyObject *_wrap_Grid_XYToCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9497 PyObject *resultobj;
9498 wxGrid *arg1 = (wxGrid *) 0 ;
9499 int arg2 ;
9500 int arg3 ;
9501 wxGridCellCoords result;
9502 PyObject * obj0 = 0 ;
994141e6
RD
9503 PyObject * obj1 = 0 ;
9504 PyObject * obj2 = 0 ;
d14a1e28
RD
9505 char *kwnames[] = {
9506 (char *) "self",(char *) "x",(char *) "y", NULL
9507 };
9508
994141e6 9509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_XYToCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9512 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9513 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9514 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9515 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9516 {
9517 PyThreadState* __tstate = wxPyBeginAllowThreads();
9518 result = wxGrid_XYToCell(arg1,arg2,arg3);
9519
9520 wxPyEndAllowThreads(__tstate);
9521 if (PyErr_Occurred()) SWIG_fail;
9522 }
9523 {
9524 wxGridCellCoords * resultptr;
9525 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15afbcd0 9526 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
9527 }
9528 return resultobj;
9529 fail:
9530 return NULL;
9531}
9532
9533
c32bde28 9534static PyObject *_wrap_Grid_YToRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9535 PyObject *resultobj;
9536 wxGrid *arg1 = (wxGrid *) 0 ;
9537 int arg2 ;
9538 int result;
9539 PyObject * obj0 = 0 ;
994141e6 9540 PyObject * obj1 = 0 ;
d14a1e28
RD
9541 char *kwnames[] = {
9542 (char *) "self",(char *) "y", NULL
9543 };
9544
994141e6 9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9548 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9549 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 result = (int)(arg1)->YToRow(arg2);
9553
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
c32bde28 9557 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9558 return resultobj;
9559 fail:
9560 return NULL;
9561}
9562
9563
c32bde28 9564static PyObject *_wrap_Grid_XToCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9565 PyObject *resultobj;
9566 wxGrid *arg1 = (wxGrid *) 0 ;
9567 int arg2 ;
9568 int result;
9569 PyObject * obj0 = 0 ;
994141e6 9570 PyObject * obj1 = 0 ;
d14a1e28
RD
9571 char *kwnames[] = {
9572 (char *) "self",(char *) "x", NULL
9573 };
9574
994141e6 9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9578 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9579 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9580 {
9581 PyThreadState* __tstate = wxPyBeginAllowThreads();
9582 result = (int)(arg1)->XToCol(arg2);
9583
9584 wxPyEndAllowThreads(__tstate);
9585 if (PyErr_Occurred()) SWIG_fail;
9586 }
c32bde28 9587 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9588 return resultobj;
9589 fail:
9590 return NULL;
9591}
9592
9593
c32bde28 9594static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9595 PyObject *resultobj;
9596 wxGrid *arg1 = (wxGrid *) 0 ;
9597 int arg2 ;
9598 int result;
9599 PyObject * obj0 = 0 ;
994141e6 9600 PyObject * obj1 = 0 ;
d14a1e28
RD
9601 char *kwnames[] = {
9602 (char *) "self",(char *) "y", NULL
9603 };
9604
994141e6 9605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToEdgeOfRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9608 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9609 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9610 {
9611 PyThreadState* __tstate = wxPyBeginAllowThreads();
9612 result = (int)(arg1)->YToEdgeOfRow(arg2);
9613
9614 wxPyEndAllowThreads(__tstate);
9615 if (PyErr_Occurred()) SWIG_fail;
9616 }
c32bde28 9617 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9618 return resultobj;
9619 fail:
9620 return NULL;
9621}
9622
9623
c32bde28 9624static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9625 PyObject *resultobj;
9626 wxGrid *arg1 = (wxGrid *) 0 ;
9627 int arg2 ;
9628 int result;
9629 PyObject * obj0 = 0 ;
994141e6 9630 PyObject * obj1 = 0 ;
d14a1e28
RD
9631 char *kwnames[] = {
9632 (char *) "self",(char *) "x", NULL
9633 };
9634
994141e6 9635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToEdgeOfCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9638 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9639 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9640 {
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 result = (int)(arg1)->XToEdgeOfCol(arg2);
9643
9644 wxPyEndAllowThreads(__tstate);
9645 if (PyErr_Occurred()) SWIG_fail;
9646 }
c32bde28 9647 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9648 return resultobj;
9649 fail:
9650 return NULL;
9651}
9652
9653
c32bde28 9654static PyObject *_wrap_Grid_CellToRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9655 PyObject *resultobj;
9656 wxGrid *arg1 = (wxGrid *) 0 ;
9657 int arg2 ;
9658 int arg3 ;
9659 wxRect result;
9660 PyObject * obj0 = 0 ;
994141e6
RD
9661 PyObject * obj1 = 0 ;
9662 PyObject * obj2 = 0 ;
d14a1e28
RD
9663 char *kwnames[] = {
9664 (char *) "self",(char *) "row",(char *) "col", NULL
15afbcd0
RD
9665 };
9666
9667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_CellToRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
9668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9670 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9671 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9672 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9673 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (arg1)->CellToRect(arg2,arg3);
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 {
9682 wxRect * resultptr;
9683 resultptr = new wxRect((wxRect &) result);
15afbcd0 9684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
9685 }
9686 return resultobj;
9687 fail:
9688 return NULL;
9689}
9690
9691
c32bde28 9692static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9693 PyObject *resultobj;
9694 wxGrid *arg1 = (wxGrid *) 0 ;
9695 int result;
9696 PyObject * obj0 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
9702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9704 {
9705 PyThreadState* __tstate = wxPyBeginAllowThreads();
9706 result = (int)(arg1)->GetGridCursorRow();
9707
9708 wxPyEndAllowThreads(__tstate);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 }
c32bde28 9711 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9712 return resultobj;
9713 fail:
9714 return NULL;
9715}
9716
9717
c32bde28 9718static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9719 PyObject *resultobj;
9720 wxGrid *arg1 = (wxGrid *) 0 ;
9721 int result;
9722 PyObject * obj0 = 0 ;
9723 char *kwnames[] = {
9724 (char *) "self", NULL
9725 };
9726
9727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
9728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9730 {
9731 PyThreadState* __tstate = wxPyBeginAllowThreads();
9732 result = (int)(arg1)->GetGridCursorCol();
9733
9734 wxPyEndAllowThreads(__tstate);
9735 if (PyErr_Occurred()) SWIG_fail;
9736 }
c32bde28 9737 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9738 return resultobj;
9739 fail:
9740 return NULL;
9741}
9742
9743
c32bde28 9744static PyObject *_wrap_Grid_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9745 PyObject *resultobj;
9746 wxGrid *arg1 = (wxGrid *) 0 ;
9747 int arg2 ;
9748 int arg3 ;
ae8162c8 9749 bool arg4 = (bool) true ;
d14a1e28
RD
9750 bool result;
9751 PyObject * obj0 = 0 ;
994141e6
RD
9752 PyObject * obj1 = 0 ;
9753 PyObject * obj2 = 0 ;
d14a1e28
RD
9754 PyObject * obj3 = 0 ;
9755 char *kwnames[] = {
9756 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9757 };
9758
994141e6 9759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_IsVisible",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9762 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9763 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9764 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9765 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9766 if (obj3) {
c32bde28 9767 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 9768 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9769 }
9770 {
9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
9772 result = (bool)(arg1)->IsVisible(arg2,arg3,arg4);
9773
9774 wxPyEndAllowThreads(__tstate);
9775 if (PyErr_Occurred()) SWIG_fail;
9776 }
4f89f6a3
RD
9777 {
9778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9779 }
d14a1e28
RD
9780 return resultobj;
9781 fail:
9782 return NULL;
9783}
9784
9785
c32bde28 9786static PyObject *_wrap_Grid_MakeCellVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9787 PyObject *resultobj;
9788 wxGrid *arg1 = (wxGrid *) 0 ;
9789 int arg2 ;
9790 int arg3 ;
9791 PyObject * obj0 = 0 ;
994141e6
RD
9792 PyObject * obj1 = 0 ;
9793 PyObject * obj2 = 0 ;
d14a1e28
RD
9794 char *kwnames[] = {
9795 (char *) "self",(char *) "row",(char *) "col", NULL
9796 };
9797
994141e6 9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_MakeCellVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9801 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9802 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9803 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9804 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9805 {
9806 PyThreadState* __tstate = wxPyBeginAllowThreads();
9807 (arg1)->MakeCellVisible(arg2,arg3);
9808
9809 wxPyEndAllowThreads(__tstate);
9810 if (PyErr_Occurred()) SWIG_fail;
9811 }
9812 Py_INCREF(Py_None); resultobj = Py_None;
9813 return resultobj;
9814 fail:
9815 return NULL;
9816}
9817
9818
c32bde28 9819static PyObject *_wrap_Grid_SetGridCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9820 PyObject *resultobj;
9821 wxGrid *arg1 = (wxGrid *) 0 ;
9822 int arg2 ;
9823 int arg3 ;
9824 PyObject * obj0 = 0 ;
994141e6
RD
9825 PyObject * obj1 = 0 ;
9826 PyObject * obj2 = 0 ;
d14a1e28
RD
9827 char *kwnames[] = {
9828 (char *) "self",(char *) "row",(char *) "col", NULL
9829 };
9830
994141e6 9831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetGridCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9834 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9835 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9836 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9837 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9838 {
9839 PyThreadState* __tstate = wxPyBeginAllowThreads();
9840 (arg1)->SetGridCursor(arg2,arg3);
9841
9842 wxPyEndAllowThreads(__tstate);
9843 if (PyErr_Occurred()) SWIG_fail;
9844 }
9845 Py_INCREF(Py_None); resultobj = Py_None;
9846 return resultobj;
9847 fail:
9848 return NULL;
9849}
9850
9851
c32bde28 9852static PyObject *_wrap_Grid_MoveCursorUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9853 PyObject *resultobj;
9854 wxGrid *arg1 = (wxGrid *) 0 ;
9855 bool arg2 ;
9856 bool result;
9857 PyObject * obj0 = 0 ;
9858 PyObject * obj1 = 0 ;
9859 char *kwnames[] = {
9860 (char *) "self",(char *) "expandSelection", NULL
9861 };
9862
9863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9866 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 9867 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9868 {
9869 PyThreadState* __tstate = wxPyBeginAllowThreads();
9870 result = (bool)(arg1)->MoveCursorUp(arg2);
9871
9872 wxPyEndAllowThreads(__tstate);
9873 if (PyErr_Occurred()) SWIG_fail;
9874 }
4f89f6a3
RD
9875 {
9876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9877 }
d14a1e28
RD
9878 return resultobj;
9879 fail:
9880 return NULL;
9881}
9882
9883
c32bde28 9884static PyObject *_wrap_Grid_MoveCursorDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9885 PyObject *resultobj;
9886 wxGrid *arg1 = (wxGrid *) 0 ;
9887 bool arg2 ;
9888 bool result;
9889 PyObject * obj0 = 0 ;
9890 PyObject * obj1 = 0 ;
9891 char *kwnames[] = {
9892 (char *) "self",(char *) "expandSelection", NULL
9893 };
9894
9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9898 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 9899 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9900 {
9901 PyThreadState* __tstate = wxPyBeginAllowThreads();
9902 result = (bool)(arg1)->MoveCursorDown(arg2);
9903
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
4f89f6a3
RD
9907 {
9908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9909 }
d14a1e28
RD
9910 return resultobj;
9911 fail:
9912 return NULL;
9913}
9914
9915
c32bde28 9916static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9917 PyObject *resultobj;
9918 wxGrid *arg1 = (wxGrid *) 0 ;
9919 bool arg2 ;
9920 bool result;
9921 PyObject * obj0 = 0 ;
9922 PyObject * obj1 = 0 ;
9923 char *kwnames[] = {
9924 (char *) "self",(char *) "expandSelection", NULL
9925 };
9926
9927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9930 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 9931 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9932 {
9933 PyThreadState* __tstate = wxPyBeginAllowThreads();
9934 result = (bool)(arg1)->MoveCursorLeft(arg2);
9935
9936 wxPyEndAllowThreads(__tstate);
9937 if (PyErr_Occurred()) SWIG_fail;
9938 }
4f89f6a3
RD
9939 {
9940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9941 }
d14a1e28
RD
9942 return resultobj;
9943 fail:
9944 return NULL;
9945}
9946
9947
c32bde28 9948static PyObject *_wrap_Grid_MoveCursorRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9949 PyObject *resultobj;
9950 wxGrid *arg1 = (wxGrid *) 0 ;
9951 bool arg2 ;
9952 bool result;
9953 PyObject * obj0 = 0 ;
9954 PyObject * obj1 = 0 ;
9955 char *kwnames[] = {
9956 (char *) "self",(char *) "expandSelection", NULL
9957 };
9958
9959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9962 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 9963 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 result = (bool)(arg1)->MoveCursorRight(arg2);
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
4f89f6a3
RD
9971 {
9972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9973 }
d14a1e28
RD
9974 return resultobj;
9975 fail:
9976 return NULL;
9977}
9978
9979
c32bde28 9980static PyObject *_wrap_Grid_MovePageDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9981 PyObject *resultobj;
9982 wxGrid *arg1 = (wxGrid *) 0 ;
9983 bool result;
9984 PyObject * obj0 = 0 ;
9985 char *kwnames[] = {
9986 (char *) "self", NULL
9987 };
9988
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
9990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9992 {
9993 PyThreadState* __tstate = wxPyBeginAllowThreads();
9994 result = (bool)(arg1)->MovePageDown();
9995
9996 wxPyEndAllowThreads(__tstate);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
4f89f6a3
RD
9999 {
10000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10001 }
d14a1e28
RD
10002 return resultobj;
10003 fail:
10004 return NULL;
10005}
10006
10007
c32bde28 10008static PyObject *_wrap_Grid_MovePageUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10009 PyObject *resultobj;
10010 wxGrid *arg1 = (wxGrid *) 0 ;
10011 bool result;
10012 PyObject * obj0 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
10018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 result = (bool)(arg1)->MovePageUp();
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
4f89f6a3
RD
10027 {
10028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10029 }
d14a1e28
RD
10030 return resultobj;
10031 fail:
10032 return NULL;
10033}
10034
10035
c32bde28 10036static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10037 PyObject *resultobj;
10038 wxGrid *arg1 = (wxGrid *) 0 ;
10039 bool arg2 ;
10040 bool result;
10041 PyObject * obj0 = 0 ;
10042 PyObject * obj1 = 0 ;
10043 char *kwnames[] = {
10044 (char *) "self",(char *) "expandSelection", NULL
10045 };
10046
10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUpBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10050 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 10051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10052 {
10053 PyThreadState* __tstate = wxPyBeginAllowThreads();
10054 result = (bool)(arg1)->MoveCursorUpBlock(arg2);
10055
10056 wxPyEndAllowThreads(__tstate);
10057 if (PyErr_Occurred()) SWIG_fail;
10058 }
4f89f6a3
RD
10059 {
10060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10061 }
d14a1e28
RD
10062 return resultobj;
10063 fail:
10064 return NULL;
10065}
10066
10067
c32bde28 10068static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10069 PyObject *resultobj;
10070 wxGrid *arg1 = (wxGrid *) 0 ;
10071 bool arg2 ;
10072 bool result;
10073 PyObject * obj0 = 0 ;
10074 PyObject * obj1 = 0 ;
10075 char *kwnames[] = {
10076 (char *) "self",(char *) "expandSelection", NULL
10077 };
10078
10079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDownBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10082 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 10083 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10084 {
10085 PyThreadState* __tstate = wxPyBeginAllowThreads();
10086 result = (bool)(arg1)->MoveCursorDownBlock(arg2);
10087
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
4f89f6a3
RD
10091 {
10092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10093 }
d14a1e28
RD
10094 return resultobj;
10095 fail:
10096 return NULL;
10097}
10098
10099
c32bde28 10100static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10101 PyObject *resultobj;
10102 wxGrid *arg1 = (wxGrid *) 0 ;
10103 bool arg2 ;
10104 bool result;
10105 PyObject * obj0 = 0 ;
10106 PyObject * obj1 = 0 ;
10107 char *kwnames[] = {
10108 (char *) "self",(char *) "expandSelection", NULL
10109 };
10110
10111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10114 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 10115 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10116 {
10117 PyThreadState* __tstate = wxPyBeginAllowThreads();
10118 result = (bool)(arg1)->MoveCursorLeftBlock(arg2);
10119
10120 wxPyEndAllowThreads(__tstate);
10121 if (PyErr_Occurred()) SWIG_fail;
10122 }
4f89f6a3
RD
10123 {
10124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10125 }
d14a1e28
RD
10126 return resultobj;
10127 fail:
10128 return NULL;
10129}
10130
10131
c32bde28 10132static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10133 PyObject *resultobj;
10134 wxGrid *arg1 = (wxGrid *) 0 ;
10135 bool arg2 ;
10136 bool result;
10137 PyObject * obj0 = 0 ;
10138 PyObject * obj1 = 0 ;
10139 char *kwnames[] = {
10140 (char *) "self",(char *) "expandSelection", NULL
10141 };
10142
10143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRightBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10146 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 10147 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10148 {
10149 PyThreadState* __tstate = wxPyBeginAllowThreads();
10150 result = (bool)(arg1)->MoveCursorRightBlock(arg2);
10151
10152 wxPyEndAllowThreads(__tstate);
10153 if (PyErr_Occurred()) SWIG_fail;
10154 }
4f89f6a3
RD
10155 {
10156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10157 }
d14a1e28
RD
10158 return resultobj;
10159 fail:
10160 return NULL;
10161}
10162
10163
c32bde28 10164static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10165 PyObject *resultobj;
10166 wxGrid *arg1 = (wxGrid *) 0 ;
10167 int result;
10168 PyObject * obj0 = 0 ;
10169 char *kwnames[] = {
10170 (char *) "self", NULL
10171 };
10172
10173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 result = (int)(arg1)->GetDefaultRowLabelSize();
10179
10180 wxPyEndAllowThreads(__tstate);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
c32bde28 10183 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10184 return resultobj;
10185 fail:
10186 return NULL;
10187}
10188
10189
c32bde28 10190static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10191 PyObject *resultobj;
10192 wxGrid *arg1 = (wxGrid *) 0 ;
10193 int result;
10194 PyObject * obj0 = 0 ;
10195 char *kwnames[] = {
10196 (char *) "self", NULL
10197 };
10198
10199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10202 {
10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
10204 result = (int)(arg1)->GetRowLabelSize();
10205
10206 wxPyEndAllowThreads(__tstate);
10207 if (PyErr_Occurred()) SWIG_fail;
10208 }
c32bde28 10209 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10210 return resultobj;
10211 fail:
10212 return NULL;
10213}
10214
10215
c32bde28 10216static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10217 PyObject *resultobj;
10218 wxGrid *arg1 = (wxGrid *) 0 ;
10219 int result;
10220 PyObject * obj0 = 0 ;
10221 char *kwnames[] = {
10222 (char *) "self", NULL
10223 };
10224
10225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 result = (int)(arg1)->GetDefaultColLabelSize();
10231
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 }
c32bde28 10235 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10236 return resultobj;
10237 fail:
10238 return NULL;
10239}
10240
10241
c32bde28 10242static PyObject *_wrap_Grid_GetColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10243 PyObject *resultobj;
10244 wxGrid *arg1 = (wxGrid *) 0 ;
10245 int result;
10246 PyObject * obj0 = 0 ;
10247 char *kwnames[] = {
10248 (char *) "self", NULL
10249 };
10250
10251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10254 {
10255 PyThreadState* __tstate = wxPyBeginAllowThreads();
10256 result = (int)(arg1)->GetColLabelSize();
10257
10258 wxPyEndAllowThreads(__tstate);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 }
c32bde28 10261 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10262 return resultobj;
10263 fail:
10264 return NULL;
10265}
10266
10267
c32bde28 10268static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10269 PyObject *resultobj;
10270 wxGrid *arg1 = (wxGrid *) 0 ;
10271 wxColour result;
10272 PyObject * obj0 = 0 ;
10273 char *kwnames[] = {
10274 (char *) "self", NULL
10275 };
10276
10277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
10278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 result = (arg1)->GetLabelBackgroundColour();
10283
10284 wxPyEndAllowThreads(__tstate);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 {
10288 wxColour * resultptr;
10289 resultptr = new wxColour((wxColour &) result);
15afbcd0 10290 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10291 }
10292 return resultobj;
10293 fail:
10294 return NULL;
10295}
10296
10297
c32bde28 10298static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10299 PyObject *resultobj;
10300 wxGrid *arg1 = (wxGrid *) 0 ;
10301 wxColour result;
10302 PyObject * obj0 = 0 ;
10303 char *kwnames[] = {
10304 (char *) "self", NULL
10305 };
10306
10307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
10308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 result = (arg1)->GetLabelTextColour();
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 {
10318 wxColour * resultptr;
10319 resultptr = new wxColour((wxColour &) result);
15afbcd0 10320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10321 }
10322 return resultobj;
10323 fail:
10324 return NULL;
10325}
10326
10327
c32bde28 10328static PyObject *_wrap_Grid_GetLabelFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10329 PyObject *resultobj;
10330 wxGrid *arg1 = (wxGrid *) 0 ;
10331 wxFont result;
10332 PyObject * obj0 = 0 ;
10333 char *kwnames[] = {
10334 (char *) "self", NULL
10335 };
10336
10337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
10338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10340 {
10341 PyThreadState* __tstate = wxPyBeginAllowThreads();
10342 result = (arg1)->GetLabelFont();
10343
10344 wxPyEndAllowThreads(__tstate);
10345 if (PyErr_Occurred()) SWIG_fail;
10346 }
10347 {
10348 wxFont * resultptr;
10349 resultptr = new wxFont((wxFont &) result);
15afbcd0 10350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
10351 }
10352 return resultobj;
10353 fail:
10354 return NULL;
10355}
10356
10357
c32bde28 10358static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10359 PyObject *resultobj;
10360 wxGrid *arg1 = (wxGrid *) 0 ;
10361 int *arg2 = (int *) 0 ;
10362 int *arg3 = (int *) 0 ;
10363 int temp2 ;
c32bde28 10364 int res2 = 0 ;
d14a1e28 10365 int temp3 ;
c32bde28 10366 int res3 = 0 ;
d14a1e28
RD
10367 PyObject * obj0 = 0 ;
10368 char *kwnames[] = {
10369 (char *) "self", NULL
10370 };
10371
c32bde28
RD
10372 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10373 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
10375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10377 {
10378 PyThreadState* __tstate = wxPyBeginAllowThreads();
10379 (arg1)->GetRowLabelAlignment(arg2,arg3);
10380
10381 wxPyEndAllowThreads(__tstate);
10382 if (PyErr_Occurred()) SWIG_fail;
10383 }
10384 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10385 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10386 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
10387 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10388 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
10389 return resultobj;
10390 fail:
10391 return NULL;
10392}
10393
10394
c32bde28 10395static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10396 PyObject *resultobj;
10397 wxGrid *arg1 = (wxGrid *) 0 ;
10398 int *arg2 = (int *) 0 ;
10399 int *arg3 = (int *) 0 ;
10400 int temp2 ;
c32bde28 10401 int res2 = 0 ;
d14a1e28 10402 int temp3 ;
c32bde28 10403 int res3 = 0 ;
d14a1e28
RD
10404 PyObject * obj0 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self", NULL
10407 };
10408
c32bde28
RD
10409 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10410 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 10411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
10412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10414 {
10415 PyThreadState* __tstate = wxPyBeginAllowThreads();
10416 (arg1)->GetColLabelAlignment(arg2,arg3);
10417
10418 wxPyEndAllowThreads(__tstate);
10419 if (PyErr_Occurred()) SWIG_fail;
10420 }
10421 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10422 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10423 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
10424 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10425 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
10426 return resultobj;
10427 fail:
10428 return NULL;
10429}
10430
10431
c32bde28 10432static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10433 PyObject *resultobj;
10434 wxGrid *arg1 = (wxGrid *) 0 ;
10435 int result;
10436 PyObject * obj0 = 0 ;
10437 char *kwnames[] = {
10438 (char *) "self", NULL
10439 };
10440
10441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelTextOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
10442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10444 {
10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
10446 result = (int)(arg1)->GetColLabelTextOrientation();
10447
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
c32bde28 10451 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10452 return resultobj;
10453 fail:
10454 return NULL;
10455}
10456
10457
c32bde28 10458static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10459 PyObject *resultobj;
10460 wxGrid *arg1 = (wxGrid *) 0 ;
10461 int arg2 ;
10462 wxString result;
10463 PyObject * obj0 = 0 ;
994141e6 10464 PyObject * obj1 = 0 ;
d14a1e28
RD
10465 char *kwnames[] = {
10466 (char *) "self",(char *) "row", NULL
10467 };
10468
994141e6 10469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10472 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10473 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 result = (arg1)->GetRowLabelValue(arg2);
10477
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
10481 {
10482#if wxUSE_UNICODE
10483 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10484#else
10485 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10486#endif
10487 }
10488 return resultobj;
10489 fail:
10490 return NULL;
10491}
10492
10493
c32bde28 10494static PyObject *_wrap_Grid_GetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10495 PyObject *resultobj;
10496 wxGrid *arg1 = (wxGrid *) 0 ;
10497 int arg2 ;
10498 wxString result;
10499 PyObject * obj0 = 0 ;
994141e6 10500 PyObject * obj1 = 0 ;
d14a1e28
RD
10501 char *kwnames[] = {
10502 (char *) "self",(char *) "col", NULL
10503 };
10504
994141e6 10505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10508 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10509 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10510 {
10511 PyThreadState* __tstate = wxPyBeginAllowThreads();
10512 result = (arg1)->GetColLabelValue(arg2);
10513
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 {
10518#if wxUSE_UNICODE
10519 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10520#else
10521 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10522#endif
10523 }
10524 return resultobj;
10525 fail:
10526 return NULL;
10527}
10528
10529
c32bde28 10530static PyObject *_wrap_Grid_GetGridLineColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10531 PyObject *resultobj;
10532 wxGrid *arg1 = (wxGrid *) 0 ;
10533 wxColour result;
10534 PyObject * obj0 = 0 ;
10535 char *kwnames[] = {
10536 (char *) "self", NULL
10537 };
10538
10539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridLineColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
10540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10542 {
10543 PyThreadState* __tstate = wxPyBeginAllowThreads();
10544 result = (arg1)->GetGridLineColour();
10545
10546 wxPyEndAllowThreads(__tstate);
10547 if (PyErr_Occurred()) SWIG_fail;
10548 }
10549 {
10550 wxColour * resultptr;
10551 resultptr = new wxColour((wxColour &) result);
15afbcd0 10552 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10553 }
10554 return resultobj;
10555 fail:
10556 return NULL;
10557}
10558
10559
c32bde28 10560static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10561 PyObject *resultobj;
10562 wxGrid *arg1 = (wxGrid *) 0 ;
10563 wxColour result;
10564 PyObject * obj0 = 0 ;
10565 char *kwnames[] = {
10566 (char *) "self", NULL
10567 };
10568
10569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
10570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10572 {
10573 PyThreadState* __tstate = wxPyBeginAllowThreads();
10574 result = (arg1)->GetCellHighlightColour();
10575
10576 wxPyEndAllowThreads(__tstate);
10577 if (PyErr_Occurred()) SWIG_fail;
10578 }
10579 {
10580 wxColour * resultptr;
10581 resultptr = new wxColour((wxColour &) result);
15afbcd0 10582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10583 }
10584 return resultobj;
10585 fail:
10586 return NULL;
10587}
10588
10589
c32bde28 10590static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10591 PyObject *resultobj;
10592 wxGrid *arg1 = (wxGrid *) 0 ;
10593 int result;
10594 PyObject * obj0 = 0 ;
10595 char *kwnames[] = {
10596 (char *) "self", NULL
10597 };
10598
10599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
10600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10602 {
10603 PyThreadState* __tstate = wxPyBeginAllowThreads();
10604 result = (int)(arg1)->GetCellHighlightPenWidth();
10605
10606 wxPyEndAllowThreads(__tstate);
10607 if (PyErr_Occurred()) SWIG_fail;
10608 }
c32bde28 10609 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10610 return resultobj;
10611 fail:
10612 return NULL;
10613}
10614
10615
c32bde28 10616static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10617 PyObject *resultobj;
10618 wxGrid *arg1 = (wxGrid *) 0 ;
10619 int result;
10620 PyObject * obj0 = 0 ;
10621 char *kwnames[] = {
10622 (char *) "self", NULL
10623 };
10624
10625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
10626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10628 {
10629 PyThreadState* __tstate = wxPyBeginAllowThreads();
10630 result = (int)(arg1)->GetCellHighlightROPenWidth();
10631
10632 wxPyEndAllowThreads(__tstate);
10633 if (PyErr_Occurred()) SWIG_fail;
10634 }
c32bde28 10635 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10636 return resultobj;
10637 fail:
10638 return NULL;
10639}
10640
10641
c32bde28 10642static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10643 PyObject *resultobj;
10644 wxGrid *arg1 = (wxGrid *) 0 ;
10645 int arg2 ;
10646 PyObject * obj0 = 0 ;
994141e6 10647 PyObject * obj1 = 0 ;
d14a1e28
RD
10648 char *kwnames[] = {
10649 (char *) "self",(char *) "width", NULL
10650 };
10651
994141e6 10652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10655 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10656 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10657 {
10658 PyThreadState* __tstate = wxPyBeginAllowThreads();
10659 (arg1)->SetRowLabelSize(arg2);
10660
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 Py_INCREF(Py_None); resultobj = Py_None;
10665 return resultobj;
10666 fail:
10667 return NULL;
10668}
10669
10670
c32bde28 10671static PyObject *_wrap_Grid_SetColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10672 PyObject *resultobj;
10673 wxGrid *arg1 = (wxGrid *) 0 ;
10674 int arg2 ;
10675 PyObject * obj0 = 0 ;
994141e6 10676 PyObject * obj1 = 0 ;
d14a1e28
RD
10677 char *kwnames[] = {
10678 (char *) "self",(char *) "height", NULL
10679 };
10680
994141e6 10681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10684 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10685 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10686 {
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
10688 (arg1)->SetColLabelSize(arg2);
10689
10690 wxPyEndAllowThreads(__tstate);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
10693 Py_INCREF(Py_None); resultobj = Py_None;
10694 return resultobj;
10695 fail:
10696 return NULL;
10697}
10698
10699
c32bde28 10700static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10701 PyObject *resultobj;
10702 wxGrid *arg1 = (wxGrid *) 0 ;
10703 wxColour *arg2 = 0 ;
10704 wxColour temp2 ;
10705 PyObject * obj0 = 0 ;
10706 PyObject * obj1 = 0 ;
10707 char *kwnames[] = {
10708 (char *) "self","arg2", NULL
10709 };
10710
10711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10714 {
10715 arg2 = &temp2;
10716 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10717 }
10718 {
10719 PyThreadState* __tstate = wxPyBeginAllowThreads();
10720 (arg1)->SetLabelBackgroundColour((wxColour const &)*arg2);
10721
10722 wxPyEndAllowThreads(__tstate);
10723 if (PyErr_Occurred()) SWIG_fail;
10724 }
10725 Py_INCREF(Py_None); resultobj = Py_None;
10726 return resultobj;
10727 fail:
10728 return NULL;
10729}
10730
10731
c32bde28 10732static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10733 PyObject *resultobj;
10734 wxGrid *arg1 = (wxGrid *) 0 ;
10735 wxColour *arg2 = 0 ;
10736 wxColour temp2 ;
10737 PyObject * obj0 = 0 ;
10738 PyObject * obj1 = 0 ;
10739 char *kwnames[] = {
10740 (char *) "self","arg2", NULL
10741 };
10742
10743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10746 {
10747 arg2 = &temp2;
10748 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10749 }
10750 {
10751 PyThreadState* __tstate = wxPyBeginAllowThreads();
10752 (arg1)->SetLabelTextColour((wxColour const &)*arg2);
10753
10754 wxPyEndAllowThreads(__tstate);
10755 if (PyErr_Occurred()) SWIG_fail;
10756 }
10757 Py_INCREF(Py_None); resultobj = Py_None;
10758 return resultobj;
10759 fail:
10760 return NULL;
10761}
10762
10763
c32bde28 10764static PyObject *_wrap_Grid_SetLabelFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10765 PyObject *resultobj;
10766 wxGrid *arg1 = (wxGrid *) 0 ;
10767 wxFont *arg2 = 0 ;
10768 PyObject * obj0 = 0 ;
10769 PyObject * obj1 = 0 ;
10770 char *kwnames[] = {
10771 (char *) "self","arg2", NULL
10772 };
10773
10774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
10778 SWIG_POINTER_EXCEPTION | 0)) == -1)
10779 SWIG_fail;
d14a1e28 10780 if (arg2 == NULL) {
15afbcd0
RD
10781 PyErr_SetString(PyExc_TypeError,"null reference");
10782 SWIG_fail;
d14a1e28
RD
10783 }
10784 {
10785 PyThreadState* __tstate = wxPyBeginAllowThreads();
10786 (arg1)->SetLabelFont((wxFont const &)*arg2);
10787
10788 wxPyEndAllowThreads(__tstate);
10789 if (PyErr_Occurred()) SWIG_fail;
10790 }
10791 Py_INCREF(Py_None); resultobj = Py_None;
10792 return resultobj;
10793 fail:
10794 return NULL;
10795}
10796
10797
c32bde28 10798static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10799 PyObject *resultobj;
10800 wxGrid *arg1 = (wxGrid *) 0 ;
10801 int arg2 ;
10802 int arg3 ;
10803 PyObject * obj0 = 0 ;
994141e6
RD
10804 PyObject * obj1 = 0 ;
10805 PyObject * obj2 = 0 ;
d14a1e28
RD
10806 char *kwnames[] = {
10807 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10808 };
10809
994141e6 10810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10813 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10814 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10815 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10816 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10817 {
10818 PyThreadState* __tstate = wxPyBeginAllowThreads();
10819 (arg1)->SetRowLabelAlignment(arg2,arg3);
10820
10821 wxPyEndAllowThreads(__tstate);
10822 if (PyErr_Occurred()) SWIG_fail;
10823 }
10824 Py_INCREF(Py_None); resultobj = Py_None;
10825 return resultobj;
10826 fail:
10827 return NULL;
10828}
10829
10830
c32bde28 10831static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10832 PyObject *resultobj;
10833 wxGrid *arg1 = (wxGrid *) 0 ;
10834 int arg2 ;
10835 int arg3 ;
10836 PyObject * obj0 = 0 ;
994141e6
RD
10837 PyObject * obj1 = 0 ;
10838 PyObject * obj2 = 0 ;
d14a1e28
RD
10839 char *kwnames[] = {
10840 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10841 };
10842
994141e6 10843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10846 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10847 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10848 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10849 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 (arg1)->SetColLabelAlignment(arg2,arg3);
10853
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 Py_INCREF(Py_None); resultobj = Py_None;
10858 return resultobj;
10859 fail:
10860 return NULL;
10861}
10862
10863
c32bde28 10864static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10865 PyObject *resultobj;
10866 wxGrid *arg1 = (wxGrid *) 0 ;
10867 int arg2 ;
10868 PyObject * obj0 = 0 ;
994141e6 10869 PyObject * obj1 = 0 ;
d14a1e28
RD
10870 char *kwnames[] = {
10871 (char *) "self",(char *) "textOrientation", NULL
10872 };
10873
994141e6 10874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10877 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10878 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 (arg1)->SetColLabelTextOrientation(arg2);
10882
10883 wxPyEndAllowThreads(__tstate);
10884 if (PyErr_Occurred()) SWIG_fail;
10885 }
10886 Py_INCREF(Py_None); resultobj = Py_None;
10887 return resultobj;
10888 fail:
10889 return NULL;
10890}
10891
10892
c32bde28 10893static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10894 PyObject *resultobj;
10895 wxGrid *arg1 = (wxGrid *) 0 ;
10896 int arg2 ;
10897 wxString *arg3 = 0 ;
ae8162c8 10898 bool temp3 = false ;
d14a1e28 10899 PyObject * obj0 = 0 ;
994141e6 10900 PyObject * obj1 = 0 ;
d14a1e28
RD
10901 PyObject * obj2 = 0 ;
10902 char *kwnames[] = {
10903 (char *) "self",(char *) "row","arg3", NULL
10904 };
10905
994141e6 10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10909 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10910 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10911 {
10912 arg3 = wxString_in_helper(obj2);
10913 if (arg3 == NULL) SWIG_fail;
ae8162c8 10914 temp3 = true;
d14a1e28
RD
10915 }
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 Py_INCREF(Py_None); resultobj = Py_None;
10924 {
10925 if (temp3)
10926 delete arg3;
10927 }
10928 return resultobj;
10929 fail:
10930 {
10931 if (temp3)
10932 delete arg3;
10933 }
10934 return NULL;
10935}
10936
10937
c32bde28 10938static PyObject *_wrap_Grid_SetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10939 PyObject *resultobj;
10940 wxGrid *arg1 = (wxGrid *) 0 ;
10941 int arg2 ;
10942 wxString *arg3 = 0 ;
ae8162c8 10943 bool temp3 = false ;
d14a1e28 10944 PyObject * obj0 = 0 ;
994141e6 10945 PyObject * obj1 = 0 ;
d14a1e28
RD
10946 PyObject * obj2 = 0 ;
10947 char *kwnames[] = {
10948 (char *) "self",(char *) "col","arg3", NULL
10949 };
10950
994141e6 10951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10954 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10955 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10956 {
10957 arg3 = wxString_in_helper(obj2);
10958 if (arg3 == NULL) SWIG_fail;
ae8162c8 10959 temp3 = true;
d14a1e28
RD
10960 }
10961 {
10962 PyThreadState* __tstate = wxPyBeginAllowThreads();
10963 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
10964
10965 wxPyEndAllowThreads(__tstate);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 Py_INCREF(Py_None); resultobj = Py_None;
10969 {
10970 if (temp3)
10971 delete arg3;
10972 }
10973 return resultobj;
10974 fail:
10975 {
10976 if (temp3)
10977 delete arg3;
10978 }
10979 return NULL;
10980}
10981
10982
c32bde28 10983static PyObject *_wrap_Grid_SetGridLineColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10984 PyObject *resultobj;
10985 wxGrid *arg1 = (wxGrid *) 0 ;
10986 wxColour *arg2 = 0 ;
10987 wxColour temp2 ;
10988 PyObject * obj0 = 0 ;
10989 PyObject * obj1 = 0 ;
10990 char *kwnames[] = {
10991 (char *) "self","arg2", NULL
10992 };
10993
10994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetGridLineColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10997 {
10998 arg2 = &temp2;
10999 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11000 }
11001 {
11002 PyThreadState* __tstate = wxPyBeginAllowThreads();
11003 (arg1)->SetGridLineColour((wxColour const &)*arg2);
11004
11005 wxPyEndAllowThreads(__tstate);
11006 if (PyErr_Occurred()) SWIG_fail;
11007 }
11008 Py_INCREF(Py_None); resultobj = Py_None;
11009 return resultobj;
11010 fail:
11011 return NULL;
11012}
11013
11014
c32bde28 11015static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11016 PyObject *resultobj;
11017 wxGrid *arg1 = (wxGrid *) 0 ;
11018 wxColour *arg2 = 0 ;
11019 wxColour temp2 ;
11020 PyObject * obj0 = 0 ;
11021 PyObject * obj1 = 0 ;
11022 char *kwnames[] = {
11023 (char *) "self","arg2", NULL
11024 };
11025
11026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11029 {
11030 arg2 = &temp2;
11031 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11032 }
11033 {
11034 PyThreadState* __tstate = wxPyBeginAllowThreads();
11035 (arg1)->SetCellHighlightColour((wxColour const &)*arg2);
11036
11037 wxPyEndAllowThreads(__tstate);
11038 if (PyErr_Occurred()) SWIG_fail;
11039 }
11040 Py_INCREF(Py_None); resultobj = Py_None;
11041 return resultobj;
11042 fail:
11043 return NULL;
11044}
11045
11046
c32bde28 11047static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11048 PyObject *resultobj;
11049 wxGrid *arg1 = (wxGrid *) 0 ;
11050 int arg2 ;
11051 PyObject * obj0 = 0 ;
994141e6 11052 PyObject * obj1 = 0 ;
d14a1e28
RD
11053 char *kwnames[] = {
11054 (char *) "self",(char *) "width", NULL
11055 };
11056
994141e6 11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11060 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11061 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11062 {
11063 PyThreadState* __tstate = wxPyBeginAllowThreads();
11064 (arg1)->SetCellHighlightPenWidth(arg2);
11065
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
11069 Py_INCREF(Py_None); resultobj = Py_None;
11070 return resultobj;
11071 fail:
11072 return NULL;
11073}
11074
11075
c32bde28 11076static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11077 PyObject *resultobj;
11078 wxGrid *arg1 = (wxGrid *) 0 ;
11079 int arg2 ;
11080 PyObject * obj0 = 0 ;
994141e6 11081 PyObject * obj1 = 0 ;
d14a1e28
RD
11082 char *kwnames[] = {
11083 (char *) "self",(char *) "width", NULL
11084 };
11085
994141e6 11086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11089 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11090 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11091 {
11092 PyThreadState* __tstate = wxPyBeginAllowThreads();
11093 (arg1)->SetCellHighlightROPenWidth(arg2);
11094
11095 wxPyEndAllowThreads(__tstate);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 }
11098 Py_INCREF(Py_None); resultobj = Py_None;
11099 return resultobj;
11100 fail:
11101 return NULL;
11102}
11103
11104
c32bde28 11105static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11106 PyObject *resultobj;
11107 wxGrid *arg1 = (wxGrid *) 0 ;
ae8162c8 11108 bool arg2 = (bool) true ;
d14a1e28
RD
11109 PyObject * obj0 = 0 ;
11110 PyObject * obj1 = 0 ;
11111 char *kwnames[] = {
11112 (char *) "self",(char *) "enable", NULL
11113 };
11114
11115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragRowSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11118 if (obj1) {
c32bde28 11119 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 11120 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11121 }
11122 {
11123 PyThreadState* __tstate = wxPyBeginAllowThreads();
11124 (arg1)->EnableDragRowSize(arg2);
11125
11126 wxPyEndAllowThreads(__tstate);
11127 if (PyErr_Occurred()) SWIG_fail;
11128 }
11129 Py_INCREF(Py_None); resultobj = Py_None;
11130 return resultobj;
11131 fail:
11132 return NULL;
11133}
11134
11135
c32bde28 11136static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11137 PyObject *resultobj;
11138 wxGrid *arg1 = (wxGrid *) 0 ;
11139 PyObject * obj0 = 0 ;
11140 char *kwnames[] = {
11141 (char *) "self", NULL
11142 };
11143
11144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragRowSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11147 {
11148 PyThreadState* __tstate = wxPyBeginAllowThreads();
11149 (arg1)->DisableDragRowSize();
11150
11151 wxPyEndAllowThreads(__tstate);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 }
11154 Py_INCREF(Py_None); resultobj = Py_None;
11155 return resultobj;
11156 fail:
11157 return NULL;
11158}
11159
11160
c32bde28 11161static PyObject *_wrap_Grid_CanDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11162 PyObject *resultobj;
11163 wxGrid *arg1 = (wxGrid *) 0 ;
11164 bool result;
11165 PyObject * obj0 = 0 ;
11166 char *kwnames[] = {
11167 (char *) "self", NULL
11168 };
11169
11170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragRowSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 result = (bool)(arg1)->CanDragRowSize();
11176
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
4f89f6a3
RD
11180 {
11181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11182 }
d14a1e28
RD
11183 return resultobj;
11184 fail:
11185 return NULL;
11186}
11187
11188
c32bde28 11189static PyObject *_wrap_Grid_EnableDragColSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11190 PyObject *resultobj;
11191 wxGrid *arg1 = (wxGrid *) 0 ;
ae8162c8 11192 bool arg2 = (bool) true ;
d14a1e28
RD
11193 PyObject * obj0 = 0 ;
11194 PyObject * obj1 = 0 ;
11195 char *kwnames[] = {
11196 (char *) "self",(char *) "enable", NULL
11197 };
11198
11199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragColSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11202 if (obj1) {
c32bde28 11203 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 11204 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11205 }
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 (arg1)->EnableDragColSize(arg2);
11209
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 }
11213 Py_INCREF(Py_None); resultobj = Py_None;
11214 return resultobj;
11215 fail:
11216 return NULL;
11217}
11218
11219
c32bde28 11220static PyObject *_wrap_Grid_DisableDragColSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11221 PyObject *resultobj;
11222 wxGrid *arg1 = (wxGrid *) 0 ;
11223 PyObject * obj0 = 0 ;
11224 char *kwnames[] = {
11225 (char *) "self", NULL
11226 };
11227
11228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragColSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11231 {
11232 PyThreadState* __tstate = wxPyBeginAllowThreads();
11233 (arg1)->DisableDragColSize();
11234
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 Py_INCREF(Py_None); resultobj = Py_None;
11239 return resultobj;
11240 fail:
11241 return NULL;
11242}
11243
11244
c32bde28 11245static PyObject *_wrap_Grid_CanDragColSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11246 PyObject *resultobj;
11247 wxGrid *arg1 = (wxGrid *) 0 ;
11248 bool result;
11249 PyObject * obj0 = 0 ;
11250 char *kwnames[] = {
11251 (char *) "self", NULL
11252 };
11253
11254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragColSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11257 {
11258 PyThreadState* __tstate = wxPyBeginAllowThreads();
11259 result = (bool)(arg1)->CanDragColSize();
11260
11261 wxPyEndAllowThreads(__tstate);
11262 if (PyErr_Occurred()) SWIG_fail;
11263 }
4f89f6a3
RD
11264 {
11265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11266 }
d14a1e28
RD
11267 return resultobj;
11268 fail:
11269 return NULL;
11270}
11271
11272
c32bde28 11273static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11274 PyObject *resultobj;
11275 wxGrid *arg1 = (wxGrid *) 0 ;
ae8162c8 11276 bool arg2 = (bool) true ;
d14a1e28
RD
11277 PyObject * obj0 = 0 ;
11278 PyObject * obj1 = 0 ;
11279 char *kwnames[] = {
11280 (char *) "self",(char *) "enable", NULL
11281 };
11282
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragGridSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11286 if (obj1) {
c32bde28 11287 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 11288 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11289 }
11290 {
11291 PyThreadState* __tstate = wxPyBeginAllowThreads();
11292 (arg1)->EnableDragGridSize(arg2);
11293
11294 wxPyEndAllowThreads(__tstate);
11295 if (PyErr_Occurred()) SWIG_fail;
11296 }
11297 Py_INCREF(Py_None); resultobj = Py_None;
11298 return resultobj;
11299 fail:
11300 return NULL;
11301}
11302
11303
c32bde28 11304static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11305 PyObject *resultobj;
11306 wxGrid *arg1 = (wxGrid *) 0 ;
11307 PyObject * obj0 = 0 ;
11308 char *kwnames[] = {
11309 (char *) "self", NULL
11310 };
11311
11312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragGridSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11315 {
11316 PyThreadState* __tstate = wxPyBeginAllowThreads();
11317 (arg1)->DisableDragGridSize();
11318
11319 wxPyEndAllowThreads(__tstate);
11320 if (PyErr_Occurred()) SWIG_fail;
11321 }
11322 Py_INCREF(Py_None); resultobj = Py_None;
11323 return resultobj;
11324 fail:
11325 return NULL;
11326}
11327
11328
c32bde28 11329static PyObject *_wrap_Grid_CanDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11330 PyObject *resultobj;
11331 wxGrid *arg1 = (wxGrid *) 0 ;
11332 bool result;
11333 PyObject * obj0 = 0 ;
11334 char *kwnames[] = {
11335 (char *) "self", NULL
11336 };
11337
11338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragGridSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11341 {
11342 PyThreadState* __tstate = wxPyBeginAllowThreads();
11343 result = (bool)(arg1)->CanDragGridSize();
11344
11345 wxPyEndAllowThreads(__tstate);
11346 if (PyErr_Occurred()) SWIG_fail;
11347 }
4f89f6a3
RD
11348 {
11349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11350 }
d14a1e28
RD
11351 return resultobj;
11352 fail:
11353 return NULL;
11354}
11355
11356
c32bde28 11357static PyObject *_wrap_Grid_EnableDragCell(PyObject *, PyObject *args, PyObject *kwargs) {
4cf4100f
RD
11358 PyObject *resultobj;
11359 wxGrid *arg1 = (wxGrid *) 0 ;
ae8162c8 11360 bool arg2 = (bool) true ;
4cf4100f
RD
11361 PyObject * obj0 = 0 ;
11362 PyObject * obj1 = 0 ;
11363 char *kwnames[] = {
11364 (char *) "self",(char *) "enable", NULL
11365 };
11366
11367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragCell",kwnames,&obj0,&obj1)) goto fail;
11368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11370 if (obj1) {
c32bde28 11371 arg2 = (bool)SWIG_As_bool(obj1);
4cf4100f
RD
11372 if (PyErr_Occurred()) SWIG_fail;
11373 }
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 (arg1)->EnableDragCell(arg2);
11377
11378 wxPyEndAllowThreads(__tstate);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
11381 Py_INCREF(Py_None); resultobj = Py_None;
11382 return resultobj;
11383 fail:
11384 return NULL;
11385}
11386
11387
c32bde28 11388static PyObject *_wrap_Grid_DisableDragCell(PyObject *, PyObject *args, PyObject *kwargs) {
4cf4100f
RD
11389 PyObject *resultobj;
11390 wxGrid *arg1 = (wxGrid *) 0 ;
11391 PyObject * obj0 = 0 ;
11392 char *kwnames[] = {
11393 (char *) "self", NULL
11394 };
11395
11396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragCell",kwnames,&obj0)) goto fail;
11397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11399 {
11400 PyThreadState* __tstate = wxPyBeginAllowThreads();
11401 (arg1)->DisableDragCell();
11402
11403 wxPyEndAllowThreads(__tstate);
11404 if (PyErr_Occurred()) SWIG_fail;
11405 }
11406 Py_INCREF(Py_None); resultobj = Py_None;
11407 return resultobj;
11408 fail:
11409 return NULL;
11410}
11411
11412
c32bde28 11413static PyObject *_wrap_Grid_CanDragCell(PyObject *, PyObject *args, PyObject *kwargs) {
4cf4100f
RD
11414 PyObject *resultobj;
11415 wxGrid *arg1 = (wxGrid *) 0 ;
11416 bool result;
11417 PyObject * obj0 = 0 ;
11418 char *kwnames[] = {
11419 (char *) "self", NULL
11420 };
11421
11422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragCell",kwnames,&obj0)) goto fail;
11423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11425 {
11426 PyThreadState* __tstate = wxPyBeginAllowThreads();
11427 result = (bool)(arg1)->CanDragCell();
11428
11429 wxPyEndAllowThreads(__tstate);
11430 if (PyErr_Occurred()) SWIG_fail;
11431 }
11432 {
11433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11434 }
11435 return resultobj;
11436 fail:
11437 return NULL;
11438}
11439
11440
c32bde28 11441static PyObject *_wrap_Grid_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11442 PyObject *resultobj;
11443 wxGrid *arg1 = (wxGrid *) 0 ;
11444 int arg2 ;
11445 int arg3 ;
11446 wxGridCellAttr *arg4 = (wxGridCellAttr *) 0 ;
11447 PyObject * obj0 = 0 ;
994141e6
RD
11448 PyObject * obj1 = 0 ;
11449 PyObject * obj2 = 0 ;
d14a1e28
RD
11450 PyObject * obj3 = 0 ;
11451 char *kwnames[] = {
11452 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11453 };
11454
994141e6 11455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11458 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11459 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11460 arg3 = (int)SWIG_As_int(obj2);
15afbcd0
RD
11461 if (PyErr_Occurred()) SWIG_fail;
11462 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellAttr,
11463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11464 {
11465 PyThreadState* __tstate = wxPyBeginAllowThreads();
11466 (arg1)->SetAttr(arg2,arg3,arg4);
11467
11468 wxPyEndAllowThreads(__tstate);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 Py_INCREF(Py_None); resultobj = Py_None;
11472 return resultobj;
11473 fail:
11474 return NULL;
11475}
11476
11477
c32bde28 11478static PyObject *_wrap_Grid_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11479 PyObject *resultobj;
11480 wxGrid *arg1 = (wxGrid *) 0 ;
11481 int arg2 ;
11482 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11483 PyObject * obj0 = 0 ;
994141e6 11484 PyObject * obj1 = 0 ;
d14a1e28
RD
11485 PyObject * obj2 = 0 ;
11486 char *kwnames[] = {
11487 (char *) "self",(char *) "row",(char *) "attr", NULL
11488 };
11489
994141e6 11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11493 arg2 = (int)SWIG_As_int(obj1);
15afbcd0
RD
11494 if (PyErr_Occurred()) SWIG_fail;
11495 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11497 {
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 (arg1)->SetRowAttr(arg2,arg3);
11500
11501 wxPyEndAllowThreads(__tstate);
11502 if (PyErr_Occurred()) SWIG_fail;
11503 }
11504 Py_INCREF(Py_None); resultobj = Py_None;
11505 return resultobj;
11506 fail:
11507 return NULL;
11508}
11509
11510
c32bde28 11511static PyObject *_wrap_Grid_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11512 PyObject *resultobj;
11513 wxGrid *arg1 = (wxGrid *) 0 ;
11514 int arg2 ;
11515 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11516 PyObject * obj0 = 0 ;
994141e6 11517 PyObject * obj1 = 0 ;
d14a1e28
RD
11518 PyObject * obj2 = 0 ;
11519 char *kwnames[] = {
11520 (char *) "self",(char *) "col",(char *) "attr", NULL
11521 };
11522
994141e6 11523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11526 arg2 = (int)SWIG_As_int(obj1);
15afbcd0
RD
11527 if (PyErr_Occurred()) SWIG_fail;
11528 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11530 {
11531 PyThreadState* __tstate = wxPyBeginAllowThreads();
11532 (arg1)->SetColAttr(arg2,arg3);
11533
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 Py_INCREF(Py_None); resultobj = Py_None;
11538 return resultobj;
11539 fail:
11540 return NULL;
11541}
11542
11543
c32bde28 11544static PyObject *_wrap_Grid_GetOrCreateCellAttr(PyObject *, PyObject *args, PyObject *kwargs) {
023a034e
RD
11545 PyObject *resultobj;
11546 wxGrid *arg1 = (wxGrid *) 0 ;
11547 int arg2 ;
11548 int arg3 ;
11549 wxGridCellAttr *result;
11550 PyObject * obj0 = 0 ;
11551 PyObject * obj1 = 0 ;
11552 PyObject * obj2 = 0 ;
11553 char *kwnames[] = {
11554 (char *) "self",(char *) "row",(char *) "col", NULL
11555 };
11556
11557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
11558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11560 arg2 = (int)SWIG_As_int(obj1);
023a034e 11561 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11562 arg3 = (int)SWIG_As_int(obj2);
023a034e
RD
11563 if (PyErr_Occurred()) SWIG_fail;
11564 {
11565 PyThreadState* __tstate = wxPyBeginAllowThreads();
11566 result = (wxGridCellAttr *)((wxGrid const *)arg1)->GetOrCreateCellAttr(arg2,arg3);
11567
11568 wxPyEndAllowThreads(__tstate);
11569 if (PyErr_Occurred()) SWIG_fail;
11570 }
11571 {
11572 resultobj = wxPyMake_wxGridCellAttr(result, 0);
11573 }
11574 return resultobj;
11575 fail:
11576 return NULL;
11577}
11578
11579
c32bde28 11580static PyObject *_wrap_Grid_SetColFormatBool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11581 PyObject *resultobj;
11582 wxGrid *arg1 = (wxGrid *) 0 ;
11583 int arg2 ;
11584 PyObject * obj0 = 0 ;
994141e6 11585 PyObject * obj1 = 0 ;
d14a1e28
RD
11586 char *kwnames[] = {
11587 (char *) "self",(char *) "col", NULL
11588 };
11589
994141e6 11590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatBool",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11593 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11594 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 (arg1)->SetColFormatBool(arg2);
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) SWIG_fail;
11601 }
11602 Py_INCREF(Py_None); resultobj = Py_None;
11603 return resultobj;
11604 fail:
11605 return NULL;
11606}
11607
11608
c32bde28 11609static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11610 PyObject *resultobj;
11611 wxGrid *arg1 = (wxGrid *) 0 ;
11612 int arg2 ;
11613 PyObject * obj0 = 0 ;
994141e6 11614 PyObject * obj1 = 0 ;
d14a1e28
RD
11615 char *kwnames[] = {
11616 (char *) "self",(char *) "col", NULL
11617 };
11618
994141e6 11619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatNumber",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11622 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11623 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11624 {
11625 PyThreadState* __tstate = wxPyBeginAllowThreads();
11626 (arg1)->SetColFormatNumber(arg2);
11627
11628 wxPyEndAllowThreads(__tstate);
11629 if (PyErr_Occurred()) SWIG_fail;
11630 }
11631 Py_INCREF(Py_None); resultobj = Py_None;
11632 return resultobj;
11633 fail:
11634 return NULL;
11635}
11636
11637
c32bde28 11638static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11639 PyObject *resultobj;
11640 wxGrid *arg1 = (wxGrid *) 0 ;
11641 int arg2 ;
11642 int arg3 = (int) -1 ;
11643 int arg4 = (int) -1 ;
11644 PyObject * obj0 = 0 ;
994141e6
RD
11645 PyObject * obj1 = 0 ;
11646 PyObject * obj2 = 0 ;
11647 PyObject * obj3 = 0 ;
d14a1e28
RD
11648 char *kwnames[] = {
11649 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11650 };
11651
994141e6 11652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11655 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11656 if (PyErr_Occurred()) SWIG_fail;
994141e6 11657 if (obj2) {
c32bde28 11658 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11659 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11660 }
11661 if (obj3) {
c32bde28 11662 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11663 if (PyErr_Occurred()) SWIG_fail;
994141e6 11664 }
d14a1e28
RD
11665 {
11666 PyThreadState* __tstate = wxPyBeginAllowThreads();
11667 (arg1)->SetColFormatFloat(arg2,arg3,arg4);
11668
11669 wxPyEndAllowThreads(__tstate);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 }
11672 Py_INCREF(Py_None); resultobj = Py_None;
11673 return resultobj;
11674 fail:
11675 return NULL;
11676}
11677
11678
c32bde28 11679static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11680 PyObject *resultobj;
11681 wxGrid *arg1 = (wxGrid *) 0 ;
11682 int arg2 ;
11683 wxString *arg3 = 0 ;
ae8162c8 11684 bool temp3 = false ;
d14a1e28 11685 PyObject * obj0 = 0 ;
994141e6 11686 PyObject * obj1 = 0 ;
d14a1e28
RD
11687 PyObject * obj2 = 0 ;
11688 char *kwnames[] = {
11689 (char *) "self",(char *) "col",(char *) "typeName", NULL
11690 };
11691
994141e6 11692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColFormatCustom",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11695 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11696 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11697 {
11698 arg3 = wxString_in_helper(obj2);
11699 if (arg3 == NULL) SWIG_fail;
ae8162c8 11700 temp3 = true;
d14a1e28
RD
11701 }
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 (arg1)->SetColFormatCustom(arg2,(wxString const &)*arg3);
11705
11706 wxPyEndAllowThreads(__tstate);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 }
11709 Py_INCREF(Py_None); resultobj = Py_None;
11710 {
11711 if (temp3)
11712 delete arg3;
11713 }
11714 return resultobj;
11715 fail:
11716 {
11717 if (temp3)
11718 delete arg3;
11719 }
11720 return NULL;
11721}
11722
11723
c32bde28 11724static PyObject *_wrap_Grid_EnableGridLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11725 PyObject *resultobj;
11726 wxGrid *arg1 = (wxGrid *) 0 ;
ae8162c8 11727 bool arg2 = (bool) true ;
d14a1e28
RD
11728 PyObject * obj0 = 0 ;
11729 PyObject * obj1 = 0 ;
11730 char *kwnames[] = {
11731 (char *) "self",(char *) "enable", NULL
11732 };
11733
11734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableGridLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11737 if (obj1) {
c32bde28 11738 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 11739 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11740 }
11741 {
11742 PyThreadState* __tstate = wxPyBeginAllowThreads();
11743 (arg1)->EnableGridLines(arg2);
11744
11745 wxPyEndAllowThreads(__tstate);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 Py_INCREF(Py_None); resultobj = Py_None;
11749 return resultobj;
11750 fail:
11751 return NULL;
11752}
11753
11754
c32bde28 11755static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11756 PyObject *resultobj;
11757 wxGrid *arg1 = (wxGrid *) 0 ;
11758 bool result;
11759 PyObject * obj0 = 0 ;
11760 char *kwnames[] = {
11761 (char *) "self", NULL
11762 };
11763
11764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GridLinesEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
11765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11767 {
11768 PyThreadState* __tstate = wxPyBeginAllowThreads();
11769 result = (bool)(arg1)->GridLinesEnabled();
11770
11771 wxPyEndAllowThreads(__tstate);
11772 if (PyErr_Occurred()) SWIG_fail;
11773 }
4f89f6a3
RD
11774 {
11775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11776 }
d14a1e28
RD
11777 return resultobj;
11778 fail:
11779 return NULL;
11780}
11781
11782
c32bde28 11783static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11784 PyObject *resultobj;
11785 wxGrid *arg1 = (wxGrid *) 0 ;
11786 int result;
11787 PyObject * obj0 = 0 ;
11788 char *kwnames[] = {
11789 (char *) "self", NULL
11790 };
11791
11792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11795 {
11796 PyThreadState* __tstate = wxPyBeginAllowThreads();
11797 result = (int)(arg1)->GetDefaultRowSize();
11798
11799 wxPyEndAllowThreads(__tstate);
11800 if (PyErr_Occurred()) SWIG_fail;
11801 }
c32bde28 11802 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11803 return resultobj;
11804 fail:
11805 return NULL;
11806}
11807
11808
c32bde28 11809static PyObject *_wrap_Grid_GetRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11810 PyObject *resultobj;
11811 wxGrid *arg1 = (wxGrid *) 0 ;
11812 int arg2 ;
11813 int result;
11814 PyObject * obj0 = 0 ;
994141e6 11815 PyObject * obj1 = 0 ;
d14a1e28
RD
11816 char *kwnames[] = {
11817 (char *) "self",(char *) "row", NULL
11818 };
11819
994141e6 11820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11823 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11824 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11825 {
11826 PyThreadState* __tstate = wxPyBeginAllowThreads();
11827 result = (int)(arg1)->GetRowSize(arg2);
11828
11829 wxPyEndAllowThreads(__tstate);
11830 if (PyErr_Occurred()) SWIG_fail;
11831 }
c32bde28 11832 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11833 return resultobj;
11834 fail:
11835 return NULL;
11836}
11837
11838
c32bde28 11839static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11840 PyObject *resultobj;
11841 wxGrid *arg1 = (wxGrid *) 0 ;
11842 int result;
11843 PyObject * obj0 = 0 ;
11844 char *kwnames[] = {
11845 (char *) "self", NULL
11846 };
11847
11848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 result = (int)(arg1)->GetDefaultColSize();
11854
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
c32bde28 11858 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11859 return resultobj;
11860 fail:
11861 return NULL;
11862}
11863
11864
c32bde28 11865static PyObject *_wrap_Grid_GetColSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11866 PyObject *resultobj;
11867 wxGrid *arg1 = (wxGrid *) 0 ;
11868 int arg2 ;
11869 int result;
11870 PyObject * obj0 = 0 ;
994141e6 11871 PyObject * obj1 = 0 ;
d14a1e28
RD
11872 char *kwnames[] = {
11873 (char *) "self",(char *) "col", NULL
11874 };
11875
994141e6 11876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11879 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11880 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11881 {
11882 PyThreadState* __tstate = wxPyBeginAllowThreads();
11883 result = (int)(arg1)->GetColSize(arg2);
11884
11885 wxPyEndAllowThreads(__tstate);
11886 if (PyErr_Occurred()) SWIG_fail;
11887 }
c32bde28 11888 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11889 return resultobj;
11890 fail:
11891 return NULL;
11892}
11893
11894
c32bde28 11895static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11896 PyObject *resultobj;
11897 wxGrid *arg1 = (wxGrid *) 0 ;
11898 wxColour result;
11899 PyObject * obj0 = 0 ;
11900 char *kwnames[] = {
11901 (char *) "self", NULL
11902 };
11903
11904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
11905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11907 {
11908 PyThreadState* __tstate = wxPyBeginAllowThreads();
11909 result = (arg1)->GetDefaultCellBackgroundColour();
11910
11911 wxPyEndAllowThreads(__tstate);
11912 if (PyErr_Occurred()) SWIG_fail;
11913 }
11914 {
11915 wxColour * resultptr;
11916 resultptr = new wxColour((wxColour &) result);
15afbcd0 11917 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11918 }
11919 return resultobj;
11920 fail:
11921 return NULL;
11922}
11923
11924
c32bde28 11925static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11926 PyObject *resultobj;
11927 wxGrid *arg1 = (wxGrid *) 0 ;
11928 int arg2 ;
11929 int arg3 ;
11930 wxColour result;
11931 PyObject * obj0 = 0 ;
994141e6
RD
11932 PyObject * obj1 = 0 ;
11933 PyObject * obj2 = 0 ;
d14a1e28
RD
11934 char *kwnames[] = {
11935 (char *) "self",(char *) "row",(char *) "col", NULL
11936 };
11937
994141e6 11938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11941 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11942 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11943 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11944 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11945 {
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 result = (arg1)->GetCellBackgroundColour(arg2,arg3);
11948
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 {
11953 wxColour * resultptr;
11954 resultptr = new wxColour((wxColour &) result);
15afbcd0 11955 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11956 }
11957 return resultobj;
11958 fail:
11959 return NULL;
11960}
11961
11962
c32bde28 11963static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11964 PyObject *resultobj;
11965 wxGrid *arg1 = (wxGrid *) 0 ;
11966 wxColour result;
11967 PyObject * obj0 = 0 ;
11968 char *kwnames[] = {
11969 (char *) "self", NULL
11970 };
11971
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
11973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11975 {
11976 PyThreadState* __tstate = wxPyBeginAllowThreads();
11977 result = (arg1)->GetDefaultCellTextColour();
11978
11979 wxPyEndAllowThreads(__tstate);
11980 if (PyErr_Occurred()) SWIG_fail;
11981 }
11982 {
11983 wxColour * resultptr;
11984 resultptr = new wxColour((wxColour &) result);
15afbcd0 11985 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11986 }
11987 return resultobj;
11988 fail:
11989 return NULL;
11990}
11991
11992
c32bde28 11993static PyObject *_wrap_Grid_GetCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11994 PyObject *resultobj;
11995 wxGrid *arg1 = (wxGrid *) 0 ;
11996 int arg2 ;
11997 int arg3 ;
11998 wxColour result;
11999 PyObject * obj0 = 0 ;
994141e6
RD
12000 PyObject * obj1 = 0 ;
12001 PyObject * obj2 = 0 ;
d14a1e28
RD
12002 char *kwnames[] = {
12003 (char *) "self",(char *) "row",(char *) "col", NULL
12004 };
12005
994141e6 12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12009 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12010 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12011 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12012 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12013 {
12014 PyThreadState* __tstate = wxPyBeginAllowThreads();
12015 result = (arg1)->GetCellTextColour(arg2,arg3);
12016
12017 wxPyEndAllowThreads(__tstate);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 }
12020 {
12021 wxColour * resultptr;
12022 resultptr = new wxColour((wxColour &) result);
15afbcd0 12023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
12024 }
12025 return resultobj;
12026 fail:
12027 return NULL;
12028}
12029
12030
c32bde28 12031static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12032 PyObject *resultobj;
12033 wxGrid *arg1 = (wxGrid *) 0 ;
12034 wxFont result;
12035 PyObject * obj0 = 0 ;
12036 char *kwnames[] = {
12037 (char *) "self", NULL
12038 };
12039
12040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
12041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12043 {
12044 PyThreadState* __tstate = wxPyBeginAllowThreads();
12045 result = (arg1)->GetDefaultCellFont();
12046
12047 wxPyEndAllowThreads(__tstate);
12048 if (PyErr_Occurred()) SWIG_fail;
12049 }
12050 {
12051 wxFont * resultptr;
12052 resultptr = new wxFont((wxFont &) result);
15afbcd0 12053 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
12054 }
12055 return resultobj;
12056 fail:
12057 return NULL;
12058}
12059
12060
c32bde28 12061static PyObject *_wrap_Grid_GetCellFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12062 PyObject *resultobj;
12063 wxGrid *arg1 = (wxGrid *) 0 ;
12064 int arg2 ;
12065 int arg3 ;
12066 wxFont result;
12067 PyObject * obj0 = 0 ;
994141e6
RD
12068 PyObject * obj1 = 0 ;
12069 PyObject * obj2 = 0 ;
d14a1e28
RD
12070 char *kwnames[] = {
12071 (char *) "self",(char *) "row",(char *) "col", NULL
12072 };
12073
994141e6 12074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12077 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12078 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12079 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12080 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12081 {
12082 PyThreadState* __tstate = wxPyBeginAllowThreads();
12083 result = (arg1)->GetCellFont(arg2,arg3);
12084
12085 wxPyEndAllowThreads(__tstate);
12086 if (PyErr_Occurred()) SWIG_fail;
12087 }
12088 {
12089 wxFont * resultptr;
12090 resultptr = new wxFont((wxFont &) result);
15afbcd0 12091 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
12092 }
12093 return resultobj;
12094 fail:
12095 return NULL;
12096}
12097
12098
c32bde28 12099static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12100 PyObject *resultobj;
12101 wxGrid *arg1 = (wxGrid *) 0 ;
12102 int *arg2 = (int *) 0 ;
12103 int *arg3 = (int *) 0 ;
12104 int temp2 ;
c32bde28 12105 int res2 = 0 ;
d14a1e28 12106 int temp3 ;
c32bde28 12107 int res3 = 0 ;
d14a1e28
RD
12108 PyObject * obj0 = 0 ;
12109 char *kwnames[] = {
12110 (char *) "self", NULL
12111 };
12112
c32bde28
RD
12113 arg2 = &temp2; res2 = SWIG_NEWOBJ;
12114 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 12115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
12116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12118 {
12119 PyThreadState* __tstate = wxPyBeginAllowThreads();
12120 (arg1)->GetDefaultCellAlignment(arg2,arg3);
12121
12122 wxPyEndAllowThreads(__tstate);
12123 if (PyErr_Occurred()) SWIG_fail;
12124 }
12125 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
12126 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
12127 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
12128 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
12129 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
12130 return resultobj;
12131 fail:
12132 return NULL;
12133}
12134
12135
c32bde28 12136static PyObject *_wrap_Grid_GetCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12137 PyObject *resultobj;
12138 wxGrid *arg1 = (wxGrid *) 0 ;
12139 int arg2 ;
12140 int arg3 ;
12141 int *arg4 = (int *) 0 ;
12142 int *arg5 = (int *) 0 ;
12143 int temp4 ;
c32bde28 12144 int res4 = 0 ;
d14a1e28 12145 int temp5 ;
c32bde28 12146 int res5 = 0 ;
d14a1e28 12147 PyObject * obj0 = 0 ;
994141e6
RD
12148 PyObject * obj1 = 0 ;
12149 PyObject * obj2 = 0 ;
d14a1e28
RD
12150 char *kwnames[] = {
12151 (char *) "self",(char *) "row",(char *) "col", NULL
12152 };
12153
c32bde28
RD
12154 arg4 = &temp4; res4 = SWIG_NEWOBJ;
12155 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 12156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12159 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12160 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12161 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12162 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12163 {
12164 PyThreadState* __tstate = wxPyBeginAllowThreads();
12165 (arg1)->GetCellAlignment(arg2,arg3,arg4,arg5);
12166
12167 wxPyEndAllowThreads(__tstate);
12168 if (PyErr_Occurred()) SWIG_fail;
12169 }
12170 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
12171 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
12172 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
12173 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
12174 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
12175 return resultobj;
12176 fail:
12177 return NULL;
12178}
12179
12180
c32bde28 12181static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12182 PyObject *resultobj;
12183 wxGrid *arg1 = (wxGrid *) 0 ;
12184 bool result;
12185 PyObject * obj0 = 0 ;
12186 char *kwnames[] = {
12187 (char *) "self", NULL
12188 };
12189
12190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellOverflow",kwnames,&obj0)) goto fail;
15afbcd0
RD
12191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12193 {
12194 PyThreadState* __tstate = wxPyBeginAllowThreads();
12195 result = (bool)(arg1)->GetDefaultCellOverflow();
12196
12197 wxPyEndAllowThreads(__tstate);
12198 if (PyErr_Occurred()) SWIG_fail;
12199 }
4f89f6a3
RD
12200 {
12201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12202 }
d14a1e28
RD
12203 return resultobj;
12204 fail:
12205 return NULL;
12206}
12207
12208
c32bde28 12209static PyObject *_wrap_Grid_GetCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12210 PyObject *resultobj;
12211 wxGrid *arg1 = (wxGrid *) 0 ;
12212 int arg2 ;
12213 int arg3 ;
12214 bool result;
12215 PyObject * obj0 = 0 ;
994141e6
RD
12216 PyObject * obj1 = 0 ;
12217 PyObject * obj2 = 0 ;
d14a1e28
RD
12218 char *kwnames[] = {
12219 (char *) "self",(char *) "row",(char *) "col", NULL
12220 };
12221
994141e6 12222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellOverflow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12225 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12226 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12227 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12228 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12229 {
12230 PyThreadState* __tstate = wxPyBeginAllowThreads();
12231 result = (bool)(arg1)->GetCellOverflow(arg2,arg3);
12232
12233 wxPyEndAllowThreads(__tstate);
12234 if (PyErr_Occurred()) SWIG_fail;
12235 }
4f89f6a3
RD
12236 {
12237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12238 }
d14a1e28
RD
12239 return resultobj;
12240 fail:
12241 return NULL;
12242}
12243
12244
c32bde28 12245static PyObject *_wrap_Grid_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12246 PyObject *resultobj;
12247 wxGrid *arg1 = (wxGrid *) 0 ;
12248 int arg2 ;
12249 int arg3 ;
12250 int *arg4 = (int *) 0 ;
12251 int *arg5 = (int *) 0 ;
12252 int temp4 ;
c32bde28 12253 int res4 = 0 ;
d14a1e28 12254 int temp5 ;
c32bde28 12255 int res5 = 0 ;
d14a1e28 12256 PyObject * obj0 = 0 ;
994141e6
RD
12257 PyObject * obj1 = 0 ;
12258 PyObject * obj2 = 0 ;
d14a1e28
RD
12259 char *kwnames[] = {
12260 (char *) "self",(char *) "row",(char *) "col", NULL
12261 };
12262
c32bde28
RD
12263 arg4 = &temp4; res4 = SWIG_NEWOBJ;
12264 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 12265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12268 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12269 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12270 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12271 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12272 {
12273 PyThreadState* __tstate = wxPyBeginAllowThreads();
12274 (arg1)->GetCellSize(arg2,arg3,arg4,arg5);
12275
12276 wxPyEndAllowThreads(__tstate);
12277 if (PyErr_Occurred()) SWIG_fail;
12278 }
12279 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
12280 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
12281 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
12282 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
12283 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
12284 return resultobj;
12285 fail:
12286 return NULL;
12287}
12288
12289
c32bde28 12290static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12291 PyObject *resultobj;
12292 wxGrid *arg1 = (wxGrid *) 0 ;
12293 int arg2 ;
ae8162c8 12294 bool arg3 = (bool) false ;
d14a1e28 12295 PyObject * obj0 = 0 ;
994141e6 12296 PyObject * obj1 = 0 ;
d14a1e28
RD
12297 PyObject * obj2 = 0 ;
12298 char *kwnames[] = {
12299 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
12300 };
12301
994141e6 12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12305 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12306 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12307 if (obj2) {
c32bde28 12308 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 12309 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12310 }
12311 {
12312 PyThreadState* __tstate = wxPyBeginAllowThreads();
12313 (arg1)->SetDefaultRowSize(arg2,arg3);
12314
12315 wxPyEndAllowThreads(__tstate);
12316 if (PyErr_Occurred()) SWIG_fail;
12317 }
12318 Py_INCREF(Py_None); resultobj = Py_None;
12319 return resultobj;
12320 fail:
12321 return NULL;
12322}
12323
12324
c32bde28 12325static PyObject *_wrap_Grid_SetRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12326 PyObject *resultobj;
12327 wxGrid *arg1 = (wxGrid *) 0 ;
12328 int arg2 ;
12329 int arg3 ;
12330 PyObject * obj0 = 0 ;
994141e6
RD
12331 PyObject * obj1 = 0 ;
12332 PyObject * obj2 = 0 ;
d14a1e28
RD
12333 char *kwnames[] = {
12334 (char *) "self",(char *) "row",(char *) "height", NULL
12335 };
12336
994141e6 12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12340 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12341 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12342 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12343 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12344 {
12345 PyThreadState* __tstate = wxPyBeginAllowThreads();
12346 (arg1)->SetRowSize(arg2,arg3);
12347
12348 wxPyEndAllowThreads(__tstate);
12349 if (PyErr_Occurred()) SWIG_fail;
12350 }
12351 Py_INCREF(Py_None); resultobj = Py_None;
12352 return resultobj;
12353 fail:
12354 return NULL;
12355}
12356
12357
c32bde28 12358static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12359 PyObject *resultobj;
12360 wxGrid *arg1 = (wxGrid *) 0 ;
12361 int arg2 ;
ae8162c8 12362 bool arg3 = (bool) false ;
d14a1e28 12363 PyObject * obj0 = 0 ;
994141e6 12364 PyObject * obj1 = 0 ;
d14a1e28
RD
12365 PyObject * obj2 = 0 ;
12366 char *kwnames[] = {
12367 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
12368 };
12369
994141e6 12370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12373 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12374 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12375 if (obj2) {
c32bde28 12376 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 12377 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12378 }
12379 {
12380 PyThreadState* __tstate = wxPyBeginAllowThreads();
12381 (arg1)->SetDefaultColSize(arg2,arg3);
12382
12383 wxPyEndAllowThreads(__tstate);
12384 if (PyErr_Occurred()) SWIG_fail;
12385 }
12386 Py_INCREF(Py_None); resultobj = Py_None;
12387 return resultobj;
12388 fail:
12389 return NULL;
12390}
12391
12392
c32bde28 12393static PyObject *_wrap_Grid_SetColSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12394 PyObject *resultobj;
12395 wxGrid *arg1 = (wxGrid *) 0 ;
12396 int arg2 ;
12397 int arg3 ;
12398 PyObject * obj0 = 0 ;
994141e6
RD
12399 PyObject * obj1 = 0 ;
12400 PyObject * obj2 = 0 ;
d14a1e28
RD
12401 char *kwnames[] = {
12402 (char *) "self",(char *) "col",(char *) "width", NULL
12403 };
12404
994141e6 12405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12408 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12409 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12410 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12411 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12412 {
12413 PyThreadState* __tstate = wxPyBeginAllowThreads();
12414 (arg1)->SetColSize(arg2,arg3);
12415
12416 wxPyEndAllowThreads(__tstate);
12417 if (PyErr_Occurred()) SWIG_fail;
12418 }
12419 Py_INCREF(Py_None); resultobj = Py_None;
12420 return resultobj;
12421 fail:
12422 return NULL;
12423}
12424
12425
c32bde28 12426static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12427 PyObject *resultobj;
12428 wxGrid *arg1 = (wxGrid *) 0 ;
12429 int arg2 ;
ae8162c8 12430 bool arg3 = (bool) true ;
d14a1e28 12431 PyObject * obj0 = 0 ;
994141e6 12432 PyObject * obj1 = 0 ;
d14a1e28
RD
12433 PyObject * obj2 = 0 ;
12434 char *kwnames[] = {
12435 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
12436 };
12437
994141e6 12438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12441 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12442 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12443 if (obj2) {
c32bde28 12444 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 12445 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12446 }
12447 {
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 (arg1)->AutoSizeColumn(arg2,arg3);
12450
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 Py_INCREF(Py_None); resultobj = Py_None;
12455 return resultobj;
12456 fail:
12457 return NULL;
12458}
12459
12460
c32bde28 12461static PyObject *_wrap_Grid_AutoSizeRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12462 PyObject *resultobj;
12463 wxGrid *arg1 = (wxGrid *) 0 ;
12464 int arg2 ;
ae8162c8 12465 bool arg3 = (bool) true ;
d14a1e28 12466 PyObject * obj0 = 0 ;
994141e6 12467 PyObject * obj1 = 0 ;
d14a1e28
RD
12468 PyObject * obj2 = 0 ;
12469 char *kwnames[] = {
12470 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
12471 };
12472
994141e6 12473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12476 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12477 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12478 if (obj2) {
c32bde28 12479 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 12480 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12481 }
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 (arg1)->AutoSizeRow(arg2,arg3);
12485
12486 wxPyEndAllowThreads(__tstate);
12487 if (PyErr_Occurred()) SWIG_fail;
12488 }
12489 Py_INCREF(Py_None); resultobj = Py_None;
12490 return resultobj;
12491 fail:
12492 return NULL;
12493}
12494
12495
c32bde28 12496static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12497 PyObject *resultobj;
12498 wxGrid *arg1 = (wxGrid *) 0 ;
ae8162c8 12499 bool arg2 = (bool) true ;
d14a1e28
RD
12500 PyObject * obj0 = 0 ;
12501 PyObject * obj1 = 0 ;
12502 char *kwnames[] = {
12503 (char *) "self",(char *) "setAsMin", NULL
12504 };
12505
12506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeColumns",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12509 if (obj1) {
c32bde28 12510 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 12511 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12512 }
12513 {
12514 PyThreadState* __tstate = wxPyBeginAllowThreads();
12515 (arg1)->AutoSizeColumns(arg2);
12516
12517 wxPyEndAllowThreads(__tstate);
12518 if (PyErr_Occurred()) SWIG_fail;
12519 }
12520 Py_INCREF(Py_None); resultobj = Py_None;
12521 return resultobj;
12522 fail:
12523 return NULL;
12524}
12525
12526
c32bde28 12527static PyObject *_wrap_Grid_AutoSizeRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12528 PyObject *resultobj;
12529 wxGrid *arg1 = (wxGrid *) 0 ;
ae8162c8 12530 bool arg2 = (bool) true ;
d14a1e28
RD
12531 PyObject * obj0 = 0 ;
12532 PyObject * obj1 = 0 ;
12533 char *kwnames[] = {
12534 (char *) "self",(char *) "setAsMin", NULL
12535 };
12536
12537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12540 if (obj1) {
c32bde28 12541 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 12542 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12543 }
12544 {
12545 PyThreadState* __tstate = wxPyBeginAllowThreads();
12546 (arg1)->AutoSizeRows(arg2);
12547
12548 wxPyEndAllowThreads(__tstate);
12549 if (PyErr_Occurred()) SWIG_fail;
12550 }
12551 Py_INCREF(Py_None); resultobj = Py_None;
12552 return resultobj;
12553 fail:
12554 return NULL;
12555}
12556
12557
c32bde28 12558static PyObject *_wrap_Grid_AutoSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12559 PyObject *resultobj;
12560 wxGrid *arg1 = (wxGrid *) 0 ;
12561 PyObject * obj0 = 0 ;
12562 char *kwnames[] = {
12563 (char *) "self", NULL
12564 };
12565
12566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_AutoSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
12567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 (arg1)->AutoSize();
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
12576 Py_INCREF(Py_None); resultobj = Py_None;
12577 return resultobj;
12578 fail:
12579 return NULL;
12580}
12581
12582
c32bde28 12583static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12584 PyObject *resultobj;
12585 wxGrid *arg1 = (wxGrid *) 0 ;
12586 int arg2 ;
12587 PyObject * obj0 = 0 ;
994141e6 12588 PyObject * obj1 = 0 ;
d14a1e28
RD
12589 char *kwnames[] = {
12590 (char *) "self",(char *) "row", NULL
12591 };
12592
994141e6 12593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12596 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12597 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12598 {
12599 PyThreadState* __tstate = wxPyBeginAllowThreads();
12600 (arg1)->AutoSizeRowLabelSize(arg2);
12601
12602 wxPyEndAllowThreads(__tstate);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 Py_INCREF(Py_None); resultobj = Py_None;
12606 return resultobj;
12607 fail:
12608 return NULL;
12609}
12610
12611
c32bde28 12612static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12613 PyObject *resultobj;
12614 wxGrid *arg1 = (wxGrid *) 0 ;
12615 int arg2 ;
12616 PyObject * obj0 = 0 ;
994141e6 12617 PyObject * obj1 = 0 ;
d14a1e28
RD
12618 char *kwnames[] = {
12619 (char *) "self",(char *) "col", NULL
12620 };
12621
994141e6 12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12625 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12626 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12627 {
12628 PyThreadState* __tstate = wxPyBeginAllowThreads();
12629 (arg1)->AutoSizeColLabelSize(arg2);
12630
12631 wxPyEndAllowThreads(__tstate);
12632 if (PyErr_Occurred()) SWIG_fail;
12633 }
12634 Py_INCREF(Py_None); resultobj = Py_None;
12635 return resultobj;
12636 fail:
12637 return NULL;
12638}
12639
12640
c32bde28 12641static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12642 PyObject *resultobj;
12643 wxGrid *arg1 = (wxGrid *) 0 ;
12644 int arg2 ;
12645 int arg3 ;
12646 PyObject * obj0 = 0 ;
994141e6
RD
12647 PyObject * obj1 = 0 ;
12648 PyObject * obj2 = 0 ;
d14a1e28
RD
12649 char *kwnames[] = {
12650 (char *) "self",(char *) "col",(char *) "width", NULL
12651 };
12652
994141e6 12653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColMinimalWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12656 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12657 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12658 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12659 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12660 {
12661 PyThreadState* __tstate = wxPyBeginAllowThreads();
12662 (arg1)->SetColMinimalWidth(arg2,arg3);
12663
12664 wxPyEndAllowThreads(__tstate);
12665 if (PyErr_Occurred()) SWIG_fail;
12666 }
12667 Py_INCREF(Py_None); resultobj = Py_None;
12668 return resultobj;
12669 fail:
12670 return NULL;
12671}
12672
12673
c32bde28 12674static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12675 PyObject *resultobj;
12676 wxGrid *arg1 = (wxGrid *) 0 ;
12677 int arg2 ;
12678 int arg3 ;
12679 PyObject * obj0 = 0 ;
994141e6
RD
12680 PyObject * obj1 = 0 ;
12681 PyObject * obj2 = 0 ;
d14a1e28
RD
12682 char *kwnames[] = {
12683 (char *) "self",(char *) "row",(char *) "width", NULL
12684 };
12685
994141e6 12686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12689 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12690 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12691 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12692 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12693 {
12694 PyThreadState* __tstate = wxPyBeginAllowThreads();
12695 (arg1)->SetRowMinimalHeight(arg2,arg3);
12696
12697 wxPyEndAllowThreads(__tstate);
12698 if (PyErr_Occurred()) SWIG_fail;
12699 }
12700 Py_INCREF(Py_None); resultobj = Py_None;
12701 return resultobj;
12702 fail:
12703 return NULL;
12704}
12705
12706
c32bde28 12707static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12708 PyObject *resultobj;
12709 wxGrid *arg1 = (wxGrid *) 0 ;
12710 int arg2 ;
12711 PyObject * obj0 = 0 ;
994141e6 12712 PyObject * obj1 = 0 ;
d14a1e28
RD
12713 char *kwnames[] = {
12714 (char *) "self",(char *) "width", NULL
12715 };
12716
994141e6 12717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12720 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12721 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12722 {
12723 PyThreadState* __tstate = wxPyBeginAllowThreads();
12724 (arg1)->SetColMinimalAcceptableWidth(arg2);
12725
12726 wxPyEndAllowThreads(__tstate);
12727 if (PyErr_Occurred()) SWIG_fail;
12728 }
12729 Py_INCREF(Py_None); resultobj = Py_None;
12730 return resultobj;
12731 fail:
12732 return NULL;
12733}
12734
12735
c32bde28 12736static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12737 PyObject *resultobj;
12738 wxGrid *arg1 = (wxGrid *) 0 ;
12739 int arg2 ;
12740 PyObject * obj0 = 0 ;
994141e6 12741 PyObject * obj1 = 0 ;
d14a1e28
RD
12742 char *kwnames[] = {
12743 (char *) "self",(char *) "width", NULL
12744 };
12745
994141e6 12746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12749 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12750 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12751 {
12752 PyThreadState* __tstate = wxPyBeginAllowThreads();
12753 (arg1)->SetRowMinimalAcceptableHeight(arg2);
12754
12755 wxPyEndAllowThreads(__tstate);
12756 if (PyErr_Occurred()) SWIG_fail;
12757 }
12758 Py_INCREF(Py_None); resultobj = Py_None;
12759 return resultobj;
12760 fail:
12761 return NULL;
12762}
12763
12764
c32bde28 12765static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12766 PyObject *resultobj;
12767 wxGrid *arg1 = (wxGrid *) 0 ;
12768 int result;
12769 PyObject * obj0 = 0 ;
12770 char *kwnames[] = {
12771 (char *) "self", NULL
12772 };
12773
12774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
12775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12777 {
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 result = (int)((wxGrid const *)arg1)->GetColMinimalAcceptableWidth();
12780
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
c32bde28 12784 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12785 return resultobj;
12786 fail:
12787 return NULL;
12788}
12789
12790
c32bde28 12791static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12792 PyObject *resultobj;
12793 wxGrid *arg1 = (wxGrid *) 0 ;
12794 int result;
12795 PyObject * obj0 = 0 ;
12796 char *kwnames[] = {
12797 (char *) "self", NULL
12798 };
12799
12800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
12801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12803 {
12804 PyThreadState* __tstate = wxPyBeginAllowThreads();
12805 result = (int)((wxGrid const *)arg1)->GetRowMinimalAcceptableHeight();
12806
12807 wxPyEndAllowThreads(__tstate);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 }
c32bde28 12810 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12811 return resultobj;
12812 fail:
12813 return NULL;
12814}
12815
12816
c32bde28 12817static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12818 PyObject *resultobj;
12819 wxGrid *arg1 = (wxGrid *) 0 ;
12820 wxColour *arg2 = 0 ;
12821 wxColour temp2 ;
12822 PyObject * obj0 = 0 ;
12823 PyObject * obj1 = 0 ;
12824 char *kwnames[] = {
12825 (char *) "self","arg2", NULL
12826 };
12827
12828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12831 {
12832 arg2 = &temp2;
12833 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12834 }
12835 {
12836 PyThreadState* __tstate = wxPyBeginAllowThreads();
12837 (arg1)->SetDefaultCellBackgroundColour((wxColour const &)*arg2);
12838
12839 wxPyEndAllowThreads(__tstate);
12840 if (PyErr_Occurred()) SWIG_fail;
12841 }
12842 Py_INCREF(Py_None); resultobj = Py_None;
12843 return resultobj;
12844 fail:
12845 return NULL;
12846}
12847
12848
c32bde28 12849static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12850 PyObject *resultobj;
12851 wxGrid *arg1 = (wxGrid *) 0 ;
12852 int arg2 ;
12853 int arg3 ;
12854 wxColour *arg4 = 0 ;
12855 wxColour temp4 ;
12856 PyObject * obj0 = 0 ;
994141e6
RD
12857 PyObject * obj1 = 0 ;
12858 PyObject * obj2 = 0 ;
d14a1e28
RD
12859 PyObject * obj3 = 0 ;
12860 char *kwnames[] = {
12861 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12862 };
12863
994141e6 12864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12867 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12868 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12869 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12870 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12871 {
12872 arg4 = &temp4;
12873 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12874 }
12875 {
12876 PyThreadState* __tstate = wxPyBeginAllowThreads();
12877 (arg1)->SetCellBackgroundColour(arg2,arg3,(wxColour const &)*arg4);
12878
12879 wxPyEndAllowThreads(__tstate);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 Py_INCREF(Py_None); resultobj = Py_None;
12883 return resultobj;
12884 fail:
12885 return NULL;
12886}
12887
12888
c32bde28 12889static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12890 PyObject *resultobj;
12891 wxGrid *arg1 = (wxGrid *) 0 ;
12892 wxColour *arg2 = 0 ;
12893 wxColour temp2 ;
12894 PyObject * obj0 = 0 ;
12895 PyObject * obj1 = 0 ;
12896 char *kwnames[] = {
12897 (char *) "self","arg2", NULL
12898 };
12899
12900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12903 {
12904 arg2 = &temp2;
12905 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12906 }
12907 {
12908 PyThreadState* __tstate = wxPyBeginAllowThreads();
12909 (arg1)->SetDefaultCellTextColour((wxColour const &)*arg2);
12910
12911 wxPyEndAllowThreads(__tstate);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 }
12914 Py_INCREF(Py_None); resultobj = Py_None;
12915 return resultobj;
12916 fail:
12917 return NULL;
12918}
12919
12920
c32bde28 12921static PyObject *_wrap_Grid_SetCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12922 PyObject *resultobj;
12923 wxGrid *arg1 = (wxGrid *) 0 ;
12924 int arg2 ;
12925 int arg3 ;
12926 wxColour *arg4 = 0 ;
12927 wxColour temp4 ;
12928 PyObject * obj0 = 0 ;
994141e6
RD
12929 PyObject * obj1 = 0 ;
12930 PyObject * obj2 = 0 ;
d14a1e28
RD
12931 PyObject * obj3 = 0 ;
12932 char *kwnames[] = {
12933 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12934 };
12935
994141e6 12936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellTextColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12939 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12940 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12941 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12942 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12943 {
12944 arg4 = &temp4;
12945 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12946 }
12947 {
12948 PyThreadState* __tstate = wxPyBeginAllowThreads();
12949 (arg1)->SetCellTextColour(arg2,arg3,(wxColour const &)*arg4);
12950
12951 wxPyEndAllowThreads(__tstate);
12952 if (PyErr_Occurred()) SWIG_fail;
12953 }
12954 Py_INCREF(Py_None); resultobj = Py_None;
12955 return resultobj;
12956 fail:
12957 return NULL;
12958}
12959
12960
c32bde28 12961static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12962 PyObject *resultobj;
12963 wxGrid *arg1 = (wxGrid *) 0 ;
12964 wxFont *arg2 = 0 ;
12965 PyObject * obj0 = 0 ;
12966 PyObject * obj1 = 0 ;
12967 char *kwnames[] = {
12968 (char *) "self","arg2", NULL
12969 };
12970
12971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12975 SWIG_POINTER_EXCEPTION | 0)) == -1)
12976 SWIG_fail;
d14a1e28 12977 if (arg2 == NULL) {
15afbcd0
RD
12978 PyErr_SetString(PyExc_TypeError,"null reference");
12979 SWIG_fail;
d14a1e28
RD
12980 }
12981 {
12982 PyThreadState* __tstate = wxPyBeginAllowThreads();
12983 (arg1)->SetDefaultCellFont((wxFont const &)*arg2);
12984
12985 wxPyEndAllowThreads(__tstate);
12986 if (PyErr_Occurred()) SWIG_fail;
12987 }
12988 Py_INCREF(Py_None); resultobj = Py_None;
12989 return resultobj;
12990 fail:
12991 return NULL;
12992}
12993
12994
c32bde28 12995static PyObject *_wrap_Grid_SetCellFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12996 PyObject *resultobj;
12997 wxGrid *arg1 = (wxGrid *) 0 ;
12998 int arg2 ;
12999 int arg3 ;
13000 wxFont *arg4 = 0 ;
13001 PyObject * obj0 = 0 ;
994141e6
RD
13002 PyObject * obj1 = 0 ;
13003 PyObject * obj2 = 0 ;
d14a1e28
RD
13004 PyObject * obj3 = 0 ;
13005 char *kwnames[] = {
13006 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
13007 };
13008
15afbcd0
RD
13009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellFont",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13012 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13013 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13014 arg3 = (int)SWIG_As_int(obj2);
15afbcd0
RD
13015 if (PyErr_Occurred()) SWIG_fail;
13016 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxFont,
13017 SWIG_POINTER_EXCEPTION | 0)) == -1)
13018 SWIG_fail;
d14a1e28 13019 if (arg4 == NULL) {
15afbcd0
RD
13020 PyErr_SetString(PyExc_TypeError,"null reference");
13021 SWIG_fail;
d14a1e28
RD
13022 }
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
13025 (arg1)->SetCellFont(arg2,arg3,(wxFont const &)*arg4);
13026
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 Py_INCREF(Py_None); resultobj = Py_None;
13031 return resultobj;
13032 fail:
13033 return NULL;
13034}
13035
13036
c32bde28 13037static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13038 PyObject *resultobj;
13039 wxGrid *arg1 = (wxGrid *) 0 ;
13040 int arg2 ;
13041 int arg3 ;
13042 PyObject * obj0 = 0 ;
994141e6
RD
13043 PyObject * obj1 = 0 ;
13044 PyObject * obj2 = 0 ;
d14a1e28
RD
13045 char *kwnames[] = {
13046 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13047 };
13048
994141e6 13049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13052 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13053 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13054 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13055 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13056 {
13057 PyThreadState* __tstate = wxPyBeginAllowThreads();
13058 (arg1)->SetDefaultCellAlignment(arg2,arg3);
13059
13060 wxPyEndAllowThreads(__tstate);
13061 if (PyErr_Occurred()) SWIG_fail;
13062 }
13063 Py_INCREF(Py_None); resultobj = Py_None;
13064 return resultobj;
13065 fail:
13066 return NULL;
13067}
13068
13069
c32bde28 13070static PyObject *_wrap_Grid_SetCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13071 PyObject *resultobj;
13072 wxGrid *arg1 = (wxGrid *) 0 ;
13073 int arg2 ;
13074 int arg3 ;
13075 int arg4 ;
13076 int arg5 ;
13077 PyObject * obj0 = 0 ;
994141e6
RD
13078 PyObject * obj1 = 0 ;
13079 PyObject * obj2 = 0 ;
13080 PyObject * obj3 = 0 ;
13081 PyObject * obj4 = 0 ;
d14a1e28
RD
13082 char *kwnames[] = {
13083 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
13084 };
13085
994141e6 13086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellAlignment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
13087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13089 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13090 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13091 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13092 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13093 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 13094 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13095 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 13096 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 (arg1)->SetCellAlignment(arg2,arg3,arg4,arg5);
13100
13101 wxPyEndAllowThreads(__tstate);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 Py_INCREF(Py_None); resultobj = Py_None;
13105 return resultobj;
13106 fail:
13107 return NULL;
13108}
13109
13110
c32bde28 13111static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13112 PyObject *resultobj;
13113 wxGrid *arg1 = (wxGrid *) 0 ;
13114 bool arg2 ;
13115 PyObject * obj0 = 0 ;
13116 PyObject * obj1 = 0 ;
13117 char *kwnames[] = {
13118 (char *) "self",(char *) "allow", NULL
13119 };
13120
13121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13124 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 13125 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13126 {
13127 PyThreadState* __tstate = wxPyBeginAllowThreads();
13128 (arg1)->SetDefaultCellOverflow(arg2);
13129
13130 wxPyEndAllowThreads(__tstate);
13131 if (PyErr_Occurred()) SWIG_fail;
13132 }
13133 Py_INCREF(Py_None); resultobj = Py_None;
13134 return resultobj;
13135 fail:
13136 return NULL;
13137}
13138
13139
c32bde28 13140static PyObject *_wrap_Grid_SetCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13141 PyObject *resultobj;
13142 wxGrid *arg1 = (wxGrid *) 0 ;
13143 int arg2 ;
13144 int arg3 ;
13145 bool arg4 ;
13146 PyObject * obj0 = 0 ;
994141e6
RD
13147 PyObject * obj1 = 0 ;
13148 PyObject * obj2 = 0 ;
d14a1e28
RD
13149 PyObject * obj3 = 0 ;
13150 char *kwnames[] = {
13151 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
13152 };
13153
994141e6 13154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellOverflow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13157 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13158 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13159 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13160 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13161 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 13162 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13163 {
13164 PyThreadState* __tstate = wxPyBeginAllowThreads();
13165 (arg1)->SetCellOverflow(arg2,arg3,arg4);
13166
13167 wxPyEndAllowThreads(__tstate);
13168 if (PyErr_Occurred()) SWIG_fail;
13169 }
13170 Py_INCREF(Py_None); resultobj = Py_None;
13171 return resultobj;
13172 fail:
13173 return NULL;
13174}
13175
13176
c32bde28 13177static PyObject *_wrap_Grid_SetCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13178 PyObject *resultobj;
13179 wxGrid *arg1 = (wxGrid *) 0 ;
13180 int arg2 ;
13181 int arg3 ;
13182 int arg4 ;
13183 int arg5 ;
13184 PyObject * obj0 = 0 ;
994141e6
RD
13185 PyObject * obj1 = 0 ;
13186 PyObject * obj2 = 0 ;
13187 PyObject * obj3 = 0 ;
13188 PyObject * obj4 = 0 ;
d14a1e28
RD
13189 char *kwnames[] = {
13190 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
13191 };
13192
994141e6 13193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
13194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13196 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13197 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13198 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13199 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13200 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 13201 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13202 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 13203 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13204 {
13205 PyThreadState* __tstate = wxPyBeginAllowThreads();
13206 (arg1)->SetCellSize(arg2,arg3,arg4,arg5);
13207
13208 wxPyEndAllowThreads(__tstate);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 }
13211 Py_INCREF(Py_None); resultobj = Py_None;
13212 return resultobj;
13213 fail:
13214 return NULL;
13215}
13216
13217
c32bde28 13218static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13219 PyObject *resultobj;
13220 wxGrid *arg1 = (wxGrid *) 0 ;
13221 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
13222 PyObject * obj0 = 0 ;
13223 PyObject * obj1 = 0 ;
13224 char *kwnames[] = {
13225 (char *) "self",(char *) "renderer", NULL
13226 };
13227
13228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultRenderer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
13232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13233 {
13234 PyThreadState* __tstate = wxPyBeginAllowThreads();
13235 (arg1)->SetDefaultRenderer(arg2);
13236
13237 wxPyEndAllowThreads(__tstate);
13238 if (PyErr_Occurred()) SWIG_fail;
13239 }
13240 Py_INCREF(Py_None); resultobj = Py_None;
13241 return resultobj;
13242 fail:
13243 return NULL;
13244}
13245
13246
c32bde28 13247static PyObject *_wrap_Grid_SetCellRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13248 PyObject *resultobj;
13249 wxGrid *arg1 = (wxGrid *) 0 ;
13250 int arg2 ;
13251 int arg3 ;
13252 wxGridCellRenderer *arg4 = (wxGridCellRenderer *) 0 ;
13253 PyObject * obj0 = 0 ;
994141e6
RD
13254 PyObject * obj1 = 0 ;
13255 PyObject * obj2 = 0 ;
d14a1e28
RD
13256 PyObject * obj3 = 0 ;
13257 char *kwnames[] = {
13258 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
13259 };
13260
994141e6 13261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13264 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13265 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13266 arg3 = (int)SWIG_As_int(obj2);
15afbcd0
RD
13267 if (PyErr_Occurred()) SWIG_fail;
13268 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellRenderer,
13269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13270 {
13271 PyThreadState* __tstate = wxPyBeginAllowThreads();
13272 (arg1)->SetCellRenderer(arg2,arg3,arg4);
13273
13274 wxPyEndAllowThreads(__tstate);
13275 if (PyErr_Occurred()) SWIG_fail;
13276 }
13277 Py_INCREF(Py_None); resultobj = Py_None;
13278 return resultobj;
13279 fail:
13280 return NULL;
13281}
13282
13283
c32bde28 13284static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13285 PyObject *resultobj;
13286 wxGrid *arg1 = (wxGrid *) 0 ;
13287 wxGridCellRenderer *result;
13288 PyObject * obj0 = 0 ;
13289 char *kwnames[] = {
13290 (char *) "self", NULL
13291 };
13292
13293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRenderer",kwnames,&obj0)) goto fail;
15afbcd0
RD
13294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13296 {
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRenderer();
13299
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 {
412d302d 13304 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
d14a1e28
RD
13305 }
13306 return resultobj;
13307 fail:
13308 return NULL;
13309}
13310
13311
c32bde28 13312static PyObject *_wrap_Grid_GetCellRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13313 PyObject *resultobj;
13314 wxGrid *arg1 = (wxGrid *) 0 ;
13315 int arg2 ;
13316 int arg3 ;
13317 wxGridCellRenderer *result;
13318 PyObject * obj0 = 0 ;
994141e6
RD
13319 PyObject * obj1 = 0 ;
13320 PyObject * obj2 = 0 ;
d14a1e28
RD
13321 char *kwnames[] = {
13322 (char *) "self",(char *) "row",(char *) "col", NULL
13323 };
13324
994141e6 13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellRenderer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13328 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13329 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13330 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13331 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 result = (wxGridCellRenderer *)(arg1)->GetCellRenderer(arg2,arg3);
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 {
412d302d 13340 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
d14a1e28
RD
13341 }
13342 return resultobj;
13343 fail:
13344 return NULL;
13345}
13346
13347
c32bde28 13348static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13349 PyObject *resultobj;
13350 wxGrid *arg1 = (wxGrid *) 0 ;
13351 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
13352 PyObject * obj0 = 0 ;
13353 PyObject * obj1 = 0 ;
13354 char *kwnames[] = {
13355 (char *) "self",(char *) "editor", NULL
13356 };
13357
13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultEditor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
13362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13363 {
13364 PyThreadState* __tstate = wxPyBeginAllowThreads();
13365 (arg1)->SetDefaultEditor(arg2);
13366
13367 wxPyEndAllowThreads(__tstate);
13368 if (PyErr_Occurred()) SWIG_fail;
13369 }
13370 Py_INCREF(Py_None); resultobj = Py_None;
13371 return resultobj;
13372 fail:
13373 return NULL;
13374}
13375
13376
c32bde28 13377static PyObject *_wrap_Grid_SetCellEditor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13378 PyObject *resultobj;
13379 wxGrid *arg1 = (wxGrid *) 0 ;
13380 int arg2 ;
13381 int arg3 ;
13382 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
13383 PyObject * obj0 = 0 ;
994141e6
RD
13384 PyObject * obj1 = 0 ;
13385 PyObject * obj2 = 0 ;
d14a1e28
RD
13386 PyObject * obj3 = 0 ;
13387 char *kwnames[] = {
13388 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
13389 };
13390
994141e6 13391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13394 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13395 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13396 arg3 = (int)SWIG_As_int(obj2);
15afbcd0
RD
13397 if (PyErr_Occurred()) SWIG_fail;
13398 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
13399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13400 {
13401 PyThreadState* __tstate = wxPyBeginAllowThreads();
13402 (arg1)->SetCellEditor(arg2,arg3,arg4);
13403
13404 wxPyEndAllowThreads(__tstate);
13405 if (PyErr_Occurred()) SWIG_fail;
13406 }
13407 Py_INCREF(Py_None); resultobj = Py_None;
13408 return resultobj;
13409 fail:
13410 return NULL;
13411}
13412
13413
c32bde28 13414static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13415 PyObject *resultobj;
13416 wxGrid *arg1 = (wxGrid *) 0 ;
13417 wxGridCellEditor *result;
13418 PyObject * obj0 = 0 ;
13419 char *kwnames[] = {
13420 (char *) "self", NULL
13421 };
13422
13423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultEditor",kwnames,&obj0)) goto fail;
15afbcd0
RD
13424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13426 {
13427 PyThreadState* __tstate = wxPyBeginAllowThreads();
13428 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditor();
13429
13430 wxPyEndAllowThreads(__tstate);
13431 if (PyErr_Occurred()) SWIG_fail;
13432 }
13433 {
412d302d 13434 resultobj = wxPyMake_wxGridCellEditor(result, 0);
d14a1e28
RD
13435 }
13436 return resultobj;
13437 fail:
13438 return NULL;
13439}
13440
13441
c32bde28 13442static PyObject *_wrap_Grid_GetCellEditor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13443 PyObject *resultobj;
13444 wxGrid *arg1 = (wxGrid *) 0 ;
13445 int arg2 ;
13446 int arg3 ;
13447 wxGridCellEditor *result;
13448 PyObject * obj0 = 0 ;
994141e6
RD
13449 PyObject * obj1 = 0 ;
13450 PyObject * obj2 = 0 ;
d14a1e28
RD
13451 char *kwnames[] = {
13452 (char *) "self",(char *) "row",(char *) "col", NULL
13453 };
13454
994141e6 13455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellEditor",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13458 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13459 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13460 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13461 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13462 {
13463 PyThreadState* __tstate = wxPyBeginAllowThreads();
13464 result = (wxGridCellEditor *)(arg1)->GetCellEditor(arg2,arg3);
13465
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
13469 {
412d302d 13470 resultobj = wxPyMake_wxGridCellEditor(result, 0);
d14a1e28
RD
13471 }
13472 return resultobj;
13473 fail:
13474 return NULL;
13475}
13476
13477
c32bde28 13478static PyObject *_wrap_Grid_GetCellValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13479 PyObject *resultobj;
13480 wxGrid *arg1 = (wxGrid *) 0 ;
13481 int arg2 ;
13482 int arg3 ;
13483 wxString result;
13484 PyObject * obj0 = 0 ;
994141e6
RD
13485 PyObject * obj1 = 0 ;
13486 PyObject * obj2 = 0 ;
d14a1e28
RD
13487 char *kwnames[] = {
13488 (char *) "self",(char *) "row",(char *) "col", NULL
13489 };
13490
994141e6 13491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13494 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13495 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13496 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13497 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13498 {
13499 PyThreadState* __tstate = wxPyBeginAllowThreads();
13500 result = (arg1)->GetCellValue(arg2,arg3);
13501
13502 wxPyEndAllowThreads(__tstate);
13503 if (PyErr_Occurred()) SWIG_fail;
13504 }
13505 {
13506#if wxUSE_UNICODE
13507 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13508#else
13509 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13510#endif
13511 }
13512 return resultobj;
13513 fail:
13514 return NULL;
13515}
13516
13517
c32bde28 13518static PyObject *_wrap_Grid_SetCellValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13519 PyObject *resultobj;
13520 wxGrid *arg1 = (wxGrid *) 0 ;
13521 int arg2 ;
13522 int arg3 ;
13523 wxString *arg4 = 0 ;
ae8162c8 13524 bool temp4 = false ;
d14a1e28 13525 PyObject * obj0 = 0 ;
994141e6
RD
13526 PyObject * obj1 = 0 ;
13527 PyObject * obj2 = 0 ;
d14a1e28
RD
13528 PyObject * obj3 = 0 ;
13529 char *kwnames[] = {
13530 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13531 };
13532
994141e6 13533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13536 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13537 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13538 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13539 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13540 {
13541 arg4 = wxString_in_helper(obj3);
13542 if (arg4 == NULL) SWIG_fail;
ae8162c8 13543 temp4 = true;
d14a1e28
RD
13544 }
13545 {
13546 PyThreadState* __tstate = wxPyBeginAllowThreads();
13547 (arg1)->SetCellValue(arg2,arg3,(wxString const &)*arg4);
13548
13549 wxPyEndAllowThreads(__tstate);
13550 if (PyErr_Occurred()) SWIG_fail;
13551 }
13552 Py_INCREF(Py_None); resultobj = Py_None;
13553 {
13554 if (temp4)
13555 delete arg4;
13556 }
13557 return resultobj;
13558 fail:
13559 {
13560 if (temp4)
13561 delete arg4;
13562 }
13563 return NULL;
13564}
13565
13566
c32bde28 13567static PyObject *_wrap_Grid_IsReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13568 PyObject *resultobj;
13569 wxGrid *arg1 = (wxGrid *) 0 ;
13570 int arg2 ;
13571 int arg3 ;
13572 bool result;
13573 PyObject * obj0 = 0 ;
994141e6
RD
13574 PyObject * obj1 = 0 ;
13575 PyObject * obj2 = 0 ;
d14a1e28
RD
13576 char *kwnames[] = {
13577 (char *) "self",(char *) "row",(char *) "col", NULL
13578 };
13579
994141e6 13580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsReadOnly",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13583 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13584 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13585 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13586 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13587 {
13588 PyThreadState* __tstate = wxPyBeginAllowThreads();
13589 result = (bool)((wxGrid const *)arg1)->IsReadOnly(arg2,arg3);
13590
13591 wxPyEndAllowThreads(__tstate);
13592 if (PyErr_Occurred()) SWIG_fail;
13593 }
4f89f6a3
RD
13594 {
13595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13596 }
d14a1e28
RD
13597 return resultobj;
13598 fail:
13599 return NULL;
13600}
13601
13602
c32bde28 13603static PyObject *_wrap_Grid_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13604 PyObject *resultobj;
13605 wxGrid *arg1 = (wxGrid *) 0 ;
13606 int arg2 ;
13607 int arg3 ;
ae8162c8 13608 bool arg4 = (bool) true ;
d14a1e28 13609 PyObject * obj0 = 0 ;
994141e6
RD
13610 PyObject * obj1 = 0 ;
13611 PyObject * obj2 = 0 ;
d14a1e28
RD
13612 PyObject * obj3 = 0 ;
13613 char *kwnames[] = {
13614 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13615 };
13616
994141e6 13617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_SetReadOnly",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13620 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13621 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13622 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13623 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13624 if (obj3) {
c32bde28 13625 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 13626 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13627 }
13628 {
13629 PyThreadState* __tstate = wxPyBeginAllowThreads();
13630 (arg1)->SetReadOnly(arg2,arg3,arg4);
13631
13632 wxPyEndAllowThreads(__tstate);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 }
13635 Py_INCREF(Py_None); resultobj = Py_None;
13636 return resultobj;
13637 fail:
13638 return NULL;
13639}
13640
13641
c32bde28 13642static PyObject *_wrap_Grid_SelectRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13643 PyObject *resultobj;
13644 wxGrid *arg1 = (wxGrid *) 0 ;
13645 int arg2 ;
ae8162c8 13646 bool arg3 = (bool) false ;
d14a1e28 13647 PyObject * obj0 = 0 ;
994141e6 13648 PyObject * obj1 = 0 ;
d14a1e28
RD
13649 PyObject * obj2 = 0 ;
13650 char *kwnames[] = {
13651 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13652 };
13653
994141e6 13654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13657 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13658 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13659 if (obj2) {
c32bde28 13660 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 13661 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13662 }
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 (arg1)->SelectRow(arg2,arg3);
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 Py_INCREF(Py_None); resultobj = Py_None;
13671 return resultobj;
13672 fail:
13673 return NULL;
13674}
13675
13676
c32bde28 13677static PyObject *_wrap_Grid_SelectCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13678 PyObject *resultobj;
13679 wxGrid *arg1 = (wxGrid *) 0 ;
13680 int arg2 ;
ae8162c8 13681 bool arg3 = (bool) false ;
d14a1e28 13682 PyObject * obj0 = 0 ;
994141e6 13683 PyObject * obj1 = 0 ;
d14a1e28
RD
13684 PyObject * obj2 = 0 ;
13685 char *kwnames[] = {
13686 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13687 };
13688
994141e6 13689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13692 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13693 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13694 if (obj2) {
c32bde28 13695 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 13696 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13697 }
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 (arg1)->SelectCol(arg2,arg3);
13701
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
13705 Py_INCREF(Py_None); resultobj = Py_None;
13706 return resultobj;
13707 fail:
13708 return NULL;
13709}
13710
13711
c32bde28 13712static PyObject *_wrap_Grid_SelectBlock(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13713 PyObject *resultobj;
13714 wxGrid *arg1 = (wxGrid *) 0 ;
13715 int arg2 ;
13716 int arg3 ;
13717 int arg4 ;
13718 int arg5 ;
ae8162c8 13719 bool arg6 = (bool) false ;
d14a1e28 13720 PyObject * obj0 = 0 ;
994141e6
RD
13721 PyObject * obj1 = 0 ;
13722 PyObject * obj2 = 0 ;
13723 PyObject * obj3 = 0 ;
13724 PyObject * obj4 = 0 ;
d14a1e28
RD
13725 PyObject * obj5 = 0 ;
13726 char *kwnames[] = {
13727 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13728 };
13729
994141e6 13730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Grid_SelectBlock",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
13731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13733 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13734 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13735 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13736 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13737 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 13738 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13739 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 13740 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13741 if (obj5) {
c32bde28 13742 arg6 = (bool)SWIG_As_bool(obj5);
15afbcd0 13743 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13744 }
13745 {
13746 PyThreadState* __tstate = wxPyBeginAllowThreads();
13747 (arg1)->SelectBlock(arg2,arg3,arg4,arg5,arg6);
13748
13749 wxPyEndAllowThreads(__tstate);
13750 if (PyErr_Occurred()) SWIG_fail;
13751 }
13752 Py_INCREF(Py_None); resultobj = Py_None;
13753 return resultobj;
13754 fail:
13755 return NULL;
13756}
13757
13758
c32bde28 13759static PyObject *_wrap_Grid_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13760 PyObject *resultobj;
13761 wxGrid *arg1 = (wxGrid *) 0 ;
13762 PyObject * obj0 = 0 ;
13763 char *kwnames[] = {
13764 (char *) "self", NULL
13765 };
13766
13767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SelectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
13768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13770 {
13771 PyThreadState* __tstate = wxPyBeginAllowThreads();
13772 (arg1)->SelectAll();
13773
13774 wxPyEndAllowThreads(__tstate);
13775 if (PyErr_Occurred()) SWIG_fail;
13776 }
13777 Py_INCREF(Py_None); resultobj = Py_None;
13778 return resultobj;
13779 fail:
13780 return NULL;
13781}
13782
13783
c32bde28 13784static PyObject *_wrap_Grid_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13785 PyObject *resultobj;
13786 wxGrid *arg1 = (wxGrid *) 0 ;
13787 bool result;
13788 PyObject * obj0 = 0 ;
13789 char *kwnames[] = {
13790 (char *) "self", NULL
13791 };
13792
13793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13796 {
13797 PyThreadState* __tstate = wxPyBeginAllowThreads();
13798 result = (bool)(arg1)->IsSelection();
13799
13800 wxPyEndAllowThreads(__tstate);
13801 if (PyErr_Occurred()) SWIG_fail;
13802 }
4f89f6a3
RD
13803 {
13804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13805 }
d14a1e28
RD
13806 return resultobj;
13807 fail:
13808 return NULL;
13809}
13810
13811
c32bde28 13812static PyObject *_wrap_Grid_ClearSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13813 PyObject *resultobj;
13814 wxGrid *arg1 = (wxGrid *) 0 ;
13815 PyObject * obj0 = 0 ;
13816 char *kwnames[] = {
13817 (char *) "self", NULL
13818 };
13819
13820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13823 {
13824 PyThreadState* __tstate = wxPyBeginAllowThreads();
13825 (arg1)->ClearSelection();
13826
13827 wxPyEndAllowThreads(__tstate);
13828 if (PyErr_Occurred()) SWIG_fail;
13829 }
13830 Py_INCREF(Py_None); resultobj = Py_None;
13831 return resultobj;
13832 fail:
13833 return NULL;
13834}
13835
13836
c32bde28 13837static PyObject *_wrap_Grid_IsInSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13838 PyObject *resultobj;
13839 wxGrid *arg1 = (wxGrid *) 0 ;
13840 int arg2 ;
13841 int arg3 ;
13842 bool result;
13843 PyObject * obj0 = 0 ;
994141e6
RD
13844 PyObject * obj1 = 0 ;
13845 PyObject * obj2 = 0 ;
d14a1e28
RD
13846 char *kwnames[] = {
13847 (char *) "self",(char *) "row",(char *) "col", NULL
13848 };
13849
994141e6 13850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsInSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13853 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13854 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13855 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13856 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13857 {
13858 PyThreadState* __tstate = wxPyBeginAllowThreads();
13859 result = (bool)(arg1)->IsInSelection(arg2,arg3);
13860
13861 wxPyEndAllowThreads(__tstate);
13862 if (PyErr_Occurred()) SWIG_fail;
13863 }
4f89f6a3
RD
13864 {
13865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13866 }
d14a1e28
RD
13867 return resultobj;
13868 fail:
13869 return NULL;
13870}
13871
13872
c32bde28 13873static PyObject *_wrap_Grid_GetSelectedCells(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13874 PyObject *resultobj;
13875 wxGrid *arg1 = (wxGrid *) 0 ;
13876 wxGridCellCoordsArray result;
13877 PyObject * obj0 = 0 ;
13878 char *kwnames[] = {
13879 (char *) "self", NULL
13880 };
13881
13882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCells",kwnames,&obj0)) goto fail;
15afbcd0
RD
13883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13885 {
13886 PyThreadState* __tstate = wxPyBeginAllowThreads();
13887 result = ((wxGrid const *)arg1)->GetSelectedCells();
13888
13889 wxPyEndAllowThreads(__tstate);
13890 if (PyErr_Occurred()) SWIG_fail;
13891 }
13892 {
13893 resultobj = wxGridCellCoordsArray_helper(result);
13894 }
13895 return resultobj;
13896 fail:
13897 return NULL;
13898}
13899
13900
c32bde28 13901static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13902 PyObject *resultobj;
13903 wxGrid *arg1 = (wxGrid *) 0 ;
13904 wxGridCellCoordsArray result;
13905 PyObject * obj0 = 0 ;
13906 char *kwnames[] = {
13907 (char *) "self", NULL
13908 };
13909
13910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
13911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 result = ((wxGrid const *)arg1)->GetSelectionBlockTopLeft();
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 {
13921 resultobj = wxGridCellCoordsArray_helper(result);
13922 }
13923 return resultobj;
13924 fail:
13925 return NULL;
13926}
13927
13928
c32bde28 13929static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13930 PyObject *resultobj;
13931 wxGrid *arg1 = (wxGrid *) 0 ;
13932 wxGridCellCoordsArray result;
13933 PyObject * obj0 = 0 ;
13934 char *kwnames[] = {
13935 (char *) "self", NULL
13936 };
13937
13938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
13939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13941 {
13942 PyThreadState* __tstate = wxPyBeginAllowThreads();
13943 result = ((wxGrid const *)arg1)->GetSelectionBlockBottomRight();
13944
13945 wxPyEndAllowThreads(__tstate);
13946 if (PyErr_Occurred()) SWIG_fail;
13947 }
13948 {
13949 resultobj = wxGridCellCoordsArray_helper(result);
13950 }
13951 return resultobj;
13952 fail:
13953 return NULL;
13954}
13955
13956
c32bde28 13957static PyObject *_wrap_Grid_GetSelectedRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13958 PyObject *resultobj;
13959 wxGrid *arg1 = (wxGrid *) 0 ;
13960 wxArrayInt result;
13961 PyObject * obj0 = 0 ;
13962 char *kwnames[] = {
13963 (char *) "self", NULL
13964 };
13965
13966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
13967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13969 {
13970 PyThreadState* __tstate = wxPyBeginAllowThreads();
13971 result = ((wxGrid const *)arg1)->GetSelectedRows();
13972
13973 wxPyEndAllowThreads(__tstate);
13974 if (PyErr_Occurred()) SWIG_fail;
13975 }
13976 {
13977 resultobj = PyList_New(0);
13978 size_t idx;
13979 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13980 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13981 PyList_Append(resultobj, val);
13982 Py_DECREF(val);
13983 }
13984 }
13985 return resultobj;
13986 fail:
13987 return NULL;
13988}
13989
13990
c32bde28 13991static PyObject *_wrap_Grid_GetSelectedCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13992 PyObject *resultobj;
13993 wxGrid *arg1 = (wxGrid *) 0 ;
13994 wxArrayInt result;
13995 PyObject * obj0 = 0 ;
13996 char *kwnames[] = {
13997 (char *) "self", NULL
13998 };
13999
14000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
14001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14003 {
14004 PyThreadState* __tstate = wxPyBeginAllowThreads();
14005 result = ((wxGrid const *)arg1)->GetSelectedCols();
14006
14007 wxPyEndAllowThreads(__tstate);
14008 if (PyErr_Occurred()) SWIG_fail;
14009 }
14010 {
14011 resultobj = PyList_New(0);
14012 size_t idx;
14013 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
14014 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
14015 PyList_Append(resultobj, val);
14016 Py_DECREF(val);
14017 }
14018 }
14019 return resultobj;
14020 fail:
14021 return NULL;
14022}
14023
14024
c32bde28 14025static PyObject *_wrap_Grid_DeselectRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14026 PyObject *resultobj;
14027 wxGrid *arg1 = (wxGrid *) 0 ;
14028 int arg2 ;
14029 PyObject * obj0 = 0 ;
994141e6 14030 PyObject * obj1 = 0 ;
d14a1e28
RD
14031 char *kwnames[] = {
14032 (char *) "self",(char *) "row", NULL
14033 };
14034
994141e6 14035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14038 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14039 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14040 {
14041 PyThreadState* __tstate = wxPyBeginAllowThreads();
14042 (arg1)->DeselectRow(arg2);
14043
14044 wxPyEndAllowThreads(__tstate);
14045 if (PyErr_Occurred()) SWIG_fail;
14046 }
14047 Py_INCREF(Py_None); resultobj = Py_None;
14048 return resultobj;
14049 fail:
14050 return NULL;
14051}
14052
14053
c32bde28 14054static PyObject *_wrap_Grid_DeselectCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14055 PyObject *resultobj;
14056 wxGrid *arg1 = (wxGrid *) 0 ;
14057 int arg2 ;
14058 PyObject * obj0 = 0 ;
994141e6 14059 PyObject * obj1 = 0 ;
d14a1e28
RD
14060 char *kwnames[] = {
14061 (char *) "self",(char *) "col", NULL
14062 };
14063
994141e6 14064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14067 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14068 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14069 {
14070 PyThreadState* __tstate = wxPyBeginAllowThreads();
14071 (arg1)->DeselectCol(arg2);
14072
14073 wxPyEndAllowThreads(__tstate);
14074 if (PyErr_Occurred()) SWIG_fail;
14075 }
14076 Py_INCREF(Py_None); resultobj = Py_None;
14077 return resultobj;
14078 fail:
14079 return NULL;
14080}
14081
14082
c32bde28 14083static PyObject *_wrap_Grid_DeselectCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14084 PyObject *resultobj;
14085 wxGrid *arg1 = (wxGrid *) 0 ;
14086 int arg2 ;
14087 int arg3 ;
14088 PyObject * obj0 = 0 ;
994141e6
RD
14089 PyObject * obj1 = 0 ;
14090 PyObject * obj2 = 0 ;
d14a1e28
RD
14091 char *kwnames[] = {
14092 (char *) "self",(char *) "row",(char *) "col", NULL
14093 };
14094
994141e6 14095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DeselectCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14098 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14099 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14100 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 14101 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14102 {
14103 PyThreadState* __tstate = wxPyBeginAllowThreads();
14104 (arg1)->DeselectCell(arg2,arg3);
14105
14106 wxPyEndAllowThreads(__tstate);
14107 if (PyErr_Occurred()) SWIG_fail;
14108 }
14109 Py_INCREF(Py_None); resultobj = Py_None;
14110 return resultobj;
14111 fail:
14112 return NULL;
14113}
14114
14115
c32bde28 14116static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14117 PyObject *resultobj;
14118 wxGrid *arg1 = (wxGrid *) 0 ;
14119 wxGridCellCoords *arg2 = 0 ;
14120 wxGridCellCoords *arg3 = 0 ;
14121 wxRect result;
14122 wxGridCellCoords temp2 ;
14123 wxGridCellCoords temp3 ;
14124 PyObject * obj0 = 0 ;
14125 PyObject * obj1 = 0 ;
14126 PyObject * obj2 = 0 ;
14127 char *kwnames[] = {
14128 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
14129 };
14130
14131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_BlockToDeviceRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14134 {
14135 arg2 = &temp2;
14136 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
14137 }
14138 {
14139 arg3 = &temp3;
14140 if (! wxGridCellCoords_helper(obj2, &arg3)) SWIG_fail;
14141 }
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 result = (arg1)->BlockToDeviceRect((wxGridCellCoords const &)*arg2,(wxGridCellCoords const &)*arg3);
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 {
14150 wxRect * resultptr;
14151 resultptr = new wxRect((wxRect &) result);
15afbcd0 14152 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
14153 }
14154 return resultobj;
14155 fail:
14156 return NULL;
14157}
14158
14159
c32bde28 14160static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14161 PyObject *resultobj;
14162 wxGrid *arg1 = (wxGrid *) 0 ;
14163 wxColour result;
14164 PyObject * obj0 = 0 ;
14165 char *kwnames[] = {
14166 (char *) "self", NULL
14167 };
14168
14169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
14170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14172 {
14173 PyThreadState* __tstate = wxPyBeginAllowThreads();
14174 result = ((wxGrid const *)arg1)->GetSelectionBackground();
14175
14176 wxPyEndAllowThreads(__tstate);
14177 if (PyErr_Occurred()) SWIG_fail;
14178 }
14179 {
14180 wxColour * resultptr;
14181 resultptr = new wxColour((wxColour &) result);
15afbcd0 14182 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
14183 }
14184 return resultobj;
14185 fail:
14186 return NULL;
14187}
14188
14189
c32bde28 14190static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14191 PyObject *resultobj;
14192 wxGrid *arg1 = (wxGrid *) 0 ;
14193 wxColour result;
14194 PyObject * obj0 = 0 ;
14195 char *kwnames[] = {
14196 (char *) "self", NULL
14197 };
14198
14199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionForeground",kwnames,&obj0)) goto fail;
15afbcd0
RD
14200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14202 {
14203 PyThreadState* __tstate = wxPyBeginAllowThreads();
14204 result = ((wxGrid const *)arg1)->GetSelectionForeground();
14205
14206 wxPyEndAllowThreads(__tstate);
14207 if (PyErr_Occurred()) SWIG_fail;
14208 }
14209 {
14210 wxColour * resultptr;
14211 resultptr = new wxColour((wxColour &) result);
15afbcd0 14212 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
14213 }
14214 return resultobj;
14215 fail:
14216 return NULL;
14217}
14218
14219
c32bde28 14220static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14221 PyObject *resultobj;
14222 wxGrid *arg1 = (wxGrid *) 0 ;
14223 wxColour *arg2 = 0 ;
14224 wxColour temp2 ;
14225 PyObject * obj0 = 0 ;
14226 PyObject * obj1 = 0 ;
14227 char *kwnames[] = {
14228 (char *) "self",(char *) "c", NULL
14229 };
14230
14231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14234 {
14235 arg2 = &temp2;
14236 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14237 }
14238 {
14239 PyThreadState* __tstate = wxPyBeginAllowThreads();
14240 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
14241
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 Py_INCREF(Py_None); resultobj = Py_None;
14246 return resultobj;
14247 fail:
14248 return NULL;
14249}
14250
14251
c32bde28 14252static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14253 PyObject *resultobj;
14254 wxGrid *arg1 = (wxGrid *) 0 ;
14255 wxColour *arg2 = 0 ;
14256 wxColour temp2 ;
14257 PyObject * obj0 = 0 ;
14258 PyObject * obj1 = 0 ;
14259 char *kwnames[] = {
14260 (char *) "self",(char *) "c", NULL
14261 };
14262
14263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionForeground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14266 {
14267 arg2 = &temp2;
14268 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14269 }
14270 {
14271 PyThreadState* __tstate = wxPyBeginAllowThreads();
14272 (arg1)->SetSelectionForeground((wxColour const &)*arg2);
14273
14274 wxPyEndAllowThreads(__tstate);
14275 if (PyErr_Occurred()) SWIG_fail;
14276 }
14277 Py_INCREF(Py_None); resultobj = Py_None;
14278 return resultobj;
14279 fail:
14280 return NULL;
14281}
14282
14283
c32bde28 14284static PyObject *_wrap_Grid_RegisterDataType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14285 PyObject *resultobj;
14286 wxGrid *arg1 = (wxGrid *) 0 ;
14287 wxString *arg2 = 0 ;
14288 wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
14289 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
ae8162c8 14290 bool temp2 = false ;
d14a1e28
RD
14291 PyObject * obj0 = 0 ;
14292 PyObject * obj1 = 0 ;
14293 PyObject * obj2 = 0 ;
14294 PyObject * obj3 = 0 ;
14295 char *kwnames[] = {
14296 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
14297 };
14298
14299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_RegisterDataType",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14302 {
14303 arg2 = wxString_in_helper(obj1);
14304 if (arg2 == NULL) SWIG_fail;
ae8162c8 14305 temp2 = true;
d14a1e28 14306 }
15afbcd0
RD
14307 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellRenderer,
14308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14309 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
14310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14311 {
14312 PyThreadState* __tstate = wxPyBeginAllowThreads();
14313 (arg1)->RegisterDataType((wxString const &)*arg2,arg3,arg4);
14314
14315 wxPyEndAllowThreads(__tstate);
14316 if (PyErr_Occurred()) SWIG_fail;
14317 }
14318 Py_INCREF(Py_None); resultobj = Py_None;
14319 {
14320 if (temp2)
14321 delete arg2;
14322 }
14323 return resultobj;
14324 fail:
14325 {
14326 if (temp2)
14327 delete arg2;
14328 }
14329 return NULL;
14330}
14331
14332
c32bde28 14333static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14334 PyObject *resultobj;
14335 wxGrid *arg1 = (wxGrid *) 0 ;
14336 int arg2 ;
14337 int arg3 ;
14338 wxGridCellEditor *result;
14339 PyObject * obj0 = 0 ;
994141e6
RD
14340 PyObject * obj1 = 0 ;
14341 PyObject * obj2 = 0 ;
d14a1e28
RD
14342 char *kwnames[] = {
14343 (char *) "self",(char *) "row",(char *) "col", NULL
14344 };
14345
994141e6 14346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14349 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14350 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14351 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 14352 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14353 {
14354 PyThreadState* __tstate = wxPyBeginAllowThreads();
14355 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForCell(arg2,arg3);
14356
14357 wxPyEndAllowThreads(__tstate);
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
14360 {
412d302d 14361 resultobj = wxPyMake_wxGridCellEditor(result, 0);
d14a1e28
RD
14362 }
14363 return resultobj;
14364 fail:
14365 return NULL;
14366}
14367
14368
c32bde28 14369static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14370 PyObject *resultobj;
14371 wxGrid *arg1 = (wxGrid *) 0 ;
14372 int arg2 ;
14373 int arg3 ;
14374 wxGridCellRenderer *result;
14375 PyObject * obj0 = 0 ;
994141e6
RD
14376 PyObject * obj1 = 0 ;
14377 PyObject * obj2 = 0 ;
d14a1e28
RD
14378 char *kwnames[] = {
14379 (char *) "self",(char *) "row",(char *) "col", NULL
14380 };
14381
994141e6 14382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14385 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14386 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14387 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 14388 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14389 {
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForCell(arg2,arg3);
14392
14393 wxPyEndAllowThreads(__tstate);
14394 if (PyErr_Occurred()) SWIG_fail;
14395 }
14396 {
412d302d 14397 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
d14a1e28
RD
14398 }
14399 return resultobj;
14400 fail:
14401 return NULL;
14402}
14403
14404
c32bde28 14405static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14406 PyObject *resultobj;
14407 wxGrid *arg1 = (wxGrid *) 0 ;
14408 wxString *arg2 = 0 ;
14409 wxGridCellEditor *result;
ae8162c8 14410 bool temp2 = false ;
d14a1e28
RD
14411 PyObject * obj0 = 0 ;
14412 PyObject * obj1 = 0 ;
14413 char *kwnames[] = {
14414 (char *) "self",(char *) "typeName", NULL
14415 };
14416
14417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultEditorForType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14420 {
14421 arg2 = wxString_in_helper(obj1);
14422 if (arg2 == NULL) SWIG_fail;
ae8162c8 14423 temp2 = true;
d14a1e28
RD
14424 }
14425 {
14426 PyThreadState* __tstate = wxPyBeginAllowThreads();
14427 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForType((wxString const &)*arg2);
14428
14429 wxPyEndAllowThreads(__tstate);
14430 if (PyErr_Occurred()) SWIG_fail;
14431 }
14432 {
412d302d 14433 resultobj = wxPyMake_wxGridCellEditor(result, 0);
d14a1e28
RD
14434 }
14435 {
14436 if (temp2)
14437 delete arg2;
14438 }
14439 return resultobj;
14440 fail:
14441 {
14442 if (temp2)
14443 delete arg2;
14444 }
14445 return NULL;
14446}
14447
14448
c32bde28 14449static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14450 PyObject *resultobj;
14451 wxGrid *arg1 = (wxGrid *) 0 ;
14452 wxString *arg2 = 0 ;
14453 wxGridCellRenderer *result;
ae8162c8 14454 bool temp2 = false ;
d14a1e28
RD
14455 PyObject * obj0 = 0 ;
14456 PyObject * obj1 = 0 ;
14457 char *kwnames[] = {
14458 (char *) "self",(char *) "typeName", NULL
14459 };
14460
14461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultRendererForType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14464 {
14465 arg2 = wxString_in_helper(obj1);
14466 if (arg2 == NULL) SWIG_fail;
ae8162c8 14467 temp2 = true;
d14a1e28
RD
14468 }
14469 {
14470 PyThreadState* __tstate = wxPyBeginAllowThreads();
14471 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForType((wxString const &)*arg2);
14472
14473 wxPyEndAllowThreads(__tstate);
14474 if (PyErr_Occurred()) SWIG_fail;
14475 }
14476 {
412d302d 14477 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
d14a1e28
RD
14478 }
14479 {
14480 if (temp2)
14481 delete arg2;
14482 }
14483 return resultobj;
14484 fail:
14485 {
14486 if (temp2)
14487 delete arg2;
14488 }
14489 return NULL;
14490}
14491
14492
c32bde28 14493static PyObject *_wrap_Grid_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14494 PyObject *resultobj;
14495 wxGrid *arg1 = (wxGrid *) 0 ;
14496 int arg2 ;
14497 int arg3 ;
14498 PyObject * obj0 = 0 ;
994141e6
RD
14499 PyObject * obj1 = 0 ;
14500 PyObject * obj2 = 0 ;
d14a1e28
RD
14501 char *kwnames[] = {
14502 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14503 };
14504
994141e6 14505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14508 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14509 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14510 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 14511 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14512 {
14513 PyThreadState* __tstate = wxPyBeginAllowThreads();
14514 (arg1)->SetMargins(arg2,arg3);
14515
14516 wxPyEndAllowThreads(__tstate);
14517 if (PyErr_Occurred()) SWIG_fail;
14518 }
14519 Py_INCREF(Py_None); resultobj = Py_None;
14520 return resultobj;
14521 fail:
14522 return NULL;
14523}
14524
14525
c32bde28 14526static PyObject *_wrap_Grid_GetGridWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14527 PyObject *resultobj;
14528 wxGrid *arg1 = (wxGrid *) 0 ;
14529 wxWindow *result;
14530 PyObject * obj0 = 0 ;
14531 char *kwnames[] = {
14532 (char *) "self", NULL
14533 };
14534
14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14538 {
14539 PyThreadState* __tstate = wxPyBeginAllowThreads();
14540 result = (wxWindow *)(arg1)->GetGridWindow();
14541
14542 wxPyEndAllowThreads(__tstate);
14543 if (PyErr_Occurred()) SWIG_fail;
14544 }
14545 {
412d302d 14546 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
14547 }
14548 return resultobj;
14549 fail:
14550 return NULL;
14551}
14552
14553
c32bde28 14554static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14555 PyObject *resultobj;
14556 wxGrid *arg1 = (wxGrid *) 0 ;
14557 wxWindow *result;
14558 PyObject * obj0 = 0 ;
14559 char *kwnames[] = {
14560 (char *) "self", NULL
14561 };
14562
14563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridRowLabelWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14566 {
14567 PyThreadState* __tstate = wxPyBeginAllowThreads();
14568 result = (wxWindow *)(arg1)->GetGridRowLabelWindow();
14569
14570 wxPyEndAllowThreads(__tstate);
14571 if (PyErr_Occurred()) SWIG_fail;
14572 }
14573 {
412d302d 14574 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
14575 }
14576 return resultobj;
14577 fail:
14578 return NULL;
14579}
14580
14581
c32bde28 14582static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14583 PyObject *resultobj;
14584 wxGrid *arg1 = (wxGrid *) 0 ;
14585 wxWindow *result;
14586 PyObject * obj0 = 0 ;
14587 char *kwnames[] = {
14588 (char *) "self", NULL
14589 };
14590
14591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridColLabelWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14594 {
14595 PyThreadState* __tstate = wxPyBeginAllowThreads();
14596 result = (wxWindow *)(arg1)->GetGridColLabelWindow();
14597
14598 wxPyEndAllowThreads(__tstate);
14599 if (PyErr_Occurred()) SWIG_fail;
14600 }
14601 {
412d302d 14602 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
14603 }
14604 return resultobj;
14605 fail:
14606 return NULL;
14607}
14608
14609
c32bde28 14610static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14611 PyObject *resultobj;
14612 wxGrid *arg1 = (wxGrid *) 0 ;
14613 wxWindow *result;
14614 PyObject * obj0 = 0 ;
14615 char *kwnames[] = {
14616 (char *) "self", NULL
14617 };
14618
14619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14622 {
14623 PyThreadState* __tstate = wxPyBeginAllowThreads();
14624 result = (wxWindow *)(arg1)->GetGridCornerLabelWindow();
14625
14626 wxPyEndAllowThreads(__tstate);
14627 if (PyErr_Occurred()) SWIG_fail;
14628 }
14629 {
412d302d 14630 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
14631 }
14632 return resultobj;
14633 fail:
14634 return NULL;
14635}
14636
14637
c32bde28 14638static PyObject *_wrap_Grid_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
14639 PyObject *resultobj;
14640 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14641 wxVisualAttributes result;
14642 PyObject * obj0 = 0 ;
14643 char *kwnames[] = {
14644 (char *) "variant", NULL
14645 };
14646
14647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14648 if (obj0) {
c32bde28 14649 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
14650 if (PyErr_Occurred()) SWIG_fail;
14651 }
14652 {
e3b71cb8 14653 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
14654 PyThreadState* __tstate = wxPyBeginAllowThreads();
14655 result = wxGrid::GetClassDefaultAttributes((wxWindowVariant )arg1);
14656
14657 wxPyEndAllowThreads(__tstate);
110da5b0 14658 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
14659 }
14660 {
14661 wxVisualAttributes * resultptr;
14662 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14663 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14664 }
14665 return resultobj;
14666 fail:
14667 return NULL;
14668}
14669
14670
c32bde28 14671static PyObject * Grid_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14672 PyObject *obj;
14673 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14674 SWIG_TypeClientData(SWIGTYPE_p_wxGrid, obj);
14675 Py_INCREF(obj);
14676 return Py_BuildValue((char *)"");
14677}
c32bde28 14678static PyObject *_wrap_new_GridEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14679 PyObject *resultobj;
14680 int arg1 ;
14681 wxEventType arg2 ;
14682 wxGrid *arg3 = (wxGrid *) 0 ;
14683 int arg4 = (int) -1 ;
14684 int arg5 = (int) -1 ;
14685 int arg6 = (int) -1 ;
14686 int arg7 = (int) -1 ;
ae8162c8
RD
14687 bool arg8 = (bool) true ;
14688 bool arg9 = (bool) false ;
14689 bool arg10 = (bool) false ;
14690 bool arg11 = (bool) false ;
14691 bool arg12 = (bool) false ;
d14a1e28 14692 wxGridEvent *result;
994141e6
RD
14693 PyObject * obj0 = 0 ;
14694 PyObject * obj1 = 0 ;
d14a1e28 14695 PyObject * obj2 = 0 ;
994141e6
RD
14696 PyObject * obj3 = 0 ;
14697 PyObject * obj4 = 0 ;
14698 PyObject * obj5 = 0 ;
14699 PyObject * obj6 = 0 ;
d14a1e28
RD
14700 PyObject * obj7 = 0 ;
14701 PyObject * obj8 = 0 ;
14702 PyObject * obj9 = 0 ;
14703 PyObject * obj10 = 0 ;
14704 PyObject * obj11 = 0 ;
14705 char *kwnames[] = {
14706 (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
14707 };
14708
994141e6 14709 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;
c32bde28 14710 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 14711 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14712 arg2 = (wxEventType)SWIG_As_int(obj1);
15afbcd0
RD
14713 if (PyErr_Occurred()) SWIG_fail;
14714 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 14716 if (obj3) {
c32bde28 14717 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 14718 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14719 }
14720 if (obj4) {
c32bde28 14721 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 14722 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14723 }
14724 if (obj5) {
c32bde28 14725 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 14726 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14727 }
14728 if (obj6) {
c32bde28 14729 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 14730 if (PyErr_Occurred()) SWIG_fail;
994141e6 14731 }
d14a1e28 14732 if (obj7) {
c32bde28 14733 arg8 = (bool)SWIG_As_bool(obj7);
15afbcd0 14734 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14735 }
14736 if (obj8) {
c32bde28 14737 arg9 = (bool)SWIG_As_bool(obj8);
15afbcd0 14738 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14739 }
14740 if (obj9) {
c32bde28 14741 arg10 = (bool)SWIG_As_bool(obj9);
15afbcd0 14742 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14743 }
14744 if (obj10) {
c32bde28 14745 arg11 = (bool)SWIG_As_bool(obj10);
15afbcd0 14746 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14747 }
14748 if (obj11) {
c32bde28 14749 arg12 = (bool)SWIG_As_bool(obj11);
15afbcd0 14750 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14751 }
14752 {
14753 PyThreadState* __tstate = wxPyBeginAllowThreads();
14754 result = (wxGridEvent *)new wxGridEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
14755
14756 wxPyEndAllowThreads(__tstate);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
15afbcd0 14759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEvent, 1);
d14a1e28
RD
14760 return resultobj;
14761 fail:
14762 return NULL;
14763}
14764
14765
c32bde28 14766static PyObject *_wrap_GridEvent_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14767 PyObject *resultobj;
14768 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14769 int result;
14770 PyObject * obj0 = 0 ;
14771 char *kwnames[] = {
14772 (char *) "self", NULL
14773 };
14774
14775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14778 {
14779 PyThreadState* __tstate = wxPyBeginAllowThreads();
14780 result = (int)(arg1)->GetRow();
14781
14782 wxPyEndAllowThreads(__tstate);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
c32bde28 14785 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14786 return resultobj;
14787 fail:
14788 return NULL;
14789}
14790
14791
c32bde28 14792static PyObject *_wrap_GridEvent_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14793 PyObject *resultobj;
14794 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14795 int result;
14796 PyObject * obj0 = 0 ;
14797 char *kwnames[] = {
14798 (char *) "self", NULL
14799 };
14800
14801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
14802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14804 {
14805 PyThreadState* __tstate = wxPyBeginAllowThreads();
14806 result = (int)(arg1)->GetCol();
14807
14808 wxPyEndAllowThreads(__tstate);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 }
c32bde28 14811 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14812 return resultobj;
14813 fail:
14814 return NULL;
14815}
14816
14817
c32bde28 14818static PyObject *_wrap_GridEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14819 PyObject *resultobj;
14820 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14821 wxPoint result;
14822 PyObject * obj0 = 0 ;
14823 char *kwnames[] = {
14824 (char *) "self", NULL
14825 };
14826
14827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
14828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14830 {
14831 PyThreadState* __tstate = wxPyBeginAllowThreads();
14832 result = (arg1)->GetPosition();
14833
14834 wxPyEndAllowThreads(__tstate);
14835 if (PyErr_Occurred()) SWIG_fail;
14836 }
14837 {
14838 wxPoint * resultptr;
14839 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14840 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14841 }
14842 return resultobj;
14843 fail:
14844 return NULL;
14845}
14846
14847
c32bde28 14848static PyObject *_wrap_GridEvent_Selecting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14849 PyObject *resultobj;
14850 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14851 bool result;
14852 PyObject * obj0 = 0 ;
14853 char *kwnames[] = {
14854 (char *) "self", NULL
14855 };
14856
14857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_Selecting",kwnames,&obj0)) goto fail;
15afbcd0
RD
14858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14860 {
14861 PyThreadState* __tstate = wxPyBeginAllowThreads();
14862 result = (bool)(arg1)->Selecting();
14863
14864 wxPyEndAllowThreads(__tstate);
14865 if (PyErr_Occurred()) SWIG_fail;
14866 }
4f89f6a3
RD
14867 {
14868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14869 }
d14a1e28
RD
14870 return resultobj;
14871 fail:
14872 return NULL;
14873}
14874
14875
c32bde28 14876static PyObject *_wrap_GridEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14877 PyObject *resultobj;
14878 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14879 bool result;
14880 PyObject * obj0 = 0 ;
14881 char *kwnames[] = {
14882 (char *) "self", NULL
14883 };
14884
14885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14888 {
14889 PyThreadState* __tstate = wxPyBeginAllowThreads();
14890 result = (bool)(arg1)->ControlDown();
14891
14892 wxPyEndAllowThreads(__tstate);
14893 if (PyErr_Occurred()) SWIG_fail;
14894 }
4f89f6a3
RD
14895 {
14896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14897 }
d14a1e28
RD
14898 return resultobj;
14899 fail:
14900 return NULL;
14901}
14902
14903
c32bde28 14904static PyObject *_wrap_GridEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14905 PyObject *resultobj;
14906 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14907 bool result;
14908 PyObject * obj0 = 0 ;
14909 char *kwnames[] = {
14910 (char *) "self", NULL
14911 };
14912
14913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 result = (bool)(arg1)->MetaDown();
14919
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
4f89f6a3
RD
14923 {
14924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14925 }
d14a1e28
RD
14926 return resultobj;
14927 fail:
14928 return NULL;
14929}
14930
14931
c32bde28 14932static PyObject *_wrap_GridEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14933 PyObject *resultobj;
14934 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14935 bool result;
14936 PyObject * obj0 = 0 ;
14937 char *kwnames[] = {
14938 (char *) "self", NULL
14939 };
14940
14941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14944 {
14945 PyThreadState* __tstate = wxPyBeginAllowThreads();
14946 result = (bool)(arg1)->ShiftDown();
14947
14948 wxPyEndAllowThreads(__tstate);
14949 if (PyErr_Occurred()) SWIG_fail;
14950 }
4f89f6a3
RD
14951 {
14952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14953 }
d14a1e28
RD
14954 return resultobj;
14955 fail:
14956 return NULL;
14957}
14958
14959
c32bde28 14960static PyObject *_wrap_GridEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14961 PyObject *resultobj;
14962 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14963 bool result;
14964 PyObject * obj0 = 0 ;
14965 char *kwnames[] = {
14966 (char *) "self", NULL
14967 };
14968
14969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14972 {
14973 PyThreadState* __tstate = wxPyBeginAllowThreads();
14974 result = (bool)(arg1)->AltDown();
14975
14976 wxPyEndAllowThreads(__tstate);
14977 if (PyErr_Occurred()) SWIG_fail;
14978 }
4f89f6a3
RD
14979 {
14980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14981 }
d14a1e28
RD
14982 return resultobj;
14983 fail:
14984 return NULL;
14985}
14986
14987
c32bde28 14988static PyObject * GridEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14989 PyObject *obj;
14990 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14991 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent, obj);
14992 Py_INCREF(obj);
14993 return Py_BuildValue((char *)"");
14994}
c32bde28 14995static PyObject *_wrap_new_GridSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14996 PyObject *resultobj;
14997 int arg1 ;
14998 wxEventType arg2 ;
14999 wxGrid *arg3 = (wxGrid *) 0 ;
15000 int arg4 = (int) -1 ;
15001 int arg5 = (int) -1 ;
15002 int arg6 = (int) -1 ;
ae8162c8
RD
15003 bool arg7 = (bool) false ;
15004 bool arg8 = (bool) false ;
15005 bool arg9 = (bool) false ;
15006 bool arg10 = (bool) false ;
d14a1e28 15007 wxGridSizeEvent *result;
994141e6
RD
15008 PyObject * obj0 = 0 ;
15009 PyObject * obj1 = 0 ;
d14a1e28 15010 PyObject * obj2 = 0 ;
994141e6
RD
15011 PyObject * obj3 = 0 ;
15012 PyObject * obj4 = 0 ;
15013 PyObject * obj5 = 0 ;
d14a1e28
RD
15014 PyObject * obj6 = 0 ;
15015 PyObject * obj7 = 0 ;
15016 PyObject * obj8 = 0 ;
15017 PyObject * obj9 = 0 ;
15018 char *kwnames[] = {
15019 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
15020 };
15021
994141e6 15022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
c32bde28 15023 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 15024 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15025 arg2 = (wxEventType)SWIG_As_int(obj1);
15afbcd0
RD
15026 if (PyErr_Occurred()) SWIG_fail;
15027 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
15028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 15029 if (obj3) {
c32bde28 15030 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 15031 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15032 }
15033 if (obj4) {
c32bde28 15034 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 15035 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15036 }
15037 if (obj5) {
c32bde28 15038 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 15039 if (PyErr_Occurred()) SWIG_fail;
994141e6 15040 }
d14a1e28 15041 if (obj6) {
c32bde28 15042 arg7 = (bool)SWIG_As_bool(obj6);
15afbcd0 15043 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15044 }
15045 if (obj7) {
c32bde28 15046 arg8 = (bool)SWIG_As_bool(obj7);
15afbcd0 15047 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15048 }
15049 if (obj8) {
c32bde28 15050 arg9 = (bool)SWIG_As_bool(obj8);
15afbcd0 15051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15052 }
15053 if (obj9) {
c32bde28 15054 arg10 = (bool)SWIG_As_bool(obj9);
15afbcd0 15055 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15056 }
15057 {
15058 PyThreadState* __tstate = wxPyBeginAllowThreads();
15059 result = (wxGridSizeEvent *)new wxGridSizeEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
15060
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
15afbcd0 15064 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizeEvent, 1);
d14a1e28
RD
15065 return resultobj;
15066 fail:
15067 return NULL;
15068}
15069
15070
c32bde28 15071static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15072 PyObject *resultobj;
15073 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15074 int result;
15075 PyObject * obj0 = 0 ;
15076 char *kwnames[] = {
15077 (char *) "self", NULL
15078 };
15079
15080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
15081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 result = (int)(arg1)->GetRowOrCol();
15086
15087 wxPyEndAllowThreads(__tstate);
15088 if (PyErr_Occurred()) SWIG_fail;
15089 }
c32bde28 15090 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15091 return resultobj;
15092 fail:
15093 return NULL;
15094}
15095
15096
c32bde28 15097static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15098 PyObject *resultobj;
15099 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15100 wxPoint result;
15101 PyObject * obj0 = 0 ;
15102 char *kwnames[] = {
15103 (char *) "self", NULL
15104 };
15105
15106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
15107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15109 {
15110 PyThreadState* __tstate = wxPyBeginAllowThreads();
15111 result = (arg1)->GetPosition();
15112
15113 wxPyEndAllowThreads(__tstate);
15114 if (PyErr_Occurred()) SWIG_fail;
15115 }
15116 {
15117 wxPoint * resultptr;
15118 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 15119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
15120 }
15121 return resultobj;
15122 fail:
15123 return NULL;
15124}
15125
15126
c32bde28 15127static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15128 PyObject *resultobj;
15129 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15130 bool result;
15131 PyObject * obj0 = 0 ;
15132 char *kwnames[] = {
15133 (char *) "self", NULL
15134 };
15135
15136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15139 {
15140 PyThreadState* __tstate = wxPyBeginAllowThreads();
15141 result = (bool)(arg1)->ControlDown();
15142
15143 wxPyEndAllowThreads(__tstate);
15144 if (PyErr_Occurred()) SWIG_fail;
15145 }
4f89f6a3
RD
15146 {
15147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15148 }
d14a1e28
RD
15149 return resultobj;
15150 fail:
15151 return NULL;
15152}
15153
15154
c32bde28 15155static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15156 PyObject *resultobj;
15157 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15158 bool result;
15159 PyObject * obj0 = 0 ;
15160 char *kwnames[] = {
15161 (char *) "self", NULL
15162 };
15163
15164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15167 {
15168 PyThreadState* __tstate = wxPyBeginAllowThreads();
15169 result = (bool)(arg1)->MetaDown();
15170
15171 wxPyEndAllowThreads(__tstate);
15172 if (PyErr_Occurred()) SWIG_fail;
15173 }
4f89f6a3
RD
15174 {
15175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15176 }
d14a1e28
RD
15177 return resultobj;
15178 fail:
15179 return NULL;
15180}
15181
15182
c32bde28 15183static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15184 PyObject *resultobj;
15185 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15186 bool result;
15187 PyObject * obj0 = 0 ;
15188 char *kwnames[] = {
15189 (char *) "self", NULL
15190 };
15191
15192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15195 {
15196 PyThreadState* __tstate = wxPyBeginAllowThreads();
15197 result = (bool)(arg1)->ShiftDown();
15198
15199 wxPyEndAllowThreads(__tstate);
15200 if (PyErr_Occurred()) SWIG_fail;
15201 }
4f89f6a3
RD
15202 {
15203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15204 }
d14a1e28
RD
15205 return resultobj;
15206 fail:
15207 return NULL;
15208}
15209
15210
c32bde28 15211static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15212 PyObject *resultobj;
15213 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15214 bool result;
15215 PyObject * obj0 = 0 ;
15216 char *kwnames[] = {
15217 (char *) "self", NULL
15218 };
15219
15220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15223 {
15224 PyThreadState* __tstate = wxPyBeginAllowThreads();
15225 result = (bool)(arg1)->AltDown();
15226
15227 wxPyEndAllowThreads(__tstate);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
4f89f6a3
RD
15230 {
15231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15232 }
d14a1e28
RD
15233 return resultobj;
15234 fail:
15235 return NULL;
15236}
15237
15238
c32bde28 15239static PyObject * GridSizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15240 PyObject *obj;
15241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15242 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent, obj);
15243 Py_INCREF(obj);
15244 return Py_BuildValue((char *)"");
15245}
c32bde28 15246static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15247 PyObject *resultobj;
15248 int arg1 ;
15249 wxEventType arg2 ;
15250 wxGrid *arg3 = (wxGrid *) 0 ;
15251 wxGridCellCoords *arg4 = 0 ;
15252 wxGridCellCoords *arg5 = 0 ;
ae8162c8
RD
15253 bool arg6 = (bool) true ;
15254 bool arg7 = (bool) false ;
15255 bool arg8 = (bool) false ;
15256 bool arg9 = (bool) false ;
15257 bool arg10 = (bool) false ;
d14a1e28
RD
15258 wxGridRangeSelectEvent *result;
15259 wxGridCellCoords temp4 ;
15260 wxGridCellCoords temp5 ;
994141e6
RD
15261 PyObject * obj0 = 0 ;
15262 PyObject * obj1 = 0 ;
d14a1e28
RD
15263 PyObject * obj2 = 0 ;
15264 PyObject * obj3 = 0 ;
15265 PyObject * obj4 = 0 ;
15266 PyObject * obj5 = 0 ;
15267 PyObject * obj6 = 0 ;
15268 PyObject * obj7 = 0 ;
15269 PyObject * obj8 = 0 ;
15270 PyObject * obj9 = 0 ;
15271 char *kwnames[] = {
15272 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
15273 };
15274
994141e6 15275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
c32bde28 15276 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 15277 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15278 arg2 = (wxEventType)SWIG_As_int(obj1);
15afbcd0
RD
15279 if (PyErr_Occurred()) SWIG_fail;
15280 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
15281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15282 {
15283 arg4 = &temp4;
15284 if (! wxGridCellCoords_helper(obj3, &arg4)) SWIG_fail;
15285 }
15286 {
15287 arg5 = &temp5;
15288 if (! wxGridCellCoords_helper(obj4, &arg5)) SWIG_fail;
15289 }
15290 if (obj5) {
c32bde28 15291 arg6 = (bool)SWIG_As_bool(obj5);
15afbcd0 15292 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15293 }
15294 if (obj6) {
c32bde28 15295 arg7 = (bool)SWIG_As_bool(obj6);
15afbcd0 15296 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15297 }
15298 if (obj7) {
c32bde28 15299 arg8 = (bool)SWIG_As_bool(obj7);
15afbcd0 15300 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15301 }
15302 if (obj8) {
c32bde28 15303 arg9 = (bool)SWIG_As_bool(obj8);
15afbcd0 15304 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15305 }
15306 if (obj9) {
c32bde28 15307 arg10 = (bool)SWIG_As_bool(obj9);
15afbcd0 15308 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15309 }
15310 {
15311 PyThreadState* __tstate = wxPyBeginAllowThreads();
15312 result = (wxGridRangeSelectEvent *)new wxGridRangeSelectEvent(arg1,arg2,arg3,(wxGridCellCoords const &)*arg4,(wxGridCellCoords const &)*arg5,arg6,arg7,arg8,arg9,arg10);
15313
15314 wxPyEndAllowThreads(__tstate);
15315 if (PyErr_Occurred()) SWIG_fail;
15316 }
15afbcd0 15317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridRangeSelectEvent, 1);
d14a1e28
RD
15318 return resultobj;
15319 fail:
15320 return NULL;
15321}
15322
15323
c32bde28 15324static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15325 PyObject *resultobj;
15326 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15327 wxGridCellCoords result;
15328 PyObject * obj0 = 0 ;
15329 char *kwnames[] = {
15330 (char *) "self", NULL
15331 };
15332
15333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames,&obj0)) goto fail;
15afbcd0
RD
15334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 result = (arg1)->GetTopLeftCoords();
15339
15340 wxPyEndAllowThreads(__tstate);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 }
15343 {
15344 wxGridCellCoords * resultptr;
15345 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15afbcd0 15346 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
15347 }
15348 return resultobj;
15349 fail:
15350 return NULL;
15351}
15352
15353
c32bde28 15354static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15355 PyObject *resultobj;
15356 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15357 wxGridCellCoords result;
15358 PyObject * obj0 = 0 ;
15359 char *kwnames[] = {
15360 (char *) "self", NULL
15361 };
15362
15363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames,&obj0)) goto fail;
15afbcd0
RD
15364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15366 {
15367 PyThreadState* __tstate = wxPyBeginAllowThreads();
15368 result = (arg1)->GetBottomRightCoords();
15369
15370 wxPyEndAllowThreads(__tstate);
15371 if (PyErr_Occurred()) SWIG_fail;
15372 }
15373 {
15374 wxGridCellCoords * resultptr;
15375 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15afbcd0 15376 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
15377 }
15378 return resultobj;
15379 fail:
15380 return NULL;
15381}
15382
15383
c32bde28 15384static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15385 PyObject *resultobj;
15386 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15387 int result;
15388 PyObject * obj0 = 0 ;
15389 char *kwnames[] = {
15390 (char *) "self", NULL
15391 };
15392
15393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15396 {
15397 PyThreadState* __tstate = wxPyBeginAllowThreads();
15398 result = (int)(arg1)->GetTopRow();
15399
15400 wxPyEndAllowThreads(__tstate);
15401 if (PyErr_Occurred()) SWIG_fail;
15402 }
c32bde28 15403 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15404 return resultobj;
15405 fail:
15406 return NULL;
15407}
15408
15409
c32bde28 15410static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15411 PyObject *resultobj;
15412 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15413 int result;
15414 PyObject * obj0 = 0 ;
15415 char *kwnames[] = {
15416 (char *) "self", NULL
15417 };
15418
15419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15422 {
15423 PyThreadState* __tstate = wxPyBeginAllowThreads();
15424 result = (int)(arg1)->GetBottomRow();
15425
15426 wxPyEndAllowThreads(__tstate);
15427 if (PyErr_Occurred()) SWIG_fail;
15428 }
c32bde28 15429 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15430 return resultobj;
15431 fail:
15432 return NULL;
15433}
15434
15435
c32bde28 15436static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15437 PyObject *resultobj;
15438 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15439 int result;
15440 PyObject * obj0 = 0 ;
15441 char *kwnames[] = {
15442 (char *) "self", NULL
15443 };
15444
15445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
15446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15448 {
15449 PyThreadState* __tstate = wxPyBeginAllowThreads();
15450 result = (int)(arg1)->GetLeftCol();
15451
15452 wxPyEndAllowThreads(__tstate);
15453 if (PyErr_Occurred()) SWIG_fail;
15454 }
c32bde28 15455 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15456 return resultobj;
15457 fail:
15458 return NULL;
15459}
15460
15461
c32bde28 15462static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15463 PyObject *resultobj;
15464 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15465 int result;
15466 PyObject * obj0 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "self", NULL
15469 };
15470
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
15472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15474 {
15475 PyThreadState* __tstate = wxPyBeginAllowThreads();
15476 result = (int)(arg1)->GetRightCol();
15477
15478 wxPyEndAllowThreads(__tstate);
15479 if (PyErr_Occurred()) SWIG_fail;
15480 }
c32bde28 15481 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15482 return resultobj;
15483 fail:
15484 return NULL;
15485}
15486
15487
c32bde28 15488static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15489 PyObject *resultobj;
15490 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15491 bool result;
15492 PyObject * obj0 = 0 ;
15493 char *kwnames[] = {
15494 (char *) "self", NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_Selecting",kwnames,&obj0)) goto fail;
15afbcd0
RD
15498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15500 {
15501 PyThreadState* __tstate = wxPyBeginAllowThreads();
15502 result = (bool)(arg1)->Selecting();
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
4f89f6a3
RD
15507 {
15508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15509 }
d14a1e28
RD
15510 return resultobj;
15511 fail:
15512 return NULL;
15513}
15514
15515
c32bde28 15516static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15517 PyObject *resultobj;
15518 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15519 bool result;
15520 PyObject * obj0 = 0 ;
15521 char *kwnames[] = {
15522 (char *) "self", NULL
15523 };
15524
15525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15528 {
15529 PyThreadState* __tstate = wxPyBeginAllowThreads();
15530 result = (bool)(arg1)->ControlDown();
15531
15532 wxPyEndAllowThreads(__tstate);
15533 if (PyErr_Occurred()) SWIG_fail;
15534 }
4f89f6a3
RD
15535 {
15536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15537 }
d14a1e28
RD
15538 return resultobj;
15539 fail:
15540 return NULL;
15541}
15542
15543
c32bde28 15544static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15545 PyObject *resultobj;
15546 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15547 bool result;
15548 PyObject * obj0 = 0 ;
15549 char *kwnames[] = {
15550 (char *) "self", NULL
15551 };
15552
15553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15556 {
15557 PyThreadState* __tstate = wxPyBeginAllowThreads();
15558 result = (bool)(arg1)->MetaDown();
15559
15560 wxPyEndAllowThreads(__tstate);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
4f89f6a3
RD
15563 {
15564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15565 }
d14a1e28
RD
15566 return resultobj;
15567 fail:
15568 return NULL;
15569}
15570
15571
c32bde28 15572static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15573 PyObject *resultobj;
15574 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15575 bool result;
15576 PyObject * obj0 = 0 ;
15577 char *kwnames[] = {
15578 (char *) "self", NULL
15579 };
15580
15581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15584 {
15585 PyThreadState* __tstate = wxPyBeginAllowThreads();
15586 result = (bool)(arg1)->ShiftDown();
15587
15588 wxPyEndAllowThreads(__tstate);
15589 if (PyErr_Occurred()) SWIG_fail;
15590 }
4f89f6a3
RD
15591 {
15592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15593 }
d14a1e28
RD
15594 return resultobj;
15595 fail:
15596 return NULL;
15597}
15598
15599
c32bde28 15600static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15601 PyObject *resultobj;
15602 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15603 bool result;
15604 PyObject * obj0 = 0 ;
15605 char *kwnames[] = {
15606 (char *) "self", NULL
15607 };
15608
15609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15612 {
15613 PyThreadState* __tstate = wxPyBeginAllowThreads();
15614 result = (bool)(arg1)->AltDown();
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
4f89f6a3
RD
15619 {
15620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15621 }
d14a1e28
RD
15622 return resultobj;
15623 fail:
15624 return NULL;
15625}
15626
15627
c32bde28 15628static PyObject * GridRangeSelectEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15629 PyObject *obj;
15630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15631 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent, obj);
15632 Py_INCREF(obj);
15633 return Py_BuildValue((char *)"");
15634}
c32bde28 15635static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15636 PyObject *resultobj;
15637 int arg1 ;
15638 wxEventType arg2 ;
15639 wxObject *arg3 = (wxObject *) 0 ;
15640 int arg4 ;
15641 int arg5 ;
15642 wxControl *arg6 = (wxControl *) 0 ;
15643 wxGridEditorCreatedEvent *result;
994141e6
RD
15644 PyObject * obj0 = 0 ;
15645 PyObject * obj1 = 0 ;
d14a1e28 15646 PyObject * obj2 = 0 ;
994141e6
RD
15647 PyObject * obj3 = 0 ;
15648 PyObject * obj4 = 0 ;
d14a1e28
RD
15649 PyObject * obj5 = 0 ;
15650 char *kwnames[] = {
15651 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15652 };
15653
994141e6 15654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
c32bde28 15655 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 15656 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15657 arg2 = (wxEventType)SWIG_As_int(obj1);
15afbcd0
RD
15658 if (PyErr_Occurred()) SWIG_fail;
15659 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxObject,
15660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15661 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 15662 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15663 arg5 = (int)SWIG_As_int(obj4);
15afbcd0
RD
15664 if (PyErr_Occurred()) SWIG_fail;
15665 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxControl,
15666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15667 {
15668 PyThreadState* __tstate = wxPyBeginAllowThreads();
15669 result = (wxGridEditorCreatedEvent *)new wxGridEditorCreatedEvent(arg1,arg2,arg3,arg4,arg5,arg6);
15670
15671 wxPyEndAllowThreads(__tstate);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 }
15afbcd0 15674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEditorCreatedEvent, 1);
d14a1e28
RD
15675 return resultobj;
15676 fail:
15677 return NULL;
15678}
15679
15680
c32bde28 15681static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15682 PyObject *resultobj;
15683 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15684 int result;
15685 PyObject * obj0 = 0 ;
15686 char *kwnames[] = {
15687 (char *) "self", NULL
15688 };
15689
15690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15693 {
15694 PyThreadState* __tstate = wxPyBeginAllowThreads();
15695 result = (int)(arg1)->GetRow();
15696
15697 wxPyEndAllowThreads(__tstate);
15698 if (PyErr_Occurred()) SWIG_fail;
15699 }
c32bde28 15700 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15701 return resultobj;
15702 fail:
15703 return NULL;
15704}
15705
15706
c32bde28 15707static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15708 PyObject *resultobj;
15709 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15710 int result;
15711 PyObject * obj0 = 0 ;
15712 char *kwnames[] = {
15713 (char *) "self", NULL
15714 };
15715
15716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
15717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15719 {
15720 PyThreadState* __tstate = wxPyBeginAllowThreads();
15721 result = (int)(arg1)->GetCol();
15722
15723 wxPyEndAllowThreads(__tstate);
15724 if (PyErr_Occurred()) SWIG_fail;
15725 }
c32bde28 15726 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15727 return resultobj;
15728 fail:
15729 return NULL;
15730}
15731
15732
c32bde28 15733static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15734 PyObject *resultobj;
15735 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15736 wxControl *result;
15737 PyObject * obj0 = 0 ;
15738 char *kwnames[] = {
15739 (char *) "self", NULL
15740 };
15741
15742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
15743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15745 {
15746 PyThreadState* __tstate = wxPyBeginAllowThreads();
15747 result = (wxControl *)(arg1)->GetControl();
15748
15749 wxPyEndAllowThreads(__tstate);
15750 if (PyErr_Occurred()) SWIG_fail;
15751 }
15752 {
412d302d 15753 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
15754 }
15755 return resultobj;
15756 fail:
15757 return NULL;
15758}
15759
15760
c32bde28 15761static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15762 PyObject *resultobj;
15763 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15764 int arg2 ;
15765 PyObject * obj0 = 0 ;
994141e6 15766 PyObject * obj1 = 0 ;
d14a1e28
RD
15767 char *kwnames[] = {
15768 (char *) "self",(char *) "row", NULL
15769 };
15770
994141e6 15771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15774 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15775 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15776 {
15777 PyThreadState* __tstate = wxPyBeginAllowThreads();
15778 (arg1)->SetRow(arg2);
15779
15780 wxPyEndAllowThreads(__tstate);
15781 if (PyErr_Occurred()) SWIG_fail;
15782 }
15783 Py_INCREF(Py_None); resultobj = Py_None;
15784 return resultobj;
15785 fail:
15786 return NULL;
15787}
15788
15789
c32bde28 15790static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15791 PyObject *resultobj;
15792 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15793 int arg2 ;
15794 PyObject * obj0 = 0 ;
994141e6 15795 PyObject * obj1 = 0 ;
d14a1e28
RD
15796 char *kwnames[] = {
15797 (char *) "self",(char *) "col", NULL
15798 };
15799
994141e6 15800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15803 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15804 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15805 {
15806 PyThreadState* __tstate = wxPyBeginAllowThreads();
15807 (arg1)->SetCol(arg2);
15808
15809 wxPyEndAllowThreads(__tstate);
15810 if (PyErr_Occurred()) SWIG_fail;
15811 }
15812 Py_INCREF(Py_None); resultobj = Py_None;
15813 return resultobj;
15814 fail:
15815 return NULL;
15816}
15817
15818
c32bde28 15819static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15820 PyObject *resultobj;
15821 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15822 wxControl *arg2 = (wxControl *) 0 ;
15823 PyObject * obj0 = 0 ;
15824 PyObject * obj1 = 0 ;
15825 char *kwnames[] = {
15826 (char *) "self",(char *) "ctrl", NULL
15827 };
15828
15829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15832 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
15833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15834 {
15835 PyThreadState* __tstate = wxPyBeginAllowThreads();
15836 (arg1)->SetControl(arg2);
15837
15838 wxPyEndAllowThreads(__tstate);
15839 if (PyErr_Occurred()) SWIG_fail;
15840 }
15841 Py_INCREF(Py_None); resultobj = Py_None;
15842 return resultobj;
15843 fail:
15844 return NULL;
15845}
15846
15847
c32bde28 15848static PyObject * GridEditorCreatedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15849 PyObject *obj;
15850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15851 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent, obj);
15852 Py_INCREF(obj);
15853 return Py_BuildValue((char *)"");
15854}
15855static PyMethodDef SwigMethods[] = {
c32bde28
RD
15856 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction) _wrap_GridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15857 { (char *)"GridCellRenderer_SetParameters", (PyCFunction) _wrap_GridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS, NULL },
15858 { (char *)"GridCellRenderer_IncRef", (PyCFunction) _wrap_GridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS, NULL },
15859 { (char *)"GridCellRenderer_DecRef", (PyCFunction) _wrap_GridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS, NULL },
15860 { (char *)"GridCellRenderer_Draw", (PyCFunction) _wrap_GridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS, NULL },
15861 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction) _wrap_GridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
15862 { (char *)"GridCellRenderer_Clone", (PyCFunction) _wrap_GridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
15863 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister, METH_VARARGS, NULL },
15864 { (char *)"new_PyGridCellRenderer", (PyCFunction) _wrap_new_PyGridCellRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15865 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_PyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15866 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_PyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS, NULL },
15867 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister, METH_VARARGS, NULL },
15868 { (char *)"new_GridCellStringRenderer", (PyCFunction) _wrap_new_GridCellStringRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15869 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister, METH_VARARGS, NULL },
15870 { (char *)"new_GridCellNumberRenderer", (PyCFunction) _wrap_new_GridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15871 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister, METH_VARARGS, NULL },
15872 { (char *)"new_GridCellFloatRenderer", (PyCFunction) _wrap_new_GridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15873 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
15874 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
15875 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS, NULL },
15876 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS, NULL },
15877 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister, METH_VARARGS, NULL },
15878 { (char *)"new_GridCellBoolRenderer", (PyCFunction) _wrap_new_GridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15879 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister, METH_VARARGS, NULL },
15880 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction) _wrap_new_GridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15881 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister, METH_VARARGS, NULL },
15882 { (char *)"new_GridCellEnumRenderer", (PyCFunction) _wrap_new_GridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15883 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister, METH_VARARGS, NULL },
15884 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_GridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15885 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister, METH_VARARGS, NULL },
15886 { (char *)"GridCellEditor__setOORInfo", (PyCFunction) _wrap_GridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15887 { (char *)"GridCellEditor_IsCreated", (PyCFunction) _wrap_GridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS, NULL },
15888 { (char *)"GridCellEditor_GetControl", (PyCFunction) _wrap_GridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
15889 { (char *)"GridCellEditor_SetControl", (PyCFunction) _wrap_GridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS, NULL },
15890 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction) _wrap_GridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15891 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction) _wrap_GridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15892 { (char *)"GridCellEditor_SetParameters", (PyCFunction) _wrap_GridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS, NULL },
15893 { (char *)"GridCellEditor_IncRef", (PyCFunction) _wrap_GridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS, NULL },
15894 { (char *)"GridCellEditor_DecRef", (PyCFunction) _wrap_GridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS, NULL },
15895 { (char *)"GridCellEditor_Create", (PyCFunction) _wrap_GridCellEditor_Create, METH_VARARGS | METH_KEYWORDS, NULL },
15896 { (char *)"GridCellEditor_BeginEdit", (PyCFunction) _wrap_GridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS, NULL },
15897 { (char *)"GridCellEditor_EndEdit", (PyCFunction) _wrap_GridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS, NULL },
15898 { (char *)"GridCellEditor_Reset", (PyCFunction) _wrap_GridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS, NULL },
15899 { (char *)"GridCellEditor_Clone", (PyCFunction) _wrap_GridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
15900 { (char *)"GridCellEditor_SetSize", (PyCFunction) _wrap_GridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
15901 { (char *)"GridCellEditor_Show", (PyCFunction) _wrap_GridCellEditor_Show, METH_VARARGS | METH_KEYWORDS, NULL },
15902 { (char *)"GridCellEditor_PaintBackground", (PyCFunction) _wrap_GridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS, NULL },
15903 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_GridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS, NULL },
15904 { (char *)"GridCellEditor_StartingKey", (PyCFunction) _wrap_GridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS, NULL },
15905 { (char *)"GridCellEditor_StartingClick", (PyCFunction) _wrap_GridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS, NULL },
15906 { (char *)"GridCellEditor_HandleReturn", (PyCFunction) _wrap_GridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS, NULL },
15907 { (char *)"GridCellEditor_Destroy", (PyCFunction) _wrap_GridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
15908 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister, METH_VARARGS, NULL },
15909 { (char *)"new_PyGridCellEditor", (PyCFunction) _wrap_new_PyGridCellEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15910 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_PyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15911 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction) _wrap_PyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
15912 { (char *)"PyGridCellEditor_base_Show", (PyCFunction) _wrap_PyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS, NULL },
15913 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_PyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS, NULL },
15914 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_PyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS, NULL },
15915 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_PyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS, NULL },
15916 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_PyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS, NULL },
15917 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_PyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS, NULL },
15918 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction) _wrap_PyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
15919 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_PyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS, NULL },
15920 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister, METH_VARARGS, NULL },
15921 { (char *)"new_GridCellTextEditor", (PyCFunction) _wrap_new_GridCellTextEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15922 { (char *)"GridCellTextEditor_GetValue", (PyCFunction) _wrap_GridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
15923 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister, METH_VARARGS, NULL },
15924 { (char *)"new_GridCellNumberEditor", (PyCFunction) _wrap_new_GridCellNumberEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15925 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction) _wrap_GridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
15926 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister, METH_VARARGS, NULL },
15927 { (char *)"new_GridCellFloatEditor", (PyCFunction) _wrap_new_GridCellFloatEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15928 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction) _wrap_GridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
15929 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS, NULL },
15930 { (char *)"new_GridCellBoolEditor", (PyCFunction) _wrap_new_GridCellBoolEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15931 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction) _wrap_GridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
15932 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS, NULL },
15933 { (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15934 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction) _wrap_GridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
15935 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister, METH_VARARGS, NULL },
15936 { (char *)"new_GridCellEnumEditor", (PyCFunction) _wrap_new_GridCellEnumEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15937 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction) _wrap_GridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
15938 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister, METH_VARARGS, NULL },
15939 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_GridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15940 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_GridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
15941 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister, METH_VARARGS, NULL },
15942 { (char *)"GridCellAttr__setOORInfo", (PyCFunction) _wrap_GridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15943 { (char *)"new_GridCellAttr", (PyCFunction) _wrap_new_GridCellAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15944 { (char *)"GridCellAttr_Clone", (PyCFunction) _wrap_GridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
15945 { (char *)"GridCellAttr_MergeWith", (PyCFunction) _wrap_GridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS, NULL },
15946 { (char *)"GridCellAttr_IncRef", (PyCFunction) _wrap_GridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS, NULL },
15947 { (char *)"GridCellAttr_DecRef", (PyCFunction) _wrap_GridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS, NULL },
15948 { (char *)"GridCellAttr_SetTextColour", (PyCFunction) _wrap_GridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
15949 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
15950 { (char *)"GridCellAttr_SetFont", (PyCFunction) _wrap_GridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
15951 { (char *)"GridCellAttr_SetAlignment", (PyCFunction) _wrap_GridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
15952 { (char *)"GridCellAttr_SetSize", (PyCFunction) _wrap_GridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
15953 { (char *)"GridCellAttr_SetOverflow", (PyCFunction) _wrap_GridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS, NULL },
15954 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction) _wrap_GridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL },
15955 { (char *)"GridCellAttr_SetRenderer", (PyCFunction) _wrap_GridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15956 { (char *)"GridCellAttr_SetEditor", (PyCFunction) _wrap_GridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15957 { (char *)"GridCellAttr_SetKind", (PyCFunction) _wrap_GridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS, NULL },
15958 { (char *)"GridCellAttr_HasTextColour", (PyCFunction) _wrap_GridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
15959 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_GridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
15960 { (char *)"GridCellAttr_HasFont", (PyCFunction) _wrap_GridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
15961 { (char *)"GridCellAttr_HasAlignment", (PyCFunction) _wrap_GridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
15962 { (char *)"GridCellAttr_HasRenderer", (PyCFunction) _wrap_GridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15963 { (char *)"GridCellAttr_HasEditor", (PyCFunction) _wrap_GridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15964 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_GridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS, NULL },
15965 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction) _wrap_GridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS, NULL },
15966 { (char *)"GridCellAttr_GetTextColour", (PyCFunction) _wrap_GridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
15967 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
15968 { (char *)"GridCellAttr_GetFont", (PyCFunction) _wrap_GridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
15969 { (char *)"GridCellAttr_GetAlignment", (PyCFunction) _wrap_GridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
15970 { (char *)"GridCellAttr_GetSize", (PyCFunction) _wrap_GridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
15971 { (char *)"GridCellAttr_GetOverflow", (PyCFunction) _wrap_GridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS, NULL },
15972 { (char *)"GridCellAttr_GetRenderer", (PyCFunction) _wrap_GridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
15973 { (char *)"GridCellAttr_GetEditor", (PyCFunction) _wrap_GridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS, NULL },
15974 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction) _wrap_GridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS, NULL },
15975 { (char *)"GridCellAttr_GetKind", (PyCFunction) _wrap_GridCellAttr_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
15976 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction) _wrap_GridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15977 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister, METH_VARARGS, NULL },
15978 { (char *)"new_GridCellAttrProvider", (PyCFunction) _wrap_new_GridCellAttrProvider, METH_VARARGS | METH_KEYWORDS, NULL },
15979 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_GridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15980 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction) _wrap_GridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15981 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15982 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15983 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15984 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS, NULL },
15985 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS, NULL },
15986 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister, METH_VARARGS, NULL },
15987 { (char *)"new_PyGridCellAttrProvider", (PyCFunction) _wrap_new_PyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS, NULL },
15988 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_PyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15989 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15990 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15991 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15992 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS, NULL },
15993 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister, METH_VARARGS, NULL },
15994 { (char *)"GridTableBase__setOORInfo", (PyCFunction) _wrap_GridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
15995 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction) _wrap_GridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS, NULL },
15996 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction) _wrap_GridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS, NULL },
15997 { (char *)"GridTableBase_SetView", (PyCFunction) _wrap_GridTableBase_SetView, METH_VARARGS | METH_KEYWORDS, NULL },
15998 { (char *)"GridTableBase_GetView", (PyCFunction) _wrap_GridTableBase_GetView, METH_VARARGS | METH_KEYWORDS, NULL },
15999 { (char *)"GridTableBase_GetNumberRows", (PyCFunction) _wrap_GridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS, NULL },
16000 { (char *)"GridTableBase_GetNumberCols", (PyCFunction) _wrap_GridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS, NULL },
16001 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction) _wrap_GridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS, NULL },
16002 { (char *)"GridTableBase_GetValue", (PyCFunction) _wrap_GridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
16003 { (char *)"GridTableBase_SetValue", (PyCFunction) _wrap_GridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
16004 { (char *)"GridTableBase_GetTypeName", (PyCFunction) _wrap_GridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS, NULL },
16005 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction) _wrap_GridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS, NULL },
16006 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction) _wrap_GridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS, NULL },
16007 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction) _wrap_GridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS, NULL },
16008 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction) _wrap_GridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS, NULL },
16009 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction) _wrap_GridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS, NULL },
16010 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction) _wrap_GridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS, NULL },
16011 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction) _wrap_GridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS, NULL },
16012 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction) _wrap_GridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS, NULL },
16013 { (char *)"GridTableBase_Clear", (PyCFunction) _wrap_GridTableBase_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
16014 { (char *)"GridTableBase_InsertRows", (PyCFunction) _wrap_GridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS, NULL },
16015 { (char *)"GridTableBase_AppendRows", (PyCFunction) _wrap_GridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS, NULL },
16016 { (char *)"GridTableBase_DeleteRows", (PyCFunction) _wrap_GridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS, NULL },
16017 { (char *)"GridTableBase_InsertCols", (PyCFunction) _wrap_GridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS, NULL },
16018 { (char *)"GridTableBase_AppendCols", (PyCFunction) _wrap_GridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS, NULL },
16019 { (char *)"GridTableBase_DeleteCols", (PyCFunction) _wrap_GridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS, NULL },
16020 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction) _wrap_GridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16021 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction) _wrap_GridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16022 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction) _wrap_GridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16023 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction) _wrap_GridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16024 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction) _wrap_GridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
16025 { (char *)"GridTableBase_GetAttr", (PyCFunction) _wrap_GridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16026 { (char *)"GridTableBase_SetAttr", (PyCFunction) _wrap_GridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16027 { (char *)"GridTableBase_SetRowAttr", (PyCFunction) _wrap_GridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16028 { (char *)"GridTableBase_SetColAttr", (PyCFunction) _wrap_GridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16029 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister, METH_VARARGS, NULL },
16030 { (char *)"new_PyGridTableBase", (PyCFunction) _wrap_new_PyGridTableBase, METH_VARARGS | METH_KEYWORDS, NULL },
16031 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_PyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
16032 { (char *)"PyGridTableBase_Destroy", (PyCFunction) _wrap_PyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
16033 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_PyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS, NULL },
16034 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS, NULL },
16035 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS, NULL },
16036 { (char *)"PyGridTableBase_base_Clear", (PyCFunction) _wrap_PyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
16037 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction) _wrap_PyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS, NULL },
16038 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction) _wrap_PyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS, NULL },
16039 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_PyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS, NULL },
16040 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction) _wrap_PyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS, NULL },
16041 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction) _wrap_PyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS, NULL },
16042 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_PyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS, NULL },
16043 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16044 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16045 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16046 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16047 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_PyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
16048 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction) _wrap_PyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16049 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16050 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16051 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16052 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister, METH_VARARGS, NULL },
16053 { (char *)"new_GridStringTable", (PyCFunction) _wrap_new_GridStringTable, METH_VARARGS | METH_KEYWORDS, NULL },
16054 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister, METH_VARARGS, NULL },
16055 { (char *)"new_GridTableMessage", (PyCFunction) _wrap_new_GridTableMessage, METH_VARARGS | METH_KEYWORDS, NULL },
16056 { (char *)"delete_GridTableMessage", (PyCFunction) _wrap_delete_GridTableMessage, METH_VARARGS | METH_KEYWORDS, NULL },
16057 { (char *)"GridTableMessage_SetTableObject", (PyCFunction) _wrap_GridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS, NULL },
16058 { (char *)"GridTableMessage_GetTableObject", (PyCFunction) _wrap_GridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS, NULL },
16059 { (char *)"GridTableMessage_SetId", (PyCFunction) _wrap_GridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
16060 { (char *)"GridTableMessage_GetId", (PyCFunction) _wrap_GridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
16061 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction) _wrap_GridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS, NULL },
16062 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction) _wrap_GridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS, NULL },
16063 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction) _wrap_GridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS, NULL },
16064 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction) _wrap_GridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS, NULL },
16065 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister, METH_VARARGS, NULL },
16066 { (char *)"new_GridCellCoords", (PyCFunction) _wrap_new_GridCellCoords, METH_VARARGS | METH_KEYWORDS, NULL },
16067 { (char *)"delete_GridCellCoords", (PyCFunction) _wrap_delete_GridCellCoords, METH_VARARGS | METH_KEYWORDS, NULL },
16068 { (char *)"GridCellCoords_GetRow", (PyCFunction) _wrap_GridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS, NULL },
16069 { (char *)"GridCellCoords_SetRow", (PyCFunction) _wrap_GridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS, NULL },
16070 { (char *)"GridCellCoords_GetCol", (PyCFunction) _wrap_GridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS, NULL },
16071 { (char *)"GridCellCoords_SetCol", (PyCFunction) _wrap_GridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS, NULL },
16072 { (char *)"GridCellCoords_Set", (PyCFunction) _wrap_GridCellCoords_Set, METH_VARARGS | METH_KEYWORDS, NULL },
16073 { (char *)"GridCellCoords___eq__", (PyCFunction) _wrap_GridCellCoords___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
16074 { (char *)"GridCellCoords___ne__", (PyCFunction) _wrap_GridCellCoords___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
16075 { (char *)"GridCellCoords_Get", (PyCFunction) _wrap_GridCellCoords_Get, METH_VARARGS | METH_KEYWORDS, NULL },
16076 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister, METH_VARARGS, NULL },
16077 { (char *)"new_Grid", (PyCFunction) _wrap_new_Grid, METH_VARARGS | METH_KEYWORDS, NULL },
16078 { (char *)"new_PreGrid", (PyCFunction) _wrap_new_PreGrid, METH_VARARGS | METH_KEYWORDS, NULL },
16079 { (char *)"Grid_Create", (PyCFunction) _wrap_Grid_Create, METH_VARARGS | METH_KEYWORDS, NULL },
16080 { (char *)"Grid_CreateGrid", (PyCFunction) _wrap_Grid_CreateGrid, METH_VARARGS | METH_KEYWORDS, NULL },
16081 { (char *)"Grid_SetSelectionMode", (PyCFunction) _wrap_Grid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL },
16082 { (char *)"Grid_GetSelectionMode", (PyCFunction) _wrap_Grid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL },
16083 { (char *)"Grid_GetNumberRows", (PyCFunction) _wrap_Grid_GetNumberRows, METH_VARARGS | METH_KEYWORDS, NULL },
16084 { (char *)"Grid_GetNumberCols", (PyCFunction) _wrap_Grid_GetNumberCols, METH_VARARGS | METH_KEYWORDS, NULL },
16085 { (char *)"Grid_ProcessTableMessage", (PyCFunction) _wrap_Grid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS, NULL },
16086 { (char *)"Grid_GetTable", (PyCFunction) _wrap_Grid_GetTable, METH_VARARGS | METH_KEYWORDS, NULL },
16087 { (char *)"Grid_SetTable", (PyCFunction) _wrap_Grid_SetTable, METH_VARARGS | METH_KEYWORDS, NULL },
16088 { (char *)"Grid_ClearGrid", (PyCFunction) _wrap_Grid_ClearGrid, METH_VARARGS | METH_KEYWORDS, NULL },
16089 { (char *)"Grid_InsertRows", (PyCFunction) _wrap_Grid_InsertRows, METH_VARARGS | METH_KEYWORDS, NULL },
16090 { (char *)"Grid_AppendRows", (PyCFunction) _wrap_Grid_AppendRows, METH_VARARGS | METH_KEYWORDS, NULL },
16091 { (char *)"Grid_DeleteRows", (PyCFunction) _wrap_Grid_DeleteRows, METH_VARARGS | METH_KEYWORDS, NULL },
16092 { (char *)"Grid_InsertCols", (PyCFunction) _wrap_Grid_InsertCols, METH_VARARGS | METH_KEYWORDS, NULL },
16093 { (char *)"Grid_AppendCols", (PyCFunction) _wrap_Grid_AppendCols, METH_VARARGS | METH_KEYWORDS, NULL },
16094 { (char *)"Grid_DeleteCols", (PyCFunction) _wrap_Grid_DeleteCols, METH_VARARGS | METH_KEYWORDS, NULL },
16095 { (char *)"Grid_DrawCellHighlight", (PyCFunction) _wrap_Grid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
16096 { (char *)"Grid_DrawTextRectangle", (PyCFunction) _wrap_Grid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS, NULL },
16097 { (char *)"Grid_GetTextBoxSize", (PyCFunction) _wrap_Grid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS, NULL },
16098 { (char *)"Grid_BeginBatch", (PyCFunction) _wrap_Grid_BeginBatch, METH_VARARGS | METH_KEYWORDS, NULL },
16099 { (char *)"Grid_EndBatch", (PyCFunction) _wrap_Grid_EndBatch, METH_VARARGS | METH_KEYWORDS, NULL },
16100 { (char *)"Grid_GetBatchCount", (PyCFunction) _wrap_Grid_GetBatchCount, METH_VARARGS | METH_KEYWORDS, NULL },
16101 { (char *)"Grid_ForceRefresh", (PyCFunction) _wrap_Grid_ForceRefresh, METH_VARARGS | METH_KEYWORDS, NULL },
16102 { (char *)"Grid_IsEditable", (PyCFunction) _wrap_Grid_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL },
16103 { (char *)"Grid_EnableEditing", (PyCFunction) _wrap_Grid_EnableEditing, METH_VARARGS | METH_KEYWORDS, NULL },
16104 { (char *)"Grid_EnableCellEditControl", (PyCFunction) _wrap_Grid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
16105 { (char *)"Grid_DisableCellEditControl", (PyCFunction) _wrap_Grid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
16106 { (char *)"Grid_CanEnableCellControl", (PyCFunction) _wrap_Grid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS, NULL },
16107 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction) _wrap_Grid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
16108 { (char *)"Grid_IsCellEditControlShown", (PyCFunction) _wrap_Grid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS, NULL },
16109 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction) _wrap_Grid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS, NULL },
16110 { (char *)"Grid_ShowCellEditControl", (PyCFunction) _wrap_Grid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
16111 { (char *)"Grid_HideCellEditControl", (PyCFunction) _wrap_Grid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
16112 { (char *)"Grid_SaveEditControlValue", (PyCFunction) _wrap_Grid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS, NULL },
16113 { (char *)"Grid_XYToCell", (PyCFunction) _wrap_Grid_XYToCell, METH_VARARGS | METH_KEYWORDS, NULL },
16114 { (char *)"Grid_YToRow", (PyCFunction) _wrap_Grid_YToRow, METH_VARARGS | METH_KEYWORDS, NULL },
16115 { (char *)"Grid_XToCol", (PyCFunction) _wrap_Grid_XToCol, METH_VARARGS | METH_KEYWORDS, NULL },
16116 { (char *)"Grid_YToEdgeOfRow", (PyCFunction) _wrap_Grid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS, NULL },
16117 { (char *)"Grid_XToEdgeOfCol", (PyCFunction) _wrap_Grid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS, NULL },
16118 { (char *)"Grid_CellToRect", (PyCFunction) _wrap_Grid_CellToRect, METH_VARARGS | METH_KEYWORDS, NULL },
16119 { (char *)"Grid_GetGridCursorRow", (PyCFunction) _wrap_Grid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS, NULL },
16120 { (char *)"Grid_GetGridCursorCol", (PyCFunction) _wrap_Grid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS, NULL },
16121 { (char *)"Grid_IsVisible", (PyCFunction) _wrap_Grid_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
16122 { (char *)"Grid_MakeCellVisible", (PyCFunction) _wrap_Grid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS, NULL },
16123 { (char *)"Grid_SetGridCursor", (PyCFunction) _wrap_Grid_SetGridCursor, METH_VARARGS | METH_KEYWORDS, NULL },
16124 { (char *)"Grid_MoveCursorUp", (PyCFunction) _wrap_Grid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS, NULL },
16125 { (char *)"Grid_MoveCursorDown", (PyCFunction) _wrap_Grid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS, NULL },
16126 { (char *)"Grid_MoveCursorLeft", (PyCFunction) _wrap_Grid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS, NULL },
16127 { (char *)"Grid_MoveCursorRight", (PyCFunction) _wrap_Grid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS, NULL },
16128 { (char *)"Grid_MovePageDown", (PyCFunction) _wrap_Grid_MovePageDown, METH_VARARGS | METH_KEYWORDS, NULL },
16129 { (char *)"Grid_MovePageUp", (PyCFunction) _wrap_Grid_MovePageUp, METH_VARARGS | METH_KEYWORDS, NULL },
16130 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction) _wrap_Grid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS, NULL },
16131 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction) _wrap_Grid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS, NULL },
16132 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction) _wrap_Grid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS, NULL },
16133 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction) _wrap_Grid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS, NULL },
16134 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction) _wrap_Grid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16135 { (char *)"Grid_GetRowLabelSize", (PyCFunction) _wrap_Grid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16136 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction) _wrap_Grid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16137 { (char *)"Grid_GetColLabelSize", (PyCFunction) _wrap_Grid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16138 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction) _wrap_Grid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
16139 { (char *)"Grid_GetLabelTextColour", (PyCFunction) _wrap_Grid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
16140 { (char *)"Grid_GetLabelFont", (PyCFunction) _wrap_Grid_GetLabelFont, METH_VARARGS | METH_KEYWORDS, NULL },
16141 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction) _wrap_Grid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16142 { (char *)"Grid_GetColLabelAlignment", (PyCFunction) _wrap_Grid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16143 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction) _wrap_Grid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
16144 { (char *)"Grid_GetRowLabelValue", (PyCFunction) _wrap_Grid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16145 { (char *)"Grid_GetColLabelValue", (PyCFunction) _wrap_Grid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16146 { (char *)"Grid_GetGridLineColour", (PyCFunction) _wrap_Grid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS, NULL },
16147 { (char *)"Grid_GetCellHighlightColour", (PyCFunction) _wrap_Grid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL },
16148 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS, NULL },
16149 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS, NULL },
16150 { (char *)"Grid_SetRowLabelSize", (PyCFunction) _wrap_Grid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16151 { (char *)"Grid_SetColLabelSize", (PyCFunction) _wrap_Grid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16152 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction) _wrap_Grid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
16153 { (char *)"Grid_SetLabelTextColour", (PyCFunction) _wrap_Grid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
16154 { (char *)"Grid_SetLabelFont", (PyCFunction) _wrap_Grid_SetLabelFont, METH_VARARGS | METH_KEYWORDS, NULL },
16155 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction) _wrap_Grid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16156 { (char *)"Grid_SetColLabelAlignment", (PyCFunction) _wrap_Grid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16157 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction) _wrap_Grid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
16158 { (char *)"Grid_SetRowLabelValue", (PyCFunction) _wrap_Grid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16159 { (char *)"Grid_SetColLabelValue", (PyCFunction) _wrap_Grid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS, NULL },
16160 { (char *)"Grid_SetGridLineColour", (PyCFunction) _wrap_Grid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS, NULL },
16161 { (char *)"Grid_SetCellHighlightColour", (PyCFunction) _wrap_Grid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL },
16162 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS, NULL },
16163 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS, NULL },
16164 { (char *)"Grid_EnableDragRowSize", (PyCFunction) _wrap_Grid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS, NULL },
16165 { (char *)"Grid_DisableDragRowSize", (PyCFunction) _wrap_Grid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS, NULL },
16166 { (char *)"Grid_CanDragRowSize", (PyCFunction) _wrap_Grid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS, NULL },
16167 { (char *)"Grid_EnableDragColSize", (PyCFunction) _wrap_Grid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS, NULL },
16168 { (char *)"Grid_DisableDragColSize", (PyCFunction) _wrap_Grid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS, NULL },
16169 { (char *)"Grid_CanDragColSize", (PyCFunction) _wrap_Grid_CanDragColSize, METH_VARARGS | METH_KEYWORDS, NULL },
16170 { (char *)"Grid_EnableDragGridSize", (PyCFunction) _wrap_Grid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS, NULL },
16171 { (char *)"Grid_DisableDragGridSize", (PyCFunction) _wrap_Grid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS, NULL },
16172 { (char *)"Grid_CanDragGridSize", (PyCFunction) _wrap_Grid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS, NULL },
16173 { (char *)"Grid_EnableDragCell", (PyCFunction) _wrap_Grid_EnableDragCell, METH_VARARGS | METH_KEYWORDS, NULL },
16174 { (char *)"Grid_DisableDragCell", (PyCFunction) _wrap_Grid_DisableDragCell, METH_VARARGS | METH_KEYWORDS, NULL },
16175 { (char *)"Grid_CanDragCell", (PyCFunction) _wrap_Grid_CanDragCell, METH_VARARGS | METH_KEYWORDS, NULL },
16176 { (char *)"Grid_SetAttr", (PyCFunction) _wrap_Grid_SetAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16177 { (char *)"Grid_SetRowAttr", (PyCFunction) _wrap_Grid_SetRowAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16178 { (char *)"Grid_SetColAttr", (PyCFunction) _wrap_Grid_SetColAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16179 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction) _wrap_Grid_GetOrCreateCellAttr, METH_VARARGS | METH_KEYWORDS, NULL },
16180 { (char *)"Grid_SetColFormatBool", (PyCFunction) _wrap_Grid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS, NULL },
16181 { (char *)"Grid_SetColFormatNumber", (PyCFunction) _wrap_Grid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS, NULL },
16182 { (char *)"Grid_SetColFormatFloat", (PyCFunction) _wrap_Grid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS, NULL },
16183 { (char *)"Grid_SetColFormatCustom", (PyCFunction) _wrap_Grid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS, NULL },
16184 { (char *)"Grid_EnableGridLines", (PyCFunction) _wrap_Grid_EnableGridLines, METH_VARARGS | METH_KEYWORDS, NULL },
16185 { (char *)"Grid_GridLinesEnabled", (PyCFunction) _wrap_Grid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
16186 { (char *)"Grid_GetDefaultRowSize", (PyCFunction) _wrap_Grid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS, NULL },
16187 { (char *)"Grid_GetRowSize", (PyCFunction) _wrap_Grid_GetRowSize, METH_VARARGS | METH_KEYWORDS, NULL },
16188 { (char *)"Grid_GetDefaultColSize", (PyCFunction) _wrap_Grid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS, NULL },
16189 { (char *)"Grid_GetColSize", (PyCFunction) _wrap_Grid_GetColSize, METH_VARARGS | METH_KEYWORDS, NULL },
16190 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
16191 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction) _wrap_Grid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
16192 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction) _wrap_Grid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
16193 { (char *)"Grid_GetCellTextColour", (PyCFunction) _wrap_Grid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
16194 { (char *)"Grid_GetDefaultCellFont", (PyCFunction) _wrap_Grid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS, NULL },
16195 { (char *)"Grid_GetCellFont", (PyCFunction) _wrap_Grid_GetCellFont, METH_VARARGS | METH_KEYWORDS, NULL },
16196 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction) _wrap_Grid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16197 { (char *)"Grid_GetCellAlignment", (PyCFunction) _wrap_Grid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16198 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction) _wrap_Grid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS, NULL },
16199 { (char *)"Grid_GetCellOverflow", (PyCFunction) _wrap_Grid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS, NULL },
16200 { (char *)"Grid_GetCellSize", (PyCFunction) _wrap_Grid_GetCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
16201 { (char *)"Grid_SetDefaultRowSize", (PyCFunction) _wrap_Grid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS, NULL },
16202 { (char *)"Grid_SetRowSize", (PyCFunction) _wrap_Grid_SetRowSize, METH_VARARGS | METH_KEYWORDS, NULL },
16203 { (char *)"Grid_SetDefaultColSize", (PyCFunction) _wrap_Grid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS, NULL },
16204 { (char *)"Grid_SetColSize", (PyCFunction) _wrap_Grid_SetColSize, METH_VARARGS | METH_KEYWORDS, NULL },
16205 { (char *)"Grid_AutoSizeColumn", (PyCFunction) _wrap_Grid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS, NULL },
16206 { (char *)"Grid_AutoSizeRow", (PyCFunction) _wrap_Grid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS, NULL },
16207 { (char *)"Grid_AutoSizeColumns", (PyCFunction) _wrap_Grid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS, NULL },
16208 { (char *)"Grid_AutoSizeRows", (PyCFunction) _wrap_Grid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS, NULL },
16209 { (char *)"Grid_AutoSize", (PyCFunction) _wrap_Grid_AutoSize, METH_VARARGS | METH_KEYWORDS, NULL },
16210 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction) _wrap_Grid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16211 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction) _wrap_Grid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS, NULL },
16212 { (char *)"Grid_SetColMinimalWidth", (PyCFunction) _wrap_Grid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS, NULL },
16213 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction) _wrap_Grid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS, NULL },
16214 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS, NULL },
16215 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS, NULL },
16216 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS, NULL },
16217 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS, NULL },
16218 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
16219 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction) _wrap_Grid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
16220 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction) _wrap_Grid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
16221 { (char *)"Grid_SetCellTextColour", (PyCFunction) _wrap_Grid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
16222 { (char *)"Grid_SetDefaultCellFont", (PyCFunction) _wrap_Grid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS, NULL },
16223 { (char *)"Grid_SetCellFont", (PyCFunction) _wrap_Grid_SetCellFont, METH_VARARGS | METH_KEYWORDS, NULL },
16224 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction) _wrap_Grid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16225 { (char *)"Grid_SetCellAlignment", (PyCFunction) _wrap_Grid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
16226 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction) _wrap_Grid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS, NULL },
16227 { (char *)"Grid_SetCellOverflow", (PyCFunction) _wrap_Grid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS, NULL },
16228 { (char *)"Grid_SetCellSize", (PyCFunction) _wrap_Grid_SetCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
16229 { (char *)"Grid_SetDefaultRenderer", (PyCFunction) _wrap_Grid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
16230 { (char *)"Grid_SetCellRenderer", (PyCFunction) _wrap_Grid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
16231 { (char *)"Grid_GetDefaultRenderer", (PyCFunction) _wrap_Grid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
16232 { (char *)"Grid_GetCellRenderer", (PyCFunction) _wrap_Grid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
16233 { (char *)"Grid_SetDefaultEditor", (PyCFunction) _wrap_Grid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS, NULL },
16234 { (char *)"Grid_SetCellEditor", (PyCFunction) _wrap_Grid_SetCellEditor, METH_VARARGS | METH_KEYWORDS, NULL },
16235 { (char *)"Grid_GetDefaultEditor", (PyCFunction) _wrap_Grid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS, NULL },
16236 { (char *)"Grid_GetCellEditor", (PyCFunction) _wrap_Grid_GetCellEditor, METH_VARARGS | METH_KEYWORDS, NULL },
16237 { (char *)"Grid_GetCellValue", (PyCFunction) _wrap_Grid_GetCellValue, METH_VARARGS | METH_KEYWORDS, NULL },
16238 { (char *)"Grid_SetCellValue", (PyCFunction) _wrap_Grid_SetCellValue, METH_VARARGS | METH_KEYWORDS, NULL },
16239 { (char *)"Grid_IsReadOnly", (PyCFunction) _wrap_Grid_IsReadOnly, METH_VARARGS | METH_KEYWORDS, NULL },
16240 { (char *)"Grid_SetReadOnly", (PyCFunction) _wrap_Grid_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL },
16241 { (char *)"Grid_SelectRow", (PyCFunction) _wrap_Grid_SelectRow, METH_VARARGS | METH_KEYWORDS, NULL },
16242 { (char *)"Grid_SelectCol", (PyCFunction) _wrap_Grid_SelectCol, METH_VARARGS | METH_KEYWORDS, NULL },
16243 { (char *)"Grid_SelectBlock", (PyCFunction) _wrap_Grid_SelectBlock, METH_VARARGS | METH_KEYWORDS, NULL },
16244 { (char *)"Grid_SelectAll", (PyCFunction) _wrap_Grid_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
16245 { (char *)"Grid_IsSelection", (PyCFunction) _wrap_Grid_IsSelection, METH_VARARGS | METH_KEYWORDS, NULL },
16246 { (char *)"Grid_ClearSelection", (PyCFunction) _wrap_Grid_ClearSelection, METH_VARARGS | METH_KEYWORDS, NULL },
16247 { (char *)"Grid_IsInSelection", (PyCFunction) _wrap_Grid_IsInSelection, METH_VARARGS | METH_KEYWORDS, NULL },
16248 { (char *)"Grid_GetSelectedCells", (PyCFunction) _wrap_Grid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS, NULL },
16249 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_Grid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
16250 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_Grid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
16251 { (char *)"Grid_GetSelectedRows", (PyCFunction) _wrap_Grid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS, NULL },
16252 { (char *)"Grid_GetSelectedCols", (PyCFunction) _wrap_Grid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS, NULL },
16253 { (char *)"Grid_DeselectRow", (PyCFunction) _wrap_Grid_DeselectRow, METH_VARARGS | METH_KEYWORDS, NULL },
16254 { (char *)"Grid_DeselectCol", (PyCFunction) _wrap_Grid_DeselectCol, METH_VARARGS | METH_KEYWORDS, NULL },
16255 { (char *)"Grid_DeselectCell", (PyCFunction) _wrap_Grid_DeselectCell, METH_VARARGS | METH_KEYWORDS, NULL },
16256 { (char *)"Grid_BlockToDeviceRect", (PyCFunction) _wrap_Grid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS, NULL },
16257 { (char *)"Grid_GetSelectionBackground", (PyCFunction) _wrap_Grid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
16258 { (char *)"Grid_GetSelectionForeground", (PyCFunction) _wrap_Grid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS, NULL },
16259 { (char *)"Grid_SetSelectionBackground", (PyCFunction) _wrap_Grid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
16260 { (char *)"Grid_SetSelectionForeground", (PyCFunction) _wrap_Grid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS, NULL },
16261 { (char *)"Grid_RegisterDataType", (PyCFunction) _wrap_Grid_RegisterDataType, METH_VARARGS | METH_KEYWORDS, NULL },
16262 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction) _wrap_Grid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS, NULL },
16263 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction) _wrap_Grid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS, NULL },
16264 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction) _wrap_Grid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS, NULL },
16265 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction) _wrap_Grid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS, NULL },
16266 { (char *)"Grid_SetMargins", (PyCFunction) _wrap_Grid_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
16267 { (char *)"Grid_GetGridWindow", (PyCFunction) _wrap_Grid_GetGridWindow, METH_VARARGS | METH_KEYWORDS, NULL },
16268 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS, NULL },
16269 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS, NULL },
16270 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS, NULL },
16271 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction) _wrap_Grid_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
16272 { (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS, NULL },
16273 { (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS, NULL },
16274 { (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS, NULL },
16275 { (char *)"GridEvent_GetCol", (PyCFunction) _wrap_GridEvent_GetCol, METH_VARARGS | METH_KEYWORDS, NULL },
16276 { (char *)"GridEvent_GetPosition", (PyCFunction) _wrap_GridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
16277 { (char *)"GridEvent_Selecting", (PyCFunction) _wrap_GridEvent_Selecting, METH_VARARGS | METH_KEYWORDS, NULL },
16278 { (char *)"GridEvent_ControlDown", (PyCFunction) _wrap_GridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
16279 { (char *)"GridEvent_MetaDown", (PyCFunction) _wrap_GridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
16280 { (char *)"GridEvent_ShiftDown", (PyCFunction) _wrap_GridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
16281 { (char *)"GridEvent_AltDown", (PyCFunction) _wrap_GridEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
16282 { (char *)"GridEvent_swigregister", GridEvent_swigregister, METH_VARARGS, NULL },
16283 { (char *)"new_GridSizeEvent", (PyCFunction) _wrap_new_GridSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
16284 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_GridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS, NULL },
16285 { (char *)"GridSizeEvent_GetPosition", (PyCFunction) _wrap_GridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
16286 { (char *)"GridSizeEvent_ControlDown", (PyCFunction) _wrap_GridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
16287 { (char *)"GridSizeEvent_MetaDown", (PyCFunction) _wrap_GridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
16288 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction) _wrap_GridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
16289 { (char *)"GridSizeEvent_AltDown", (PyCFunction) _wrap_GridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
16290 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister, METH_VARARGS, NULL },
16291 { (char *)"new_GridRangeSelectEvent", (PyCFunction) _wrap_new_GridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS, NULL },
16292 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS, NULL },
16293 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS, NULL },
16294 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS, NULL },
16295 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS, NULL },
16296 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS, NULL },
16297 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS, NULL },
16298 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction) _wrap_GridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS, NULL },
16299 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_GridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
16300 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_GridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
16301 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_GridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
16302 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction) _wrap_GridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
16303 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister, METH_VARARGS, NULL },
16304 { (char *)"new_GridEditorCreatedEvent", (PyCFunction) _wrap_new_GridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
16305 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS, NULL },
16306 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS, NULL },
16307 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
16308 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS, NULL },
16309 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS, NULL },
16310 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS, NULL },
16311 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister, METH_VARARGS, NULL },
16312 { NULL, NULL, 0, NULL }
d14a1e28
RD
16313};
16314
16315
16316/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16317
16318static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x) {
16319 return (void *)((wxGridCellRenderer *) ((wxPyGridCellRenderer *) x));
16320}
16321static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x) {
16322 return (void *)((wxGridCellRenderer *) ((wxGridCellStringRenderer *) x));
16323}
16324static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x) {
16325 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
16326}
16327static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x) {
16328 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
16329}
16330static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x) {
16331 return (void *)((wxGridCellRenderer *) ((wxGridCellBoolRenderer *) x));
16332}
16333static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x) {
16334 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
16335}
16336static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x) {
16337 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
16338}
16339static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x) {
16340 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
16341}
16342static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x) {
16343 return (void *)((wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
16344}
16345static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x) {
16346 return (void *)((wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
16347}
16348static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x) {
16349 return (void *)((wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
16350}
16351static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x) {
16352 return (void *)((wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
16353}
16354static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x) {
16355 return (void *)((wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
16356}
16357static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
16358 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
16359}
16360static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
16361 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
16362}
823f0cfe
RD
16363static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
16364 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16365}
d14a1e28
RD
16366static void *_p_wxGridTo_p_wxPanel(void *x) {
16367 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxGrid *) x));
16368}
16369static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
16370 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16371}
16372static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
16373 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16374}
16375static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
16376 return (void *)((wxPanel *) ((wxPyPanel *) x));
16377}
16378static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
16379 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
16380}
16381static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
16382 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
16383}
16384static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
16385 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16386}
16387static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x) {
16388 return (void *)((wxNotifyEvent *) ((wxGridSizeEvent *) x));
16389}
16390static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x) {
16391 return (void *)((wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16392}
16393static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
16394 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
16395}
16396static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x) {
16397 return (void *)((wxNotifyEvent *) ((wxGridEvent *) x));
16398}
823f0cfe
RD
16399static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
16400 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16401}
d14a1e28
RD
16402static void *_p_wxGridTo_p_wxScrolledWindow(void *x) {
16403 return (void *)((wxScrolledWindow *) ((wxGrid *) x));
16404}
16405static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
16406 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
16407}
16408static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
16409 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16410}
16411static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
16412 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16413}
16414static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
16415 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
16416}
16417static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
16418 return (void *)((wxWindow *) ((wxMenuBar *) x));
16419}
16420static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
16421 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16422}
16423static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
16424 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16425}
16426static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
16427 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16428}
16429static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
16430 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16431}
16432static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
16433 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16434}
16435static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
16436 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16437}
16438static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
16439 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16440}
16441static void *_p_wxPanelTo_p_wxWindow(void *x) {
16442 return (void *)((wxWindow *) ((wxPanel *) x));
16443}
16444static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
16445 return (void *)((wxWindow *) ((wxStatusBar *) x));
16446}
16447static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
16448 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
16449}
16450static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
16451 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
16452}
16453static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
16454 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16455}
16456static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
16457 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16458}
16459static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
16460 return (void *)((wxWindow *) ((wxPopupWindow *) x));
16461}
16462static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
16463 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
16464}
16465static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
16466 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
16467}
16468static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
16469 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
16470}
16471static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
16472 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
16473}
16474static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
16475 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
16476}
16477static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
16478 return (void *)((wxWindow *) ((wxSashWindow *) x));
16479}
823f0cfe
RD
16480static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
16481 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16482}
d14a1e28
RD
16483static void *_p_wxControlTo_p_wxWindow(void *x) {
16484 return (void *)((wxWindow *) ((wxControl *) x));
16485}
16486static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
16487 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16488}
16489static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
16490 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16491}
16492static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
16493 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16494}
16495static void *_p_wxGridTo_p_wxWindow(void *x) {
16496 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16497}
16498static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
16499 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
16500}
16501static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
16502 return (void *)((wxWindow *) ((wxPyWindow *) x));
16503}
16504static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
16505 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16506}
16507static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
16508 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16509}
16510static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
16511 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16512}
16513static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
16514 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
16515}
16516static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
16517 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16518}
16519static void *_p_wxFrameTo_p_wxWindow(void *x) {
16520 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
16521}
16522static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
16523 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16524}
16525static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
16526 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16527}
16528static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
16529 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16530}
16531static void *_p_wxDialogTo_p_wxWindow(void *x) {
16532 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
16533}
16534static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
16535 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16536}
16537static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
16538 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16539}
16540static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
16541 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16542}
16543static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
16544 return (void *)((wxControl *) ((wxControlWithItems *) x));
16545}
16546static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
16547 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
16548}
16549static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
16550 return (void *)((wxEvent *) ((wxMenuEvent *) x));
16551}
16552static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
16553 return (void *)((wxEvent *) ((wxCloseEvent *) x));
16554}
16555static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
16556 return (void *)((wxEvent *) ((wxMouseEvent *) x));
16557}
16558static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
16559 return (void *)((wxEvent *) ((wxEraseEvent *) x));
16560}
16561static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
16562 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
16563}
16564static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
16565 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16566}
16567static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
16568 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
16569}
16570static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
16571 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
16572}
16573static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
16574 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
16575}
16576static void *_p_wxPyEventTo_p_wxEvent(void *x) {
16577 return (void *)((wxEvent *) ((wxPyEvent *) x));
16578}
16579static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
16580 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
16581}
16582static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
16583 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
16584}
16585static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x) {
16586 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16587}
16588static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
16589 return (void *)((wxEvent *) ((wxIdleEvent *) x));
16590}
16591static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
16592 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
16593}
16594static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
16595 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
16596}
16597static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
16598 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
16599}
16600static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
16601 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
16602}
16603static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
16604 return (void *)((wxEvent *) ((wxActivateEvent *) x));
16605}
16606static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
16607 return (void *)((wxEvent *) ((wxSizeEvent *) x));
16608}
16609static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
16610 return (void *)((wxEvent *) ((wxMoveEvent *) x));
16611}
16612static void *_p_wxGridSizeEventTo_p_wxEvent(void *x) {
16613 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16614}
16615static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
16616 return (void *)((wxEvent *) ((wxPaintEvent *) x));
16617}
16618static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
16619 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
16620}
16621static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
16622 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
16623}
16624static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
16625 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
16626}
16627static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
16628 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
16629}
16630static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
16631 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16632}
16633static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
16634 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
16635}
16636static void *_p_wxGridEventTo_p_wxEvent(void *x) {
16637 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16638}
16639static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x) {
16640 return (void *)((wxEvent *) (wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16641}
16642static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
16643 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
16644}
16645static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
16646 return (void *)((wxEvent *) ((wxFocusEvent *) x));
16647}
16648static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
16649 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
16650}
16651static void *_p_wxSashEventTo_p_wxEvent(void *x) {
16652 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
16653}
16654static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
16655 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16656}
16657static void *_p_wxShowEventTo_p_wxEvent(void *x) {
16658 return (void *)((wxEvent *) ((wxShowEvent *) x));
16659}
16660static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
16661 return (void *)((wxEvent *) ((wxCommandEvent *) x));
16662}
16663static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
16664 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
16665}
16666static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
16667 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16668}
16669static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
16670 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
16671}
16672static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
16673 return (void *)((wxEvent *) ((wxKeyEvent *) x));
16674}
16675static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
16676 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
16677}
16678static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
16679 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
16680}
16681static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
16682 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
16683}
16684static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
16685 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16686}
16687static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
16688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16689}
16690static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
16691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16692}
16693static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
16694 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
16695}
16696static void *_p_wxSizerItemTo_p_wxObject(void *x) {
16697 return (void *)((wxObject *) ((wxSizerItem *) x));
16698}
16699static void *_p_wxScrollEventTo_p_wxObject(void *x) {
16700 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
16701}
16702static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
16703 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
16704}
16705static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
16706 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
16707}
16708static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
16709 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
16710}
16711static void *_p_wxSizerTo_p_wxObject(void *x) {
16712 return (void *)((wxObject *) ((wxSizer *) x));
16713}
16714static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
16715 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
16716}
16717static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
16718 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
16719}
16720static void *_p_wxPyPanelTo_p_wxObject(void *x) {
16721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16722}
16723static void *_p_wxEventTo_p_wxObject(void *x) {
16724 return (void *)((wxObject *) ((wxEvent *) x));
16725}
16726static void *_p_wxFontDataTo_p_wxObject(void *x) {
16727 return (void *)((wxObject *) ((wxFontData *) x));
16728}
16729static void *_p_wxPrintDataTo_p_wxObject(void *x) {
16730 return (void *)((wxObject *) ((wxPrintData *) x));
16731}
16732static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
16733 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
16734}
16735static void *_p_wxGridSizerTo_p_wxObject(void *x) {
16736 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
16737}
16738static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
16739 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
16740}
16741static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
16742 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
16743}
16744static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
16745 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
16746}
16747static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
16748 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
16749}
16750static void *_p_wxGridStringTableTo_p_wxObject(void *x) {
16751 return (void *)((wxObject *) (wxGridTableBase *) ((wxGridStringTable *) x));
16752}
16753static void *_p_wxPaintEventTo_p_wxObject(void *x) {
16754 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
16755}
16756static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
16757 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
16758}
16759static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
16760 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
16761}
16762static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
16763 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
16764}
16765static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
16766 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16767}
16768static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
16769 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
16770}
16771static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
16772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16773}
16774static void *_p_wxGridEventTo_p_wxObject(void *x) {
16775 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16776}
16777static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x) {
16778 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16779}
16780static void *_p_wxControlTo_p_wxObject(void *x) {
16781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
16782}
16783static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
16784 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
16785}
16786static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
16787 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16788}
16789static void *_p_wxFSFileTo_p_wxObject(void *x) {
16790 return (void *)((wxObject *) ((wxFSFile *) x));
16791}
16792static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
16793 return (void *)((wxObject *) ((wxFindReplaceData *) x));
16794}
16795static void *_p_wxGridTo_p_wxObject(void *x) {
16796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16797}
16798static void *_p_wxPySizerTo_p_wxObject(void *x) {
16799 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
16800}
16801static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
16802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16803}
16804static void *_p_wxColourDataTo_p_wxObject(void *x) {
16805 return (void *)((wxObject *) ((wxColourData *) x));
16806}
16807static void *_p_wxPyEventTo_p_wxObject(void *x) {
16808 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
16809}
16810static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
16811 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
16812}
16813static void *_p_wxPyWindowTo_p_wxObject(void *x) {
16814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
16815}
16816static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
16817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16818}
16819static void *_p_wxFileDialogTo_p_wxObject(void *x) {
16820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16821}
16822static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
16823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16824}
16825static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
16826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16827}
16828static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
16829 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16830}
16831static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
16832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16833}
16834static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
16835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16836}
16837static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
16838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16839}
16840static void *_p_wxShowEventTo_p_wxObject(void *x) {
16841 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
16842}
16843static void *_p_wxPrinterTo_p_wxObject(void *x) {
16844 return (void *)((wxObject *) ((wxPrinter *) x));
16845}
16846static void *_p_wxMenuItemTo_p_wxObject(void *x) {
16847 return (void *)((wxObject *) ((wxMenuItem *) x));
16848}
16849static void *_p_wxIdleEventTo_p_wxObject(void *x) {
16850 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
16851}
16852static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
16853 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
16854}
16855static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
16856 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
16857}
16858static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
16859 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
16860}
16861static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
16862 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
16863}
16864static void *_p_wxSizeEventTo_p_wxObject(void *x) {
16865 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
16866}
16867static void *_p_wxMoveEventTo_p_wxObject(void *x) {
16868 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
16869}
16870static void *_p_wxActivateEventTo_p_wxObject(void *x) {
16871 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
16872}
16873static void *_p_wxGridSizeEventTo_p_wxObject(void *x) {
16874 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16875}
16876static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
16877 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
16878}
16879static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
16880 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
16881}
16882static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
16883 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
16884}
16885static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
16886 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
16887}
16888static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
16889 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
16890}
16891static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
16892 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
16893}
16894static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
16895 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
16896}
16897static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
16898 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
16899}
16900static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
16901 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
16902}
16903static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
16904 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
16905}
16906static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
16907 return (void *)((wxObject *) ((wxImageHandler *) x));
16908}
16909static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
16910 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
16911}
16912static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
16913 return (void *)((wxObject *) ((wxEvtHandler *) x));
16914}
16915static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
16916 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
16917}
16918static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x) {
16919 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16920}
16921static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
16922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16923}
16924static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
16925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16926}
16927static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
16928 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
16929}
16930static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
16931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16932}
16933static void *_p_wxImageTo_p_wxObject(void *x) {
16934 return (void *)((wxObject *) ((wxImage *) x));
16935}
16936static void *_p_wxFrameTo_p_wxObject(void *x) {
16937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16938}
16939static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
16940 return (void *)((wxObject *) ((wxPyPrintout *) x));
16941}
16942static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
16943 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
16944}
16945static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
16946 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
16947}
16948static void *_p_wxStatusBarTo_p_wxObject(void *x) {
16949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
16950}
16951static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
16952 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16953}
16954static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
16955 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16956}
16957static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
16958 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
16959}
16960static void *_p_wxKeyEventTo_p_wxObject(void *x) {
16961 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
16962}
d14a1e28
RD
16963static void *_p_wxWindowTo_p_wxObject(void *x) {
16964 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
16965}
16966static void *_p_wxMenuTo_p_wxObject(void *x) {
16967 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
16968}
16969static void *_p_wxMenuBarTo_p_wxObject(void *x) {
16970 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
16971}
0df68c9f
RD
16972static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
16973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16974}
d14a1e28
RD
16975static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
16976 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
16977}
16978static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
16979 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
16980}
16981static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
16982 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
16983}
16984static void *_p_wxSashWindowTo_p_wxObject(void *x) {
16985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
16986}
16987static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
16988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16989}
16990static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
16991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
16992}
16993static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
16994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16995}
16996static void *_p_wxTipWindowTo_p_wxObject(void *x) {
16997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16998}
16999static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
17000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
17001}
17002static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
17003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
17004}
823f0cfe
RD
17005static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
17006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
17007}
d14a1e28
RD
17008static void *_p_wxSashEventTo_p_wxObject(void *x) {
17009 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
17010}
17011static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
17012 return (void *)((wxObject *) ((wxPrintPreview *) x));
17013}
17014static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
17015 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
17016}
17017static void *_p_wxPanelTo_p_wxObject(void *x) {
17018 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
17019}
17020static void *_p_wxDialogTo_p_wxObject(void *x) {
17021 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
17022}
17023static void *_p_wxColourDialogTo_p_wxObject(void *x) {
17024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
17025}
17026static void *_p_wxDirDialogTo_p_wxObject(void *x) {
17027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
17028}
17029static void *_p_wxFontDialogTo_p_wxObject(void *x) {
17030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
17031}
17032static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
17033 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
17034}
17035static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
17036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
17037}
17038static void *_p_wxFileSystemTo_p_wxObject(void *x) {
17039 return (void *)((wxObject *) ((wxFileSystem *) x));
17040}
17041static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
17042 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
17043}
17044static void *_p_wxMenuEventTo_p_wxObject(void *x) {
17045 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
17046}
17047static void *_p_wxPyAppTo_p_wxObject(void *x) {
17048 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
17049}
17050static void *_p_wxCloseEventTo_p_wxObject(void *x) {
17051 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
17052}
17053static void *_p_wxMouseEventTo_p_wxObject(void *x) {
17054 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
17055}
17056static void *_p_wxEraseEventTo_p_wxObject(void *x) {
17057 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
17058}
17059static void *_p_wxGridTableBaseTo_p_wxObject(void *x) {
17060 return (void *)((wxObject *) ((wxGridTableBase *) x));
17061}
17062static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x) {
17063 return (void *)((wxObject *) (wxGridTableBase *) ((wxPyGridTableBase *) x));
17064}
17065static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
17066 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
17067}
17068static void *_p_wxCommandEventTo_p_wxObject(void *x) {
17069 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
17070}
17071static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
17072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
17073}
17074static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
17075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
17076}
17077static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
17078 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
17079}
17080static void *_p_wxFocusEventTo_p_wxObject(void *x) {
17081 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
17082}
17083static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
17084 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
17085}
17086static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
17087 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17088}
17089static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
17090 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
17091}
17092static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
17093 return (void *)((wxObject *) ((wxPrintDialogData *) x));
17094}
17095static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
17096 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
17097}
17098static void *_p_wxValidatorTo_p_wxObject(void *x) {
17099 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
17100}
17101static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
17102 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
17103}
17104static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
17105 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
17106}
17107static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
17108 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
17109}
17110static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
17111 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
17112}
17113static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
17114 return (void *)((wxEvtHandler *) ((wxValidator *) x));
17115}
17116static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
17117 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
17118}
17119static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
17120 return (void *)((wxEvtHandler *) ((wxMenu *) x));
17121}
17122static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
17123 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
17124}
17125static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
17126 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
17127}
17128static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
17129 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
17130}
17131static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
17132 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
17133}
17134static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
17135 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
17136}
17137static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
17138 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
17139}
17140static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
17141 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
17142}
17143static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
17144 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
17145}
17146static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
17147 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
17148}
17149static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
17150 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
17151}
17152static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
17153 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
17154}
17155static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
17156 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
17157}
17158static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
17159 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
17160}
17161static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
17162 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
17163}
17164static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
17165 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
17166}
17167static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
17168 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
17169}
17170static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
17171 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
17172}
17173static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
17174 return (void *)((wxEvtHandler *) ((wxWindow *) x));
17175}
17176static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
17177 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
17178}
17179static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
17180 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
17181}
17182static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
17183 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
17184}
823f0cfe
RD
17185static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
17186 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
17187}
d14a1e28
RD
17188static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
17189 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
17190}
17191static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
17192 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
17193}
17194static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
17195 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
17196}
17197static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
17198 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
17199}
17200static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
17201 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
17202}
17203static void *_p_wxGridTo_p_wxEvtHandler(void *x) {
17204 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
17205}
17206static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
17207 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17208}
17209static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
17210 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
17211}
17212static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
17213 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
17214}
17215static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
17216 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
17217}
17218static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
17219 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
17220}
17221static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
17222 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
17223}
17224static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
17225 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
17226}
17227static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
17228 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
17229}
17230static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
17231 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
17232}
17233static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
17234 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
17235}
17236static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
17237 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
17238}
17239static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
17240 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
17241}
17242static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
17243 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
17244}
17245static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
17246 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
17247}
17248static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
17249 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
17250}
17251static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
17252 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
17253}
17254static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x) {
17255 return (void *)((wxGridTableBase *) ((wxGridStringTable *) x));
17256}
17257static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x) {
17258 return (void *)((wxGridTableBase *) ((wxPyGridTableBase *) x));
17259}
17260static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x) {
17261 return (void *)((wxGridCellEditor *) ((wxPyGridCellEditor *) x));
17262}
17263static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x) {
17264 return (void *)((wxGridCellEditor *) ((wxGridCellTextEditor *) x));
17265}
17266static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x) {
17267 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
17268}
17269static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x) {
17270 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
17271}
17272static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x) {
17273 return (void *)((wxGridCellEditor *) ((wxGridCellBoolEditor *) x));
17274}
17275static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x) {
17276 return (void *)((wxGridCellEditor *) ((wxGridCellChoiceEditor *) x));
17277}
17278static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x) {
17279 return (void *)((wxGridCellEditor *) (wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
17280}
17281static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x) {
17282 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
17283}
17284static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x) {
17285 return (void *)((wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
17286}
17287static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x) {
17288 return (void *)((wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
17289}
17290static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x) {
17291 return (void *)((wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
17292}
17293static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
17294 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
17295}
17296static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
17297 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17298}
17299static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
17300 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
17301}
17302static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
17303 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
17304}
17305static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
17306 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
17307}
17308static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
17309 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
17310}
17311static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
17312 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
17313}
17314static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x) {
17315 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
17316}
17317static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x) {
17318 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridSizeEvent *) x));
17319}
17320static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
17321 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
17322}
17323static void *_p_wxGridEventTo_p_wxCommandEvent(void *x) {
17324 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridEvent *) x));
17325}
17326static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x) {
17327 return (void *)((wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
17328}
17329static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
17330 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
17331}
17332static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
17333 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
17334}
17335static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
17336 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
17337}
17338static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) {
17339 return (void *)((wxGridCellAttrProvider *) ((wxPyGridCellAttrProvider *) x));
17340}
17341static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) {
17342 return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
17343}
15afbcd0
RD
17344static 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}};
17345static 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}};
17346static 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}};
17347static 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}};
17348static 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}};
17349static 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}};
17350static 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}};
17351static 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}};
17352static 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}};
17353static 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}};
17354static 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}};
17355static 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}};
17356static 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}};
17357static 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}};
22bfe96c 17358static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0 17359static 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}};
823f0cfe 17360static 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}};
15afbcd0
RD
17361static 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}};
17362static 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}};
17363static 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}};
17364static 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}};
823f0cfe
RD
17365static 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}};
17366static 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}};
15afbcd0
RD
17367static 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}};
17368static 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}};
17369static 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}};
823f0cfe 17370static 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}};
15afbcd0
RD
17371static 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}};
17372static 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}};
17373static 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}};
17374static 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}};
823f0cfe 17375static 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}};
15afbcd0
RD
17376static 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}};
17377static 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}};
17378static 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}};
17379static 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}};
17380static 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}};
17381static 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}};
17382static 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}};
17383static 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}};
17384static 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}};
17385static 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}};
17386static 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}};
17387static 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}};
17388static 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}};
17389static 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}};
17390static 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}};
17391static 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}};
17392static 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}};
17393static 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}};
17394static 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}};
17395static 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}};
17396static 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
17397
17398static swig_type_info *swig_types_initial[] = {
17399_swigt__p_wxGridCellAutoWrapStringRenderer,
17400_swigt__p_wxGridCellEnumRenderer,
17401_swigt__p_wxGridCellDateTimeRenderer,
17402_swigt__p_wxGridCellBoolRenderer,
17403_swigt__p_wxGridCellFloatRenderer,
17404_swigt__p_wxGridCellNumberRenderer,
17405_swigt__p_wxPyGridCellRenderer,
17406_swigt__p_wxGridCellRenderer,
17407_swigt__p_wxGridCellStringRenderer,
17408_swigt__p_wxGridCellAttr,
17409_swigt__p_wxColour,
17410_swigt__p_wxDC,
17411_swigt__p_wxGridTableMessage,
17412_swigt__p_wxGrid,
22bfe96c 17413_swigt__p_wxVisualAttributes,
994141e6 17414_swigt__p_char,
d14a1e28
RD
17415_swigt__p_wxPanel,
17416_swigt__p_wxNotifyEvent,
17417_swigt__p_wxGridRangeSelectEvent,
17418_swigt__p_wxSize,
17419_swigt__p_wxGridCellCoords,
17420_swigt__p_wxScrolledWindow,
17421_swigt__p_wxWindow,
17422_swigt__p_wxFont,
17423_swigt__p_wxControl,
17424_swigt__p_wxEvent,
17425_swigt__p_wxObject,
17426_swigt__p_wxGridSizeEvent,
17427_swigt__p_wxRect,
17428_swigt__p_long,
17429_swigt__p_wxString,
17430_swigt__p_wxEvtHandler,
17431_swigt__p_wxPoint,
17432_swigt__p_wxGridEvent,
17433_swigt__p_wxGridEditorCreatedEvent,
17434_swigt__p_wxGridTableBase,
d14a1e28
RD
17435_swigt__p_wxGridCellNumberEditor,
17436_swigt__p_wxPyGridCellEditor,
17437_swigt__p_wxGridCellEditor,
17438_swigt__p_wxGridCellTextEditor,
994141e6 17439_swigt__p_wxGridCellFloatEditor,
d14a1e28
RD
17440_swigt__p_wxGridCellBoolEditor,
17441_swigt__p_wxPyGridTableBase,
17442_swigt__p_wxGridStringTable,
17443_swigt__p_wxArrayString,
17444_swigt__p_wxCommandEvent,
17445_swigt__p_wxGridCellAttrProvider,
17446_swigt__p_wxKeyEvent,
17447_swigt__p_wxGridCellChoiceEditor,
17448_swigt__p_wxGridCellEnumEditor,
17449_swigt__p_wxGridCellAutoWrapStringEditor,
17450_swigt__p_int,
17451_swigt__p_wxPyGridCellAttrProvider,
174520
17453};
17454
17455
17456/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17457
17458static swig_const_info swig_const_table[] = {
15afbcd0
RD
17459{ SWIG_PY_POINTER, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17460{ SWIG_PY_POINTER, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char},
17461{ SWIG_PY_POINTER, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17462{ SWIG_PY_POINTER, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char},
17463{ SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char},
17464{ SWIG_PY_POINTER, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17465{ SWIG_PY_POINTER, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17466{ SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char},
17467{ SWIG_PY_POINTER, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char},
c32bde28 17468{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
17469
17470#ifdef __cplusplus
17471}
17472#endif
17473
17474#ifdef __cplusplus
17475extern "C"
17476#endif
17477SWIGEXPORT(void) SWIG_init(void) {
17478 static PyObject *SWIG_globals = 0;
17479 static int typeinit = 0;
17480 PyObject *m, *d;
17481 int i;
17482 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
17483 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17484 d = PyModule_GetDict(m);
17485
17486 if (!typeinit) {
17487 for (i = 0; swig_types_initial[i]; i++) {
17488 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
17489 }
17490 typeinit = 1;
17491 }
17492 SWIG_InstallConstants(d,swig_const_table);
17493
17494 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
b2dc1044 17495 SWIG_addvarlink(SWIG_globals,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get, _wrap_DateTimeFormatStr_set);
15afbcd0
RD
17496 PyDict_SetItemString(d,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
17497 PyDict_SetItemString(d,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
17498 PyDict_SetItemString(d,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
17499 PyDict_SetItemString(d,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
17500 PyDict_SetItemString(d,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
17501 PyDict_SetItemString(d,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
17502 PyDict_SetItemString(d,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
17503 PyDict_SetItemString(d,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
17504 PyDict_SetItemString(d,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
d14a1e28
RD
17505 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set);
17506 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set);
c32bde28
RD
17507 PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_ROWS", SWIG_From_int((int)wxGRID_DEFAULT_NUMBER_ROWS));
17508 PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_COLS", SWIG_From_int((int)wxGRID_DEFAULT_NUMBER_COLS));
17509 PyDict_SetItemString(d,"GRID_DEFAULT_ROW_HEIGHT", SWIG_From_int((int)wxGRID_DEFAULT_ROW_HEIGHT));
17510 PyDict_SetItemString(d,"GRID_DEFAULT_COL_WIDTH", SWIG_From_int((int)wxGRID_DEFAULT_COL_WIDTH));
17511 PyDict_SetItemString(d,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_From_int((int)wxGRID_DEFAULT_COL_LABEL_HEIGHT));
17512 PyDict_SetItemString(d,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_From_int((int)wxGRID_DEFAULT_ROW_LABEL_WIDTH));
17513 PyDict_SetItemString(d,"GRID_LABEL_EDGE_ZONE", SWIG_From_int((int)wxGRID_LABEL_EDGE_ZONE));
17514 PyDict_SetItemString(d,"GRID_MIN_ROW_HEIGHT", SWIG_From_int((int)wxGRID_MIN_ROW_HEIGHT));
17515 PyDict_SetItemString(d,"GRID_MIN_COL_WIDTH", SWIG_From_int((int)wxGRID_MIN_COL_WIDTH));
17516 PyDict_SetItemString(d,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_From_int((int)wxGRID_DEFAULT_SCROLLBAR_WIDTH));
17517 PyDict_SetItemString(d,"GridCellAttr_Any", SWIG_From_int((int)wxGridCellAttr::Any));
17518 PyDict_SetItemString(d,"GridCellAttr_Default", SWIG_From_int((int)wxGridCellAttr::Default));
17519 PyDict_SetItemString(d,"GridCellAttr_Cell", SWIG_From_int((int)wxGridCellAttr::Cell));
17520 PyDict_SetItemString(d,"GridCellAttr_Row", SWIG_From_int((int)wxGridCellAttr::Row));
17521 PyDict_SetItemString(d,"GridCellAttr_Col", SWIG_From_int((int)wxGridCellAttr::Col));
17522 PyDict_SetItemString(d,"GridCellAttr_Merged", SWIG_From_int((int)wxGridCellAttr::Merged));
17523 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_From_int((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
17524 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_From_int((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
17525 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
17526 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
17527 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED));
17528 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED));
17529 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED));
17530 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_COLS_DELETED));
17531 PyDict_SetItemString(d,"Grid_wxGridSelectCells", SWIG_From_int((int)wxGrid::wxGridSelectCells));
17532 PyDict_SetItemString(d,"Grid_wxGridSelectRows", SWIG_From_int((int)wxGrid::wxGridSelectRows));
17533 PyDict_SetItemString(d,"Grid_wxGridSelectColumns", SWIG_From_int((int)wxGrid::wxGridSelectColumns));
d14a1e28
RD
17534 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));
17535 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK));
17536 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK));
17537 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK));
17538 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK));
17539 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK));
17540 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK));
17541 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK));
17542 PyDict_SetItemString(d, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE));
17543 PyDict_SetItemString(d, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE));
17544 PyDict_SetItemString(d, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT));
17545 PyDict_SetItemString(d, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE));
17546 PyDict_SetItemString(d, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL));
17547 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN));
17548 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN));
17549 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED));
4cf4100f 17550 PyDict_SetItemString(d, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG));
d14a1e28
RD
17551
17552
17553}
17554