]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/grid_wrap.cpp
DoGetBestSize may be called before m_text and m_choice are set,
[wxWidgets.git] / wxPython / src / gtk / grid_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
cc6dd355
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
d14a1e28
RD
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
d14a1e28
RD
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 173
d14a1e28
RD
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
994141e6 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
cc6dd355
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198/* Contract support */
199
9d1d5697 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
210#define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
211#define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
212#define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
213#define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
214#define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
215#define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
216#define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
217#define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
218#define SWIGTYPE_p_wxGridCellAttr swig_types[9]
219#define SWIGTYPE_p_wxColour swig_types[10]
220#define SWIGTYPE_p_wxDC swig_types[11]
221#define SWIGTYPE_p_wxGridTableMessage swig_types[12]
222#define SWIGTYPE_p_wxGrid swig_types[13]
22bfe96c
RD
223#define SWIGTYPE_p_wxVisualAttributes swig_types[14]
224#define SWIGTYPE_p_char swig_types[15]
225#define SWIGTYPE_p_wxPanel swig_types[16]
226#define SWIGTYPE_p_wxNotifyEvent swig_types[17]
227#define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[18]
228#define SWIGTYPE_p_wxSize swig_types[19]
229#define SWIGTYPE_p_wxGridCellCoords swig_types[20]
230#define SWIGTYPE_p_wxScrolledWindow swig_types[21]
231#define SWIGTYPE_p_wxWindow swig_types[22]
232#define SWIGTYPE_p_wxFont swig_types[23]
233#define SWIGTYPE_p_wxControl swig_types[24]
234#define SWIGTYPE_p_wxEvent swig_types[25]
235#define SWIGTYPE_p_wxObject swig_types[26]
236#define SWIGTYPE_p_wxGridSizeEvent swig_types[27]
237#define SWIGTYPE_p_wxRect swig_types[28]
238#define SWIGTYPE_p_long swig_types[29]
239#define SWIGTYPE_p_wxString swig_types[30]
240#define SWIGTYPE_p_wxEvtHandler swig_types[31]
241#define SWIGTYPE_p_wxPoint swig_types[32]
242#define SWIGTYPE_p_wxGridEvent swig_types[33]
243#define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[34]
244#define SWIGTYPE_p_wxGridTableBase swig_types[35]
245#define SWIGTYPE_p_wxGridCellNumberEditor swig_types[36]
246#define SWIGTYPE_p_wxPyGridCellEditor swig_types[37]
247#define SWIGTYPE_p_wxGridCellEditor swig_types[38]
248#define SWIGTYPE_p_wxGridCellTextEditor swig_types[39]
249#define SWIGTYPE_p_wxGridCellFloatEditor swig_types[40]
250#define SWIGTYPE_p_wxGridCellBoolEditor swig_types[41]
251#define SWIGTYPE_p_wxPyGridTableBase swig_types[42]
252#define SWIGTYPE_p_wxGridStringTable swig_types[43]
253#define SWIGTYPE_p_wxArrayString swig_types[44]
254#define SWIGTYPE_p_wxCommandEvent swig_types[45]
255#define SWIGTYPE_p_wxGridCellAttrProvider swig_types[46]
256#define SWIGTYPE_p_wxKeyEvent swig_types[47]
257#define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[48]
258#define SWIGTYPE_p_wxGridCellEnumEditor swig_types[49]
259#define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[50]
260#define SWIGTYPE_p_int swig_types[51]
261#define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[52]
262static swig_type_info *swig_types[54];
d14a1e28
RD
263
264/* -------- TYPES TABLE (END) -------- */
265
266
267/*-----------------------------------------------
268 @(target):= _grid.so
269 ------------------------------------------------*/
270#define SWIG_init init_grid
271
272#define SWIG_name "_grid"
273
15afbcd0 274/* Auxiliar swig macros */
994141e6 275
994141e6 276#ifdef __cplusplus
15afbcd0 277#define SWIGSTATICINLINE(a) static inline a
994141e6 278#define SWIGSTATIC(a) static a
15afbcd0
RD
279#define swig_new_array(type, size) (new type[(size)])
280#define swig_delete_array(cptr) delete[] cptr
281#define swig_const_cast(type,a) const_cast<type>(a)
282#define swig_static_cast(type,a) static_cast<type>(a)
283#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
994141e6 284
994141e6 285#ifdef HAVE_NUMERIC_CAST
15afbcd0 286#define swig_numeric_cast(type,a) numeric_cast<type>(a)
994141e6 287#else
15afbcd0 288#define swig_numeric_cast(type,a) static_cast<type>(a)
994141e6
RD
289#endif
290
15afbcd0
RD
291#else /* C case */
292
293#define SWIGSTATICINLINE(a) static a
294#define SWIGSTATIC(a) static a
295#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
296#define swig_delete_array(cptr) free((char*)cptr)
297#define swig_const_cast(type,a) (type)(a)
298#define swig_static_cast(type,a) (type)(a)
299#define swig_reinterpret_cast(type,a) (type)(a)
300#define swig_numeric_cast(type,a) (type)(a)
301
302#endif /* __cplusplus */
994141e6
RD
303
304
15afbcd0
RD
305#define SWIG_FromSignedChar PyInt_FromLong
306#define SWIG_FromUnsignedChar PyInt_FromLong
307#define SWIG_FromShort PyInt_FromLong
308#define SWIG_FromUnsignedShort PyInt_FromLong
309#define SWIG_FromInt PyInt_FromLong
310#define SWIG_FromLong PyInt_FromLong
311#define SWIG_FromFloat PyFloat_FromDouble
312#define SWIG_FromDouble PyFloat_FromDouble
313#define SWIG_FromFloat PyFloat_FromDouble
314#define SWIG_FromDouble PyFloat_FromDouble
994141e6
RD
315
316
d14a1e28
RD
317#include "wx/wxPython/wxPython.h"
318#include "wx/wxPython/pyclasses.h"
319#include "wx/wxPython/printfw.h"
320
321#include <wx/grid.h>
322#include <wx/generic/gridctrl.h>
323
d14a1e28 324
b2dc1044
RD
325 static const wxString wxPyEmptyString(wxEmptyString);
326 static const wxString wxPyPanelNameStr(wxPanelNameStr);
33b885b9 327 static const wxString wxPyDateTimeFormatStr(wxT("%c"));
d14a1e28
RD
328
329
330#define wxPyMake_TEMPLATE(TYPE) \
331PyObject* wxPyMake_##TYPE(TYPE* source) { \
332 PyObject* target = NULL; \
333 if (source) { \
334 /* Check if there is already a pointer to a Python object in the \
335 OOR data that we can use. */ \
336 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
337 if (data) { \
338 target = data->m_obj; \
339 Py_INCREF(target); \
340 } \
341 /* Otherwise make a new wrapper for it the old fashioned way and \
342 give it the OOR treatment */ \
343 if (! target) { \
e811c8ce 344 target = wxPyConstructObject(source, wxT(#TYPE), False); \
d14a1e28
RD
345 if (target) \
346 source->SetClientObject(new wxPyOORClientData(target)); \
347 } \
348 } else { /* source was NULL so return None. */ \
349 Py_INCREF(Py_None); target = Py_None; \
350 } \
351 return target; \
352} \
353
354
355wxPyMake_TEMPLATE(wxGridCellRenderer)
356wxPyMake_TEMPLATE(wxGridCellEditor)
357wxPyMake_TEMPLATE(wxGridCellAttr)
358wxPyMake_TEMPLATE(wxGridCellAttrProvider)
359wxPyMake_TEMPLATE(wxGridTableBase)
360
361
362
363#define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
364 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
365 wxGridCellAttr* rval = NULL; \
366 bool found; \
4f89f6a3 367 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
368 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
369 PyObject* ro; \
370 wxGridCellAttr* ptr; \
371 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
372 if (ro) { \
373 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
374 rval = ptr; \
375 Py_DECREF(ro); \
376 } \
377 } \
4f89f6a3 378 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
379 if (! found) \
380 rval = PCLASS::CBNAME(a, b, c); \
381 return rval; \
382 } \
383 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
384 return PCLASS::CBNAME(a, b, c); \
385 }
386
387
388
389#define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
390 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
4f89f6a3 391 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
392 bool found; \
393 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
394 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
395 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
396 Py_DECREF(obj); \
397 } \
4f89f6a3 398 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
399 if (! found) \
400 PCLASS::CBNAME(attr, a, b); \
401 } \
402 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
403 PCLASS::CBNAME(attr, a, b); \
404 }
405
406
407
408#define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
409 void CBNAME(wxGridCellAttr *attr, int val) { \
4f89f6a3 410 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
411 bool found; \
412 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
413 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
414 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
415 Py_DECREF(obj); \
416 } \
4f89f6a3 417 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
418 if (! found) \
419 PCLASS::CBNAME(attr, val); \
420 } \
421 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
422 PCLASS::CBNAME(attr, val); \
423 }
424
425
426
427#define PYCALLBACK_INT__pure(CBNAME) \
428 int CBNAME() { \
4f89f6a3 429 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
430 int rval = 0; \
431 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
432 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
4f89f6a3 433 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
434 return rval; \
435 }
436
437
438
439#define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
440 bool CBNAME(int a, int b) { \
4f89f6a3 441 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
442 bool rval = 0; \
443 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
444 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
4f89f6a3 445 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
446 return rval; \
447 }
448
449
450#define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
451 wxString CBNAME(int a, int b) { \
4f89f6a3 452 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
453 wxString rval; \
454 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
455 PyObject* ro; \
456 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
457 if (ro) { \
458 rval = Py2wxString(ro); \
459 Py_DECREF(ro); \
460 } \
461 } \
4f89f6a3 462 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
463 return rval; \
464 }
465
466
467#define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
468 void CBNAME(int a, int b, const wxString& c) { \
4f89f6a3 469 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
470 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
471 PyObject* s = wx2PyString(c); \
472 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
473 Py_DECREF(s); \
474 } \
4f89f6a3 475 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
476 }
477
478
479#define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
480 wxString CBNAME(int a, int b) { \
481 bool found; \
4f89f6a3 482 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
483 wxString rval; \
484 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
485 PyObject* ro; \
486 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
487 if (ro) { \
488 rval = Py2wxString(ro); \
489 Py_DECREF(ro); \
490 } \
491 } \
4f89f6a3 492 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
493 if (! found) \
494 rval = PCLASS::CBNAME(a, b); \
495 return rval; \
496 } \
497 wxString base_##CBNAME(int a, int b) { \
498 return PCLASS::CBNAME(a, b); \
499 }
500
501
502#define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
503 bool CBNAME(int a, int b, const wxString& c) { \
504 bool rval = 0; \
505 bool found; \
4f89f6a3 506 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
507 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
508 PyObject* s = wx2PyString(c); \
509 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
510 Py_DECREF(s); \
511 } \
4f89f6a3 512 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
513 if (! found) \
514 rval = PCLASS::CBNAME(a,b,c); \
515 return rval; \
516 } \
517 bool base_##CBNAME(int a, int b, const wxString& c) { \
518 return PCLASS::CBNAME(a,b,c); \
519 }
520
521
522
523
524#define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
525 long CBNAME(int a, int b) { \
526 long rval; \
527 bool found; \
4f89f6a3 528 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
529 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
530 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 531 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
532 if (! found) \
533 rval = PCLASS::CBNAME(a,b); \
534 return rval; \
535 } \
536 long base_##CBNAME(int a, int b) { \
537 return PCLASS::CBNAME(a,b); \
538 }
539
540
541
542#define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
543 bool CBNAME(int a, int b) { \
544 bool rval = 0; \
545 bool found; \
4f89f6a3 546 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
547 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
548 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 549 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
550 if (! found) \
551 rval = PCLASS::CBNAME(a,b); \
552 return rval; \
553 } \
554 bool base_##CBNAME(int a, int b) { \
555 return PCLASS::CBNAME(a,b); \
556 }
557
558
559
560#define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
561 double CBNAME(int a, int b) { \
562 bool found; \
4f89f6a3 563 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
564 double rval; \
565 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
566 PyObject* ro; \
567 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
568 if (ro) { \
569 PyObject* str = PyObject_Str(ro); \
570 rval = PyFloat_AsDouble(str); \
571 Py_DECREF(ro); Py_DECREF(str); \
572 } \
573 } \
4f89f6a3 574 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
575 if (! found) \
576 rval = PCLASS::CBNAME(a, b); \
577 return rval; \
578 } \
579 double base_##CBNAME(int a, int b) { \
580 return PCLASS::CBNAME(a, b); \
581 }
582
583
584
585#define PYCALLBACK__(PCLASS, CBNAME) \
586 void CBNAME() { \
587 bool found; \
4f89f6a3 588 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
589 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
590 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
4f89f6a3 591 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
592 if (! found) \
593 PCLASS::CBNAME(); \
594 } \
595 void base_##CBNAME() { \
596 PCLASS::CBNAME(); \
597 }
598
599
600
601
602#define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
603 bool CBNAME(size_t a, size_t b) { \
604 bool rval = 0; \
605 bool found; \
4f89f6a3 606 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
607 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
608 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 609 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
610 if (! found) \
611 rval = PCLASS::CBNAME(a,b); \
612 return rval; \
613 } \
614 bool base_##CBNAME(size_t a, size_t b) { \
615 return PCLASS::CBNAME(a,b); \
616 }
617
618
619
620#define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
621 bool CBNAME(size_t a) { \
622 bool rval = 0; \
623 bool found; \
4f89f6a3 624 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
625 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
626 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
4f89f6a3 627 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
628 if (! found) \
629 rval = PCLASS::CBNAME(a); \
630 return rval; \
631 } \
632 bool base_##CBNAME(size_t a) { \
633 return PCLASS::CBNAME(a); \
634 }
635
636
637#define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
638 wxString CBNAME(int a) { \
639 bool found; \
4f89f6a3 640 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
641 wxString rval; \
642 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
643 PyObject* ro; \
644 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
645 if (ro) { \
646 rval = Py2wxString(ro); \
647 Py_DECREF(ro); \
648 } \
649 } \
4f89f6a3 650 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
651 if (! found) \
652 rval = PCLASS::CBNAME(a); \
653 return rval; \
654 } \
655 wxString base_##CBNAME(int a) { \
656 return PCLASS::CBNAME(a); \
657 }
658
659
660#define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
661 void CBNAME(int a, const wxString& c) { \
662 bool found; \
4f89f6a3 663 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
664 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
665 PyObject* s = wx2PyString(c); \
666 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
667 Py_DECREF(s); \
668 } \
4f89f6a3 669 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
670 if (! found) \
671 PCLASS::CBNAME(a,c); \
672 } \
673 void base_##CBNAME(int a, const wxString& c) { \
674 PCLASS::CBNAME(a,c); \
675 }
676
677
678
679
680#define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
681 bool CBNAME() { \
682 bool rval = 0; \
683 bool found; \
4f89f6a3 684 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
685 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
686 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
4f89f6a3 687 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
688 if (! found) \
689 rval = PCLASS::CBNAME(); \
690 return rval; \
691 } \
692 bool base_##CBNAME() { \
693 return PCLASS::CBNAME(); \
694 }
695
696
697
698#define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
699 void CBNAME(size_t a, int b) { \
700 bool found; \
4f89f6a3 701 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
702 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
703 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 704 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
705 if (! found) \
706 PCLASS::CBNAME(a,b); \
707 } \
708 void base_##CBNAME(size_t a, int b) { \
709 PCLASS::CBNAME(a,b); \
710 }
711
712
713
714
715#define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
716 void CBNAME(int a, int b, long c) { \
717 bool found; \
4f89f6a3 718 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
719 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
720 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
4f89f6a3 721 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
722 if (! found) \
723 PCLASS::CBNAME(a,b,c); \
724 } \
725 void base_##CBNAME(int a, int b, long c) { \
726 PCLASS::CBNAME(a,b,c); \
727 }
728
729
730
731
732#define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
733 void CBNAME(int a, int b, double c) { \
734 bool found; \
4f89f6a3 735 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
736 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
737 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
4f89f6a3 738 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
739 if (! found) \
740 PCLASS::CBNAME(a,b,c); \
741 } \
742 void base_##CBNAME(int a, int b, double c) { \
743 PCLASS::CBNAME(a,b,c); \
744 }
745
746
747
748#define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
749 void CBNAME(int a, int b, bool c) { \
750 bool found; \
4f89f6a3 751 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
752 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
753 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
4f89f6a3 754 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
755 if (! found) \
756 PCLASS::CBNAME(a,b,c); \
757 } \
758 void base_##CBNAME(int a, int b, bool c) { \
759 PCLASS::CBNAME(a,b,c); \
760 }
761
762
763
764
765
15afbcd0
RD
766
767SWIGSTATICINLINE(PyObject *)
768SWIG_FromCharPtr(const char* cptr)
769{
770 size_t size = cptr ? strlen(cptr) : 0;
771 if (cptr) {
772 if (size > INT_MAX) {
773 return SWIG_NewPointerObj(swig_const_cast(char*,cptr),
774 SWIG_TypeQuery("char *"), 0);
775 } else {
776 return PyString_FromStringAndSize(cptr, swig_numeric_cast(int,size));
777 }
778 } else {
779 Py_INCREF(Py_None);
780 return Py_None;
781 }
782}
783
d14a1e28
RD
784void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject *_self){
785 self->SetClientObject(new wxPyOORClientData(_self));
786 }
787
15afbcd0
RD
788#include <limits.h>
789
790
791SWIGSTATICINLINE(long)
792SWIG_CheckLongInRange(long value, const char* type,
793 long min_value, long max_value)
794{
795 if (!PyErr_Occurred()) {
796 if (value < min_value) {
797 PyObject *err =
798 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
799 value, type, min_value);
800
801 PyErr_SetObject(PyExc_OverflowError, err);
802 Py_DECREF(err);
803 } else if (value > max_value) {
804 PyObject *err =
805 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
806 value, type, max_value);
807 PyErr_SetObject(PyExc_OverflowError, err);
808 Py_DECREF(err);
809 }
810 }
811 return value;
812}
813
814
815SWIGSTATICINLINE(long)
816SWIG_AsLong(PyObject * obj)
817{
69223c70
RD
818 if (PyNumber_Check(obj))
819 return PyInt_AsLong(obj);
820 else {
821 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
822 obj->ob_type->tp_name);
823 PyErr_SetObject(PyExc_TypeError, errmsg);
824 Py_DECREF(errmsg);
825 return 0;
826 }
15afbcd0
RD
827}
828
829
830#if INT_MAX != LONG_MAX
831SWIGSTATICINLINE(int)
832SWIG_AsInt(PyObject *obj)
994141e6 833{
15afbcd0
RD
834 return swig_numeric_cast(int,
835 SWIG_CheckLongInRange(SWIG_AsLong(obj),
836 "int", INT_MIN, INT_MAX));
994141e6 837}
15afbcd0
RD
838#else
839#define SWIG_AsInt SWIG_AsLong
840#endif
994141e6
RD
841
842
15afbcd0
RD
843SWIGSTATICINLINE(bool)
844SWIG_AsBool(PyObject *obj)
994141e6
RD
845{
846 return PyObject_IsTrue(obj) ? true : false;
847}
848
849
15afbcd0
RD
850SWIGSTATICINLINE(int)
851SWIG_CheckInt(PyObject* obj)
852{
853 SWIG_AsInt(obj);
854 if (PyErr_Occurred()) {
855 PyErr_Clear();
856 return 0;
857 } else {
858 return 1;
859 }
860}
861
862
863SWIGSTATICINLINE(int)
864SWIG_CheckBool(PyObject* obj)
865{
866 SWIG_AsBool(obj);
867 if (PyErr_Occurred()) {
868 PyErr_Clear();
869 return 0;
870 } else {
871 return 1;
872 }
873}
874
875
d14a1e28
RD
876class wxPyGridCellRenderer : public wxGridCellRenderer
877{
878public:
879 wxPyGridCellRenderer() : wxGridCellRenderer() {};
880
881 // Implement Python callback aware virtual methods
882 void Draw(wxGrid& grid, wxGridCellAttr& attr,
883 wxDC& dc, const wxRect& rect,
884 int row, int col, bool isSelected) {
4f89f6a3 885 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
886 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
887 PyObject* go = wxPyMake_wxObject(&grid);
888 PyObject* dco = wxPyMake_wxObject(&dc);
889 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
890 PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
891
892 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro,
893 row, col, isSelected));
894 Py_DECREF(go);
895 Py_DECREF(ao);
896 Py_DECREF(dco);
897 Py_DECREF(ro);
898 }
4f89f6a3 899 wxPyEndBlockThreads(blocked);
d14a1e28
RD
900 }
901
902 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
903 int row, int col) {
904 wxSize rval;
4f89f6a3 905 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
906 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
907 PyObject* ro;
908 wxSize* ptr;
909 PyObject* go = wxPyMake_wxObject(&grid);
910 PyObject* dco = wxPyMake_wxObject(&dc);
911 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
912
913 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)",
914 go, ao, dco,
915 row, col));
916 Py_DECREF(go);
917 Py_DECREF(ao);
918 Py_DECREF(dco);
919
920 if (ro) {
921 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
922 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxSize"))) {
923 rval = *ptr;
924 }
925 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
926 PyObject* o1 = PySequence_GetItem(ro, 0);
927 PyObject* o2 = PySequence_GetItem(ro, 1);
928 if (PyNumber_Check(o1) && PyNumber_Check(o2))
929 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
930 else
931 PyErr_SetString(PyExc_TypeError, errmsg);
932 Py_DECREF(o1);
933 Py_DECREF(o2);
934 }
935 else {
936 PyErr_SetString(PyExc_TypeError, errmsg);
937 }
938 Py_DECREF(ro);
939 }
940 }
4f89f6a3 941 wxPyEndBlockThreads(blocked);
d14a1e28
RD
942 return rval;
943 }
944
945
946 wxGridCellRenderer *Clone() const {
947 wxGridCellRenderer* rval = NULL;
4f89f6a3 948 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
949 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
950 PyObject* ro;
951 wxGridCellRenderer* ptr;
952 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
953 if (ro) {
954 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellRenderer")))
955 rval = ptr;
956 Py_DECREF(ro);
957 }
958 }
4f89f6a3 959 wxPyEndBlockThreads(blocked);
d14a1e28
RD
960 return rval;
961 }
962
963 DEC_PYCALLBACK__STRING(SetParameters);
964
965 PYPRIVATE;
966};
967
968IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
969
970
971void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject *_self){
972 self->SetClientObject(new wxPyOORClientData(_self));
973 }
974
975class wxPyGridCellEditor : public wxGridCellEditor
976{
977public:
978 wxPyGridCellEditor() : wxGridCellEditor() {}
979
980 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
4f89f6a3 981 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
982 if (wxPyCBH_findCallback(m_myInst, "Create")) {
983 PyObject* po = wxPyMake_wxObject(parent);
984 PyObject* eo = wxPyMake_wxObject(evtHandler);
985
986 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo));
987 Py_DECREF(po);
988 Py_DECREF(eo);
989 }
4f89f6a3 990 wxPyEndBlockThreads(blocked);
d14a1e28
RD
991 }
992
993
994 void BeginEdit(int row, int col, wxGrid* grid) {
4f89f6a3 995 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
996 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
997 PyObject* go = wxPyMake_wxObject(grid);
998 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
999 Py_DECREF(go);
1000 }
4f89f6a3 1001 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1002 }
1003
1004
1005 bool EndEdit(int row, int col, wxGrid* grid) {
e811c8ce 1006 bool rv = False;
4f89f6a3 1007 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1008 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
1009 PyObject* go = wxPyMake_wxObject(grid);
1010 rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
1011 Py_DECREF(go);
1012 }
4f89f6a3 1013 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1014 return rv;
1015 }
1016
1017
1018 wxGridCellEditor* Clone() const {
1019 wxGridCellEditor* rval = NULL;
4f89f6a3 1020 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1021 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
1022 PyObject* ro;
1023 wxGridCellEditor* ptr;
1024 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1025 if (ro) {
1026 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellEditor")))
1027 rval = ptr;
1028 Py_DECREF(ro);
1029 }
1030 }
4f89f6a3 1031 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1032 return rval;
1033 }
1034
1035
1036 void Show(bool show, wxGridCellAttr *attr) {
1037 bool found;
4f89f6a3 1038 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1039 if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) {
1040 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
1041 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao));
1042 Py_DECREF(ao);
1043 }
4f89f6a3 1044 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1045 if (! found)
1046 wxGridCellEditor::Show(show, attr);
1047 }
1048 void base_Show(bool show, wxGridCellAttr *attr) {
1049 wxGridCellEditor::Show(show, attr);
1050 }
1051
1052
1053 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1054 bool found;
4f89f6a3 1055 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1056 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) {
1057 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
1058 PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
1059
1060 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao));
1061
1062 Py_DECREF(ro);
1063 Py_DECREF(ao);
1064 }
4f89f6a3 1065 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1066 if (! found)
1067 wxGridCellEditor::PaintBackground(rectCell, attr);
1068 }
1069 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1070 wxGridCellEditor::PaintBackground(rectCell, attr);
1071 }
1072
1073
1074 DEC_PYCALLBACK___pure(Reset);
1075 DEC_PYCALLBACK__constany(SetSize, wxRect);
1076 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
1077 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
1078 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
1079 DEC_PYCALLBACK__(StartingClick);
1080 DEC_PYCALLBACK__(Destroy);
1081 DEC_PYCALLBACK__STRING(SetParameters);
1082 DEC_PYCALLBACK_STRING__constpure(GetValue);
1083
1084 PYPRIVATE;
1085};
1086
1087
1088IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
1089IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
1090IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
1091IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
1092IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
1093IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
1094IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
1095IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
1096IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue);
1097
1098
1099void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject *_self){
1100 self->SetClientObject(new wxPyOORClientData(_self));
1101 }
1102
1103static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1104 PyObject* o2;
1105 PyObject* o3;
1106
1107 if (!target) {
1108 target = o;
1109 } else if (target == Py_None) {
1110 Py_DECREF(Py_None);
1111 target = o;
1112 } else {
1113 if (!PyTuple_Check(target)) {
1114 o2 = target;
1115 target = PyTuple_New(1);
1116 PyTuple_SetItem(target, 0, o2);
1117 }
1118 o3 = PyTuple_New(1);
1119 PyTuple_SetItem(o3, 0, o);
1120
1121 o2 = target;
1122 target = PySequence_Concat(o2, o3);
1123 Py_DECREF(o2);
1124 Py_DECREF(o3);
1125 }
1126 return target;
1127}
1128
1129void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject *_self){
1130 self->SetClientObject(new wxPyOORClientData(_self));
1131 }
1132
15afbcd0
RD
1133SWIGSTATICINLINE(unsigned long)
1134SWIG_AsUnsignedLong(PyObject * obj)
1135{
1136 if (PyLong_Check(obj)) {
1137 return PyLong_AsUnsignedLong(obj);
1138 } else {
69223c70 1139 long i = SWIG_AsLong(obj);
15afbcd0 1140 if ( !PyErr_Occurred() && (i < 0)) {
69223c70 1141 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
15afbcd0
RD
1142 }
1143 return i;
1144 }
1145}
1146
1147
1148SWIGSTATICINLINE(int)
1149SWIG_CheckUnsignedLong(PyObject* obj)
1150{
1151 SWIG_AsUnsignedLong(obj);
1152 if (PyErr_Occurred()) {
1153 PyErr_Clear();
1154 return 0;
1155 } else {
1156 return 1;
1157 }
1158}
1159
1160
d14a1e28
RD
1161class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
1162{
1163public:
1164 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1165
1166 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
1167 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
1168 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
1169 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
1170
1171 PYPRIVATE;
1172};
1173
1174void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject *_self){
1175 self->SetClientObject(new wxPyOORClientData(_self));
1176 }
1177
15afbcd0
RD
1178SWIGSTATICINLINE(int)
1179SWIG_CheckLong(PyObject* obj)
994141e6 1180{
15afbcd0
RD
1181 SWIG_AsLong(obj);
1182 if (PyErr_Occurred()) {
1183 PyErr_Clear();
1184 return 0;
1185 } else {
1186 return 1;
1187 }
994141e6
RD
1188}
1189
1190
15afbcd0
RD
1191SWIGSTATICINLINE(double)
1192SWIG_AsDouble(PyObject *obj)
994141e6 1193{
69223c70
RD
1194 if (PyNumber_Check(obj))
1195 return PyFloat_AsDouble(obj);
1196 else {
1197 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1198 obj->ob_type->tp_name);
1199 PyErr_SetObject(PyExc_TypeError, errmsg);
1200 Py_DECREF(errmsg);
1201 return 0;
1202 }
15afbcd0
RD
1203}
1204
1205
1206SWIGSTATICINLINE(int)
1207SWIG_CheckDouble(PyObject* obj)
1208{
1209 SWIG_AsDouble(obj);
1210 if (PyErr_Occurred()) {
1211 PyErr_Clear();
1212 return 0;
1213 } else {
1214 return 1;
1215 }
994141e6
RD
1216}
1217
1218
d14a1e28
RD
1219class wxPyGridTableBase : public wxGridTableBase
1220{
1221public:
1222 wxPyGridTableBase() : wxGridTableBase() {}
1223
1224 PYCALLBACK_INT__pure(GetNumberRows);
1225 PYCALLBACK_INT__pure(GetNumberCols);
1226 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
1227 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
1228 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
1229 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
1230 PYCALLBACK__(wxGridTableBase, Clear);
1231 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
1232 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
1233 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
1234 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
1235 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
1236 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
1237 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
1238 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
1239 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
1240 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
1241 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
1242 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
1243 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
1244 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
1245 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
1246
1247
1248 wxString GetValue(int row, int col) {
4f89f6a3 1249 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1250 wxString rval;
1251 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1252 PyObject* ro;
1253 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
1254 if (ro) {
1255 rval = Py2wxString(ro);
1256 Py_DECREF(ro);
1257 }
1258 }
4f89f6a3 1259 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1260 return rval;
1261 }
1262
1263 void SetValue(int row, int col, const wxString& val) {
4f89f6a3 1264 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1265 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1266 PyObject* s = wx2PyString(val);
1267 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s));
1268 Py_DECREF(s);
1269 }
4f89f6a3 1270 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1271 }
1272
1273
1274 // Map the Get/Set methods for the standard non-string types to
1275 // the GetValue and SetValue python methods.
1276 long GetValueAsLong( int row, int col ) {
1277 long rval = 0;
4f89f6a3 1278 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1279 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1280 PyObject* ro;
1281 PyObject* num;
1282 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1283 if (ro && PyNumber_Check(ro)) {
1284 num = PyNumber_Int(ro);
1285 if (num) {
1286 rval = PyInt_AsLong(num);
1287 Py_DECREF(num);
1288 }
1289 Py_DECREF(ro);
1290 }
1291 }
4f89f6a3 1292 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1293 return rval;
1294 }
1295
1296 double GetValueAsDouble( int row, int col ) {
1297 double rval = 0.0;
4f89f6a3 1298 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1299 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1300 PyObject* ro;
1301 PyObject* num;
1302 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1303 if (ro && PyNumber_Check(ro)) {
1304 num = PyNumber_Float(ro);
1305 if (num) {
1306 rval = PyFloat_AsDouble(num);
1307 Py_DECREF(num);
1308 }
1309 Py_DECREF(ro);
1310 }
1311 }
4f89f6a3 1312 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1313 return rval;
1314 }
1315
1316 bool GetValueAsBool( int row, int col ) {
1317 return (bool)GetValueAsLong(row, col);
1318 }
1319
1320 void SetValueAsLong( int row, int col, long value ) {
4f89f6a3 1321 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1322 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1323 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
1324 }
4f89f6a3 1325 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1326 }
1327
1328 void SetValueAsDouble( int row, int col, double value ) {
4f89f6a3 1329 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1330 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1331 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
1332 }
4f89f6a3 1333 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1334 }
1335
1336 void SetValueAsBool( int row, int col, bool value ) {
1337 SetValueAsLong( row, col, (long)value );
1338 }
1339
1340
1341 PYPRIVATE;
1342};
1343
1344void wxPyGridTableBase_Destroy(wxPyGridTableBase *self){ delete self; }
d14a1e28
RD
1345
1346bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
1347
22faec7d
RD
1348 if (source == Py_None) {
1349 **obj = wxGridCellCoords(-1,-1);
1350 return True;
1351 }
1352
d14a1e28
RD
1353 // If source is an object instance then it may already be the right type
1354 if (wxPySwigInstance_Check(source)) {
1355 wxGridCellCoords* ptr;
1356 if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1357 goto error;
1358 *obj = ptr;
e811c8ce 1359 return True;
d14a1e28
RD
1360 }
1361 // otherwise a 2-tuple of integers is expected
1362 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
1363 PyObject* o1 = PySequence_GetItem(source, 0);
1364 PyObject* o2 = PySequence_GetItem(source, 1);
1365 if (!PyNumber_Check(o1) || !PyNumber_Check(o2)) {
1366 Py_DECREF(o1);
1367 Py_DECREF(o2);
1368 goto error;
1369 }
1370 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
1371 Py_DECREF(o1);
1372 Py_DECREF(o2);
e811c8ce 1373 return True;
d14a1e28
RD
1374 }
1375
1376 error:
1377 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
e811c8ce 1378 return False;
d14a1e28
RD
1379}
1380
1381
1382bool wxGridCellCoords_typecheck(PyObject* source) {
1383 void* ptr;
1384
1385 if (wxPySwigInstance_Check(source) &&
1386 wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
e811c8ce 1387 return True;
d14a1e28
RD
1388
1389 PyErr_Clear();
1390 if (PySequence_Check(source) && PySequence_Length(source) == 2)
e811c8ce 1391 return True;
d14a1e28 1392
e811c8ce 1393 return False;
d14a1e28
RD
1394}
1395
1396
1397PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray& source)
1398{
1399 PyObject* list = PyList_New(0);
1400 size_t idx;
1401 for (idx = 0; idx < source.GetCount(); idx += 1) {
1402 wxGridCellCoords& coord = source.Item(idx);
1403 PyObject* tup = PyTuple_New(2);
1404 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow()));
1405 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol()));
1406 PyList_Append(list, tup);
1407 Py_DECREF(tup);
1408 }
1409 return list;
1410}
1411
41e2b43e 1412PyObject *wxGridCellCoords_Get(wxGridCellCoords *self){
22faec7d
RD
1413 PyObject* tup = PyTuple_New(2);
1414 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1415 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1416 return tup;
1417 }
d14a1e28
RD
1418
1419typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
1420
1421wxGridCellCoords wxGrid_XYToCell(wxGrid *self,int x,int y){
1422 wxGridCellCoords rv;
1423 self->XYToCell(x, y, rv);
1424 return rv;
1425 }
1426#ifdef __cplusplus
1427extern "C" {
1428#endif
b2dc1044
RD
1429static int _wrap_DateTimeFormatStr_set(PyObject *_val) {
1430 PyErr_SetString(PyExc_TypeError,"Variable DateTimeFormatStr is read-only.");
1431 return 1;
1432}
1433
1434
1435static PyObject *_wrap_DateTimeFormatStr_get() {
1436 PyObject *pyobj;
1437
1438 {
1439#if wxUSE_UNICODE
1440 pyobj = PyUnicode_FromWideChar((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1441#else
1442 pyobj = PyString_FromStringAndSize((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1443#endif
1444 }
1445 return pyobj;
1446}
1447
1448
d14a1e28
RD
1449static int _wrap_GridNoCellCoords_set(PyObject *_val) {
1450 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellCoords is read-only.");
1451 return 1;
1452}
1453
1454
1455static PyObject *_wrap_GridNoCellCoords_get() {
1456 PyObject *pyobj;
1457
15afbcd0 1458 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellCoords), SWIGTYPE_p_wxGridCellCoords, 0);
d14a1e28
RD
1459 return pyobj;
1460}
1461
1462
1463static int _wrap_GridNoCellRect_set(PyObject *_val) {
1464 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellRect is read-only.");
1465 return 1;
1466}
1467
1468
1469static PyObject *_wrap_GridNoCellRect_get() {
1470 PyObject *pyobj;
1471
15afbcd0 1472 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellRect), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
1473 return pyobj;
1474}
1475
1476
1477static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1478 PyObject *resultobj;
1479 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1480 PyObject *arg2 = (PyObject *) 0 ;
1481 PyObject * obj0 = 0 ;
1482 PyObject * obj1 = 0 ;
1483 char *kwnames[] = {
1484 (char *) "self",(char *) "_self", NULL
1485 };
1486
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1490 arg2 = obj1;
1491 {
1492 PyThreadState* __tstate = wxPyBeginAllowThreads();
1493 wxGridCellRenderer__setOORInfo(arg1,arg2);
1494
1495 wxPyEndAllowThreads(__tstate);
1496 if (PyErr_Occurred()) SWIG_fail;
1497 }
1498 Py_INCREF(Py_None); resultobj = Py_None;
1499 return resultobj;
1500 fail:
1501 return NULL;
1502}
1503
1504
1505static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1506 PyObject *resultobj;
1507 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1508 wxString *arg2 = 0 ;
e811c8ce 1509 bool temp2 = False ;
d14a1e28
RD
1510 PyObject * obj0 = 0 ;
1511 PyObject * obj1 = 0 ;
1512 char *kwnames[] = {
1513 (char *) "self",(char *) "params", NULL
1514 };
1515
1516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1519 {
1520 arg2 = wxString_in_helper(obj1);
1521 if (arg2 == NULL) SWIG_fail;
e811c8ce 1522 temp2 = True;
d14a1e28
RD
1523 }
1524 {
1525 PyThreadState* __tstate = wxPyBeginAllowThreads();
1526 (arg1)->SetParameters((wxString const &)*arg2);
1527
1528 wxPyEndAllowThreads(__tstate);
1529 if (PyErr_Occurred()) SWIG_fail;
1530 }
1531 Py_INCREF(Py_None); resultobj = Py_None;
1532 {
1533 if (temp2)
1534 delete arg2;
1535 }
1536 return resultobj;
1537 fail:
1538 {
1539 if (temp2)
1540 delete arg2;
1541 }
1542 return NULL;
1543}
1544
1545
1546static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1547 PyObject *resultobj;
1548 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1549 PyObject * obj0 = 0 ;
1550 char *kwnames[] = {
1551 (char *) "self", NULL
1552 };
1553
1554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_IncRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
1555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1557 {
1558 PyThreadState* __tstate = wxPyBeginAllowThreads();
1559 (arg1)->IncRef();
1560
1561 wxPyEndAllowThreads(__tstate);
1562 if (PyErr_Occurred()) SWIG_fail;
1563 }
1564 Py_INCREF(Py_None); resultobj = Py_None;
1565 return resultobj;
1566 fail:
1567 return NULL;
1568}
1569
1570
1571static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1572 PyObject *resultobj;
1573 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1574 PyObject * obj0 = 0 ;
1575 char *kwnames[] = {
1576 (char *) "self", NULL
1577 };
1578
1579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_DecRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
1580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1582 {
1583 PyThreadState* __tstate = wxPyBeginAllowThreads();
1584 (arg1)->DecRef();
1585
1586 wxPyEndAllowThreads(__tstate);
1587 if (PyErr_Occurred()) SWIG_fail;
1588 }
1589 Py_INCREF(Py_None); resultobj = Py_None;
1590 return resultobj;
1591 fail:
1592 return NULL;
1593}
1594
1595
1596static PyObject *_wrap_GridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
1597 PyObject *resultobj;
1598 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1599 wxGrid *arg2 = 0 ;
1600 wxGridCellAttr *arg3 = 0 ;
1601 wxDC *arg4 = 0 ;
1602 wxRect *arg5 = 0 ;
1603 int arg6 ;
1604 int arg7 ;
1605 bool arg8 ;
1606 wxRect temp5 ;
1607 PyObject * obj0 = 0 ;
1608 PyObject * obj1 = 0 ;
1609 PyObject * obj2 = 0 ;
1610 PyObject * obj3 = 0 ;
1611 PyObject * obj4 = 0 ;
994141e6
RD
1612 PyObject * obj5 = 0 ;
1613 PyObject * obj6 = 0 ;
d14a1e28
RD
1614 PyObject * obj7 = 0 ;
1615 char *kwnames[] = {
1616 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1617 };
1618
994141e6 1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1623 SWIG_POINTER_EXCEPTION | 0)) == -1)
1624 SWIG_fail;
d14a1e28 1625 if (arg2 == NULL) {
15afbcd0
RD
1626 PyErr_SetString(PyExc_TypeError,"null reference");
1627 SWIG_fail;
d14a1e28 1628 }
15afbcd0
RD
1629 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1630 SWIG_POINTER_EXCEPTION | 0)) == -1)
1631 SWIG_fail;
d14a1e28 1632 if (arg3 == NULL) {
15afbcd0
RD
1633 PyErr_SetString(PyExc_TypeError,"null reference");
1634 SWIG_fail;
d14a1e28 1635 }
15afbcd0
RD
1636 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1637 SWIG_POINTER_EXCEPTION | 0)) == -1)
1638 SWIG_fail;
d14a1e28 1639 if (arg4 == NULL) {
15afbcd0
RD
1640 PyErr_SetString(PyExc_TypeError,"null reference");
1641 SWIG_fail;
d14a1e28
RD
1642 }
1643 {
1644 arg5 = &temp5;
1645 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
1646 }
15afbcd0
RD
1647 arg6 = (int) SWIG_AsInt(obj5);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 arg7 = (int) SWIG_AsInt(obj6);
1650 if (PyErr_Occurred()) SWIG_fail;
1651 arg8 = (bool) SWIG_AsBool(obj7);
1652 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1653 {
1654 PyThreadState* __tstate = wxPyBeginAllowThreads();
1655 (arg1)->Draw(*arg2,*arg3,*arg4,(wxRect const &)*arg5,arg6,arg7,arg8);
1656
1657 wxPyEndAllowThreads(__tstate);
1658 if (PyErr_Occurred()) SWIG_fail;
1659 }
1660 Py_INCREF(Py_None); resultobj = Py_None;
1661 return resultobj;
1662 fail:
1663 return NULL;
1664}
1665
1666
1667static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1668 PyObject *resultobj;
1669 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1670 wxGrid *arg2 = 0 ;
1671 wxGridCellAttr *arg3 = 0 ;
1672 wxDC *arg4 = 0 ;
1673 int arg5 ;
1674 int arg6 ;
1675 wxSize result;
1676 PyObject * obj0 = 0 ;
1677 PyObject * obj1 = 0 ;
1678 PyObject * obj2 = 0 ;
1679 PyObject * obj3 = 0 ;
994141e6
RD
1680 PyObject * obj4 = 0 ;
1681 PyObject * obj5 = 0 ;
d14a1e28
RD
1682 char *kwnames[] = {
1683 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1684 };
1685
994141e6 1686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
1687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1689 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1690 SWIG_POINTER_EXCEPTION | 0)) == -1)
1691 SWIG_fail;
d14a1e28 1692 if (arg2 == NULL) {
15afbcd0
RD
1693 PyErr_SetString(PyExc_TypeError,"null reference");
1694 SWIG_fail;
d14a1e28 1695 }
15afbcd0
RD
1696 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1697 SWIG_POINTER_EXCEPTION | 0)) == -1)
1698 SWIG_fail;
d14a1e28 1699 if (arg3 == NULL) {
15afbcd0
RD
1700 PyErr_SetString(PyExc_TypeError,"null reference");
1701 SWIG_fail;
d14a1e28 1702 }
15afbcd0
RD
1703 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1704 SWIG_POINTER_EXCEPTION | 0)) == -1)
1705 SWIG_fail;
d14a1e28 1706 if (arg4 == NULL) {
15afbcd0
RD
1707 PyErr_SetString(PyExc_TypeError,"null reference");
1708 SWIG_fail;
994141e6 1709 }
15afbcd0
RD
1710 arg5 = (int) SWIG_AsInt(obj4);
1711 if (PyErr_Occurred()) SWIG_fail;
1712 arg6 = (int) SWIG_AsInt(obj5);
1713 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1714 {
1715 PyThreadState* __tstate = wxPyBeginAllowThreads();
1716 result = (arg1)->GetBestSize(*arg2,*arg3,*arg4,arg5,arg6);
1717
1718 wxPyEndAllowThreads(__tstate);
1719 if (PyErr_Occurred()) SWIG_fail;
1720 }
1721 {
1722 wxSize * resultptr;
1723 resultptr = new wxSize((wxSize &) result);
15afbcd0 1724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1725 }
1726 return resultobj;
1727 fail:
1728 return NULL;
1729}
1730
1731
1732static PyObject *_wrap_GridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1733 PyObject *resultobj;
1734 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1735 wxGridCellRenderer *result;
1736 PyObject * obj0 = 0 ;
1737 char *kwnames[] = {
1738 (char *) "self", NULL
1739 };
1740
1741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
1742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1744 {
1745 PyThreadState* __tstate = wxPyBeginAllowThreads();
1746 result = (wxGridCellRenderer *)((wxGridCellRenderer const *)arg1)->Clone();
1747
1748 wxPyEndAllowThreads(__tstate);
1749 if (PyErr_Occurred()) SWIG_fail;
1750 }
1751 {
1752 resultobj = wxPyMake_wxGridCellRenderer(result);
1753 }
1754 return resultobj;
1755 fail:
1756 return NULL;
1757}
1758
1759
1760static PyObject * GridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1761 PyObject *obj;
1762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1763 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer, obj);
1764 Py_INCREF(obj);
1765 return Py_BuildValue((char *)"");
1766}
1767static PyObject *_wrap_new_PyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject *resultobj;
1769 wxPyGridCellRenderer *result;
1770 char *kwnames[] = {
1771 NULL
1772 };
1773
1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellRenderer",kwnames)) goto fail;
1775 {
1776 PyThreadState* __tstate = wxPyBeginAllowThreads();
1777 result = (wxPyGridCellRenderer *)new wxPyGridCellRenderer();
1778
1779 wxPyEndAllowThreads(__tstate);
1780 if (PyErr_Occurred()) SWIG_fail;
1781 }
15afbcd0 1782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellRenderer, 1);
d14a1e28
RD
1783 return resultobj;
1784 fail:
1785 return NULL;
1786}
1787
1788
1789static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1790 PyObject *resultobj;
1791 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1792 PyObject *arg2 = (PyObject *) 0 ;
1793 PyObject *arg3 = (PyObject *) 0 ;
1794 PyObject * obj0 = 0 ;
1795 PyObject * obj1 = 0 ;
1796 PyObject * obj2 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "self",(char *) "self",(char *) "_class", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1804 arg2 = obj1;
1805 arg3 = obj2;
1806 {
1807 PyThreadState* __tstate = wxPyBeginAllowThreads();
1808 (arg1)->_setCallbackInfo(arg2,arg3);
1809
1810 wxPyEndAllowThreads(__tstate);
1811 if (PyErr_Occurred()) SWIG_fail;
1812 }
1813 Py_INCREF(Py_None); resultobj = Py_None;
1814 return resultobj;
1815 fail:
1816 return NULL;
1817}
1818
1819
1820static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1821 PyObject *resultobj;
1822 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1823 wxString *arg2 = 0 ;
e811c8ce 1824 bool temp2 = False ;
d14a1e28
RD
1825 PyObject * obj0 = 0 ;
1826 PyObject * obj1 = 0 ;
1827 char *kwnames[] = {
1828 (char *) "self",(char *) "params", NULL
1829 };
1830
1831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1834 {
1835 arg2 = wxString_in_helper(obj1);
1836 if (arg2 == NULL) SWIG_fail;
e811c8ce 1837 temp2 = True;
d14a1e28
RD
1838 }
1839 {
1840 PyThreadState* __tstate = wxPyBeginAllowThreads();
1841 (arg1)->base_SetParameters((wxString const &)*arg2);
1842
1843 wxPyEndAllowThreads(__tstate);
1844 if (PyErr_Occurred()) SWIG_fail;
1845 }
1846 Py_INCREF(Py_None); resultobj = Py_None;
1847 {
1848 if (temp2)
1849 delete arg2;
1850 }
1851 return resultobj;
1852 fail:
1853 {
1854 if (temp2)
1855 delete arg2;
1856 }
1857 return NULL;
1858}
1859
1860
1861static PyObject * PyGridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1862 PyObject *obj;
1863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1864 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer, obj);
1865 Py_INCREF(obj);
1866 return Py_BuildValue((char *)"");
1867}
1868static PyObject *_wrap_new_GridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1869 PyObject *resultobj;
1870 wxGridCellStringRenderer *result;
1871 char *kwnames[] = {
1872 NULL
1873 };
1874
1875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellStringRenderer",kwnames)) goto fail;
1876 {
1877 PyThreadState* __tstate = wxPyBeginAllowThreads();
1878 result = (wxGridCellStringRenderer *)new wxGridCellStringRenderer();
1879
1880 wxPyEndAllowThreads(__tstate);
1881 if (PyErr_Occurred()) SWIG_fail;
1882 }
15afbcd0 1883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellStringRenderer, 1);
d14a1e28
RD
1884 return resultobj;
1885 fail:
1886 return NULL;
1887}
1888
1889
1890static PyObject * GridCellStringRenderer_swigregister(PyObject *self, PyObject *args) {
1891 PyObject *obj;
1892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1893 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer, obj);
1894 Py_INCREF(obj);
1895 return Py_BuildValue((char *)"");
1896}
1897static PyObject *_wrap_new_GridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1898 PyObject *resultobj;
1899 wxGridCellNumberRenderer *result;
1900 char *kwnames[] = {
1901 NULL
1902 };
1903
1904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellNumberRenderer",kwnames)) goto fail;
1905 {
1906 PyThreadState* __tstate = wxPyBeginAllowThreads();
1907 result = (wxGridCellNumberRenderer *)new wxGridCellNumberRenderer();
1908
1909 wxPyEndAllowThreads(__tstate);
1910 if (PyErr_Occurred()) SWIG_fail;
1911 }
15afbcd0 1912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberRenderer, 1);
d14a1e28
RD
1913 return resultobj;
1914 fail:
1915 return NULL;
1916}
1917
1918
1919static PyObject * GridCellNumberRenderer_swigregister(PyObject *self, PyObject *args) {
1920 PyObject *obj;
1921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1922 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer, obj);
1923 Py_INCREF(obj);
1924 return Py_BuildValue((char *)"");
1925}
1926static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1927 PyObject *resultobj;
1928 int arg1 = (int) -1 ;
1929 int arg2 = (int) -1 ;
1930 wxGridCellFloatRenderer *result;
994141e6
RD
1931 PyObject * obj0 = 0 ;
1932 PyObject * obj1 = 0 ;
d14a1e28
RD
1933 char *kwnames[] = {
1934 (char *) "width",(char *) "precision", NULL
1935 };
1936
994141e6
RD
1937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatRenderer",kwnames,&obj0,&obj1)) goto fail;
1938 if (obj0) {
15afbcd0
RD
1939 arg1 = (int) SWIG_AsInt(obj0);
1940 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
1941 }
1942 if (obj1) {
15afbcd0
RD
1943 arg2 = (int) SWIG_AsInt(obj1);
1944 if (PyErr_Occurred()) SWIG_fail;
994141e6 1945 }
d14a1e28
RD
1946 {
1947 PyThreadState* __tstate = wxPyBeginAllowThreads();
1948 result = (wxGridCellFloatRenderer *)new wxGridCellFloatRenderer(arg1,arg2);
1949
1950 wxPyEndAllowThreads(__tstate);
1951 if (PyErr_Occurred()) SWIG_fail;
1952 }
15afbcd0 1953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatRenderer, 1);
d14a1e28
RD
1954 return resultobj;
1955 fail:
1956 return NULL;
1957}
1958
1959
1960static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1961 PyObject *resultobj;
1962 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1963 int result;
1964 PyObject * obj0 = 0 ;
1965 char *kwnames[] = {
1966 (char *) "self", NULL
1967 };
1968
1969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
1970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
1971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1972 {
1973 PyThreadState* __tstate = wxPyBeginAllowThreads();
1974 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetWidth();
1975
1976 wxPyEndAllowThreads(__tstate);
1977 if (PyErr_Occurred()) SWIG_fail;
1978 }
15afbcd0 1979 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1980 return resultobj;
1981 fail:
1982 return NULL;
1983}
1984
1985
1986static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1987 PyObject *resultobj;
1988 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1989 int arg2 ;
1990 PyObject * obj0 = 0 ;
994141e6 1991 PyObject * obj1 = 0 ;
d14a1e28
RD
1992 char *kwnames[] = {
1993 (char *) "self",(char *) "width", NULL
1994 };
1995
994141e6 1996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
1998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1999 arg2 = (int) SWIG_AsInt(obj1);
2000 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2001 {
2002 PyThreadState* __tstate = wxPyBeginAllowThreads();
2003 (arg1)->SetWidth(arg2);
2004
2005 wxPyEndAllowThreads(__tstate);
2006 if (PyErr_Occurred()) SWIG_fail;
2007 }
2008 Py_INCREF(Py_None); resultobj = Py_None;
2009 return resultobj;
2010 fail:
2011 return NULL;
2012}
2013
2014
2015static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
2016 PyObject *resultobj;
2017 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2018 int result;
2019 PyObject * obj0 = 0 ;
2020 char *kwnames[] = {
2021 (char *) "self", NULL
2022 };
2023
2024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames,&obj0)) goto fail;
15afbcd0
RD
2025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2027 {
2028 PyThreadState* __tstate = wxPyBeginAllowThreads();
2029 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetPrecision();
2030
2031 wxPyEndAllowThreads(__tstate);
2032 if (PyErr_Occurred()) SWIG_fail;
2033 }
15afbcd0 2034 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2035 return resultobj;
2036 fail:
2037 return NULL;
2038}
2039
2040
2041static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
2042 PyObject *resultobj;
2043 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2044 int arg2 ;
2045 PyObject * obj0 = 0 ;
994141e6 2046 PyObject * obj1 = 0 ;
d14a1e28
RD
2047 char *kwnames[] = {
2048 (char *) "self",(char *) "precision", NULL
2049 };
2050
994141e6 2051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2054 arg2 = (int) SWIG_AsInt(obj1);
2055 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2056 {
2057 PyThreadState* __tstate = wxPyBeginAllowThreads();
2058 (arg1)->SetPrecision(arg2);
2059
2060 wxPyEndAllowThreads(__tstate);
2061 if (PyErr_Occurred()) SWIG_fail;
2062 }
2063 Py_INCREF(Py_None); resultobj = Py_None;
2064 return resultobj;
2065 fail:
2066 return NULL;
2067}
2068
2069
2070static PyObject * GridCellFloatRenderer_swigregister(PyObject *self, PyObject *args) {
2071 PyObject *obj;
2072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2073 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer, obj);
2074 Py_INCREF(obj);
2075 return Py_BuildValue((char *)"");
2076}
2077static PyObject *_wrap_new_GridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2078 PyObject *resultobj;
2079 wxGridCellBoolRenderer *result;
2080 char *kwnames[] = {
2081 NULL
2082 };
2083
2084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolRenderer",kwnames)) goto fail;
2085 {
2086 PyThreadState* __tstate = wxPyBeginAllowThreads();
2087 result = (wxGridCellBoolRenderer *)new wxGridCellBoolRenderer();
2088
2089 wxPyEndAllowThreads(__tstate);
2090 if (PyErr_Occurred()) SWIG_fail;
2091 }
15afbcd0 2092 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolRenderer, 1);
d14a1e28
RD
2093 return resultobj;
2094 fail:
2095 return NULL;
2096}
2097
2098
2099static PyObject * GridCellBoolRenderer_swigregister(PyObject *self, PyObject *args) {
2100 PyObject *obj;
2101 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2102 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer, obj);
2103 Py_INCREF(obj);
2104 return Py_BuildValue((char *)"");
2105}
2106static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2107 PyObject *resultobj;
2108 wxString arg1 = (wxString) wxPyDateTimeFormatStr ;
2109 wxString arg2 = (wxString) wxPyDateTimeFormatStr ;
2110 wxGridCellDateTimeRenderer *result;
d14a1e28
RD
2111 PyObject * obj0 = 0 ;
2112 PyObject * obj1 = 0 ;
2113 char *kwnames[] = {
2114 (char *) "outformat",(char *) "informat", NULL
2115 };
2116
2117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail;
2118 if (obj0) {
e811c8ce
RD
2119 {
2120 wxString* sptr = wxString_in_helper(obj0);
2121 if (sptr == NULL) SWIG_fail;
2122 arg1 = *sptr;
2123 delete sptr;
2124 }
d14a1e28
RD
2125 }
2126 if (obj1) {
e811c8ce
RD
2127 {
2128 wxString* sptr = wxString_in_helper(obj1);
2129 if (sptr == NULL) SWIG_fail;
2130 arg2 = *sptr;
2131 delete sptr;
2132 }
d14a1e28
RD
2133 }
2134 {
2135 PyThreadState* __tstate = wxPyBeginAllowThreads();
2136 result = (wxGridCellDateTimeRenderer *)new wxGridCellDateTimeRenderer(arg1,arg2);
2137
2138 wxPyEndAllowThreads(__tstate);
2139 if (PyErr_Occurred()) SWIG_fail;
2140 }
15afbcd0 2141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellDateTimeRenderer, 1);
d14a1e28
RD
2142 return resultobj;
2143 fail:
2144 return NULL;
2145}
2146
2147
2148static PyObject * GridCellDateTimeRenderer_swigregister(PyObject *self, PyObject *args) {
2149 PyObject *obj;
2150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2151 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer, obj);
2152 Py_INCREF(obj);
2153 return Py_BuildValue((char *)"");
2154}
2155static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2156 PyObject *resultobj;
2157 wxString const &arg1_defvalue = wxPyEmptyString ;
2158 wxString *arg1 = (wxString *) &arg1_defvalue ;
2159 wxGridCellEnumRenderer *result;
e811c8ce 2160 bool temp1 = False ;
d14a1e28
RD
2161 PyObject * obj0 = 0 ;
2162 char *kwnames[] = {
2163 (char *) "choices", NULL
2164 };
2165
2166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumRenderer",kwnames,&obj0)) goto fail;
2167 if (obj0) {
2168 {
2169 arg1 = wxString_in_helper(obj0);
2170 if (arg1 == NULL) SWIG_fail;
e811c8ce 2171 temp1 = True;
d14a1e28
RD
2172 }
2173 }
2174 {
2175 PyThreadState* __tstate = wxPyBeginAllowThreads();
2176 result = (wxGridCellEnumRenderer *)new wxGridCellEnumRenderer((wxString const &)*arg1);
2177
2178 wxPyEndAllowThreads(__tstate);
2179 if (PyErr_Occurred()) SWIG_fail;
2180 }
15afbcd0 2181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumRenderer, 1);
d14a1e28
RD
2182 {
2183 if (temp1)
2184 delete arg1;
2185 }
2186 return resultobj;
2187 fail:
2188 {
2189 if (temp1)
2190 delete arg1;
2191 }
2192 return NULL;
2193}
2194
2195
2196static PyObject * GridCellEnumRenderer_swigregister(PyObject *self, PyObject *args) {
2197 PyObject *obj;
2198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2199 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer, obj);
2200 Py_INCREF(obj);
2201 return Py_BuildValue((char *)"");
2202}
2203static PyObject *_wrap_new_GridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2204 PyObject *resultobj;
2205 wxGridCellAutoWrapStringRenderer *result;
2206 char *kwnames[] = {
2207 NULL
2208 };
2209
2210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringRenderer",kwnames)) goto fail;
2211 {
2212 PyThreadState* __tstate = wxPyBeginAllowThreads();
2213 result = (wxGridCellAutoWrapStringRenderer *)new wxGridCellAutoWrapStringRenderer();
2214
2215 wxPyEndAllowThreads(__tstate);
2216 if (PyErr_Occurred()) SWIG_fail;
2217 }
15afbcd0 2218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, 1);
d14a1e28
RD
2219 return resultobj;
2220 fail:
2221 return NULL;
2222}
2223
2224
2225static PyObject * GridCellAutoWrapStringRenderer_swigregister(PyObject *self, PyObject *args) {
2226 PyObject *obj;
2227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2228 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, obj);
2229 Py_INCREF(obj);
2230 return Py_BuildValue((char *)"");
2231}
2232static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2233 PyObject *resultobj;
2234 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2235 PyObject *arg2 = (PyObject *) 0 ;
2236 PyObject * obj0 = 0 ;
2237 PyObject * obj1 = 0 ;
2238 char *kwnames[] = {
2239 (char *) "self",(char *) "_self", NULL
2240 };
2241
2242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2245 arg2 = obj1;
2246 {
2247 PyThreadState* __tstate = wxPyBeginAllowThreads();
2248 wxGridCellEditor__setOORInfo(arg1,arg2);
2249
2250 wxPyEndAllowThreads(__tstate);
2251 if (PyErr_Occurred()) SWIG_fail;
2252 }
2253 Py_INCREF(Py_None); resultobj = Py_None;
2254 return resultobj;
2255 fail:
2256 return NULL;
2257}
2258
2259
2260static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
2261 PyObject *resultobj;
2262 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2263 bool result;
2264 PyObject * obj0 = 0 ;
2265 char *kwnames[] = {
2266 (char *) "self", NULL
2267 };
2268
2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IsCreated",kwnames,&obj0)) goto fail;
15afbcd0
RD
2270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2272 {
2273 PyThreadState* __tstate = wxPyBeginAllowThreads();
2274 result = (bool)(arg1)->IsCreated();
2275
2276 wxPyEndAllowThreads(__tstate);
2277 if (PyErr_Occurred()) SWIG_fail;
2278 }
4f89f6a3
RD
2279 {
2280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2281 }
d14a1e28
RD
2282 return resultobj;
2283 fail:
2284 return NULL;
2285}
2286
2287
2288static PyObject *_wrap_GridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2289 PyObject *resultobj;
2290 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2291 wxControl *result;
2292 PyObject * obj0 = 0 ;
2293 char *kwnames[] = {
2294 (char *) "self", NULL
2295 };
2296
2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
2298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2300 {
2301 PyThreadState* __tstate = wxPyBeginAllowThreads();
2302 result = (wxControl *)(arg1)->GetControl();
2303
2304 wxPyEndAllowThreads(__tstate);
2305 if (PyErr_Occurred()) SWIG_fail;
2306 }
2307 {
2308 resultobj = wxPyMake_wxObject(result);
2309 }
2310 return resultobj;
2311 fail:
2312 return NULL;
2313}
2314
2315
2316static PyObject *_wrap_GridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2317 PyObject *resultobj;
2318 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2319 wxControl *arg2 = (wxControl *) 0 ;
2320 PyObject * obj0 = 0 ;
2321 PyObject * obj1 = 0 ;
2322 char *kwnames[] = {
2323 (char *) "self",(char *) "control", NULL
2324 };
2325
2326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2329 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
2330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2331 {
2332 PyThreadState* __tstate = wxPyBeginAllowThreads();
2333 (arg1)->SetControl(arg2);
2334
2335 wxPyEndAllowThreads(__tstate);
2336 if (PyErr_Occurred()) SWIG_fail;
2337 }
2338 Py_INCREF(Py_None); resultobj = Py_None;
2339 return resultobj;
2340 fail:
2341 return NULL;
2342}
2343
2344
2345static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2346 PyObject *resultobj;
2347 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2348 wxGridCellAttr *result;
2349 PyObject * obj0 = 0 ;
2350 char *kwnames[] = {
2351 (char *) "self", NULL
2352 };
2353
2354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetCellAttr",kwnames,&obj0)) goto fail;
15afbcd0
RD
2355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2357 {
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 result = (wxGridCellAttr *)(arg1)->GetCellAttr();
2360
2361 wxPyEndAllowThreads(__tstate);
2362 if (PyErr_Occurred()) SWIG_fail;
2363 }
2364 {
2365 resultobj = wxPyMake_wxGridCellAttr(result);
2366 }
2367 return resultobj;
2368 fail:
2369 return NULL;
2370}
2371
2372
2373static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2374 PyObject *resultobj;
2375 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2376 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
2377 PyObject * obj0 = 0 ;
2378 PyObject * obj1 = 0 ;
2379 char *kwnames[] = {
2380 (char *) "self",(char *) "attr", NULL
2381 };
2382
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetCellAttr",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
2387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2388 {
2389 PyThreadState* __tstate = wxPyBeginAllowThreads();
2390 (arg1)->SetCellAttr(arg2);
2391
2392 wxPyEndAllowThreads(__tstate);
2393 if (PyErr_Occurred()) SWIG_fail;
2394 }
2395 Py_INCREF(Py_None); resultobj = Py_None;
2396 return resultobj;
2397 fail:
2398 return NULL;
2399}
2400
2401
2402static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2403 PyObject *resultobj;
2404 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2405 wxString *arg2 = 0 ;
e811c8ce 2406 bool temp2 = False ;
d14a1e28
RD
2407 PyObject * obj0 = 0 ;
2408 PyObject * obj1 = 0 ;
2409 char *kwnames[] = {
2410 (char *) "self",(char *) "params", NULL
2411 };
2412
2413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2416 {
2417 arg2 = wxString_in_helper(obj1);
2418 if (arg2 == NULL) SWIG_fail;
e811c8ce 2419 temp2 = True;
d14a1e28
RD
2420 }
2421 {
2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
2423 (arg1)->SetParameters((wxString const &)*arg2);
2424
2425 wxPyEndAllowThreads(__tstate);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 }
2428 Py_INCREF(Py_None); resultobj = Py_None;
2429 {
2430 if (temp2)
2431 delete arg2;
2432 }
2433 return resultobj;
2434 fail:
2435 {
2436 if (temp2)
2437 delete arg2;
2438 }
2439 return NULL;
2440}
2441
2442
2443static PyObject *_wrap_GridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2444 PyObject *resultobj;
2445 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2446 PyObject * obj0 = 0 ;
2447 char *kwnames[] = {
2448 (char *) "self", NULL
2449 };
2450
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IncRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
2452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2454 {
2455 PyThreadState* __tstate = wxPyBeginAllowThreads();
2456 (arg1)->IncRef();
2457
2458 wxPyEndAllowThreads(__tstate);
2459 if (PyErr_Occurred()) SWIG_fail;
2460 }
2461 Py_INCREF(Py_None); resultobj = Py_None;
2462 return resultobj;
2463 fail:
2464 return NULL;
2465}
2466
2467
2468static PyObject *_wrap_GridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2469 PyObject *resultobj;
2470 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2471 PyObject * obj0 = 0 ;
2472 char *kwnames[] = {
2473 (char *) "self", NULL
2474 };
2475
2476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_DecRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
2477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2479 {
2480 PyThreadState* __tstate = wxPyBeginAllowThreads();
2481 (arg1)->DecRef();
2482
2483 wxPyEndAllowThreads(__tstate);
2484 if (PyErr_Occurred()) SWIG_fail;
2485 }
2486 Py_INCREF(Py_None); resultobj = Py_None;
2487 return resultobj;
2488 fail:
2489 return NULL;
2490}
2491
2492
2493static PyObject *_wrap_GridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2494 PyObject *resultobj;
2495 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2496 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2497 int arg3 ;
d14a1e28
RD
2498 wxEvtHandler *arg4 = (wxEvtHandler *) 0 ;
2499 PyObject * obj0 = 0 ;
2500 PyObject * obj1 = 0 ;
994141e6 2501 PyObject * obj2 = 0 ;
d14a1e28
RD
2502 PyObject * obj3 = 0 ;
2503 char *kwnames[] = {
2504 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2505 };
2506
994141e6 2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
2508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2512 arg3 = (int) SWIG_AsInt(obj2);
2513 if (PyErr_Occurred()) SWIG_fail;
2514 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxEvtHandler,
2515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2516 {
2517 PyThreadState* __tstate = wxPyBeginAllowThreads();
2518 (arg1)->Create(arg2,arg3,arg4);
2519
2520 wxPyEndAllowThreads(__tstate);
2521 if (PyErr_Occurred()) SWIG_fail;
2522 }
2523 Py_INCREF(Py_None); resultobj = Py_None;
2524 return resultobj;
2525 fail:
2526 return NULL;
2527}
2528
2529
2530static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2531 PyObject *resultobj;
2532 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2533 int arg2 ;
2534 int arg3 ;
2535 wxGrid *arg4 = (wxGrid *) 0 ;
2536 PyObject * obj0 = 0 ;
994141e6
RD
2537 PyObject * obj1 = 0 ;
2538 PyObject * obj2 = 0 ;
d14a1e28
RD
2539 PyObject * obj3 = 0 ;
2540 char *kwnames[] = {
2541 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2542 };
2543
994141e6 2544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
2545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2547 arg2 = (int) SWIG_AsInt(obj1);
2548 if (PyErr_Occurred()) SWIG_fail;
2549 arg3 = (int) SWIG_AsInt(obj2);
2550 if (PyErr_Occurred()) SWIG_fail;
2551 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2553 {
2554 PyThreadState* __tstate = wxPyBeginAllowThreads();
2555 (arg1)->BeginEdit(arg2,arg3,arg4);
2556
2557 wxPyEndAllowThreads(__tstate);
2558 if (PyErr_Occurred()) SWIG_fail;
2559 }
2560 Py_INCREF(Py_None); resultobj = Py_None;
2561 return resultobj;
2562 fail:
2563 return NULL;
2564}
2565
2566
2567static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2568 PyObject *resultobj;
2569 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2570 int arg2 ;
2571 int arg3 ;
2572 wxGrid *arg4 = (wxGrid *) 0 ;
2573 bool result;
2574 PyObject * obj0 = 0 ;
994141e6
RD
2575 PyObject * obj1 = 0 ;
2576 PyObject * obj2 = 0 ;
d14a1e28
RD
2577 PyObject * obj3 = 0 ;
2578 char *kwnames[] = {
2579 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2580 };
2581
994141e6 2582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_EndEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
2583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2585 arg2 = (int) SWIG_AsInt(obj1);
2586 if (PyErr_Occurred()) SWIG_fail;
2587 arg3 = (int) SWIG_AsInt(obj2);
2588 if (PyErr_Occurred()) SWIG_fail;
2589 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2591 {
2592 PyThreadState* __tstate = wxPyBeginAllowThreads();
2593 result = (bool)(arg1)->EndEdit(arg2,arg3,arg4);
2594
2595 wxPyEndAllowThreads(__tstate);
2596 if (PyErr_Occurred()) SWIG_fail;
2597 }
4f89f6a3
RD
2598 {
2599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2600 }
d14a1e28
RD
2601 return resultobj;
2602 fail:
2603 return NULL;
2604}
2605
2606
2607static PyObject *_wrap_GridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
2608 PyObject *resultobj;
2609 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2610 PyObject * obj0 = 0 ;
2611 char *kwnames[] = {
2612 (char *) "self", NULL
2613 };
2614
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Reset",kwnames,&obj0)) goto fail;
15afbcd0
RD
2616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2618 {
2619 PyThreadState* __tstate = wxPyBeginAllowThreads();
2620 (arg1)->Reset();
2621
2622 wxPyEndAllowThreads(__tstate);
2623 if (PyErr_Occurred()) SWIG_fail;
2624 }
2625 Py_INCREF(Py_None); resultobj = Py_None;
2626 return resultobj;
2627 fail:
2628 return NULL;
2629}
2630
2631
2632static PyObject *_wrap_GridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2633 PyObject *resultobj;
2634 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2635 wxGridCellEditor *result;
2636 PyObject * obj0 = 0 ;
2637 char *kwnames[] = {
2638 (char *) "self", NULL
2639 };
2640
2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
2642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2644 {
2645 PyThreadState* __tstate = wxPyBeginAllowThreads();
2646 result = (wxGridCellEditor *)((wxGridCellEditor const *)arg1)->Clone();
2647
2648 wxPyEndAllowThreads(__tstate);
2649 if (PyErr_Occurred()) SWIG_fail;
2650 }
2651 {
2652 resultobj = wxPyMake_wxGridCellEditor(result);
2653 }
2654 return resultobj;
2655 fail:
2656 return NULL;
2657}
2658
2659
2660static PyObject *_wrap_GridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2661 PyObject *resultobj;
2662 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2663 wxRect *arg2 = 0 ;
2664 wxRect temp2 ;
2665 PyObject * obj0 = 0 ;
2666 PyObject * obj1 = 0 ;
2667 char *kwnames[] = {
2668 (char *) "self",(char *) "rect", NULL
2669 };
2670
2671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2674 {
2675 arg2 = &temp2;
2676 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2677 }
2678 {
2679 PyThreadState* __tstate = wxPyBeginAllowThreads();
2680 (arg1)->SetSize((wxRect const &)*arg2);
2681
2682 wxPyEndAllowThreads(__tstate);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 Py_INCREF(Py_None); resultobj = Py_None;
2686 return resultobj;
2687 fail:
2688 return NULL;
2689}
2690
2691
2692static PyObject *_wrap_GridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2693 PyObject *resultobj;
2694 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2695 bool arg2 ;
2696 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
2697 PyObject * obj0 = 0 ;
2698 PyObject * obj1 = 0 ;
2699 PyObject * obj2 = 0 ;
2700 char *kwnames[] = {
2701 (char *) "self",(char *) "show",(char *) "attr", NULL
2702 };
2703
2704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridCellEditor_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2707 arg2 = (bool) SWIG_AsBool(obj1);
2708 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2709 if (obj2) {
15afbcd0
RD
2710 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2712 }
2713 {
2714 PyThreadState* __tstate = wxPyBeginAllowThreads();
2715 (arg1)->Show(arg2,arg3);
2716
2717 wxPyEndAllowThreads(__tstate);
2718 if (PyErr_Occurred()) SWIG_fail;
2719 }
2720 Py_INCREF(Py_None); resultobj = Py_None;
2721 return resultobj;
2722 fail:
2723 return NULL;
2724}
2725
2726
2727static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2728 PyObject *resultobj;
2729 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2730 wxRect *arg2 = 0 ;
2731 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
2732 wxRect temp2 ;
2733 PyObject * obj0 = 0 ;
2734 PyObject * obj1 = 0 ;
2735 PyObject * obj2 = 0 ;
2736 char *kwnames[] = {
2737 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2738 };
2739
2740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellEditor_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2743 {
2744 arg2 = &temp2;
2745 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2746 }
15afbcd0
RD
2747 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2749 {
2750 PyThreadState* __tstate = wxPyBeginAllowThreads();
2751 (arg1)->PaintBackground((wxRect const &)*arg2,arg3);
2752
2753 wxPyEndAllowThreads(__tstate);
2754 if (PyErr_Occurred()) SWIG_fail;
2755 }
2756 Py_INCREF(Py_None); resultobj = Py_None;
2757 return resultobj;
2758 fail:
2759 return NULL;
2760}
2761
2762
2763static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2764 PyObject *resultobj;
2765 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2766 wxKeyEvent *arg2 = 0 ;
2767 bool result;
2768 PyObject * obj0 = 0 ;
2769 PyObject * obj1 = 0 ;
2770 char *kwnames[] = {
2771 (char *) "self",(char *) "event", NULL
2772 };
2773
2774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2778 SWIG_POINTER_EXCEPTION | 0)) == -1)
2779 SWIG_fail;
d14a1e28 2780 if (arg2 == NULL) {
15afbcd0
RD
2781 PyErr_SetString(PyExc_TypeError,"null reference");
2782 SWIG_fail;
d14a1e28
RD
2783 }
2784 {
2785 PyThreadState* __tstate = wxPyBeginAllowThreads();
2786 result = (bool)(arg1)->IsAcceptedKey(*arg2);
2787
2788 wxPyEndAllowThreads(__tstate);
2789 if (PyErr_Occurred()) SWIG_fail;
2790 }
4f89f6a3
RD
2791 {
2792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2793 }
d14a1e28
RD
2794 return resultobj;
2795 fail:
2796 return NULL;
2797}
2798
2799
2800static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2801 PyObject *resultobj;
2802 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2803 wxKeyEvent *arg2 = 0 ;
2804 PyObject * obj0 = 0 ;
2805 PyObject * obj1 = 0 ;
2806 char *kwnames[] = {
2807 (char *) "self",(char *) "event", NULL
2808 };
2809
2810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_StartingKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2814 SWIG_POINTER_EXCEPTION | 0)) == -1)
2815 SWIG_fail;
d14a1e28 2816 if (arg2 == NULL) {
15afbcd0
RD
2817 PyErr_SetString(PyExc_TypeError,"null reference");
2818 SWIG_fail;
d14a1e28
RD
2819 }
2820 {
2821 PyThreadState* __tstate = wxPyBeginAllowThreads();
2822 (arg1)->StartingKey(*arg2);
2823
2824 wxPyEndAllowThreads(__tstate);
2825 if (PyErr_Occurred()) SWIG_fail;
2826 }
2827 Py_INCREF(Py_None); resultobj = Py_None;
2828 return resultobj;
2829 fail:
2830 return NULL;
2831}
2832
2833
2834static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2835 PyObject *resultobj;
2836 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2837 PyObject * obj0 = 0 ;
2838 char *kwnames[] = {
2839 (char *) "self", NULL
2840 };
2841
2842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_StartingClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
2843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2845 {
2846 PyThreadState* __tstate = wxPyBeginAllowThreads();
2847 (arg1)->StartingClick();
2848
2849 wxPyEndAllowThreads(__tstate);
2850 if (PyErr_Occurred()) SWIG_fail;
2851 }
2852 Py_INCREF(Py_None); resultobj = Py_None;
2853 return resultobj;
2854 fail:
2855 return NULL;
2856}
2857
2858
2859static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2860 PyObject *resultobj;
2861 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2862 wxKeyEvent *arg2 = 0 ;
2863 PyObject * obj0 = 0 ;
2864 PyObject * obj1 = 0 ;
2865 char *kwnames[] = {
2866 (char *) "self",(char *) "event", NULL
2867 };
2868
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2872 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2873 SWIG_POINTER_EXCEPTION | 0)) == -1)
2874 SWIG_fail;
d14a1e28 2875 if (arg2 == NULL) {
15afbcd0
RD
2876 PyErr_SetString(PyExc_TypeError,"null reference");
2877 SWIG_fail;
d14a1e28
RD
2878 }
2879 {
2880 PyThreadState* __tstate = wxPyBeginAllowThreads();
2881 (arg1)->HandleReturn(*arg2);
2882
2883 wxPyEndAllowThreads(__tstate);
2884 if (PyErr_Occurred()) SWIG_fail;
2885 }
2886 Py_INCREF(Py_None); resultobj = Py_None;
2887 return resultobj;
2888 fail:
2889 return NULL;
2890}
2891
2892
2893static PyObject *_wrap_GridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2894 PyObject *resultobj;
2895 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2896 PyObject * obj0 = 0 ;
2897 char *kwnames[] = {
2898 (char *) "self", NULL
2899 };
2900
2901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
2902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2904 {
2905 PyThreadState* __tstate = wxPyBeginAllowThreads();
2906 (arg1)->Destroy();
2907
2908 wxPyEndAllowThreads(__tstate);
2909 if (PyErr_Occurred()) SWIG_fail;
2910 }
2911 Py_INCREF(Py_None); resultobj = Py_None;
2912 return resultobj;
2913 fail:
2914 return NULL;
2915}
2916
2917
2918static PyObject * GridCellEditor_swigregister(PyObject *self, PyObject *args) {
2919 PyObject *obj;
2920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2921 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor, obj);
2922 Py_INCREF(obj);
2923 return Py_BuildValue((char *)"");
2924}
2925static PyObject *_wrap_new_PyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2926 PyObject *resultobj;
2927 wxPyGridCellEditor *result;
2928 char *kwnames[] = {
2929 NULL
2930 };
2931
2932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellEditor",kwnames)) goto fail;
2933 {
2934 PyThreadState* __tstate = wxPyBeginAllowThreads();
2935 result = (wxPyGridCellEditor *)new wxPyGridCellEditor();
2936
2937 wxPyEndAllowThreads(__tstate);
2938 if (PyErr_Occurred()) SWIG_fail;
2939 }
15afbcd0 2940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellEditor, 1);
d14a1e28
RD
2941 return resultobj;
2942 fail:
2943 return NULL;
2944}
2945
2946
2947static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2948 PyObject *resultobj;
2949 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2950 PyObject *arg2 = (PyObject *) 0 ;
2951 PyObject *arg3 = (PyObject *) 0 ;
2952 PyObject * obj0 = 0 ;
2953 PyObject * obj1 = 0 ;
2954 PyObject * obj2 = 0 ;
2955 char *kwnames[] = {
2956 (char *) "self",(char *) "self",(char *) "_class", NULL
2957 };
2958
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
2961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2962 arg2 = obj1;
2963 arg3 = obj2;
2964 {
2965 PyThreadState* __tstate = wxPyBeginAllowThreads();
2966 (arg1)->_setCallbackInfo(arg2,arg3);
2967
2968 wxPyEndAllowThreads(__tstate);
2969 if (PyErr_Occurred()) SWIG_fail;
2970 }
2971 Py_INCREF(Py_None); resultobj = Py_None;
2972 return resultobj;
2973 fail:
2974 return NULL;
2975}
2976
2977
2978static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2979 PyObject *resultobj;
2980 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2981 wxRect *arg2 = 0 ;
2982 wxRect temp2 ;
2983 PyObject * obj0 = 0 ;
2984 PyObject * obj1 = 0 ;
2985 char *kwnames[] = {
2986 (char *) "self",(char *) "rect", NULL
2987 };
2988
2989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
2991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2992 {
2993 arg2 = &temp2;
2994 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2995 }
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 (arg1)->base_SetSize((wxRect const &)*arg2);
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 Py_INCREF(Py_None); resultobj = Py_None;
3004 return resultobj;
3005 fail:
3006 return NULL;
3007}
3008
3009
3010static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
3011 PyObject *resultobj;
3012 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3013 bool arg2 ;
3014 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
3015 PyObject * obj0 = 0 ;
3016 PyObject * obj1 = 0 ;
3017 PyObject * obj2 = 0 ;
3018 char *kwnames[] = {
3019 (char *) "self",(char *) "show",(char *) "attr", NULL
3020 };
3021
3022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3025 arg2 = (bool) SWIG_AsBool(obj1);
3026 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3027 if (obj2) {
15afbcd0
RD
3028 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3030 }
3031 {
3032 PyThreadState* __tstate = wxPyBeginAllowThreads();
3033 (arg1)->base_Show(arg2,arg3);
3034
3035 wxPyEndAllowThreads(__tstate);
3036 if (PyErr_Occurred()) SWIG_fail;
3037 }
3038 Py_INCREF(Py_None); resultobj = Py_None;
3039 return resultobj;
3040 fail:
3041 return NULL;
3042}
3043
3044
3045static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
3046 PyObject *resultobj;
3047 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3048 wxRect *arg2 = 0 ;
3049 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
3050 wxRect temp2 ;
3051 PyObject * obj0 = 0 ;
3052 PyObject * obj1 = 0 ;
3053 PyObject * obj2 = 0 ;
3054 char *kwnames[] = {
3055 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3056 };
3057
3058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3061 {
3062 arg2 = &temp2;
3063 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3064 }
15afbcd0
RD
3065 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 (arg1)->base_PaintBackground((wxRect const &)*arg2,arg3);
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 Py_INCREF(Py_None); resultobj = Py_None;
3075 return resultobj;
3076 fail:
3077 return NULL;
3078}
3079
3080
3081static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
3082 PyObject *resultobj;
3083 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3084 wxKeyEvent *arg2 = 0 ;
3085 bool result;
3086 PyObject * obj0 = 0 ;
3087 PyObject * obj1 = 0 ;
3088 char *kwnames[] = {
3089 (char *) "self",(char *) "event", NULL
3090 };
3091
3092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3096 SWIG_POINTER_EXCEPTION | 0)) == -1)
3097 SWIG_fail;
d14a1e28 3098 if (arg2 == NULL) {
15afbcd0
RD
3099 PyErr_SetString(PyExc_TypeError,"null reference");
3100 SWIG_fail;
d14a1e28
RD
3101 }
3102 {
3103 PyThreadState* __tstate = wxPyBeginAllowThreads();
3104 result = (bool)(arg1)->base_IsAcceptedKey(*arg2);
3105
3106 wxPyEndAllowThreads(__tstate);
3107 if (PyErr_Occurred()) SWIG_fail;
3108 }
4f89f6a3
RD
3109 {
3110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3111 }
d14a1e28
RD
3112 return resultobj;
3113 fail:
3114 return NULL;
3115}
3116
3117
3118static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
3119 PyObject *resultobj;
3120 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3121 wxKeyEvent *arg2 = 0 ;
3122 PyObject * obj0 = 0 ;
3123 PyObject * obj1 = 0 ;
3124 char *kwnames[] = {
3125 (char *) "self",(char *) "event", NULL
3126 };
3127
3128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3132 SWIG_POINTER_EXCEPTION | 0)) == -1)
3133 SWIG_fail;
d14a1e28 3134 if (arg2 == NULL) {
15afbcd0
RD
3135 PyErr_SetString(PyExc_TypeError,"null reference");
3136 SWIG_fail;
d14a1e28
RD
3137 }
3138 {
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
3140 (arg1)->base_StartingKey(*arg2);
3141
3142 wxPyEndAllowThreads(__tstate);
3143 if (PyErr_Occurred()) SWIG_fail;
3144 }
3145 Py_INCREF(Py_None); resultobj = Py_None;
3146 return resultobj;
3147 fail:
3148 return NULL;
3149}
3150
3151
3152static PyObject *_wrap_PyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3153 PyObject *resultobj;
3154 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3155 PyObject * obj0 = 0 ;
3156 char *kwnames[] = {
3157 (char *) "self", NULL
3158 };
3159
3160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
3161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3163 {
3164 PyThreadState* __tstate = wxPyBeginAllowThreads();
3165 (arg1)->base_StartingClick();
3166
3167 wxPyEndAllowThreads(__tstate);
3168 if (PyErr_Occurred()) SWIG_fail;
3169 }
3170 Py_INCREF(Py_None); resultobj = Py_None;
3171 return resultobj;
3172 fail:
3173 return NULL;
3174}
3175
3176
3177static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
3178 PyObject *resultobj;
3179 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3180 wxKeyEvent *arg2 = 0 ;
3181 PyObject * obj0 = 0 ;
3182 PyObject * obj1 = 0 ;
3183 char *kwnames[] = {
3184 (char *) "self",(char *) "event", NULL
3185 };
3186
3187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3191 SWIG_POINTER_EXCEPTION | 0)) == -1)
3192 SWIG_fail;
d14a1e28 3193 if (arg2 == NULL) {
15afbcd0
RD
3194 PyErr_SetString(PyExc_TypeError,"null reference");
3195 SWIG_fail;
d14a1e28
RD
3196 }
3197 {
3198 PyThreadState* __tstate = wxPyBeginAllowThreads();
3199 (arg1)->base_HandleReturn(*arg2);
3200
3201 wxPyEndAllowThreads(__tstate);
3202 if (PyErr_Occurred()) SWIG_fail;
3203 }
3204 Py_INCREF(Py_None); resultobj = Py_None;
3205 return resultobj;
3206 fail:
3207 return NULL;
3208}
3209
3210
3211static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
3212 PyObject *resultobj;
3213 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3214 PyObject * obj0 = 0 ;
3215 char *kwnames[] = {
3216 (char *) "self", NULL
3217 };
3218
3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
3220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3222 {
3223 PyThreadState* __tstate = wxPyBeginAllowThreads();
3224 (arg1)->base_Destroy();
3225
3226 wxPyEndAllowThreads(__tstate);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 }
3229 Py_INCREF(Py_None); resultobj = Py_None;
3230 return resultobj;
3231 fail:
3232 return NULL;
3233}
3234
3235
3236static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
3237 PyObject *resultobj;
3238 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3239 wxString *arg2 = 0 ;
e811c8ce 3240 bool temp2 = False ;
d14a1e28
RD
3241 PyObject * obj0 = 0 ;
3242 PyObject * obj1 = 0 ;
3243 char *kwnames[] = {
3244 (char *) "self",(char *) "params", NULL
3245 };
3246
3247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3250 {
3251 arg2 = wxString_in_helper(obj1);
3252 if (arg2 == NULL) SWIG_fail;
e811c8ce 3253 temp2 = True;
d14a1e28
RD
3254 }
3255 {
3256 PyThreadState* __tstate = wxPyBeginAllowThreads();
3257 (arg1)->base_SetParameters((wxString const &)*arg2);
3258
3259 wxPyEndAllowThreads(__tstate);
3260 if (PyErr_Occurred()) SWIG_fail;
3261 }
3262 Py_INCREF(Py_None); resultobj = Py_None;
3263 {
3264 if (temp2)
3265 delete arg2;
3266 }
3267 return resultobj;
3268 fail:
3269 {
3270 if (temp2)
3271 delete arg2;
3272 }
3273 return NULL;
3274}
3275
3276
3277static PyObject * PyGridCellEditor_swigregister(PyObject *self, PyObject *args) {
3278 PyObject *obj;
3279 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3280 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor, obj);
3281 Py_INCREF(obj);
3282 return Py_BuildValue((char *)"");
3283}
3284static PyObject *_wrap_new_GridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3285 PyObject *resultobj;
3286 wxGridCellTextEditor *result;
3287 char *kwnames[] = {
3288 NULL
3289 };
3290
3291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellTextEditor",kwnames)) goto fail;
3292 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 result = (wxGridCellTextEditor *)new wxGridCellTextEditor();
3295
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
15afbcd0 3299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellTextEditor, 1);
d14a1e28
RD
3300 return resultobj;
3301 fail:
3302 return NULL;
3303}
3304
3305
3306static PyObject *_wrap_GridCellTextEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject *resultobj;
3308 wxGridCellTextEditor *arg1 = (wxGridCellTextEditor *) 0 ;
3309 wxString result;
3310 PyObject * obj0 = 0 ;
3311 char *kwnames[] = {
3312 (char *) "self", NULL
3313 };
3314
3315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellTextEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellTextEditor,
3317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 result = (arg1)->GetValue();
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 {
3326#if wxUSE_UNICODE
3327 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3328#else
3329 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3330#endif
3331 }
3332 return resultobj;
3333 fail:
3334 return NULL;
3335}
3336
3337
3338static PyObject * GridCellTextEditor_swigregister(PyObject *self, PyObject *args) {
3339 PyObject *obj;
3340 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3341 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor, obj);
3342 Py_INCREF(obj);
3343 return Py_BuildValue((char *)"");
3344}
3345static PyObject *_wrap_new_GridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3346 PyObject *resultobj;
3347 int arg1 = (int) -1 ;
3348 int arg2 = (int) -1 ;
3349 wxGridCellNumberEditor *result;
994141e6
RD
3350 PyObject * obj0 = 0 ;
3351 PyObject * obj1 = 0 ;
d14a1e28
RD
3352 char *kwnames[] = {
3353 (char *) "min",(char *) "max", NULL
3354 };
3355
994141e6
RD
3356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellNumberEditor",kwnames,&obj0,&obj1)) goto fail;
3357 if (obj0) {
15afbcd0
RD
3358 arg1 = (int) SWIG_AsInt(obj0);
3359 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3360 }
3361 if (obj1) {
15afbcd0
RD
3362 arg2 = (int) SWIG_AsInt(obj1);
3363 if (PyErr_Occurred()) SWIG_fail;
994141e6 3364 }
d14a1e28
RD
3365 {
3366 PyThreadState* __tstate = wxPyBeginAllowThreads();
3367 result = (wxGridCellNumberEditor *)new wxGridCellNumberEditor(arg1,arg2);
3368
3369 wxPyEndAllowThreads(__tstate);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 }
15afbcd0 3372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberEditor, 1);
d14a1e28
RD
3373 return resultobj;
3374 fail:
3375 return NULL;
3376}
3377
3378
3379static PyObject *_wrap_GridCellNumberEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3380 PyObject *resultobj;
3381 wxGridCellNumberEditor *arg1 = (wxGridCellNumberEditor *) 0 ;
3382 wxString result;
3383 PyObject * obj0 = 0 ;
3384 char *kwnames[] = {
3385 (char *) "self", NULL
3386 };
3387
3388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellNumberEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellNumberEditor,
3390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 result = (arg1)->GetValue();
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) SWIG_fail;
3397 }
3398 {
3399#if wxUSE_UNICODE
3400 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3401#else
3402 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3403#endif
3404 }
3405 return resultobj;
3406 fail:
3407 return NULL;
3408}
3409
3410
3411static PyObject * GridCellNumberEditor_swigregister(PyObject *self, PyObject *args) {
3412 PyObject *obj;
3413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3414 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor, obj);
3415 Py_INCREF(obj);
3416 return Py_BuildValue((char *)"");
3417}
3418static PyObject *_wrap_new_GridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3419 PyObject *resultobj;
b2df227b
RD
3420 int arg1 = (int) -1 ;
3421 int arg2 = (int) -1 ;
d14a1e28 3422 wxGridCellFloatEditor *result;
b2df227b
RD
3423 PyObject * obj0 = 0 ;
3424 PyObject * obj1 = 0 ;
d14a1e28 3425 char *kwnames[] = {
b2df227b 3426 (char *) "width",(char *) "precision", NULL
d14a1e28
RD
3427 };
3428
b2df227b
RD
3429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatEditor",kwnames,&obj0,&obj1)) goto fail;
3430 if (obj0) {
3431 arg1 = (int) SWIG_AsInt(obj0);
3432 if (PyErr_Occurred()) SWIG_fail;
3433 }
3434 if (obj1) {
3435 arg2 = (int) SWIG_AsInt(obj1);
3436 if (PyErr_Occurred()) SWIG_fail;
3437 }
d14a1e28
RD
3438 {
3439 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2df227b 3440 result = (wxGridCellFloatEditor *)new wxGridCellFloatEditor(arg1,arg2);
d14a1e28
RD
3441
3442 wxPyEndAllowThreads(__tstate);
3443 if (PyErr_Occurred()) SWIG_fail;
3444 }
15afbcd0 3445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatEditor, 1);
d14a1e28
RD
3446 return resultobj;
3447 fail:
3448 return NULL;
3449}
3450
3451
3452static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3453 PyObject *resultobj;
3454 wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ;
3455 wxString result;
3456 PyObject * obj0 = 0 ;
3457 char *kwnames[] = {
3458 (char *) "self", NULL
3459 };
3460
3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatEditor,
3463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3464 {
3465 PyThreadState* __tstate = wxPyBeginAllowThreads();
3466 result = (arg1)->GetValue();
3467
3468 wxPyEndAllowThreads(__tstate);
3469 if (PyErr_Occurred()) SWIG_fail;
3470 }
3471 {
3472#if wxUSE_UNICODE
3473 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3474#else
3475 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3476#endif
3477 }
3478 return resultobj;
3479 fail:
3480 return NULL;
3481}
3482
3483
3484static PyObject * GridCellFloatEditor_swigregister(PyObject *self, PyObject *args) {
3485 PyObject *obj;
3486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3487 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor, obj);
3488 Py_INCREF(obj);
3489 return Py_BuildValue((char *)"");
3490}
3491static PyObject *_wrap_new_GridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3492 PyObject *resultobj;
3493 wxGridCellBoolEditor *result;
3494 char *kwnames[] = {
3495 NULL
3496 };
3497
3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolEditor",kwnames)) goto fail;
3499 {
3500 PyThreadState* __tstate = wxPyBeginAllowThreads();
3501 result = (wxGridCellBoolEditor *)new wxGridCellBoolEditor();
3502
3503 wxPyEndAllowThreads(__tstate);
3504 if (PyErr_Occurred()) SWIG_fail;
3505 }
15afbcd0 3506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolEditor, 1);
d14a1e28
RD
3507 return resultobj;
3508 fail:
3509 return NULL;
3510}
3511
3512
3513static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject *resultobj;
3515 wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ;
3516 wxString result;
3517 PyObject * obj0 = 0 ;
3518 char *kwnames[] = {
3519 (char *) "self", NULL
3520 };
3521
3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellBoolEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellBoolEditor,
3524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3525 {
3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
3527 result = (arg1)->GetValue();
3528
3529 wxPyEndAllowThreads(__tstate);
3530 if (PyErr_Occurred()) SWIG_fail;
3531 }
3532 {
3533#if wxUSE_UNICODE
3534 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3535#else
3536 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3537#endif
3538 }
3539 return resultobj;
3540 fail:
3541 return NULL;
3542}
3543
3544
3545static PyObject * GridCellBoolEditor_swigregister(PyObject *self, PyObject *args) {
3546 PyObject *obj;
3547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3548 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor, obj);
3549 Py_INCREF(obj);
3550 return Py_BuildValue((char *)"");
3551}
3552static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3553 PyObject *resultobj;
3554 int arg1 = (int) 0 ;
3555 wxString *arg2 = (wxString *) NULL ;
e811c8ce 3556 bool arg3 = (bool) False ;
d14a1e28 3557 wxGridCellChoiceEditor *result;
7722248d 3558 PyObject * obj0 = 0 ;
d14a1e28 3559 PyObject * obj1 = 0 ;
d14a1e28 3560 char *kwnames[] = {
7722248d 3561 (char *) "choices",(char *) "allowOthers", NULL
d14a1e28
RD
3562 };
3563
7722248d
RD
3564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellChoiceEditor",kwnames,&obj0,&obj1)) goto fail;
3565 if (obj0) {
3566 {
3567 arg1 = PyList_Size(obj0);
3568 arg2 = wxString_LIST_helper(obj0);
3569 if (arg2 == NULL) SWIG_fail;
3570 }
d14a1e28 3571 }
7722248d 3572 if (obj1) {
15afbcd0
RD
3573 arg3 = (bool) SWIG_AsBool(obj1);
3574 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3575 }
3576 {
3577 PyThreadState* __tstate = wxPyBeginAllowThreads();
3578 result = (wxGridCellChoiceEditor *)new wxGridCellChoiceEditor(arg1,(wxString const *)arg2,arg3);
3579
3580 wxPyEndAllowThreads(__tstate);
3581 if (PyErr_Occurred()) SWIG_fail;
3582 }
15afbcd0 3583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellChoiceEditor, 1);
7722248d
RD
3584 {
3585 if (arg2) delete [] arg2;
3586 }
d14a1e28
RD
3587 return resultobj;
3588 fail:
7722248d
RD
3589 {
3590 if (arg2) delete [] arg2;
3591 }
d14a1e28
RD
3592 return NULL;
3593}
3594
3595
3596static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3597 PyObject *resultobj;
3598 wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ;
3599 wxString result;
3600 PyObject * obj0 = 0 ;
3601 char *kwnames[] = {
3602 (char *) "self", NULL
3603 };
3604
3605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellChoiceEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellChoiceEditor,
3607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3608 {
3609 PyThreadState* __tstate = wxPyBeginAllowThreads();
3610 result = (arg1)->GetValue();
3611
3612 wxPyEndAllowThreads(__tstate);
3613 if (PyErr_Occurred()) SWIG_fail;
3614 }
3615 {
3616#if wxUSE_UNICODE
3617 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3618#else
3619 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3620#endif
3621 }
3622 return resultobj;
3623 fail:
3624 return NULL;
3625}
3626
3627
3628static PyObject * GridCellChoiceEditor_swigregister(PyObject *self, PyObject *args) {
3629 PyObject *obj;
3630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3631 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor, obj);
3632 Py_INCREF(obj);
3633 return Py_BuildValue((char *)"");
3634}
3635static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 wxString const &arg1_defvalue = wxPyEmptyString ;
3638 wxString *arg1 = (wxString *) &arg1_defvalue ;
3639 wxGridCellEnumEditor *result;
e811c8ce 3640 bool temp1 = False ;
d14a1e28
RD
3641 PyObject * obj0 = 0 ;
3642 char *kwnames[] = {
3643 (char *) "choices", NULL
3644 };
3645
3646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumEditor",kwnames,&obj0)) goto fail;
3647 if (obj0) {
3648 {
3649 arg1 = wxString_in_helper(obj0);
3650 if (arg1 == NULL) SWIG_fail;
e811c8ce 3651 temp1 = True;
d14a1e28
RD
3652 }
3653 }
3654 {
3655 PyThreadState* __tstate = wxPyBeginAllowThreads();
3656 result = (wxGridCellEnumEditor *)new wxGridCellEnumEditor((wxString const &)*arg1);
3657
3658 wxPyEndAllowThreads(__tstate);
3659 if (PyErr_Occurred()) SWIG_fail;
3660 }
15afbcd0 3661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumEditor, 1);
d14a1e28
RD
3662 {
3663 if (temp1)
3664 delete arg1;
3665 }
3666 return resultobj;
3667 fail:
3668 {
3669 if (temp1)
3670 delete arg1;
3671 }
3672 return NULL;
3673}
3674
3675
3676static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3677 PyObject *resultobj;
3678 wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ;
3679 wxString result;
3680 PyObject * obj0 = 0 ;
3681 char *kwnames[] = {
3682 (char *) "self", NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEnumEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEnumEditor,
3687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3688 {
3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
3690 result = (arg1)->GetValue();
3691
3692 wxPyEndAllowThreads(__tstate);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 }
3695 {
3696#if wxUSE_UNICODE
3697 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3698#else
3699 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3700#endif
3701 }
3702 return resultobj;
3703 fail:
3704 return NULL;
3705}
3706
3707
3708static PyObject * GridCellEnumEditor_swigregister(PyObject *self, PyObject *args) {
3709 PyObject *obj;
3710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3711 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor, obj);
3712 Py_INCREF(obj);
3713 return Py_BuildValue((char *)"");
3714}
3715static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj;
3717 wxGridCellAutoWrapStringEditor *result;
3718 char *kwnames[] = {
3719 NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringEditor",kwnames)) goto fail;
3723 {
3724 PyThreadState* __tstate = wxPyBeginAllowThreads();
3725 result = (wxGridCellAutoWrapStringEditor *)new wxGridCellAutoWrapStringEditor();
3726
3727 wxPyEndAllowThreads(__tstate);
3728 if (PyErr_Occurred()) SWIG_fail;
3729 }
15afbcd0 3730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringEditor, 1);
d14a1e28
RD
3731 return resultobj;
3732 fail:
3733 return NULL;
3734}
3735
3736
3737static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3738 PyObject *resultobj;
3739 wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ;
3740 wxString result;
3741 PyObject * obj0 = 0 ;
3742 char *kwnames[] = {
3743 (char *) "self", NULL
3744 };
3745
3746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAutoWrapStringEditor,
3748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3749 {
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
3751 result = (arg1)->GetValue();
3752
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 {
3757#if wxUSE_UNICODE
3758 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3759#else
3760 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3761#endif
3762 }
3763 return resultobj;
3764 fail:
3765 return NULL;
3766}
3767
3768
3769static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *self, PyObject *args) {
3770 PyObject *obj;
3771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3772 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor, obj);
3773 Py_INCREF(obj);
3774 return Py_BuildValue((char *)"");
3775}
3776static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3777 PyObject *resultobj;
3778 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3779 PyObject *arg2 = (PyObject *) 0 ;
3780 PyObject * obj0 = 0 ;
3781 PyObject * obj1 = 0 ;
3782 char *kwnames[] = {
3783 (char *) "self",(char *) "_self", NULL
3784 };
3785
3786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3789 arg2 = obj1;
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 wxGridCellAttr__setOORInfo(arg1,arg2);
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 Py_INCREF(Py_None); resultobj = Py_None;
3798 return resultobj;
3799 fail:
3800 return NULL;
3801}
3802
3803
3804static PyObject *_wrap_new_GridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3805 PyObject *resultobj;
3806 wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ;
3807 wxGridCellAttr *result;
3808 PyObject * obj0 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "attrDefault", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellAttr",kwnames,&obj0)) goto fail;
3814 if (obj0) {
15afbcd0
RD
3815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3817 }
3818 {
3819 PyThreadState* __tstate = wxPyBeginAllowThreads();
3820 result = (wxGridCellAttr *)new wxGridCellAttr(arg1);
3821
3822 wxPyEndAllowThreads(__tstate);
3823 if (PyErr_Occurred()) SWIG_fail;
3824 }
3825 {
3826 resultobj = wxPyMake_wxGridCellAttr(result);
3827 }
3828 return resultobj;
3829 fail:
3830 return NULL;
3831}
3832
3833
3834static PyObject *_wrap_GridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3835 PyObject *resultobj;
3836 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3837 wxGridCellAttr *result;
3838 PyObject * obj0 = 0 ;
3839 char *kwnames[] = {
3840 (char *) "self", NULL
3841 };
3842
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
3844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3846 {
3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
3848 result = (wxGridCellAttr *)((wxGridCellAttr const *)arg1)->Clone();
3849
3850 wxPyEndAllowThreads(__tstate);
3851 if (PyErr_Occurred()) SWIG_fail;
3852 }
3853 {
3854 resultobj = wxPyMake_wxGridCellAttr(result);
3855 }
3856 return resultobj;
3857 fail:
3858 return NULL;
3859}
3860
3861
3862static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj;
3864 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3865 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
3866 PyObject * obj0 = 0 ;
3867 PyObject * obj1 = 0 ;
3868 char *kwnames[] = {
3869 (char *) "self",(char *) "mergefrom", NULL
3870 };
3871
3872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_MergeWith",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3875 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
3876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3877 {
3878 PyThreadState* __tstate = wxPyBeginAllowThreads();
3879 (arg1)->MergeWith(arg2);
3880
3881 wxPyEndAllowThreads(__tstate);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 Py_INCREF(Py_None); resultobj = Py_None;
3885 return resultobj;
3886 fail:
3887 return NULL;
3888}
3889
3890
3891static PyObject *_wrap_GridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3892 PyObject *resultobj;
3893 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3894 PyObject * obj0 = 0 ;
3895 char *kwnames[] = {
3896 (char *) "self", NULL
3897 };
3898
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IncRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
3900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3902 {
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
3904 (arg1)->IncRef();
3905
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
3909 Py_INCREF(Py_None); resultobj = Py_None;
3910 return resultobj;
3911 fail:
3912 return NULL;
3913}
3914
3915
3916static PyObject *_wrap_GridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3917 PyObject *resultobj;
3918 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3919 PyObject * obj0 = 0 ;
3920 char *kwnames[] = {
3921 (char *) "self", NULL
3922 };
3923
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_DecRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
3925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3927 {
3928 PyThreadState* __tstate = wxPyBeginAllowThreads();
3929 (arg1)->DecRef();
3930
3931 wxPyEndAllowThreads(__tstate);
3932 if (PyErr_Occurred()) SWIG_fail;
3933 }
3934 Py_INCREF(Py_None); resultobj = Py_None;
3935 return resultobj;
3936 fail:
3937 return NULL;
3938}
3939
3940
3941static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3942 PyObject *resultobj;
3943 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3944 wxColour *arg2 = 0 ;
3945 wxColour temp2 ;
3946 PyObject * obj0 = 0 ;
3947 PyObject * obj1 = 0 ;
3948 char *kwnames[] = {
3949 (char *) "self",(char *) "colText", NULL
3950 };
3951
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3955 {
3956 arg2 = &temp2;
3957 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3958 }
3959 {
3960 PyThreadState* __tstate = wxPyBeginAllowThreads();
3961 (arg1)->SetTextColour((wxColour const &)*arg2);
3962
3963 wxPyEndAllowThreads(__tstate);
3964 if (PyErr_Occurred()) SWIG_fail;
3965 }
3966 Py_INCREF(Py_None); resultobj = Py_None;
3967 return resultobj;
3968 fail:
3969 return NULL;
3970}
3971
3972
3973static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3974 PyObject *resultobj;
3975 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3976 wxColour *arg2 = 0 ;
3977 wxColour temp2 ;
3978 PyObject * obj0 = 0 ;
3979 PyObject * obj1 = 0 ;
3980 char *kwnames[] = {
3981 (char *) "self",(char *) "colBack", NULL
3982 };
3983
3984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3987 {
3988 arg2 = &temp2;
3989 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3990 }
3991 {
3992 PyThreadState* __tstate = wxPyBeginAllowThreads();
3993 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
3994
3995 wxPyEndAllowThreads(__tstate);
3996 if (PyErr_Occurred()) SWIG_fail;
3997 }
3998 Py_INCREF(Py_None); resultobj = Py_None;
3999 return resultobj;
4000 fail:
4001 return NULL;
4002}
4003
4004
4005static PyObject *_wrap_GridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4006 PyObject *resultobj;
4007 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4008 wxFont *arg2 = 0 ;
4009 PyObject * obj0 = 0 ;
4010 PyObject * obj1 = 0 ;
4011 char *kwnames[] = {
4012 (char *) "self",(char *) "font", NULL
4013 };
4014
4015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
4019 SWIG_POINTER_EXCEPTION | 0)) == -1)
4020 SWIG_fail;
d14a1e28 4021 if (arg2 == NULL) {
15afbcd0
RD
4022 PyErr_SetString(PyExc_TypeError,"null reference");
4023 SWIG_fail;
d14a1e28
RD
4024 }
4025 {
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 (arg1)->SetFont((wxFont const &)*arg2);
4028
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 Py_INCREF(Py_None); resultobj = Py_None;
4033 return resultobj;
4034 fail:
4035 return NULL;
4036}
4037
4038
4039static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4040 PyObject *resultobj;
4041 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4042 int arg2 ;
4043 int arg3 ;
4044 PyObject * obj0 = 0 ;
994141e6
RD
4045 PyObject * obj1 = 0 ;
4046 PyObject * obj2 = 0 ;
d14a1e28
RD
4047 char *kwnames[] = {
4048 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4049 };
4050
994141e6 4051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4054 arg2 = (int) SWIG_AsInt(obj1);
4055 if (PyErr_Occurred()) SWIG_fail;
4056 arg3 = (int) SWIG_AsInt(obj2);
4057 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4058 {
4059 PyThreadState* __tstate = wxPyBeginAllowThreads();
4060 (arg1)->SetAlignment(arg2,arg3);
4061
4062 wxPyEndAllowThreads(__tstate);
4063 if (PyErr_Occurred()) SWIG_fail;
4064 }
4065 Py_INCREF(Py_None); resultobj = Py_None;
4066 return resultobj;
4067 fail:
4068 return NULL;
4069}
4070
4071
4072static PyObject *_wrap_GridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4073 PyObject *resultobj;
4074 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4075 int arg2 ;
4076 int arg3 ;
4077 PyObject * obj0 = 0 ;
994141e6
RD
4078 PyObject * obj1 = 0 ;
4079 PyObject * obj2 = 0 ;
d14a1e28
RD
4080 char *kwnames[] = {
4081 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4082 };
4083
994141e6 4084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4087 arg2 = (int) SWIG_AsInt(obj1);
4088 if (PyErr_Occurred()) SWIG_fail;
4089 arg3 = (int) SWIG_AsInt(obj2);
4090 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4091 {
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4093 (arg1)->SetSize(arg2,arg3);
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 }
4098 Py_INCREF(Py_None); resultobj = Py_None;
4099 return resultobj;
4100 fail:
4101 return NULL;
4102}
4103
4104
4105static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4106 PyObject *resultobj;
4107 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
e811c8ce 4108 bool arg2 = (bool) True ;
d14a1e28
RD
4109 PyObject * obj0 = 0 ;
4110 PyObject * obj1 = 0 ;
4111 char *kwnames[] = {
4112 (char *) "self",(char *) "allow", NULL
4113 };
4114
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetOverflow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4118 if (obj1) {
15afbcd0
RD
4119 arg2 = (bool) SWIG_AsBool(obj1);
4120 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4121 }
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 (arg1)->SetOverflow(arg2);
4125
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 Py_INCREF(Py_None); resultobj = Py_None;
4130 return resultobj;
4131 fail:
4132 return NULL;
4133}
4134
4135
4136static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4137 PyObject *resultobj;
4138 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
e811c8ce 4139 bool arg2 = (bool) True ;
d14a1e28
RD
4140 PyObject * obj0 = 0 ;
4141 PyObject * obj1 = 0 ;
4142 char *kwnames[] = {
4143 (char *) "self",(char *) "isReadOnly", NULL
4144 };
4145
4146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4149 if (obj1) {
15afbcd0
RD
4150 arg2 = (bool) SWIG_AsBool(obj1);
4151 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4152 }
4153 {
4154 PyThreadState* __tstate = wxPyBeginAllowThreads();
4155 (arg1)->SetReadOnly(arg2);
4156
4157 wxPyEndAllowThreads(__tstate);
4158 if (PyErr_Occurred()) SWIG_fail;
4159 }
4160 Py_INCREF(Py_None); resultobj = Py_None;
4161 return resultobj;
4162 fail:
4163 return NULL;
4164}
4165
4166
4167static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4168 PyObject *resultobj;
4169 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4170 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
4171 PyObject * obj0 = 0 ;
4172 PyObject * obj1 = 0 ;
4173 char *kwnames[] = {
4174 (char *) "self",(char *) "renderer", NULL
4175 };
4176
4177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetRenderer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4180 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
4181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4182 {
4183 PyThreadState* __tstate = wxPyBeginAllowThreads();
4184 (arg1)->SetRenderer(arg2);
4185
4186 wxPyEndAllowThreads(__tstate);
4187 if (PyErr_Occurred()) SWIG_fail;
4188 }
4189 Py_INCREF(Py_None); resultobj = Py_None;
4190 return resultobj;
4191 fail:
4192 return NULL;
4193}
4194
4195
4196static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4197 PyObject *resultobj;
4198 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4199 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
4200 PyObject * obj0 = 0 ;
4201 PyObject * obj1 = 0 ;
4202 char *kwnames[] = {
4203 (char *) "self",(char *) "editor", NULL
4204 };
4205
4206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetEditor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4209 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
4210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 (arg1)->SetEditor(arg2);
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 Py_INCREF(Py_None); resultobj = Py_None;
4219 return resultobj;
4220 fail:
4221 return NULL;
4222}
4223
4224
4225static PyObject *_wrap_GridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
4226 PyObject *resultobj;
4227 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4228 int arg2 ;
4229 PyObject * obj0 = 0 ;
994141e6 4230 PyObject * obj1 = 0 ;
d14a1e28
RD
4231 char *kwnames[] = {
4232 (char *) "self",(char *) "kind", NULL
4233 };
4234
994141e6 4235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetKind",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4238 arg2 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj1);
4239 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4240 {
4241 PyThreadState* __tstate = wxPyBeginAllowThreads();
4242 (arg1)->SetKind((wxGridCellAttr::wxAttrKind )arg2);
4243
4244 wxPyEndAllowThreads(__tstate);
4245 if (PyErr_Occurred()) SWIG_fail;
4246 }
4247 Py_INCREF(Py_None); resultobj = Py_None;
4248 return resultobj;
4249 fail:
4250 return NULL;
4251}
4252
4253
4254static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4255 PyObject *resultobj;
4256 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4257 bool result;
4258 PyObject * obj0 = 0 ;
4259 char *kwnames[] = {
4260 (char *) "self", NULL
4261 };
4262
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4266 {
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 result = (bool)((wxGridCellAttr const *)arg1)->HasTextColour();
4269
4270 wxPyEndAllowThreads(__tstate);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
4f89f6a3
RD
4273 {
4274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4275 }
d14a1e28
RD
4276 return resultobj;
4277 fail:
4278 return NULL;
4279}
4280
4281
4282static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4283 PyObject *resultobj;
4284 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4285 bool result;
4286 PyObject * obj0 = 0 ;
4287 char *kwnames[] = {
4288 (char *) "self", NULL
4289 };
4290
4291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4294 {
4295 PyThreadState* __tstate = wxPyBeginAllowThreads();
4296 result = (bool)((wxGridCellAttr const *)arg1)->HasBackgroundColour();
4297
4298 wxPyEndAllowThreads(__tstate);
4299 if (PyErr_Occurred()) SWIG_fail;
4300 }
4f89f6a3
RD
4301 {
4302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4303 }
d14a1e28
RD
4304 return resultobj;
4305 fail:
4306 return NULL;
4307}
4308
4309
4310static PyObject *_wrap_GridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4313 bool result;
4314 PyObject * obj0 = 0 ;
4315 char *kwnames[] = {
4316 (char *) "self", NULL
4317 };
4318
4319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
4320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4322 {
4323 PyThreadState* __tstate = wxPyBeginAllowThreads();
4324 result = (bool)((wxGridCellAttr const *)arg1)->HasFont();
4325
4326 wxPyEndAllowThreads(__tstate);
4327 if (PyErr_Occurred()) SWIG_fail;
4328 }
4f89f6a3
RD
4329 {
4330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4331 }
d14a1e28
RD
4332 return resultobj;
4333 fail:
4334 return NULL;
4335}
4336
4337
4338static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4339 PyObject *resultobj;
4340 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4341 bool result;
4342 PyObject * obj0 = 0 ;
4343 char *kwnames[] = {
4344 (char *) "self", NULL
4345 };
4346
4347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
4348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4350 {
4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
4352 result = (bool)((wxGridCellAttr const *)arg1)->HasAlignment();
4353
4354 wxPyEndAllowThreads(__tstate);
4355 if (PyErr_Occurred()) SWIG_fail;
4356 }
4f89f6a3
RD
4357 {
4358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4359 }
d14a1e28
RD
4360 return resultobj;
4361 fail:
4362 return NULL;
4363}
4364
4365
4366static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4367 PyObject *resultobj;
4368 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4369 bool result;
4370 PyObject * obj0 = 0 ;
4371 char *kwnames[] = {
4372 (char *) "self", NULL
4373 };
4374
4375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasRenderer",kwnames,&obj0)) goto fail;
15afbcd0
RD
4376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 result = (bool)((wxGridCellAttr const *)arg1)->HasRenderer();
4381
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4f89f6a3
RD
4385 {
4386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4387 }
d14a1e28
RD
4388 return resultobj;
4389 fail:
4390 return NULL;
4391}
4392
4393
4394static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj;
4396 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4397 bool result;
4398 PyObject * obj0 = 0 ;
4399 char *kwnames[] = {
4400 (char *) "self", NULL
4401 };
4402
4403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasEditor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 result = (bool)((wxGridCellAttr const *)arg1)->HasEditor();
4409
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4f89f6a3
RD
4413 {
4414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4415 }
d14a1e28
RD
4416 return resultobj;
4417 fail:
4418 return NULL;
4419}
4420
4421
4422static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4423 PyObject *resultobj;
4424 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4425 bool result;
4426 PyObject * obj0 = 0 ;
4427 char *kwnames[] = {
4428 (char *) "self", NULL
4429 };
4430
4431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
4432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4434 {
4435 PyThreadState* __tstate = wxPyBeginAllowThreads();
4436 result = (bool)((wxGridCellAttr const *)arg1)->HasReadWriteMode();
4437
4438 wxPyEndAllowThreads(__tstate);
4439 if (PyErr_Occurred()) SWIG_fail;
4440 }
4f89f6a3
RD
4441 {
4442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4443 }
d14a1e28
RD
4444 return resultobj;
4445 fail:
4446 return NULL;
4447}
4448
4449
4450static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4451 PyObject *resultobj;
4452 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4453 bool result;
4454 PyObject * obj0 = 0 ;
4455 char *kwnames[] = {
4456 (char *) "self", NULL
4457 };
4458
4459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasOverflowMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
4460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4462 {
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 result = (bool)((wxGridCellAttr const *)arg1)->HasOverflowMode();
4465
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4f89f6a3
RD
4469 {
4470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4471 }
d14a1e28
RD
4472 return resultobj;
4473 fail:
4474 return NULL;
4475}
4476
4477
4478static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4479 PyObject *resultobj;
4480 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4481 wxColour result;
4482 PyObject * obj0 = 0 ;
4483 char *kwnames[] = {
4484 (char *) "self", NULL
4485 };
4486
4487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4490 {
4491 PyThreadState* __tstate = wxPyBeginAllowThreads();
4492 result = ((wxGridCellAttr const *)arg1)->GetTextColour();
4493
4494 wxPyEndAllowThreads(__tstate);
4495 if (PyErr_Occurred()) SWIG_fail;
4496 }
4497 {
4498 wxColour * resultptr;
4499 resultptr = new wxColour((wxColour &) result);
15afbcd0 4500 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4501 }
4502 return resultobj;
4503 fail:
4504 return NULL;
4505}
4506
4507
4508static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4509 PyObject *resultobj;
4510 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4511 wxColour result;
4512 PyObject * obj0 = 0 ;
4513 char *kwnames[] = {
4514 (char *) "self", NULL
4515 };
4516
4517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 result = ((wxGridCellAttr const *)arg1)->GetBackgroundColour();
4523
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 {
4528 wxColour * resultptr;
4529 resultptr = new wxColour((wxColour &) result);
15afbcd0 4530 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4531 }
4532 return resultobj;
4533 fail:
4534 return NULL;
4535}
4536
4537
4538static PyObject *_wrap_GridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4539 PyObject *resultobj;
4540 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4541 wxFont result;
4542 PyObject * obj0 = 0 ;
4543 char *kwnames[] = {
4544 (char *) "self", NULL
4545 };
4546
4547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
4548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4550 {
4551 PyThreadState* __tstate = wxPyBeginAllowThreads();
4552 result = ((wxGridCellAttr const *)arg1)->GetFont();
4553
4554 wxPyEndAllowThreads(__tstate);
4555 if (PyErr_Occurred()) SWIG_fail;
4556 }
4557 {
4558 wxFont * resultptr;
4559 resultptr = new wxFont((wxFont &) result);
15afbcd0 4560 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
4561 }
4562 return resultobj;
4563 fail:
4564 return NULL;
4565}
4566
4567
4568static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4569 PyObject *resultobj;
4570 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4571 int *arg2 = (int *) 0 ;
4572 int *arg3 = (int *) 0 ;
4573 int temp2 ;
4574 int temp3 ;
4575 PyObject * obj0 = 0 ;
4576 char *kwnames[] = {
4577 (char *) "self", NULL
4578 };
4579
4580 arg2 = &temp2;
4581 arg3 = &temp3;
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
4583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4585 {
4586 PyThreadState* __tstate = wxPyBeginAllowThreads();
4587 ((wxGridCellAttr const *)arg1)->GetAlignment(arg2,arg3);
4588
4589 wxPyEndAllowThreads(__tstate);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4592 Py_INCREF(Py_None); resultobj = Py_None;
4593 {
4594 PyObject *o = PyInt_FromLong((long) (*arg2));
4595 resultobj = t_output_helper(resultobj,o);
4596 }
4597 {
4598 PyObject *o = PyInt_FromLong((long) (*arg3));
4599 resultobj = t_output_helper(resultobj,o);
4600 }
4601 return resultobj;
4602 fail:
4603 return NULL;
4604}
4605
4606
4607static PyObject *_wrap_GridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4608 PyObject *resultobj;
4609 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4610 int *arg2 = (int *) 0 ;
4611 int *arg3 = (int *) 0 ;
4612 int temp2 ;
4613 int temp3 ;
4614 PyObject * obj0 = 0 ;
4615 char *kwnames[] = {
4616 (char *) "self", NULL
4617 };
4618
4619 arg2 = &temp2;
4620 arg3 = &temp3;
4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
4622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4624 {
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 ((wxGridCellAttr const *)arg1)->GetSize(arg2,arg3);
4627
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 }
4631 Py_INCREF(Py_None); resultobj = Py_None;
4632 {
4633 PyObject *o = PyInt_FromLong((long) (*arg2));
4634 resultobj = t_output_helper(resultobj,o);
4635 }
4636 {
4637 PyObject *o = PyInt_FromLong((long) (*arg3));
4638 resultobj = t_output_helper(resultobj,o);
4639 }
4640 return resultobj;
4641 fail:
4642 return NULL;
4643}
4644
4645
4646static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4647 PyObject *resultobj;
4648 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4649 bool result;
4650 PyObject * obj0 = 0 ;
4651 char *kwnames[] = {
4652 (char *) "self", NULL
4653 };
4654
4655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetOverflow",kwnames,&obj0)) goto fail;
15afbcd0
RD
4656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4658 {
4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
4660 result = (bool)((wxGridCellAttr const *)arg1)->GetOverflow();
4661
4662 wxPyEndAllowThreads(__tstate);
4663 if (PyErr_Occurred()) SWIG_fail;
4664 }
4f89f6a3
RD
4665 {
4666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4667 }
d14a1e28
RD
4668 return resultobj;
4669 fail:
4670 return NULL;
4671}
4672
4673
4674static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4675 PyObject *resultobj;
4676 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4677 wxGrid *arg2 = (wxGrid *) 0 ;
4678 int arg3 ;
4679 int arg4 ;
4680 wxGridCellRenderer *result;
4681 PyObject * obj0 = 0 ;
4682 PyObject * obj1 = 0 ;
994141e6
RD
4683 PyObject * obj2 = 0 ;
4684 PyObject * obj3 = 0 ;
d14a1e28
RD
4685 char *kwnames[] = {
4686 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4687 };
4688
994141e6 4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4694 arg3 = (int) SWIG_AsInt(obj2);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 arg4 = (int) SWIG_AsInt(obj3);
4697 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 result = (wxGridCellRenderer *)((wxGridCellAttr const *)arg1)->GetRenderer(arg2,arg3,arg4);
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 {
4706 resultobj = wxPyMake_wxGridCellRenderer(result);
4707 }
4708 return resultobj;
4709 fail:
4710 return NULL;
4711}
4712
4713
4714static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4715 PyObject *resultobj;
4716 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4717 wxGrid *arg2 = (wxGrid *) 0 ;
4718 int arg3 ;
4719 int arg4 ;
4720 wxGridCellEditor *result;
4721 PyObject * obj0 = 0 ;
4722 PyObject * obj1 = 0 ;
994141e6
RD
4723 PyObject * obj2 = 0 ;
4724 PyObject * obj3 = 0 ;
d14a1e28
RD
4725 char *kwnames[] = {
4726 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4727 };
4728
994141e6 4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4732 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4734 arg3 = (int) SWIG_AsInt(obj2);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 arg4 = (int) SWIG_AsInt(obj3);
4737 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4738 {
4739 PyThreadState* __tstate = wxPyBeginAllowThreads();
4740 result = (wxGridCellEditor *)((wxGridCellAttr const *)arg1)->GetEditor(arg2,arg3,arg4);
4741
4742 wxPyEndAllowThreads(__tstate);
4743 if (PyErr_Occurred()) SWIG_fail;
4744 }
4745 {
4746 resultobj = wxPyMake_wxGridCellEditor(result);
4747 }
4748 return resultobj;
4749 fail:
4750 return NULL;
4751}
4752
4753
4754static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4755 PyObject *resultobj;
4756 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4757 bool result;
4758 PyObject * obj0 = 0 ;
4759 char *kwnames[] = {
4760 (char *) "self", NULL
4761 };
4762
4763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IsReadOnly",kwnames,&obj0)) goto fail;
15afbcd0
RD
4764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 result = (bool)((wxGridCellAttr const *)arg1)->IsReadOnly();
4769
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4f89f6a3
RD
4773 {
4774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4775 }
d14a1e28
RD
4776 return resultobj;
4777 fail:
4778 return NULL;
4779}
4780
4781
fd2dc343
RD
4782static PyObject *_wrap_GridCellAttr_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
4783 PyObject *resultobj;
4784 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4785 int result;
4786 PyObject * obj0 = 0 ;
4787 char *kwnames[] = {
4788 (char *) "self", NULL
4789 };
4790
4791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetKind",kwnames,&obj0)) goto fail;
4792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4794 {
4795 PyThreadState* __tstate = wxPyBeginAllowThreads();
4796 result = (int)(arg1)->GetKind();
4797
4798 wxPyEndAllowThreads(__tstate);
4799 if (PyErr_Occurred()) SWIG_fail;
4800 }
4801 resultobj = SWIG_FromInt((int)result);
4802 return resultobj;
4803 fail:
4804 return NULL;
4805}
4806
4807
d14a1e28
RD
4808static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4809 PyObject *resultobj;
4810 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4811 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4812 PyObject * obj0 = 0 ;
4813 PyObject * obj1 = 0 ;
4814 char *kwnames[] = {
4815 (char *) "self",(char *) "defAttr", NULL
4816 };
4817
4818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetDefAttr",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4821 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4823 {
4824 PyThreadState* __tstate = wxPyBeginAllowThreads();
4825 (arg1)->SetDefAttr(arg2);
4826
4827 wxPyEndAllowThreads(__tstate);
4828 if (PyErr_Occurred()) SWIG_fail;
4829 }
4830 Py_INCREF(Py_None); resultobj = Py_None;
4831 return resultobj;
4832 fail:
4833 return NULL;
4834}
4835
4836
4837static PyObject * GridCellAttr_swigregister(PyObject *self, PyObject *args) {
4838 PyObject *obj;
4839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4840 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr, obj);
4841 Py_INCREF(obj);
4842 return Py_BuildValue((char *)"");
4843}
4844static PyObject *_wrap_new_GridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4845 PyObject *resultobj;
4846 wxGridCellAttrProvider *result;
4847 char *kwnames[] = {
4848 NULL
4849 };
4850
4851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAttrProvider",kwnames)) goto fail;
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 result = (wxGridCellAttrProvider *)new wxGridCellAttrProvider();
4855
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 {
4860 resultobj = wxPyMake_wxGridCellAttrProvider(result);
4861 }
4862 return resultobj;
4863 fail:
4864 return NULL;
4865}
4866
4867
4868static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4869 PyObject *resultobj;
4870 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4871 PyObject *arg2 = (PyObject *) 0 ;
4872 PyObject * obj0 = 0 ;
4873 PyObject * obj1 = 0 ;
4874 char *kwnames[] = {
4875 (char *) "self",(char *) "_self", NULL
4876 };
4877
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4881 arg2 = obj1;
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 wxGridCellAttrProvider__setOORInfo(arg1,arg2);
4885
4886 wxPyEndAllowThreads(__tstate);
4887 if (PyErr_Occurred()) SWIG_fail;
4888 }
4889 Py_INCREF(Py_None); resultobj = Py_None;
4890 return resultobj;
4891 fail:
4892 return NULL;
4893}
4894
4895
4896static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4897 PyObject *resultobj;
4898 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4899 int arg2 ;
4900 int arg3 ;
4901 int arg4 ;
4902 wxGridCellAttr *result;
4903 PyObject * obj0 = 0 ;
994141e6
RD
4904 PyObject * obj1 = 0 ;
4905 PyObject * obj2 = 0 ;
4906 PyObject * obj3 = 0 ;
d14a1e28
RD
4907 char *kwnames[] = {
4908 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4909 };
4910
994141e6 4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4914 arg2 = (int) SWIG_AsInt(obj1);
4915 if (PyErr_Occurred()) SWIG_fail;
4916 arg3 = (int) SWIG_AsInt(obj2);
4917 if (PyErr_Occurred()) SWIG_fail;
4918 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
4919 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4920 {
4921 PyThreadState* __tstate = wxPyBeginAllowThreads();
4922 result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
4923
4924 wxPyEndAllowThreads(__tstate);
4925 if (PyErr_Occurred()) SWIG_fail;
4926 }
4927 {
4928 resultobj = wxPyMake_wxGridCellAttr(result);
4929 }
4930 return resultobj;
4931 fail:
4932 return NULL;
4933}
4934
4935
4936static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4937 PyObject *resultobj;
4938 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4939 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4940 int arg3 ;
4941 int arg4 ;
4942 PyObject * obj0 = 0 ;
4943 PyObject * obj1 = 0 ;
994141e6
RD
4944 PyObject * obj2 = 0 ;
4945 PyObject * obj3 = 0 ;
d14a1e28
RD
4946 char *kwnames[] = {
4947 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4948 };
4949
994141e6 4950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
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;
4955 arg3 = (int) SWIG_AsInt(obj2);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 arg4 = (int) SWIG_AsInt(obj3);
4958 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4959 {
4960 PyThreadState* __tstate = wxPyBeginAllowThreads();
4961 (arg1)->SetAttr(arg2,arg3,arg4);
4962
4963 wxPyEndAllowThreads(__tstate);
4964 if (PyErr_Occurred()) SWIG_fail;
4965 }
4966 Py_INCREF(Py_None); resultobj = Py_None;
4967 return resultobj;
4968 fail:
4969 return NULL;
4970}
4971
4972
4973static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4974 PyObject *resultobj;
4975 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4976 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4977 int arg3 ;
4978 PyObject * obj0 = 0 ;
4979 PyObject * obj1 = 0 ;
994141e6 4980 PyObject * obj2 = 0 ;
d14a1e28
RD
4981 char *kwnames[] = {
4982 (char *) "self",(char *) "attr",(char *) "row", NULL
4983 };
4984
994141e6 4985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4990 arg3 = (int) SWIG_AsInt(obj2);
4991 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4992 {
4993 PyThreadState* __tstate = wxPyBeginAllowThreads();
4994 (arg1)->SetRowAttr(arg2,arg3);
4995
4996 wxPyEndAllowThreads(__tstate);
4997 if (PyErr_Occurred()) SWIG_fail;
4998 }
4999 Py_INCREF(Py_None); resultobj = Py_None;
5000 return resultobj;
5001 fail:
5002 return NULL;
5003}
5004
5005
5006static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5007 PyObject *resultobj;
5008 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5009 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5010 int arg3 ;
5011 PyObject * obj0 = 0 ;
5012 PyObject * obj1 = 0 ;
994141e6 5013 PyObject * obj2 = 0 ;
d14a1e28
RD
5014 char *kwnames[] = {
5015 (char *) "self",(char *) "attr",(char *) "col", NULL
5016 };
5017
994141e6 5018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5021 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5023 arg3 = (int) SWIG_AsInt(obj2);
5024 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 (arg1)->SetColAttr(arg2,arg3);
5028
5029 wxPyEndAllowThreads(__tstate);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 Py_INCREF(Py_None); resultobj = Py_None;
5033 return resultobj;
5034 fail:
5035 return NULL;
5036}
5037
5038
5039static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5042 size_t arg2 ;
5043 int arg3 ;
5044 PyObject * obj0 = 0 ;
5045 PyObject * obj1 = 0 ;
994141e6 5046 PyObject * obj2 = 0 ;
d14a1e28
RD
5047 char *kwnames[] = {
5048 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5049 };
5050
994141e6 5051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5054 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 arg3 = (int) SWIG_AsInt(obj2);
5057 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5058 {
5059 PyThreadState* __tstate = wxPyBeginAllowThreads();
5060 (arg1)->UpdateAttrRows(arg2,arg3);
5061
5062 wxPyEndAllowThreads(__tstate);
5063 if (PyErr_Occurred()) SWIG_fail;
5064 }
5065 Py_INCREF(Py_None); resultobj = Py_None;
5066 return resultobj;
5067 fail:
5068 return NULL;
5069}
5070
5071
5072static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5073 PyObject *resultobj;
5074 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5075 size_t arg2 ;
5076 int arg3 ;
5077 PyObject * obj0 = 0 ;
5078 PyObject * obj1 = 0 ;
994141e6 5079 PyObject * obj2 = 0 ;
d14a1e28
RD
5080 char *kwnames[] = {
5081 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5082 };
5083
994141e6 5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5087 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5088 if (PyErr_Occurred()) SWIG_fail;
5089 arg3 = (int) SWIG_AsInt(obj2);
5090 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
5093 (arg1)->UpdateAttrCols(arg2,arg3);
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
5105static PyObject * GridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
5106 PyObject *obj;
5107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5108 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider, obj);
5109 Py_INCREF(obj);
5110 return Py_BuildValue((char *)"");
5111}
5112static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5113 PyObject *resultobj;
5114 wxPyGridCellAttrProvider *result;
5115 char *kwnames[] = {
5116 NULL
5117 };
5118
5119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellAttrProvider",kwnames)) goto fail;
5120 {
5121 PyThreadState* __tstate = wxPyBeginAllowThreads();
5122 result = (wxPyGridCellAttrProvider *)new wxPyGridCellAttrProvider();
5123
5124 wxPyEndAllowThreads(__tstate);
5125 if (PyErr_Occurred()) SWIG_fail;
5126 }
15afbcd0 5127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellAttrProvider, 1);
d14a1e28
RD
5128 return resultobj;
5129 fail:
5130 return NULL;
5131}
5132
5133
5134static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5135 PyObject *resultobj;
5136 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5137 PyObject *arg2 = (PyObject *) 0 ;
5138 PyObject *arg3 = (PyObject *) 0 ;
5139 PyObject * obj0 = 0 ;
5140 PyObject * obj1 = 0 ;
5141 PyObject * obj2 = 0 ;
5142 char *kwnames[] = {
5143 (char *) "self",(char *) "self",(char *) "_class", NULL
5144 };
5145
5146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5149 arg2 = obj1;
5150 arg3 = obj2;
5151 {
5152 PyThreadState* __tstate = wxPyBeginAllowThreads();
5153 (arg1)->_setCallbackInfo(arg2,arg3);
5154
5155 wxPyEndAllowThreads(__tstate);
5156 if (PyErr_Occurred()) SWIG_fail;
5157 }
5158 Py_INCREF(Py_None); resultobj = Py_None;
5159 return resultobj;
5160 fail:
5161 return NULL;
5162}
5163
5164
5165static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5166 PyObject *resultobj;
5167 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5168 int arg2 ;
5169 int arg3 ;
5170 int arg4 ;
5171 wxGridCellAttr *result;
5172 PyObject * obj0 = 0 ;
994141e6
RD
5173 PyObject * obj1 = 0 ;
5174 PyObject * obj2 = 0 ;
5175 PyObject * obj3 = 0 ;
d14a1e28
RD
5176 char *kwnames[] = {
5177 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5178 };
5179
994141e6 5180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5183 arg2 = (int) SWIG_AsInt(obj1);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 arg3 = (int) SWIG_AsInt(obj2);
5186 if (PyErr_Occurred()) SWIG_fail;
5187 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
5188 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5189 {
5190 PyThreadState* __tstate = wxPyBeginAllowThreads();
5191 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
5192
5193 wxPyEndAllowThreads(__tstate);
5194 if (PyErr_Occurred()) SWIG_fail;
5195 }
5196 {
5197 resultobj = wxPyMake_wxGridCellAttr(result);
5198 }
5199 return resultobj;
5200 fail:
5201 return NULL;
5202}
5203
5204
5205static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5206 PyObject *resultobj;
5207 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5208 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5209 int arg3 ;
5210 int arg4 ;
5211 PyObject * obj0 = 0 ;
5212 PyObject * obj1 = 0 ;
994141e6
RD
5213 PyObject * obj2 = 0 ;
5214 PyObject * obj3 = 0 ;
d14a1e28
RD
5215 char *kwnames[] = {
5216 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5217 };
5218
994141e6 5219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5222 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5224 arg3 = (int) SWIG_AsInt(obj2);
5225 if (PyErr_Occurred()) SWIG_fail;
5226 arg4 = (int) SWIG_AsInt(obj3);
5227 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5228 {
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 (arg1)->base_SetAttr(arg2,arg3,arg4);
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 Py_INCREF(Py_None); resultobj = Py_None;
5236 return resultobj;
5237 fail:
5238 return NULL;
5239}
5240
5241
5242static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5243 PyObject *resultobj;
5244 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5245 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5246 int arg3 ;
5247 PyObject * obj0 = 0 ;
5248 PyObject * obj1 = 0 ;
994141e6 5249 PyObject * obj2 = 0 ;
d14a1e28
RD
5250 char *kwnames[] = {
5251 (char *) "self",(char *) "attr",(char *) "row", NULL
5252 };
5253
994141e6 5254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5257 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5259 arg3 = (int) SWIG_AsInt(obj2);
5260 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5261 {
5262 PyThreadState* __tstate = wxPyBeginAllowThreads();
5263 (arg1)->base_SetRowAttr(arg2,arg3);
5264
5265 wxPyEndAllowThreads(__tstate);
5266 if (PyErr_Occurred()) SWIG_fail;
5267 }
5268 Py_INCREF(Py_None); resultobj = Py_None;
5269 return resultobj;
5270 fail:
5271 return NULL;
5272}
5273
5274
5275static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5276 PyObject *resultobj;
5277 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5278 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5279 int arg3 ;
5280 PyObject * obj0 = 0 ;
5281 PyObject * obj1 = 0 ;
994141e6 5282 PyObject * obj2 = 0 ;
d14a1e28
RD
5283 char *kwnames[] = {
5284 (char *) "self",(char *) "attr",(char *) "col", NULL
5285 };
5286
994141e6 5287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5290 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5292 arg3 = (int) SWIG_AsInt(obj2);
5293 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5294 {
5295 PyThreadState* __tstate = wxPyBeginAllowThreads();
5296 (arg1)->base_SetColAttr(arg2,arg3);
5297
5298 wxPyEndAllowThreads(__tstate);
5299 if (PyErr_Occurred()) SWIG_fail;
5300 }
5301 Py_INCREF(Py_None); resultobj = Py_None;
5302 return resultobj;
5303 fail:
5304 return NULL;
5305}
5306
5307
5308static PyObject * PyGridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
5309 PyObject *obj;
5310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5311 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider, obj);
5312 Py_INCREF(obj);
5313 return Py_BuildValue((char *)"");
5314}
5315static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5316 PyObject *resultobj;
5317 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5318 PyObject *arg2 = (PyObject *) 0 ;
5319 PyObject * obj0 = 0 ;
5320 PyObject * obj1 = 0 ;
5321 char *kwnames[] = {
5322 (char *) "self",(char *) "_self", NULL
5323 };
5324
5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5328 arg2 = obj1;
5329 {
5330 PyThreadState* __tstate = wxPyBeginAllowThreads();
5331 wxGridTableBase__setOORInfo(arg1,arg2);
5332
5333 wxPyEndAllowThreads(__tstate);
5334 if (PyErr_Occurred()) SWIG_fail;
5335 }
5336 Py_INCREF(Py_None); resultobj = Py_None;
5337 return resultobj;
5338 fail:
5339 return NULL;
5340}
5341
5342
5343static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5344 PyObject *resultobj;
5345 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5346 wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ;
5347 PyObject * obj0 = 0 ;
5348 PyObject * obj1 = 0 ;
5349 char *kwnames[] = {
5350 (char *) "self",(char *) "attrProvider", NULL
5351 };
5352
5353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetAttrProvider",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5356 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttrProvider,
5357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5358 {
5359 PyThreadState* __tstate = wxPyBeginAllowThreads();
5360 (arg1)->SetAttrProvider(arg2);
5361
5362 wxPyEndAllowThreads(__tstate);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 }
5365 Py_INCREF(Py_None); resultobj = Py_None;
5366 return resultobj;
5367 fail:
5368 return NULL;
5369}
5370
5371
5372static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5373 PyObject *resultobj;
5374 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5375 wxGridCellAttrProvider *result;
5376 PyObject * obj0 = 0 ;
5377 char *kwnames[] = {
5378 (char *) "self", NULL
5379 };
5380
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetAttrProvider",kwnames,&obj0)) goto fail;
15afbcd0
RD
5382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5384 {
5385 PyThreadState* __tstate = wxPyBeginAllowThreads();
5386 result = (wxGridCellAttrProvider *)((wxGridTableBase const *)arg1)->GetAttrProvider();
5387
5388 wxPyEndAllowThreads(__tstate);
5389 if (PyErr_Occurred()) SWIG_fail;
5390 }
5391 {
5392 resultobj = wxPyMake_wxGridCellAttrProvider(result);
5393 }
5394 return resultobj;
5395 fail:
5396 return NULL;
5397}
5398
5399
5400static PyObject *_wrap_GridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5401 PyObject *resultobj;
5402 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5403 wxGrid *arg2 = (wxGrid *) 0 ;
5404 PyObject * obj0 = 0 ;
5405 PyObject * obj1 = 0 ;
5406 char *kwnames[] = {
5407 (char *) "self",(char *) "grid", NULL
5408 };
5409
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetView",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
5414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 (arg1)->SetView(arg2);
5418
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
5422 Py_INCREF(Py_None); resultobj = Py_None;
5423 return resultobj;
5424 fail:
5425 return NULL;
5426}
5427
5428
5429static PyObject *_wrap_GridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5430 PyObject *resultobj;
5431 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5432 wxGrid *result;
5433 PyObject * obj0 = 0 ;
5434 char *kwnames[] = {
5435 (char *) "self", NULL
5436 };
5437
5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetView",kwnames,&obj0)) goto fail;
15afbcd0
RD
5439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5441 {
5442 PyThreadState* __tstate = wxPyBeginAllowThreads();
5443 result = (wxGrid *)((wxGridTableBase const *)arg1)->GetView();
5444
5445 wxPyEndAllowThreads(__tstate);
5446 if (PyErr_Occurred()) SWIG_fail;
5447 }
5448 {
5449 resultobj = wxPyMake_wxObject(result);
5450 }
5451 return resultobj;
5452 fail:
5453 return NULL;
5454}
5455
5456
5457static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5458 PyObject *resultobj;
5459 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5460 int result;
5461 PyObject * obj0 = 0 ;
5462 char *kwnames[] = {
5463 (char *) "self", NULL
5464 };
5465
5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
5467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5469 {
5470 PyThreadState* __tstate = wxPyBeginAllowThreads();
5471 result = (int)(arg1)->GetNumberRows();
5472
5473 wxPyEndAllowThreads(__tstate);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 }
15afbcd0 5476 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5477 return resultobj;
5478 fail:
5479 return NULL;
5480}
5481
5482
5483static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5484 PyObject *resultobj;
5485 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5486 int result;
5487 PyObject * obj0 = 0 ;
5488 char *kwnames[] = {
5489 (char *) "self", NULL
5490 };
5491
5492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
5493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5495 {
5496 PyThreadState* __tstate = wxPyBeginAllowThreads();
5497 result = (int)(arg1)->GetNumberCols();
5498
5499 wxPyEndAllowThreads(__tstate);
5500 if (PyErr_Occurred()) SWIG_fail;
5501 }
15afbcd0 5502 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5503 return resultobj;
5504 fail:
5505 return NULL;
5506}
5507
5508
5509static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5510 PyObject *resultobj;
5511 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5512 int arg2 ;
5513 int arg3 ;
5514 bool result;
5515 PyObject * obj0 = 0 ;
994141e6
RD
5516 PyObject * obj1 = 0 ;
5517 PyObject * obj2 = 0 ;
d14a1e28
RD
5518 char *kwnames[] = {
5519 (char *) "self",(char *) "row",(char *) "col", NULL
5520 };
5521
994141e6 5522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5525 arg2 = (int) SWIG_AsInt(obj1);
5526 if (PyErr_Occurred()) SWIG_fail;
5527 arg3 = (int) SWIG_AsInt(obj2);
5528 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 result = (bool)(arg1)->IsEmptyCell(arg2,arg3);
5532
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
4f89f6a3
RD
5536 {
5537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5538 }
d14a1e28
RD
5539 return resultobj;
5540 fail:
5541 return NULL;
5542}
5543
5544
5545static PyObject *_wrap_GridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5546 PyObject *resultobj;
5547 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5548 int arg2 ;
5549 int arg3 ;
5550 wxString result;
5551 PyObject * obj0 = 0 ;
994141e6
RD
5552 PyObject * obj1 = 0 ;
5553 PyObject * obj2 = 0 ;
d14a1e28
RD
5554 char *kwnames[] = {
5555 (char *) "self",(char *) "row",(char *) "col", NULL
5556 };
5557
994141e6 5558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5561 arg2 = (int) SWIG_AsInt(obj1);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 arg3 = (int) SWIG_AsInt(obj2);
5564 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 result = (arg1)->GetValue(arg2,arg3);
5568
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
5572 {
5573#if wxUSE_UNICODE
5574 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5575#else
5576 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5577#endif
5578 }
5579 return resultobj;
5580 fail:
5581 return NULL;
5582}
5583
5584
5585static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5586 PyObject *resultobj;
5587 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5588 int arg2 ;
5589 int arg3 ;
5590 wxString *arg4 = 0 ;
e811c8ce 5591 bool temp4 = False ;
d14a1e28 5592 PyObject * obj0 = 0 ;
994141e6
RD
5593 PyObject * obj1 = 0 ;
5594 PyObject * obj2 = 0 ;
d14a1e28
RD
5595 PyObject * obj3 = 0 ;
5596 char *kwnames[] = {
5597 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5598 };
5599
994141e6 5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5603 arg2 = (int) SWIG_AsInt(obj1);
5604 if (PyErr_Occurred()) SWIG_fail;
5605 arg3 = (int) SWIG_AsInt(obj2);
5606 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5607 {
5608 arg4 = wxString_in_helper(obj3);
5609 if (arg4 == NULL) SWIG_fail;
e811c8ce 5610 temp4 = True;
d14a1e28
RD
5611 }
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 (arg1)->SetValue(arg2,arg3,(wxString const &)*arg4);
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
5619 Py_INCREF(Py_None); resultobj = Py_None;
5620 {
5621 if (temp4)
5622 delete arg4;
5623 }
5624 return resultobj;
5625 fail:
5626 {
5627 if (temp4)
5628 delete arg4;
5629 }
5630 return NULL;
5631}
5632
5633
5634static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5635 PyObject *resultobj;
5636 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5637 int arg2 ;
5638 int arg3 ;
5639 wxString result;
5640 PyObject * obj0 = 0 ;
994141e6
RD
5641 PyObject * obj1 = 0 ;
5642 PyObject * obj2 = 0 ;
d14a1e28
RD
5643 char *kwnames[] = {
5644 (char *) "self",(char *) "row",(char *) "col", NULL
5645 };
5646
994141e6 5647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5650 arg2 = (int) SWIG_AsInt(obj1);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 arg3 = (int) SWIG_AsInt(obj2);
5653 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5654 {
5655 PyThreadState* __tstate = wxPyBeginAllowThreads();
5656 result = (arg1)->GetTypeName(arg2,arg3);
5657
5658 wxPyEndAllowThreads(__tstate);
5659 if (PyErr_Occurred()) SWIG_fail;
5660 }
5661 {
5662#if wxUSE_UNICODE
5663 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5664#else
5665 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5666#endif
5667 }
5668 return resultobj;
5669 fail:
5670 return NULL;
5671}
5672
5673
5674static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5675 PyObject *resultobj;
5676 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5677 int arg2 ;
5678 int arg3 ;
5679 wxString *arg4 = 0 ;
5680 bool result;
e811c8ce 5681 bool temp4 = False ;
d14a1e28 5682 PyObject * obj0 = 0 ;
994141e6
RD
5683 PyObject * obj1 = 0 ;
5684 PyObject * obj2 = 0 ;
d14a1e28
RD
5685 PyObject * obj3 = 0 ;
5686 char *kwnames[] = {
5687 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5688 };
5689
994141e6 5690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5693 arg2 = (int) SWIG_AsInt(obj1);
5694 if (PyErr_Occurred()) SWIG_fail;
5695 arg3 = (int) SWIG_AsInt(obj2);
5696 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5697 {
5698 arg4 = wxString_in_helper(obj3);
5699 if (arg4 == NULL) SWIG_fail;
e811c8ce 5700 temp4 = True;
d14a1e28
RD
5701 }
5702 {
5703 PyThreadState* __tstate = wxPyBeginAllowThreads();
5704 result = (bool)(arg1)->CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
5705
5706 wxPyEndAllowThreads(__tstate);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
4f89f6a3
RD
5709 {
5710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5711 }
d14a1e28
RD
5712 {
5713 if (temp4)
5714 delete arg4;
5715 }
5716 return resultobj;
5717 fail:
5718 {
5719 if (temp4)
5720 delete arg4;
5721 }
5722 return NULL;
5723}
5724
5725
5726static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5727 PyObject *resultobj;
5728 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5729 int arg2 ;
5730 int arg3 ;
5731 wxString *arg4 = 0 ;
5732 bool result;
e811c8ce 5733 bool temp4 = False ;
d14a1e28 5734 PyObject * obj0 = 0 ;
994141e6
RD
5735 PyObject * obj1 = 0 ;
5736 PyObject * obj2 = 0 ;
d14a1e28
RD
5737 PyObject * obj3 = 0 ;
5738 char *kwnames[] = {
5739 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5740 };
5741
994141e6 5742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5745 arg2 = (int) SWIG_AsInt(obj1);
5746 if (PyErr_Occurred()) SWIG_fail;
5747 arg3 = (int) SWIG_AsInt(obj2);
5748 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5749 {
5750 arg4 = wxString_in_helper(obj3);
5751 if (arg4 == NULL) SWIG_fail;
e811c8ce 5752 temp4 = True;
d14a1e28
RD
5753 }
5754 {
5755 PyThreadState* __tstate = wxPyBeginAllowThreads();
5756 result = (bool)(arg1)->CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
5757
5758 wxPyEndAllowThreads(__tstate);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
4f89f6a3
RD
5761 {
5762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5763 }
d14a1e28
RD
5764 {
5765 if (temp4)
5766 delete arg4;
5767 }
5768 return resultobj;
5769 fail:
5770 {
5771 if (temp4)
5772 delete arg4;
5773 }
5774 return NULL;
5775}
5776
5777
5778static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5779 PyObject *resultobj;
5780 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5781 int arg2 ;
5782 int arg3 ;
5783 long result;
5784 PyObject * obj0 = 0 ;
994141e6
RD
5785 PyObject * obj1 = 0 ;
5786 PyObject * obj2 = 0 ;
d14a1e28
RD
5787 char *kwnames[] = {
5788 (char *) "self",(char *) "row",(char *) "col", NULL
5789 };
5790
994141e6 5791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5794 arg2 = (int) SWIG_AsInt(obj1);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 arg3 = (int) SWIG_AsInt(obj2);
5797 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5798 {
5799 PyThreadState* __tstate = wxPyBeginAllowThreads();
5800 result = (long)(arg1)->GetValueAsLong(arg2,arg3);
5801
5802 wxPyEndAllowThreads(__tstate);
5803 if (PyErr_Occurred()) SWIG_fail;
5804 }
15afbcd0 5805 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
5806 return resultobj;
5807 fail:
5808 return NULL;
5809}
5810
5811
5812static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5813 PyObject *resultobj;
5814 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5815 int arg2 ;
5816 int arg3 ;
5817 double result;
5818 PyObject * obj0 = 0 ;
994141e6
RD
5819 PyObject * obj1 = 0 ;
5820 PyObject * obj2 = 0 ;
d14a1e28
RD
5821 char *kwnames[] = {
5822 (char *) "self",(char *) "row",(char *) "col", NULL
5823 };
5824
994141e6 5825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5828 arg2 = (int) SWIG_AsInt(obj1);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 arg3 = (int) SWIG_AsInt(obj2);
5831 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5832 {
5833 PyThreadState* __tstate = wxPyBeginAllowThreads();
5834 result = (double)(arg1)->GetValueAsDouble(arg2,arg3);
5835
5836 wxPyEndAllowThreads(__tstate);
5837 if (PyErr_Occurred()) SWIG_fail;
5838 }
15afbcd0 5839 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5840 return resultobj;
5841 fail:
5842 return NULL;
5843}
5844
5845
5846static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5847 PyObject *resultobj;
5848 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5849 int arg2 ;
5850 int arg3 ;
5851 bool result;
5852 PyObject * obj0 = 0 ;
994141e6
RD
5853 PyObject * obj1 = 0 ;
5854 PyObject * obj2 = 0 ;
d14a1e28
RD
5855 char *kwnames[] = {
5856 (char *) "self",(char *) "row",(char *) "col", NULL
5857 };
5858
994141e6 5859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5862 arg2 = (int) SWIG_AsInt(obj1);
5863 if (PyErr_Occurred()) SWIG_fail;
5864 arg3 = (int) SWIG_AsInt(obj2);
5865 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5866 {
5867 PyThreadState* __tstate = wxPyBeginAllowThreads();
5868 result = (bool)(arg1)->GetValueAsBool(arg2,arg3);
5869
5870 wxPyEndAllowThreads(__tstate);
5871 if (PyErr_Occurred()) SWIG_fail;
5872 }
4f89f6a3
RD
5873 {
5874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5875 }
d14a1e28
RD
5876 return resultobj;
5877 fail:
5878 return NULL;
5879}
5880
5881
5882static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5883 PyObject *resultobj;
5884 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5885 int arg2 ;
5886 int arg3 ;
5887 long arg4 ;
5888 PyObject * obj0 = 0 ;
994141e6
RD
5889 PyObject * obj1 = 0 ;
5890 PyObject * obj2 = 0 ;
5891 PyObject * obj3 = 0 ;
d14a1e28
RD
5892 char *kwnames[] = {
5893 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5894 };
5895
994141e6 5896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5899 arg2 = (int) SWIG_AsInt(obj1);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 arg3 = (int) SWIG_AsInt(obj2);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 arg4 = (long) SWIG_AsLong(obj3);
5904 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5905 {
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
5907 (arg1)->SetValueAsLong(arg2,arg3,arg4);
5908
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 Py_INCREF(Py_None); resultobj = Py_None;
5913 return resultobj;
5914 fail:
5915 return NULL;
5916}
5917
5918
5919static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5920 PyObject *resultobj;
5921 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5922 int arg2 ;
5923 int arg3 ;
5924 double arg4 ;
5925 PyObject * obj0 = 0 ;
994141e6
RD
5926 PyObject * obj1 = 0 ;
5927 PyObject * obj2 = 0 ;
5928 PyObject * obj3 = 0 ;
d14a1e28
RD
5929 char *kwnames[] = {
5930 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5931 };
5932
994141e6 5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5936 arg2 = (int) SWIG_AsInt(obj1);
5937 if (PyErr_Occurred()) SWIG_fail;
5938 arg3 = (int) SWIG_AsInt(obj2);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 arg4 = (double) SWIG_AsDouble(obj3);
5941 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 (arg1)->SetValueAsDouble(arg2,arg3,arg4);
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 Py_INCREF(Py_None); resultobj = Py_None;
5950 return resultobj;
5951 fail:
5952 return NULL;
5953}
5954
5955
5956static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5957 PyObject *resultobj;
5958 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5959 int arg2 ;
5960 int arg3 ;
5961 bool arg4 ;
5962 PyObject * obj0 = 0 ;
994141e6
RD
5963 PyObject * obj1 = 0 ;
5964 PyObject * obj2 = 0 ;
d14a1e28
RD
5965 PyObject * obj3 = 0 ;
5966 char *kwnames[] = {
5967 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5968 };
5969
994141e6 5970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5973 arg2 = (int) SWIG_AsInt(obj1);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 arg3 = (int) SWIG_AsInt(obj2);
5976 if (PyErr_Occurred()) SWIG_fail;
5977 arg4 = (bool) SWIG_AsBool(obj3);
5978 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5979 {
5980 PyThreadState* __tstate = wxPyBeginAllowThreads();
5981 (arg1)->SetValueAsBool(arg2,arg3,arg4);
5982
5983 wxPyEndAllowThreads(__tstate);
5984 if (PyErr_Occurred()) SWIG_fail;
5985 }
5986 Py_INCREF(Py_None); resultobj = Py_None;
5987 return resultobj;
5988 fail:
5989 return NULL;
5990}
5991
5992
5993static PyObject *_wrap_GridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5994 PyObject *resultobj;
5995 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5996 PyObject * obj0 = 0 ;
5997 char *kwnames[] = {
5998 (char *) "self", NULL
5999 };
6000
6001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
6002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6004 {
6005 PyThreadState* __tstate = wxPyBeginAllowThreads();
6006 (arg1)->Clear();
6007
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
6011 Py_INCREF(Py_None); resultobj = Py_None;
6012 return resultobj;
6013 fail:
6014 return NULL;
6015}
6016
6017
6018static PyObject *_wrap_GridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6019 PyObject *resultobj;
6020 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6021 size_t arg2 = (size_t) 0 ;
6022 size_t arg3 = (size_t) 1 ;
6023 bool result;
6024 PyObject * obj0 = 0 ;
6025 PyObject * obj1 = 0 ;
6026 PyObject * obj2 = 0 ;
6027 char *kwnames[] = {
6028 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6029 };
6030
6031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6034 if (obj1) {
15afbcd0
RD
6035 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6036 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6037 }
6038 if (obj2) {
15afbcd0
RD
6039 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6040 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6041 }
6042 {
6043 PyThreadState* __tstate = wxPyBeginAllowThreads();
6044 result = (bool)(arg1)->InsertRows(arg2,arg3);
6045
6046 wxPyEndAllowThreads(__tstate);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 }
4f89f6a3
RD
6049 {
6050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6051 }
d14a1e28
RD
6052 return resultobj;
6053 fail:
6054 return NULL;
6055}
6056
6057
6058static PyObject *_wrap_GridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6059 PyObject *resultobj;
6060 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6061 size_t arg2 = (size_t) 1 ;
6062 bool result;
6063 PyObject * obj0 = 0 ;
6064 PyObject * obj1 = 0 ;
6065 char *kwnames[] = {
6066 (char *) "self",(char *) "numRows", NULL
6067 };
6068
6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6072 if (obj1) {
15afbcd0
RD
6073 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6074 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6075 }
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 result = (bool)(arg1)->AppendRows(arg2);
6079
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
4f89f6a3
RD
6083 {
6084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6085 }
d14a1e28
RD
6086 return resultobj;
6087 fail:
6088 return NULL;
6089}
6090
6091
6092static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6093 PyObject *resultobj;
6094 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6095 size_t arg2 = (size_t) 0 ;
6096 size_t arg3 = (size_t) 1 ;
6097 bool result;
6098 PyObject * obj0 = 0 ;
6099 PyObject * obj1 = 0 ;
6100 PyObject * obj2 = 0 ;
6101 char *kwnames[] = {
6102 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6103 };
6104
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6108 if (obj1) {
15afbcd0
RD
6109 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6110 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6111 }
6112 if (obj2) {
15afbcd0
RD
6113 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6114 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6115 }
6116 {
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 result = (bool)(arg1)->DeleteRows(arg2,arg3);
6119
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
4f89f6a3
RD
6123 {
6124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6125 }
d14a1e28
RD
6126 return resultobj;
6127 fail:
6128 return NULL;
6129}
6130
6131
6132static PyObject *_wrap_GridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6133 PyObject *resultobj;
6134 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6135 size_t arg2 = (size_t) 0 ;
6136 size_t arg3 = (size_t) 1 ;
6137 bool result;
6138 PyObject * obj0 = 0 ;
6139 PyObject * obj1 = 0 ;
6140 PyObject * obj2 = 0 ;
6141 char *kwnames[] = {
6142 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6143 };
6144
6145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6148 if (obj1) {
15afbcd0
RD
6149 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6150 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6151 }
6152 if (obj2) {
15afbcd0
RD
6153 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6154 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6155 }
6156 {
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 result = (bool)(arg1)->InsertCols(arg2,arg3);
6159
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 }
4f89f6a3
RD
6163 {
6164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6165 }
d14a1e28
RD
6166 return resultobj;
6167 fail:
6168 return NULL;
6169}
6170
6171
6172static PyObject *_wrap_GridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj;
6174 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6175 size_t arg2 = (size_t) 1 ;
6176 bool result;
6177 PyObject * obj0 = 0 ;
6178 PyObject * obj1 = 0 ;
6179 char *kwnames[] = {
6180 (char *) "self",(char *) "numCols", NULL
6181 };
6182
6183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6186 if (obj1) {
15afbcd0
RD
6187 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6188 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6189 }
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 result = (bool)(arg1)->AppendCols(arg2);
6193
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
4f89f6a3
RD
6197 {
6198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6199 }
d14a1e28
RD
6200 return resultobj;
6201 fail:
6202 return NULL;
6203}
6204
6205
6206static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6207 PyObject *resultobj;
6208 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6209 size_t arg2 = (size_t) 0 ;
6210 size_t arg3 = (size_t) 1 ;
6211 bool result;
6212 PyObject * obj0 = 0 ;
6213 PyObject * obj1 = 0 ;
6214 PyObject * obj2 = 0 ;
6215 char *kwnames[] = {
6216 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6217 };
6218
6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6222 if (obj1) {
15afbcd0
RD
6223 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6224 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6225 }
6226 if (obj2) {
15afbcd0
RD
6227 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6228 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6229 }
6230 {
6231 PyThreadState* __tstate = wxPyBeginAllowThreads();
6232 result = (bool)(arg1)->DeleteCols(arg2,arg3);
6233
6234 wxPyEndAllowThreads(__tstate);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 }
4f89f6a3
RD
6237 {
6238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6239 }
d14a1e28
RD
6240 return resultobj;
6241 fail:
6242 return NULL;
6243}
6244
6245
6246static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6247 PyObject *resultobj;
6248 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6249 int arg2 ;
6250 wxString result;
6251 PyObject * obj0 = 0 ;
994141e6 6252 PyObject * obj1 = 0 ;
d14a1e28
RD
6253 char *kwnames[] = {
6254 (char *) "self",(char *) "row", NULL
6255 };
6256
994141e6 6257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6260 arg2 = (int) SWIG_AsInt(obj1);
6261 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6262 {
6263 PyThreadState* __tstate = wxPyBeginAllowThreads();
6264 result = (arg1)->GetRowLabelValue(arg2);
6265
6266 wxPyEndAllowThreads(__tstate);
6267 if (PyErr_Occurred()) SWIG_fail;
6268 }
6269 {
6270#if wxUSE_UNICODE
6271 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6272#else
6273 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6274#endif
6275 }
6276 return resultobj;
6277 fail:
6278 return NULL;
6279}
6280
6281
6282static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6283 PyObject *resultobj;
6284 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6285 int arg2 ;
6286 wxString result;
6287 PyObject * obj0 = 0 ;
994141e6 6288 PyObject * obj1 = 0 ;
d14a1e28
RD
6289 char *kwnames[] = {
6290 (char *) "self",(char *) "col", NULL
6291 };
6292
994141e6 6293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6296 arg2 = (int) SWIG_AsInt(obj1);
6297 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6298 {
6299 PyThreadState* __tstate = wxPyBeginAllowThreads();
6300 result = (arg1)->GetColLabelValue(arg2);
6301
6302 wxPyEndAllowThreads(__tstate);
6303 if (PyErr_Occurred()) SWIG_fail;
6304 }
6305 {
6306#if wxUSE_UNICODE
6307 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6308#else
6309 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6310#endif
6311 }
6312 return resultobj;
6313 fail:
6314 return NULL;
6315}
6316
6317
6318static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6319 PyObject *resultobj;
6320 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6321 int arg2 ;
6322 wxString *arg3 = 0 ;
e811c8ce 6323 bool temp3 = False ;
d14a1e28 6324 PyObject * obj0 = 0 ;
994141e6 6325 PyObject * obj1 = 0 ;
d14a1e28
RD
6326 PyObject * obj2 = 0 ;
6327 char *kwnames[] = {
6328 (char *) "self",(char *) "row",(char *) "value", NULL
6329 };
6330
994141e6 6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6334 arg2 = (int) SWIG_AsInt(obj1);
6335 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6336 {
6337 arg3 = wxString_in_helper(obj2);
6338 if (arg3 == NULL) SWIG_fail;
e811c8ce 6339 temp3 = True;
d14a1e28
RD
6340 }
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
6344
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 }
6348 Py_INCREF(Py_None); resultobj = Py_None;
6349 {
6350 if (temp3)
6351 delete arg3;
6352 }
6353 return resultobj;
6354 fail:
6355 {
6356 if (temp3)
6357 delete arg3;
6358 }
6359 return NULL;
6360}
6361
6362
6363static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6366 int arg2 ;
6367 wxString *arg3 = 0 ;
e811c8ce 6368 bool temp3 = False ;
d14a1e28 6369 PyObject * obj0 = 0 ;
994141e6 6370 PyObject * obj1 = 0 ;
d14a1e28
RD
6371 PyObject * obj2 = 0 ;
6372 char *kwnames[] = {
6373 (char *) "self",(char *) "col",(char *) "value", NULL
6374 };
6375
994141e6 6376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6379 arg2 = (int) SWIG_AsInt(obj1);
6380 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6381 {
6382 arg3 = wxString_in_helper(obj2);
6383 if (arg3 == NULL) SWIG_fail;
e811c8ce 6384 temp3 = True;
d14a1e28
RD
6385 }
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
6389
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 Py_INCREF(Py_None); resultobj = Py_None;
6394 {
6395 if (temp3)
6396 delete arg3;
6397 }
6398 return resultobj;
6399 fail:
6400 {
6401 if (temp3)
6402 delete arg3;
6403 }
6404 return NULL;
6405}
6406
6407
6408static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6409 PyObject *resultobj;
6410 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6411 bool result;
6412 PyObject * obj0 = 0 ;
6413 char *kwnames[] = {
6414 (char *) "self", NULL
6415 };
6416
6417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_CanHaveAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
6418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6420 {
6421 PyThreadState* __tstate = wxPyBeginAllowThreads();
6422 result = (bool)(arg1)->CanHaveAttributes();
6423
6424 wxPyEndAllowThreads(__tstate);
6425 if (PyErr_Occurred()) SWIG_fail;
6426 }
4f89f6a3
RD
6427 {
6428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6429 }
d14a1e28
RD
6430 return resultobj;
6431 fail:
6432 return NULL;
6433}
6434
6435
6436static PyObject *_wrap_GridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6437 PyObject *resultobj;
6438 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6439 int arg2 ;
6440 int arg3 ;
6441 int arg4 ;
6442 wxGridCellAttr *result;
6443 PyObject * obj0 = 0 ;
994141e6
RD
6444 PyObject * obj1 = 0 ;
6445 PyObject * obj2 = 0 ;
6446 PyObject * obj3 = 0 ;
d14a1e28
RD
6447 char *kwnames[] = {
6448 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6449 };
6450
994141e6 6451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6454 arg2 = (int) SWIG_AsInt(obj1);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 arg3 = (int) SWIG_AsInt(obj2);
6457 if (PyErr_Occurred()) SWIG_fail;
6458 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
6459 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
6463
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
6467 {
6468 resultobj = wxPyMake_wxGridCellAttr(result);
6469 }
6470 return resultobj;
6471 fail:
6472 return NULL;
6473}
6474
6475
6476static PyObject *_wrap_GridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6477 PyObject *resultobj;
6478 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6479 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6480 int arg3 ;
6481 int arg4 ;
6482 PyObject * obj0 = 0 ;
6483 PyObject * obj1 = 0 ;
994141e6
RD
6484 PyObject * obj2 = 0 ;
6485 PyObject * obj3 = 0 ;
d14a1e28
RD
6486 char *kwnames[] = {
6487 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6488 };
6489
994141e6 6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6495 arg3 = (int) SWIG_AsInt(obj2);
6496 if (PyErr_Occurred()) SWIG_fail;
6497 arg4 = (int) SWIG_AsInt(obj3);
6498 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 (arg1)->SetAttr(arg2,arg3,arg4);
6502
6503 wxPyEndAllowThreads(__tstate);
6504 if (PyErr_Occurred()) SWIG_fail;
6505 }
6506 Py_INCREF(Py_None); resultobj = Py_None;
6507 return resultobj;
6508 fail:
6509 return NULL;
6510}
6511
6512
6513static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6514 PyObject *resultobj;
6515 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6516 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6517 int arg3 ;
6518 PyObject * obj0 = 0 ;
6519 PyObject * obj1 = 0 ;
994141e6 6520 PyObject * obj2 = 0 ;
d14a1e28
RD
6521 char *kwnames[] = {
6522 (char *) "self",(char *) "attr",(char *) "row", NULL
6523 };
6524
994141e6 6525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6530 arg3 = (int) SWIG_AsInt(obj2);
6531 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6532 {
6533 PyThreadState* __tstate = wxPyBeginAllowThreads();
6534 (arg1)->SetRowAttr(arg2,arg3);
6535
6536 wxPyEndAllowThreads(__tstate);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 }
6539 Py_INCREF(Py_None); resultobj = Py_None;
6540 return resultobj;
6541 fail:
6542 return NULL;
6543}
6544
6545
6546static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6547 PyObject *resultobj;
6548 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6549 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6550 int arg3 ;
6551 PyObject * obj0 = 0 ;
6552 PyObject * obj1 = 0 ;
994141e6 6553 PyObject * obj2 = 0 ;
d14a1e28
RD
6554 char *kwnames[] = {
6555 (char *) "self",(char *) "attr",(char *) "col", NULL
6556 };
6557
994141e6 6558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6561 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6563 arg3 = (int) SWIG_AsInt(obj2);
6564 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6565 {
6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
6567 (arg1)->SetColAttr(arg2,arg3);
6568
6569 wxPyEndAllowThreads(__tstate);
6570 if (PyErr_Occurred()) SWIG_fail;
6571 }
6572 Py_INCREF(Py_None); resultobj = Py_None;
6573 return resultobj;
6574 fail:
6575 return NULL;
6576}
6577
6578
6579static PyObject * GridTableBase_swigregister(PyObject *self, PyObject *args) {
6580 PyObject *obj;
6581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6582 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase, obj);
6583 Py_INCREF(obj);
6584 return Py_BuildValue((char *)"");
6585}
6586static PyObject *_wrap_new_PyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj;
6588 wxPyGridTableBase *result;
6589 char *kwnames[] = {
6590 NULL
6591 };
6592
6593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridTableBase",kwnames)) goto fail;
6594 {
6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
6596 result = (wxPyGridTableBase *)new wxPyGridTableBase();
6597
6598 wxPyEndAllowThreads(__tstate);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
15afbcd0 6601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridTableBase, 1);
d14a1e28
RD
6602 return resultobj;
6603 fail:
6604 return NULL;
6605}
6606
6607
6608static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6609 PyObject *resultobj;
6610 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6611 PyObject *arg2 = (PyObject *) 0 ;
6612 PyObject *arg3 = (PyObject *) 0 ;
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 PyObject * obj2 = 0 ;
6616 char *kwnames[] = {
6617 (char *) "self",(char *) "self",(char *) "_class", NULL
6618 };
6619
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6623 arg2 = obj1;
6624 arg3 = obj2;
6625 {
6626 PyThreadState* __tstate = wxPyBeginAllowThreads();
6627 (arg1)->_setCallbackInfo(arg2,arg3);
6628
6629 wxPyEndAllowThreads(__tstate);
6630 if (PyErr_Occurred()) SWIG_fail;
6631 }
6632 Py_INCREF(Py_None); resultobj = Py_None;
6633 return resultobj;
6634 fail:
6635 return NULL;
6636}
6637
6638
6639static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6640 PyObject *resultobj;
6641 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6642 PyObject * obj0 = 0 ;
6643 char *kwnames[] = {
6644 (char *) "self", NULL
6645 };
6646
6647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
6648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6650 {
6651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6652 wxPyGridTableBase_Destroy(arg1);
6653
6654 wxPyEndAllowThreads(__tstate);
6655 if (PyErr_Occurred()) SWIG_fail;
6656 }
6657 Py_INCREF(Py_None); resultobj = Py_None;
6658 return resultobj;
6659 fail:
6660 return NULL;
6661}
6662
6663
6664static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
6665 PyObject *resultobj;
6666 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6667 int arg2 ;
6668 int arg3 ;
6669 wxString result;
6670 PyObject * obj0 = 0 ;
994141e6
RD
6671 PyObject * obj1 = 0 ;
6672 PyObject * obj2 = 0 ;
d14a1e28
RD
6673 char *kwnames[] = {
6674 (char *) "self",(char *) "row",(char *) "col", NULL
6675 };
6676
994141e6 6677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6680 arg2 = (int) SWIG_AsInt(obj1);
6681 if (PyErr_Occurred()) SWIG_fail;
6682 arg3 = (int) SWIG_AsInt(obj2);
6683 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6684 {
6685 PyThreadState* __tstate = wxPyBeginAllowThreads();
6686 result = (arg1)->base_GetTypeName(arg2,arg3);
6687
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 {
6692#if wxUSE_UNICODE
6693 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6694#else
6695 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6696#endif
6697 }
6698 return resultobj;
6699 fail:
6700 return NULL;
6701}
6702
6703
6704static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6705 PyObject *resultobj;
6706 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6707 int arg2 ;
6708 int arg3 ;
6709 wxString *arg4 = 0 ;
6710 bool result;
e811c8ce 6711 bool temp4 = False ;
d14a1e28 6712 PyObject * obj0 = 0 ;
994141e6
RD
6713 PyObject * obj1 = 0 ;
6714 PyObject * obj2 = 0 ;
d14a1e28
RD
6715 PyObject * obj3 = 0 ;
6716 char *kwnames[] = {
6717 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6718 };
6719
994141e6 6720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6723 arg2 = (int) SWIG_AsInt(obj1);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 arg3 = (int) SWIG_AsInt(obj2);
6726 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6727 {
6728 arg4 = wxString_in_helper(obj3);
6729 if (arg4 == NULL) SWIG_fail;
e811c8ce 6730 temp4 = True;
d14a1e28
RD
6731 }
6732 {
6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
6734 result = (bool)(arg1)->base_CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
6735
6736 wxPyEndAllowThreads(__tstate);
6737 if (PyErr_Occurred()) SWIG_fail;
6738 }
4f89f6a3
RD
6739 {
6740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6741 }
d14a1e28
RD
6742 {
6743 if (temp4)
6744 delete arg4;
6745 }
6746 return resultobj;
6747 fail:
6748 {
6749 if (temp4)
6750 delete arg4;
6751 }
6752 return NULL;
6753}
6754
6755
6756static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6757 PyObject *resultobj;
6758 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6759 int arg2 ;
6760 int arg3 ;
6761 wxString *arg4 = 0 ;
6762 bool result;
e811c8ce 6763 bool temp4 = False ;
d14a1e28 6764 PyObject * obj0 = 0 ;
994141e6
RD
6765 PyObject * obj1 = 0 ;
6766 PyObject * obj2 = 0 ;
d14a1e28
RD
6767 PyObject * obj3 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6770 };
6771
994141e6 6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6775 arg2 = (int) SWIG_AsInt(obj1);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 arg3 = (int) SWIG_AsInt(obj2);
6778 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6779 {
6780 arg4 = wxString_in_helper(obj3);
6781 if (arg4 == NULL) SWIG_fail;
e811c8ce 6782 temp4 = True;
d14a1e28
RD
6783 }
6784 {
6785 PyThreadState* __tstate = wxPyBeginAllowThreads();
6786 result = (bool)(arg1)->base_CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
6787
6788 wxPyEndAllowThreads(__tstate);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 }
4f89f6a3
RD
6791 {
6792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6793 }
d14a1e28
RD
6794 {
6795 if (temp4)
6796 delete arg4;
6797 }
6798 return resultobj;
6799 fail:
6800 {
6801 if (temp4)
6802 delete arg4;
6803 }
6804 return NULL;
6805}
6806
6807
6808static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6809 PyObject *resultobj;
6810 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6811 PyObject * obj0 = 0 ;
6812 char *kwnames[] = {
6813 (char *) "self", NULL
6814 };
6815
6816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
6817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6819 {
6820 PyThreadState* __tstate = wxPyBeginAllowThreads();
6821 (arg1)->base_Clear();
6822
6823 wxPyEndAllowThreads(__tstate);
6824 if (PyErr_Occurred()) SWIG_fail;
6825 }
6826 Py_INCREF(Py_None); resultobj = Py_None;
6827 return resultobj;
6828 fail:
6829 return NULL;
6830}
6831
6832
6833static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6834 PyObject *resultobj;
6835 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6836 size_t arg2 = (size_t) 0 ;
6837 size_t arg3 = (size_t) 1 ;
6838 bool result;
6839 PyObject * obj0 = 0 ;
6840 PyObject * obj1 = 0 ;
6841 PyObject * obj2 = 0 ;
6842 char *kwnames[] = {
6843 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6844 };
6845
6846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6849 if (obj1) {
15afbcd0
RD
6850 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6851 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6852 }
6853 if (obj2) {
15afbcd0
RD
6854 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6856 }
6857 {
6858 PyThreadState* __tstate = wxPyBeginAllowThreads();
6859 result = (bool)(arg1)->base_InsertRows(arg2,arg3);
6860
6861 wxPyEndAllowThreads(__tstate);
6862 if (PyErr_Occurred()) SWIG_fail;
6863 }
4f89f6a3
RD
6864 {
6865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6866 }
d14a1e28
RD
6867 return resultobj;
6868 fail:
6869 return NULL;
6870}
6871
6872
6873static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6874 PyObject *resultobj;
6875 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6876 size_t arg2 = (size_t) 1 ;
6877 bool result;
6878 PyObject * obj0 = 0 ;
6879 PyObject * obj1 = 0 ;
6880 char *kwnames[] = {
6881 (char *) "self",(char *) "numRows", NULL
6882 };
6883
6884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6887 if (obj1) {
15afbcd0
RD
6888 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6889 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6890 }
6891 {
6892 PyThreadState* __tstate = wxPyBeginAllowThreads();
6893 result = (bool)(arg1)->base_AppendRows(arg2);
6894
6895 wxPyEndAllowThreads(__tstate);
6896 if (PyErr_Occurred()) SWIG_fail;
6897 }
4f89f6a3
RD
6898 {
6899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6900 }
d14a1e28
RD
6901 return resultobj;
6902 fail:
6903 return NULL;
6904}
6905
6906
6907static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6908 PyObject *resultobj;
6909 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6910 size_t arg2 = (size_t) 0 ;
6911 size_t arg3 = (size_t) 1 ;
6912 bool result;
6913 PyObject * obj0 = 0 ;
6914 PyObject * obj1 = 0 ;
6915 PyObject * obj2 = 0 ;
6916 char *kwnames[] = {
6917 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6918 };
6919
6920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6923 if (obj1) {
15afbcd0
RD
6924 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6925 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6926 }
6927 if (obj2) {
15afbcd0
RD
6928 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6929 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6930 }
6931 {
6932 PyThreadState* __tstate = wxPyBeginAllowThreads();
6933 result = (bool)(arg1)->base_DeleteRows(arg2,arg3);
6934
6935 wxPyEndAllowThreads(__tstate);
6936 if (PyErr_Occurred()) SWIG_fail;
6937 }
4f89f6a3
RD
6938 {
6939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6940 }
d14a1e28
RD
6941 return resultobj;
6942 fail:
6943 return NULL;
6944}
6945
6946
6947static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6948 PyObject *resultobj;
6949 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6950 size_t arg2 = (size_t) 0 ;
6951 size_t arg3 = (size_t) 1 ;
6952 bool result;
6953 PyObject * obj0 = 0 ;
6954 PyObject * obj1 = 0 ;
6955 PyObject * obj2 = 0 ;
6956 char *kwnames[] = {
6957 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6958 };
6959
6960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6963 if (obj1) {
15afbcd0
RD
6964 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6965 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6966 }
6967 if (obj2) {
15afbcd0
RD
6968 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6969 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6970 }
6971 {
6972 PyThreadState* __tstate = wxPyBeginAllowThreads();
6973 result = (bool)(arg1)->base_InsertCols(arg2,arg3);
6974
6975 wxPyEndAllowThreads(__tstate);
6976 if (PyErr_Occurred()) SWIG_fail;
6977 }
4f89f6a3
RD
6978 {
6979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6980 }
d14a1e28
RD
6981 return resultobj;
6982 fail:
6983 return NULL;
6984}
6985
6986
6987static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6988 PyObject *resultobj;
6989 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6990 size_t arg2 = (size_t) 1 ;
6991 bool result;
6992 PyObject * obj0 = 0 ;
6993 PyObject * obj1 = 0 ;
6994 char *kwnames[] = {
6995 (char *) "self",(char *) "numCols", NULL
6996 };
6997
6998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7001 if (obj1) {
15afbcd0
RD
7002 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
7003 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7004 }
7005 {
7006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7007 result = (bool)(arg1)->base_AppendCols(arg2);
7008
7009 wxPyEndAllowThreads(__tstate);
7010 if (PyErr_Occurred()) SWIG_fail;
7011 }
4f89f6a3
RD
7012 {
7013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7014 }
d14a1e28
RD
7015 return resultobj;
7016 fail:
7017 return NULL;
7018}
7019
7020
7021static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7022 PyObject *resultobj;
7023 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7024 size_t arg2 = (size_t) 0 ;
7025 size_t arg3 = (size_t) 1 ;
7026 bool result;
7027 PyObject * obj0 = 0 ;
7028 PyObject * obj1 = 0 ;
7029 PyObject * obj2 = 0 ;
7030 char *kwnames[] = {
7031 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7032 };
7033
7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7037 if (obj1) {
15afbcd0
RD
7038 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
7039 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7040 }
7041 if (obj2) {
15afbcd0
RD
7042 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
7043 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7044 }
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 result = (bool)(arg1)->base_DeleteCols(arg2,arg3);
7048
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
4f89f6a3
RD
7052 {
7053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7054 }
d14a1e28
RD
7055 return resultobj;
7056 fail:
7057 return NULL;
7058}
7059
7060
7061static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7062 PyObject *resultobj;
7063 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7064 int arg2 ;
7065 wxString result;
7066 PyObject * obj0 = 0 ;
994141e6 7067 PyObject * obj1 = 0 ;
d14a1e28
RD
7068 char *kwnames[] = {
7069 (char *) "self",(char *) "row", NULL
7070 };
7071
994141e6 7072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7075 arg2 = (int) SWIG_AsInt(obj1);
7076 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 result = (arg1)->base_GetRowLabelValue(arg2);
7080
7081 wxPyEndAllowThreads(__tstate);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 {
7085#if wxUSE_UNICODE
7086 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7087#else
7088 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7089#endif
7090 }
7091 return resultobj;
7092 fail:
7093 return NULL;
7094}
7095
7096
7097static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7098 PyObject *resultobj;
7099 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7100 int arg2 ;
7101 wxString result;
7102 PyObject * obj0 = 0 ;
994141e6 7103 PyObject * obj1 = 0 ;
d14a1e28
RD
7104 char *kwnames[] = {
7105 (char *) "self",(char *) "col", NULL
7106 };
7107
994141e6 7108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7111 arg2 = (int) SWIG_AsInt(obj1);
7112 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 result = (arg1)->base_GetColLabelValue(arg2);
7116
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 {
7121#if wxUSE_UNICODE
7122 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7123#else
7124 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7125#endif
7126 }
7127 return resultobj;
7128 fail:
7129 return NULL;
7130}
7131
7132
7133static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj;
7135 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7136 int arg2 ;
7137 wxString *arg3 = 0 ;
e811c8ce 7138 bool temp3 = False ;
d14a1e28 7139 PyObject * obj0 = 0 ;
994141e6 7140 PyObject * obj1 = 0 ;
d14a1e28
RD
7141 PyObject * obj2 = 0 ;
7142 char *kwnames[] = {
7143 (char *) "self",(char *) "row",(char *) "value", NULL
7144 };
7145
994141e6 7146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7149 arg2 = (int) SWIG_AsInt(obj1);
7150 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7151 {
7152 arg3 = wxString_in_helper(obj2);
7153 if (arg3 == NULL) SWIG_fail;
e811c8ce 7154 temp3 = True;
d14a1e28
RD
7155 }
7156 {
7157 PyThreadState* __tstate = wxPyBeginAllowThreads();
7158 (arg1)->base_SetRowLabelValue(arg2,(wxString const &)*arg3);
7159
7160 wxPyEndAllowThreads(__tstate);
7161 if (PyErr_Occurred()) SWIG_fail;
7162 }
7163 Py_INCREF(Py_None); resultobj = Py_None;
7164 {
7165 if (temp3)
7166 delete arg3;
7167 }
7168 return resultobj;
7169 fail:
7170 {
7171 if (temp3)
7172 delete arg3;
7173 }
7174 return NULL;
7175}
7176
7177
7178static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7179 PyObject *resultobj;
7180 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7181 int arg2 ;
7182 wxString *arg3 = 0 ;
e811c8ce 7183 bool temp3 = False ;
d14a1e28 7184 PyObject * obj0 = 0 ;
994141e6 7185 PyObject * obj1 = 0 ;
d14a1e28
RD
7186 PyObject * obj2 = 0 ;
7187 char *kwnames[] = {
7188 (char *) "self",(char *) "col",(char *) "value", NULL
7189 };
7190
994141e6 7191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7194 arg2 = (int) SWIG_AsInt(obj1);
7195 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7196 {
7197 arg3 = wxString_in_helper(obj2);
7198 if (arg3 == NULL) SWIG_fail;
e811c8ce 7199 temp3 = True;
d14a1e28
RD
7200 }
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 (arg1)->base_SetColLabelValue(arg2,(wxString const &)*arg3);
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 Py_INCREF(Py_None); resultobj = Py_None;
7209 {
7210 if (temp3)
7211 delete arg3;
7212 }
7213 return resultobj;
7214 fail:
7215 {
7216 if (temp3)
7217 delete arg3;
7218 }
7219 return NULL;
7220}
7221
7222
7223static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
7224 PyObject *resultobj;
7225 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7226 bool result;
7227 PyObject * obj0 = 0 ;
7228 char *kwnames[] = {
7229 (char *) "self", NULL
7230 };
7231
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
7233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7235 {
7236 PyThreadState* __tstate = wxPyBeginAllowThreads();
7237 result = (bool)(arg1)->base_CanHaveAttributes();
7238
7239 wxPyEndAllowThreads(__tstate);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
4f89f6a3
RD
7242 {
7243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7244 }
d14a1e28
RD
7245 return resultobj;
7246 fail:
7247 return NULL;
7248}
7249
7250
7251static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7252 PyObject *resultobj;
7253 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7254 int arg2 ;
7255 int arg3 ;
7256 int arg4 ;
7257 wxGridCellAttr *result;
7258 PyObject * obj0 = 0 ;
994141e6
RD
7259 PyObject * obj1 = 0 ;
7260 PyObject * obj2 = 0 ;
7261 PyObject * obj3 = 0 ;
d14a1e28
RD
7262 char *kwnames[] = {
7263 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7264 };
7265
994141e6 7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7269 arg2 = (int) SWIG_AsInt(obj1);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 arg3 = (int) SWIG_AsInt(obj2);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
7274 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7275 {
7276 PyThreadState* __tstate = wxPyBeginAllowThreads();
7277 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
7278
7279 wxPyEndAllowThreads(__tstate);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 }
7282 {
7283 resultobj = wxPyMake_wxGridCellAttr(result);
7284 }
7285 return resultobj;
7286 fail:
7287 return NULL;
7288}
7289
7290
7291static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7292 PyObject *resultobj;
7293 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7294 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7295 int arg3 ;
7296 int arg4 ;
7297 PyObject * obj0 = 0 ;
7298 PyObject * obj1 = 0 ;
994141e6
RD
7299 PyObject * obj2 = 0 ;
7300 PyObject * obj3 = 0 ;
d14a1e28
RD
7301 char *kwnames[] = {
7302 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7303 };
7304
994141e6 7305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7308 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7310 arg3 = (int) SWIG_AsInt(obj2);
7311 if (PyErr_Occurred()) SWIG_fail;
7312 arg4 = (int) SWIG_AsInt(obj3);
7313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7314 {
7315 PyThreadState* __tstate = wxPyBeginAllowThreads();
7316 (arg1)->base_SetAttr(arg2,arg3,arg4);
7317
7318 wxPyEndAllowThreads(__tstate);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
7321 Py_INCREF(Py_None); resultobj = Py_None;
7322 return resultobj;
7323 fail:
7324 return NULL;
7325}
7326
7327
7328static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7329 PyObject *resultobj;
7330 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7331 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7332 int arg3 ;
7333 PyObject * obj0 = 0 ;
7334 PyObject * obj1 = 0 ;
994141e6 7335 PyObject * obj2 = 0 ;
d14a1e28
RD
7336 char *kwnames[] = {
7337 (char *) "self",(char *) "attr",(char *) "row", NULL
7338 };
7339
994141e6 7340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7345 arg3 = (int) SWIG_AsInt(obj2);
7346 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7347 {
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 (arg1)->base_SetRowAttr(arg2,arg3);
7350
7351 wxPyEndAllowThreads(__tstate);
7352 if (PyErr_Occurred()) SWIG_fail;
7353 }
7354 Py_INCREF(Py_None); resultobj = Py_None;
7355 return resultobj;
7356 fail:
7357 return NULL;
7358}
7359
7360
7361static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7362 PyObject *resultobj;
7363 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7364 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7365 int arg3 ;
7366 PyObject * obj0 = 0 ;
7367 PyObject * obj1 = 0 ;
994141e6 7368 PyObject * obj2 = 0 ;
d14a1e28
RD
7369 char *kwnames[] = {
7370 (char *) "self",(char *) "attr",(char *) "col", NULL
7371 };
7372
994141e6 7373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7378 arg3 = (int) SWIG_AsInt(obj2);
7379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 (arg1)->base_SetColAttr(arg2,arg3);
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 Py_INCREF(Py_None); resultobj = Py_None;
7388 return resultobj;
7389 fail:
7390 return NULL;
7391}
7392
7393
7394static PyObject * PyGridTableBase_swigregister(PyObject *self, PyObject *args) {
7395 PyObject *obj;
7396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7397 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase, obj);
7398 Py_INCREF(obj);
7399 return Py_BuildValue((char *)"");
7400}
7401static PyObject *_wrap_new_GridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7402 PyObject *resultobj;
7403 int arg1 = (int) 0 ;
7404 int arg2 = (int) 0 ;
7405 wxGridStringTable *result;
994141e6
RD
7406 PyObject * obj0 = 0 ;
7407 PyObject * obj1 = 0 ;
d14a1e28
RD
7408 char *kwnames[] = {
7409 (char *) "numRows",(char *) "numCols", NULL
7410 };
7411
994141e6
RD
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridStringTable",kwnames,&obj0,&obj1)) goto fail;
7413 if (obj0) {
15afbcd0
RD
7414 arg1 = (int) SWIG_AsInt(obj0);
7415 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7416 }
7417 if (obj1) {
15afbcd0
RD
7418 arg2 = (int) SWIG_AsInt(obj1);
7419 if (PyErr_Occurred()) SWIG_fail;
994141e6 7420 }
d14a1e28
RD
7421 {
7422 PyThreadState* __tstate = wxPyBeginAllowThreads();
7423 result = (wxGridStringTable *)new wxGridStringTable(arg1,arg2);
7424
7425 wxPyEndAllowThreads(__tstate);
7426 if (PyErr_Occurred()) SWIG_fail;
7427 }
15afbcd0 7428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridStringTable, 1);
d14a1e28
RD
7429 return resultobj;
7430 fail:
7431 return NULL;
7432}
7433
7434
7435static PyObject * GridStringTable_swigregister(PyObject *self, PyObject *args) {
7436 PyObject *obj;
7437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7438 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable, obj);
7439 Py_INCREF(obj);
7440 return Py_BuildValue((char *)"");
7441}
7442static PyObject *_wrap_new_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7443 PyObject *resultobj;
7444 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7445 int arg2 ;
7446 int arg3 = (int) -1 ;
7447 int arg4 = (int) -1 ;
7448 wxGridTableMessage *result;
7449 PyObject * obj0 = 0 ;
994141e6
RD
7450 PyObject * obj1 = 0 ;
7451 PyObject * obj2 = 0 ;
7452 PyObject * obj3 = 0 ;
d14a1e28
RD
7453 char *kwnames[] = {
7454 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7455 };
7456
994141e6 7457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_GridTableMessage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
7459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7460 arg2 = (int) SWIG_AsInt(obj1);
7461 if (PyErr_Occurred()) SWIG_fail;
994141e6 7462 if (obj2) {
15afbcd0
RD
7463 arg3 = (int) SWIG_AsInt(obj2);
7464 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7465 }
7466 if (obj3) {
15afbcd0
RD
7467 arg4 = (int) SWIG_AsInt(obj3);
7468 if (PyErr_Occurred()) SWIG_fail;
994141e6 7469 }
d14a1e28
RD
7470 {
7471 PyThreadState* __tstate = wxPyBeginAllowThreads();
7472 result = (wxGridTableMessage *)new wxGridTableMessage(arg1,arg2,arg3,arg4);
7473
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 }
15afbcd0 7477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridTableMessage, 1);
d14a1e28
RD
7478 return resultobj;
7479 fail:
7480 return NULL;
7481}
7482
7483
7484static PyObject *_wrap_delete_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7485 PyObject *resultobj;
7486 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7487 PyObject * obj0 = 0 ;
7488 char *kwnames[] = {
7489 (char *) "self", NULL
7490 };
7491
7492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridTableMessage",kwnames,&obj0)) goto fail;
15afbcd0
RD
7493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7495 {
7496 PyThreadState* __tstate = wxPyBeginAllowThreads();
7497 delete arg1;
7498
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
7502 Py_INCREF(Py_None); resultobj = Py_None;
7503 return resultobj;
7504 fail:
7505 return NULL;
7506}
7507
7508
7509static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7510 PyObject *resultobj;
7511 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7512 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
7513 PyObject * obj0 = 0 ;
7514 PyObject * obj1 = 0 ;
7515 char *kwnames[] = {
7516 (char *) "self",(char *) "table", NULL
7517 };
7518
7519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetTableObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
7523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7524 {
7525 PyThreadState* __tstate = wxPyBeginAllowThreads();
7526 (arg1)->SetTableObject(arg2);
7527
7528 wxPyEndAllowThreads(__tstate);
7529 if (PyErr_Occurred()) SWIG_fail;
7530 }
7531 Py_INCREF(Py_None); resultobj = Py_None;
7532 return resultobj;
7533 fail:
7534 return NULL;
7535}
7536
7537
7538static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7539 PyObject *resultobj;
7540 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7541 wxGridTableBase *result;
7542 PyObject * obj0 = 0 ;
7543 char *kwnames[] = {
7544 (char *) "self", NULL
7545 };
7546
7547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetTableObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
7548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7550 {
7551 PyThreadState* __tstate = wxPyBeginAllowThreads();
7552 result = (wxGridTableBase *)((wxGridTableMessage const *)arg1)->GetTableObject();
7553
7554 wxPyEndAllowThreads(__tstate);
7555 if (PyErr_Occurred()) SWIG_fail;
7556 }
7557 {
7558 resultobj = wxPyMake_wxGridTableBase(result);
7559 }
7560 return resultobj;
7561 fail:
7562 return NULL;
7563}
7564
7565
7566static PyObject *_wrap_GridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj;
7568 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7569 int arg2 ;
7570 PyObject * obj0 = 0 ;
994141e6 7571 PyObject * obj1 = 0 ;
d14a1e28
RD
7572 char *kwnames[] = {
7573 (char *) "self",(char *) "id", NULL
7574 };
7575
994141e6 7576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7579 arg2 = (int) SWIG_AsInt(obj1);
7580 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7581 {
7582 PyThreadState* __tstate = wxPyBeginAllowThreads();
7583 (arg1)->SetId(arg2);
7584
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 Py_INCREF(Py_None); resultobj = Py_None;
7589 return resultobj;
7590 fail:
7591 return NULL;
7592}
7593
7594
7595static PyObject *_wrap_GridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7596 PyObject *resultobj;
7597 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7598 int result;
7599 PyObject * obj0 = 0 ;
7600 char *kwnames[] = {
7601 (char *) "self", NULL
7602 };
7603
7604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
7605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7607 {
7608 PyThreadState* __tstate = wxPyBeginAllowThreads();
7609 result = (int)(arg1)->GetId();
7610
7611 wxPyEndAllowThreads(__tstate);
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
15afbcd0 7614 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7615 return resultobj;
7616 fail:
7617 return NULL;
7618}
7619
7620
7621static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7622 PyObject *resultobj;
7623 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7624 int arg2 ;
7625 PyObject * obj0 = 0 ;
994141e6 7626 PyObject * obj1 = 0 ;
d14a1e28
RD
7627 char *kwnames[] = {
7628 (char *) "self",(char *) "comInt1", NULL
7629 };
7630
994141e6 7631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7634 arg2 = (int) SWIG_AsInt(obj1);
7635 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7636 {
7637 PyThreadState* __tstate = wxPyBeginAllowThreads();
7638 (arg1)->SetCommandInt(arg2);
7639
7640 wxPyEndAllowThreads(__tstate);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 }
7643 Py_INCREF(Py_None); resultobj = Py_None;
7644 return resultobj;
7645 fail:
7646 return NULL;
7647}
7648
7649
7650static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7651 PyObject *resultobj;
7652 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7653 int result;
7654 PyObject * obj0 = 0 ;
7655 char *kwnames[] = {
7656 (char *) "self", NULL
7657 };
7658
7659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt",kwnames,&obj0)) goto fail;
15afbcd0
RD
7660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 result = (int)(arg1)->GetCommandInt();
7665
7666 wxPyEndAllowThreads(__tstate);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
15afbcd0 7669 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7670 return resultobj;
7671 fail:
7672 return NULL;
7673}
7674
7675
7676static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7677 PyObject *resultobj;
7678 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7679 int arg2 ;
7680 PyObject * obj0 = 0 ;
994141e6 7681 PyObject * obj1 = 0 ;
d14a1e28
RD
7682 char *kwnames[] = {
7683 (char *) "self",(char *) "comInt2", NULL
7684 };
7685
994141e6 7686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7689 arg2 = (int) SWIG_AsInt(obj1);
7690 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7691 {
7692 PyThreadState* __tstate = wxPyBeginAllowThreads();
7693 (arg1)->SetCommandInt2(arg2);
7694
7695 wxPyEndAllowThreads(__tstate);
7696 if (PyErr_Occurred()) SWIG_fail;
7697 }
7698 Py_INCREF(Py_None); resultobj = Py_None;
7699 return resultobj;
7700 fail:
7701 return NULL;
7702}
7703
7704
7705static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7706 PyObject *resultobj;
7707 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7708 int result;
7709 PyObject * obj0 = 0 ;
7710 char *kwnames[] = {
7711 (char *) "self", NULL
7712 };
7713
7714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt2",kwnames,&obj0)) goto fail;
15afbcd0
RD
7715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7717 {
7718 PyThreadState* __tstate = wxPyBeginAllowThreads();
7719 result = (int)(arg1)->GetCommandInt2();
7720
7721 wxPyEndAllowThreads(__tstate);
7722 if (PyErr_Occurred()) SWIG_fail;
7723 }
15afbcd0 7724 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7725 return resultobj;
7726 fail:
7727 return NULL;
7728}
7729
7730
7731static PyObject * GridTableMessage_swigregister(PyObject *self, PyObject *args) {
7732 PyObject *obj;
7733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7734 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage, obj);
7735 Py_INCREF(obj);
7736 return Py_BuildValue((char *)"");
7737}
7738static PyObject *_wrap_new_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7739 PyObject *resultobj;
7740 int arg1 = (int) -1 ;
7741 int arg2 = (int) -1 ;
7742 wxGridCellCoords *result;
994141e6
RD
7743 PyObject * obj0 = 0 ;
7744 PyObject * obj1 = 0 ;
d14a1e28
RD
7745 char *kwnames[] = {
7746 (char *) "r",(char *) "c", NULL
7747 };
7748
994141e6
RD
7749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellCoords",kwnames,&obj0,&obj1)) goto fail;
7750 if (obj0) {
15afbcd0
RD
7751 arg1 = (int) SWIG_AsInt(obj0);
7752 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7753 }
7754 if (obj1) {
15afbcd0
RD
7755 arg2 = (int) SWIG_AsInt(obj1);
7756 if (PyErr_Occurred()) SWIG_fail;
994141e6 7757 }
d14a1e28
RD
7758 {
7759 PyThreadState* __tstate = wxPyBeginAllowThreads();
7760 result = (wxGridCellCoords *)new wxGridCellCoords(arg1,arg2);
7761
7762 wxPyEndAllowThreads(__tstate);
7763 if (PyErr_Occurred()) SWIG_fail;
7764 }
15afbcd0 7765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
7766 return resultobj;
7767 fail:
7768 return NULL;
7769}
7770
7771
7772static PyObject *_wrap_delete_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj;
7774 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7775 PyObject * obj0 = 0 ;
7776 char *kwnames[] = {
7777 (char *) "self", NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridCellCoords",kwnames,&obj0)) goto fail;
15afbcd0
RD
7781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 delete arg1;
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 Py_INCREF(Py_None); resultobj = Py_None;
7791 return resultobj;
7792 fail:
7793 return NULL;
7794}
7795
7796
7797static PyObject *_wrap_GridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7798 PyObject *resultobj;
7799 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7800 int result;
7801 PyObject * obj0 = 0 ;
7802 char *kwnames[] = {
7803 (char *) "self", NULL
7804 };
7805
7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
7807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7809 {
7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7811 result = (int)((wxGridCellCoords const *)arg1)->GetRow();
7812
7813 wxPyEndAllowThreads(__tstate);
7814 if (PyErr_Occurred()) SWIG_fail;
7815 }
15afbcd0 7816 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7817 return resultobj;
7818 fail:
7819 return NULL;
7820}
7821
7822
7823static PyObject *_wrap_GridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7824 PyObject *resultobj;
7825 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7826 int arg2 ;
7827 PyObject * obj0 = 0 ;
994141e6 7828 PyObject * obj1 = 0 ;
d14a1e28
RD
7829 char *kwnames[] = {
7830 (char *) "self",(char *) "n", NULL
7831 };
7832
994141e6 7833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7836 arg2 = (int) SWIG_AsInt(obj1);
7837 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 (arg1)->SetRow(arg2);
7841
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 Py_INCREF(Py_None); resultobj = Py_None;
7846 return resultobj;
7847 fail:
7848 return NULL;
7849}
7850
7851
7852static PyObject *_wrap_GridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7853 PyObject *resultobj;
7854 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7855 int result;
7856 PyObject * obj0 = 0 ;
7857 char *kwnames[] = {
7858 (char *) "self", NULL
7859 };
7860
7861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
7862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 result = (int)((wxGridCellCoords const *)arg1)->GetCol();
7867
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
15afbcd0 7871 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7872 return resultobj;
7873 fail:
7874 return NULL;
7875}
7876
7877
7878static PyObject *_wrap_GridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7879 PyObject *resultobj;
7880 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7881 int arg2 ;
7882 PyObject * obj0 = 0 ;
994141e6 7883 PyObject * obj1 = 0 ;
d14a1e28
RD
7884 char *kwnames[] = {
7885 (char *) "self",(char *) "n", NULL
7886 };
7887
994141e6 7888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7891 arg2 = (int) SWIG_AsInt(obj1);
7892 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 (arg1)->SetCol(arg2);
7896
7897 wxPyEndAllowThreads(__tstate);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
7900 Py_INCREF(Py_None); resultobj = Py_None;
7901 return resultobj;
7902 fail:
7903 return NULL;
7904}
7905
7906
7907static PyObject *_wrap_GridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7908 PyObject *resultobj;
7909 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7910 int arg2 ;
7911 int arg3 ;
7912 PyObject * obj0 = 0 ;
994141e6
RD
7913 PyObject * obj1 = 0 ;
7914 PyObject * obj2 = 0 ;
d14a1e28
RD
7915 char *kwnames[] = {
7916 (char *) "self",(char *) "row",(char *) "col", NULL
7917 };
7918
994141e6 7919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellCoords_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7922 arg2 = (int) SWIG_AsInt(obj1);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 arg3 = (int) SWIG_AsInt(obj2);
7925 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7926 {
7927 PyThreadState* __tstate = wxPyBeginAllowThreads();
7928 (arg1)->Set(arg2,arg3);
7929
7930 wxPyEndAllowThreads(__tstate);
7931 if (PyErr_Occurred()) SWIG_fail;
7932 }
7933 Py_INCREF(Py_None); resultobj = Py_None;
7934 return resultobj;
7935 fail:
7936 return NULL;
7937}
7938
7939
7940static PyObject *_wrap_GridCellCoords___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
7941 PyObject *resultobj;
7942 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7943 wxGridCellCoords *arg2 = 0 ;
7944 bool result;
22faec7d 7945 wxGridCellCoords temp2 ;
d14a1e28
RD
7946 PyObject * obj0 = 0 ;
7947 PyObject * obj1 = 0 ;
7948 char *kwnames[] = {
7949 (char *) "self",(char *) "other", NULL
7950 };
7951
7952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22faec7d
RD
7955 {
7956 arg2 = &temp2;
7957 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
7958 }
7959 {
7960 PyThreadState* __tstate = wxPyBeginAllowThreads();
7961 result = (bool)((wxGridCellCoords const *)arg1)->operator ==((wxGridCellCoords const &)*arg2);
7962
7963 wxPyEndAllowThreads(__tstate);
7964 if (PyErr_Occurred()) SWIG_fail;
7965 }
4f89f6a3
RD
7966 {
7967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7968 }
d14a1e28
RD
7969 return resultobj;
7970 fail:
7971 return NULL;
7972}
7973
7974
7975static PyObject *_wrap_GridCellCoords___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
7976 PyObject *resultobj;
7977 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7978 wxGridCellCoords *arg2 = 0 ;
7979 bool result;
22faec7d 7980 wxGridCellCoords temp2 ;
d14a1e28
RD
7981 PyObject * obj0 = 0 ;
7982 PyObject * obj1 = 0 ;
7983 char *kwnames[] = {
7984 (char *) "self",(char *) "other", NULL
7985 };
7986
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22faec7d
RD
7990 {
7991 arg2 = &temp2;
7992 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
7993 }
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 result = (bool)((wxGridCellCoords const *)arg1)->operator !=((wxGridCellCoords const &)*arg2);
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
4f89f6a3
RD
8001 {
8002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8003 }
d14a1e28
RD
8004 return resultobj;
8005 fail:
8006 return NULL;
8007}
8008
8009
41e2b43e 8010static PyObject *_wrap_GridCellCoords_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8011 PyObject *resultobj;
8012 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
8013 PyObject *result;
8014 PyObject * obj0 = 0 ;
8015 char *kwnames[] = {
8016 (char *) "self", NULL
8017 };
8018
41e2b43e 8019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
8020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
8021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
41e2b43e 8024 result = (PyObject *)wxGridCellCoords_Get(arg1);
d14a1e28
RD
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 resultobj = result;
8030 return resultobj;
8031 fail:
8032 return NULL;
8033}
8034
8035
8036static PyObject * GridCellCoords_swigregister(PyObject *self, PyObject *args) {
8037 PyObject *obj;
8038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8039 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords, obj);
8040 Py_INCREF(obj);
8041 return Py_BuildValue((char *)"");
8042}
8043static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs) {
8044 PyObject *resultobj;
8045 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8046 int arg2 = (int) -1 ;
d14a1e28
RD
8047 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8048 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8049 wxSize const &arg4_defvalue = wxDefaultSize ;
8050 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8051 long arg5 = (long) wxWANTS_CHARS ;
8052 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8053 wxString *arg6 = (wxString *) &arg6_defvalue ;
8054 wxGrid *result;
8055 wxPoint temp3 ;
8056 wxSize temp4 ;
e811c8ce 8057 bool temp6 = False ;
d14a1e28 8058 PyObject * obj0 = 0 ;
994141e6 8059 PyObject * obj1 = 0 ;
d14a1e28
RD
8060 PyObject * obj2 = 0 ;
8061 PyObject * obj3 = 0 ;
994141e6 8062 PyObject * obj4 = 0 ;
d14a1e28
RD
8063 PyObject * obj5 = 0 ;
8064 char *kwnames[] = {
8065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8066 };
8067
248ed943 8068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Grid",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
8069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
8071 if (obj1) {
8072 arg2 = (int) SWIG_AsInt(obj1);
8073 if (PyErr_Occurred()) SWIG_fail;
8074 }
d14a1e28
RD
8075 if (obj2) {
8076 {
8077 arg3 = &temp3;
8078 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8079 }
8080 }
8081 if (obj3) {
8082 {
8083 arg4 = &temp4;
8084 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8085 }
8086 }
994141e6 8087 if (obj4) {
15afbcd0
RD
8088 arg5 = (long) SWIG_AsLong(obj4);
8089 if (PyErr_Occurred()) SWIG_fail;
994141e6 8090 }
d14a1e28
RD
8091 if (obj5) {
8092 {
8093 arg6 = wxString_in_helper(obj5);
8094 if (arg6 == NULL) SWIG_fail;
e811c8ce 8095 temp6 = True;
d14a1e28
RD
8096 }
8097 }
8098 {
e3b71cb8 8099 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8100 PyThreadState* __tstate = wxPyBeginAllowThreads();
8101 result = (wxGrid *)new wxGrid(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8102
8103 wxPyEndAllowThreads(__tstate);
e3b71cb8 8104 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8105 }
8106 {
8107 resultobj = wxPyMake_wxObject(result);
8108 }
8109 {
8110 if (temp6)
8111 delete arg6;
8112 }
8113 return resultobj;
8114 fail:
8115 {
8116 if (temp6)
8117 delete arg6;
8118 }
8119 return NULL;
8120}
8121
8122
1a10c483
RD
8123static PyObject *_wrap_new_PreGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8124 PyObject *resultobj;
8125 wxGrid *result;
8126 char *kwnames[] = {
8127 NULL
8128 };
8129
8130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGrid",kwnames)) goto fail;
8131 {
e3b71cb8 8132 if (!wxPyCheckForApp()) SWIG_fail;
1a10c483
RD
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 result = (wxGrid *)new wxGrid();
8135
8136 wxPyEndAllowThreads(__tstate);
e3b71cb8 8137 if (PyErr_Occurred()) SWIG_fail;
1a10c483
RD
8138 }
8139 {
8140 resultobj = wxPyMake_wxObject(result);
8141 }
8142 return resultobj;
8143 fail:
8144 return NULL;
8145}
8146
8147
8148static PyObject *_wrap_Grid_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8149 PyObject *resultobj;
8150 wxGrid *arg1 = (wxGrid *) 0 ;
8151 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8152 int arg3 = (int) -1 ;
1a10c483
RD
8153 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8154 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8155 wxSize const &arg5_defvalue = wxDefaultSize ;
8156 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8157 long arg6 = (long) wxWANTS_CHARS ;
8158 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8159 wxString *arg7 = (wxString *) &arg7_defvalue ;
8160 bool result;
8161 wxPoint temp4 ;
8162 wxSize temp5 ;
8163 bool temp7 = False ;
8164 PyObject * obj0 = 0 ;
8165 PyObject * obj1 = 0 ;
8166 PyObject * obj2 = 0 ;
8167 PyObject * obj3 = 0 ;
8168 PyObject * obj4 = 0 ;
8169 PyObject * obj5 = 0 ;
8170 PyObject * obj6 = 0 ;
8171 char *kwnames[] = {
8172 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8173 };
8174
248ed943 8175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Grid_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1a10c483
RD
8176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8178 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
8180 if (obj2) {
8181 arg3 = (int) SWIG_AsInt(obj2);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
1a10c483
RD
8184 if (obj3) {
8185 {
8186 arg4 = &temp4;
8187 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8188 }
8189 }
8190 if (obj4) {
8191 {
8192 arg5 = &temp5;
8193 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8194 }
8195 }
8196 if (obj5) {
8197 arg6 = (long) SWIG_AsLong(obj5);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 if (obj6) {
8201 {
8202 arg7 = wxString_in_helper(obj6);
8203 if (arg7 == NULL) SWIG_fail;
8204 temp7 = True;
8205 }
8206 }
8207 {
8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
8209 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8210
8211 wxPyEndAllowThreads(__tstate);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
8214 {
8215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8216 }
8217 {
8218 if (temp7)
8219 delete arg7;
8220 }
8221 return resultobj;
8222 fail:
8223 {
8224 if (temp7)
8225 delete arg7;
8226 }
8227 return NULL;
8228}
8229
8230
d14a1e28
RD
8231static PyObject *_wrap_Grid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8232 PyObject *resultobj;
8233 wxGrid *arg1 = (wxGrid *) 0 ;
8234 int arg2 ;
8235 int arg3 ;
8236 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8237 bool result;
8238 PyObject * obj0 = 0 ;
994141e6
RD
8239 PyObject * obj1 = 0 ;
8240 PyObject * obj2 = 0 ;
8241 PyObject * obj3 = 0 ;
d14a1e28
RD
8242 char *kwnames[] = {
8243 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8244 };
8245
994141e6 8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_CreateGrid",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8249 arg2 = (int) SWIG_AsInt(obj1);
8250 if (PyErr_Occurred()) SWIG_fail;
8251 arg3 = (int) SWIG_AsInt(obj2);
8252 if (PyErr_Occurred()) SWIG_fail;
994141e6 8253 if (obj3) {
15afbcd0
RD
8254 arg4 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj3);
8255 if (PyErr_Occurred()) SWIG_fail;
994141e6 8256 }
d14a1e28
RD
8257 {
8258 PyThreadState* __tstate = wxPyBeginAllowThreads();
8259 result = (bool)(arg1)->CreateGrid(arg2,arg3,arg4);
8260
8261 wxPyEndAllowThreads(__tstate);
8262 if (PyErr_Occurred()) SWIG_fail;
8263 }
4f89f6a3
RD
8264 {
8265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8266 }
d14a1e28
RD
8267 return resultobj;
8268 fail:
8269 return NULL;
8270}
8271
8272
8273static PyObject *_wrap_Grid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8274 PyObject *resultobj;
8275 wxGrid *arg1 = (wxGrid *) 0 ;
8276 WXGRIDSELECTIONMODES arg2 ;
8277 PyObject * obj0 = 0 ;
994141e6 8278 PyObject * obj1 = 0 ;
d14a1e28
RD
8279 char *kwnames[] = {
8280 (char *) "self",(char *) "selmode", NULL
8281 };
8282
994141e6 8283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8286 arg2 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj1);
8287 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 (arg1)->SetSelectionMode(arg2);
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
8295 Py_INCREF(Py_None); resultobj = Py_None;
8296 return resultobj;
8297 fail:
8298 return NULL;
8299}
8300
8301
8302static PyObject *_wrap_Grid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8303 PyObject *resultobj;
8304 wxGrid *arg1 = (wxGrid *) 0 ;
8305 WXGRIDSELECTIONMODES result;
8306 PyObject * obj0 = 0 ;
8307 char *kwnames[] = {
8308 (char *) "self", NULL
8309 };
8310
8311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
8312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8314 {
8315 PyThreadState* __tstate = wxPyBeginAllowThreads();
8316 result = (WXGRIDSELECTIONMODES)(arg1)->GetSelectionMode();
8317
8318 wxPyEndAllowThreads(__tstate);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 }
15afbcd0 8321 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8322 return resultobj;
8323 fail:
8324 return NULL;
8325}
8326
8327
8328static PyObject *_wrap_Grid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8329 PyObject *resultobj;
8330 wxGrid *arg1 = (wxGrid *) 0 ;
8331 int result;
8332 PyObject * obj0 = 0 ;
8333 char *kwnames[] = {
8334 (char *) "self", NULL
8335 };
8336
8337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
8338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8340 {
8341 PyThreadState* __tstate = wxPyBeginAllowThreads();
8342 result = (int)(arg1)->GetNumberRows();
8343
8344 wxPyEndAllowThreads(__tstate);
8345 if (PyErr_Occurred()) SWIG_fail;
8346 }
15afbcd0 8347 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8348 return resultobj;
8349 fail:
8350 return NULL;
8351}
8352
8353
8354static PyObject *_wrap_Grid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8355 PyObject *resultobj;
8356 wxGrid *arg1 = (wxGrid *) 0 ;
8357 int result;
8358 PyObject * obj0 = 0 ;
8359 char *kwnames[] = {
8360 (char *) "self", NULL
8361 };
8362
8363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
8364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8366 {
8367 PyThreadState* __tstate = wxPyBeginAllowThreads();
8368 result = (int)(arg1)->GetNumberCols();
8369
8370 wxPyEndAllowThreads(__tstate);
8371 if (PyErr_Occurred()) SWIG_fail;
8372 }
15afbcd0 8373 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8374 return resultobj;
8375 fail:
8376 return NULL;
8377}
8378
8379
8380static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8381 PyObject *resultobj;
8382 wxGrid *arg1 = (wxGrid *) 0 ;
8383 wxGridTableMessage *arg2 = 0 ;
8384 bool result;
8385 PyObject * obj0 = 0 ;
8386 PyObject * obj1 = 0 ;
8387 char *kwnames[] = {
8388 (char *) "self","arg2", NULL
8389 };
8390
8391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_ProcessTableMessage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8394 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableMessage,
8395 SWIG_POINTER_EXCEPTION | 0)) == -1)
8396 SWIG_fail;
d14a1e28 8397 if (arg2 == NULL) {
15afbcd0
RD
8398 PyErr_SetString(PyExc_TypeError,"null reference");
8399 SWIG_fail;
d14a1e28
RD
8400 }
8401 {
8402 PyThreadState* __tstate = wxPyBeginAllowThreads();
8403 result = (bool)(arg1)->ProcessTableMessage(*arg2);
8404
8405 wxPyEndAllowThreads(__tstate);
8406 if (PyErr_Occurred()) SWIG_fail;
8407 }
4f89f6a3
RD
8408 {
8409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8410 }
d14a1e28
RD
8411 return resultobj;
8412 fail:
8413 return NULL;
8414}
8415
8416
8417static PyObject *_wrap_Grid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj;
8419 wxGrid *arg1 = (wxGrid *) 0 ;
8420 wxGridTableBase *result;
8421 PyObject * obj0 = 0 ;
8422 char *kwnames[] = {
8423 (char *) "self", NULL
8424 };
8425
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
8427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8429 {
8430 PyThreadState* __tstate = wxPyBeginAllowThreads();
8431 result = (wxGridTableBase *)((wxGrid const *)arg1)->GetTable();
8432
8433 wxPyEndAllowThreads(__tstate);
8434 if (PyErr_Occurred()) SWIG_fail;
8435 }
8436 {
8437 resultobj = wxPyMake_wxGridTableBase(result);
8438 }
8439 return resultobj;
8440 fail:
8441 return NULL;
8442}
8443
8444
8445static PyObject *_wrap_Grid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8446 PyObject *resultobj;
8447 wxGrid *arg1 = (wxGrid *) 0 ;
8448 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
e811c8ce 8449 bool arg3 = (bool) False ;
d14a1e28
RD
8450 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8451 bool result;
8452 PyObject * obj0 = 0 ;
8453 PyObject * obj1 = 0 ;
8454 PyObject * obj2 = 0 ;
994141e6 8455 PyObject * obj3 = 0 ;
d14a1e28
RD
8456 char *kwnames[] = {
8457 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8458 };
8459
994141e6 8460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetTable",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
8464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8465 if (obj2) {
15afbcd0
RD
8466 arg3 = (bool) SWIG_AsBool(obj2);
8467 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8468 }
8469 if (obj3) {
15afbcd0
RD
8470 arg4 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj3);
8471 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8472 }
8473 {
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 result = (bool)(arg1)->SetTable(arg2,arg3,arg4);
8476
8477 wxPyEndAllowThreads(__tstate);
8478 if (PyErr_Occurred()) SWIG_fail;
8479 }
4f89f6a3
RD
8480 {
8481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8482 }
d14a1e28
RD
8483 return resultobj;
8484 fail:
8485 return NULL;
8486}
8487
8488
8489static PyObject *_wrap_Grid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8490 PyObject *resultobj;
8491 wxGrid *arg1 = (wxGrid *) 0 ;
8492 PyObject * obj0 = 0 ;
8493 char *kwnames[] = {
8494 (char *) "self", NULL
8495 };
8496
8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearGrid",kwnames,&obj0)) goto fail;
15afbcd0
RD
8498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8500 {
8501 PyThreadState* __tstate = wxPyBeginAllowThreads();
8502 (arg1)->ClearGrid();
8503
8504 wxPyEndAllowThreads(__tstate);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 }
8507 Py_INCREF(Py_None); resultobj = Py_None;
8508 return resultobj;
8509 fail:
8510 return NULL;
8511}
8512
8513
8514static PyObject *_wrap_Grid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8515 PyObject *resultobj;
8516 wxGrid *arg1 = (wxGrid *) 0 ;
8517 int arg2 = (int) 0 ;
8518 int arg3 = (int) 1 ;
e811c8ce 8519 bool arg4 = (bool) True ;
d14a1e28
RD
8520 bool result;
8521 PyObject * obj0 = 0 ;
994141e6
RD
8522 PyObject * obj1 = 0 ;
8523 PyObject * obj2 = 0 ;
d14a1e28
RD
8524 PyObject * obj3 = 0 ;
8525 char *kwnames[] = {
8526 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8527 };
8528
994141e6 8529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8532 if (obj1) {
15afbcd0
RD
8533 arg2 = (int) SWIG_AsInt(obj1);
8534 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8535 }
8536 if (obj2) {
15afbcd0
RD
8537 arg3 = (int) SWIG_AsInt(obj2);
8538 if (PyErr_Occurred()) SWIG_fail;
994141e6 8539 }
d14a1e28 8540 if (obj3) {
15afbcd0
RD
8541 arg4 = (bool) SWIG_AsBool(obj3);
8542 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8543 }
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 result = (bool)(arg1)->InsertRows(arg2,arg3,arg4);
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
4f89f6a3
RD
8551 {
8552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8553 }
d14a1e28
RD
8554 return resultobj;
8555 fail:
8556 return NULL;
8557}
8558
8559
8560static PyObject *_wrap_Grid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8561 PyObject *resultobj;
8562 wxGrid *arg1 = (wxGrid *) 0 ;
8563 int arg2 = (int) 1 ;
e811c8ce 8564 bool arg3 = (bool) True ;
d14a1e28
RD
8565 bool result;
8566 PyObject * obj0 = 0 ;
994141e6 8567 PyObject * obj1 = 0 ;
d14a1e28
RD
8568 PyObject * obj2 = 0 ;
8569 char *kwnames[] = {
8570 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8571 };
8572
994141e6 8573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8576 if (obj1) {
15afbcd0
RD
8577 arg2 = (int) SWIG_AsInt(obj1);
8578 if (PyErr_Occurred()) SWIG_fail;
994141e6 8579 }
d14a1e28 8580 if (obj2) {
15afbcd0
RD
8581 arg3 = (bool) SWIG_AsBool(obj2);
8582 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8583 }
8584 {
8585 PyThreadState* __tstate = wxPyBeginAllowThreads();
8586 result = (bool)(arg1)->AppendRows(arg2,arg3);
8587
8588 wxPyEndAllowThreads(__tstate);
8589 if (PyErr_Occurred()) SWIG_fail;
8590 }
4f89f6a3
RD
8591 {
8592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8593 }
d14a1e28
RD
8594 return resultobj;
8595 fail:
8596 return NULL;
8597}
8598
8599
8600static PyObject *_wrap_Grid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8601 PyObject *resultobj;
8602 wxGrid *arg1 = (wxGrid *) 0 ;
8603 int arg2 = (int) 0 ;
8604 int arg3 = (int) 1 ;
e811c8ce 8605 bool arg4 = (bool) True ;
d14a1e28
RD
8606 bool result;
8607 PyObject * obj0 = 0 ;
994141e6
RD
8608 PyObject * obj1 = 0 ;
8609 PyObject * obj2 = 0 ;
d14a1e28
RD
8610 PyObject * obj3 = 0 ;
8611 char *kwnames[] = {
8612 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8613 };
8614
994141e6 8615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8618 if (obj1) {
15afbcd0
RD
8619 arg2 = (int) SWIG_AsInt(obj1);
8620 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8621 }
8622 if (obj2) {
15afbcd0
RD
8623 arg3 = (int) SWIG_AsInt(obj2);
8624 if (PyErr_Occurred()) SWIG_fail;
994141e6 8625 }
d14a1e28 8626 if (obj3) {
15afbcd0
RD
8627 arg4 = (bool) SWIG_AsBool(obj3);
8628 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8629 }
8630 {
8631 PyThreadState* __tstate = wxPyBeginAllowThreads();
8632 result = (bool)(arg1)->DeleteRows(arg2,arg3,arg4);
8633
8634 wxPyEndAllowThreads(__tstate);
8635 if (PyErr_Occurred()) SWIG_fail;
8636 }
4f89f6a3
RD
8637 {
8638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8639 }
d14a1e28
RD
8640 return resultobj;
8641 fail:
8642 return NULL;
8643}
8644
8645
8646static PyObject *_wrap_Grid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8647 PyObject *resultobj;
8648 wxGrid *arg1 = (wxGrid *) 0 ;
8649 int arg2 = (int) 0 ;
8650 int arg3 = (int) 1 ;
e811c8ce 8651 bool arg4 = (bool) True ;
d14a1e28
RD
8652 bool result;
8653 PyObject * obj0 = 0 ;
994141e6
RD
8654 PyObject * obj1 = 0 ;
8655 PyObject * obj2 = 0 ;
d14a1e28
RD
8656 PyObject * obj3 = 0 ;
8657 char *kwnames[] = {
8658 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8659 };
8660
994141e6 8661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8664 if (obj1) {
15afbcd0
RD
8665 arg2 = (int) SWIG_AsInt(obj1);
8666 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8667 }
8668 if (obj2) {
15afbcd0
RD
8669 arg3 = (int) SWIG_AsInt(obj2);
8670 if (PyErr_Occurred()) SWIG_fail;
994141e6 8671 }
d14a1e28 8672 if (obj3) {
15afbcd0
RD
8673 arg4 = (bool) SWIG_AsBool(obj3);
8674 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8675 }
8676 {
8677 PyThreadState* __tstate = wxPyBeginAllowThreads();
8678 result = (bool)(arg1)->InsertCols(arg2,arg3,arg4);
8679
8680 wxPyEndAllowThreads(__tstate);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 }
4f89f6a3
RD
8683 {
8684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8685 }
d14a1e28
RD
8686 return resultobj;
8687 fail:
8688 return NULL;
8689}
8690
8691
8692static PyObject *_wrap_Grid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8693 PyObject *resultobj;
8694 wxGrid *arg1 = (wxGrid *) 0 ;
8695 int arg2 = (int) 1 ;
e811c8ce 8696 bool arg3 = (bool) True ;
d14a1e28
RD
8697 bool result;
8698 PyObject * obj0 = 0 ;
994141e6 8699 PyObject * obj1 = 0 ;
d14a1e28
RD
8700 PyObject * obj2 = 0 ;
8701 char *kwnames[] = {
8702 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8703 };
8704
994141e6 8705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8708 if (obj1) {
15afbcd0
RD
8709 arg2 = (int) SWIG_AsInt(obj1);
8710 if (PyErr_Occurred()) SWIG_fail;
994141e6 8711 }
d14a1e28 8712 if (obj2) {
15afbcd0
RD
8713 arg3 = (bool) SWIG_AsBool(obj2);
8714 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8715 }
8716 {
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 result = (bool)(arg1)->AppendCols(arg2,arg3);
8719
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
4f89f6a3
RD
8723 {
8724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8725 }
d14a1e28
RD
8726 return resultobj;
8727 fail:
8728 return NULL;
8729}
8730
8731
8732static PyObject *_wrap_Grid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj;
8734 wxGrid *arg1 = (wxGrid *) 0 ;
8735 int arg2 = (int) 0 ;
8736 int arg3 = (int) 1 ;
e811c8ce 8737 bool arg4 = (bool) True ;
d14a1e28
RD
8738 bool result;
8739 PyObject * obj0 = 0 ;
994141e6
RD
8740 PyObject * obj1 = 0 ;
8741 PyObject * obj2 = 0 ;
d14a1e28
RD
8742 PyObject * obj3 = 0 ;
8743 char *kwnames[] = {
8744 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8745 };
8746
994141e6 8747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8750 if (obj1) {
15afbcd0
RD
8751 arg2 = (int) SWIG_AsInt(obj1);
8752 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8753 }
8754 if (obj2) {
15afbcd0
RD
8755 arg3 = (int) SWIG_AsInt(obj2);
8756 if (PyErr_Occurred()) SWIG_fail;
994141e6 8757 }
d14a1e28 8758 if (obj3) {
15afbcd0
RD
8759 arg4 = (bool) SWIG_AsBool(obj3);
8760 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8761 }
8762 {
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 result = (bool)(arg1)->DeleteCols(arg2,arg3,arg4);
8765
8766 wxPyEndAllowThreads(__tstate);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 }
4f89f6a3
RD
8769 {
8770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8771 }
d14a1e28
RD
8772 return resultobj;
8773 fail:
8774 return NULL;
8775}
8776
8777
8778static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj;
8780 wxGrid *arg1 = (wxGrid *) 0 ;
8781 wxDC *arg2 = 0 ;
8782 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
8783 PyObject * obj0 = 0 ;
8784 PyObject * obj1 = 0 ;
8785 PyObject * obj2 = 0 ;
8786 char *kwnames[] = {
8787 (char *) "self",(char *) "dc",(char *) "attr", NULL
8788 };
8789
8790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DrawCellHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8793 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8794 SWIG_POINTER_EXCEPTION | 0)) == -1)
8795 SWIG_fail;
d14a1e28 8796 if (arg2 == NULL) {
15afbcd0
RD
8797 PyErr_SetString(PyExc_TypeError,"null reference");
8798 SWIG_fail;
d14a1e28 8799 }
15afbcd0
RD
8800 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
8801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8802 {
8803 PyThreadState* __tstate = wxPyBeginAllowThreads();
8804 (arg1)->DrawCellHighlight(*arg2,(wxGridCellAttr const *)arg3);
8805
8806 wxPyEndAllowThreads(__tstate);
8807 if (PyErr_Occurred()) SWIG_fail;
8808 }
8809 Py_INCREF(Py_None); resultobj = Py_None;
8810 return resultobj;
8811 fail:
8812 return NULL;
8813}
8814
8815
8816static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8817 PyObject *resultobj;
8818 wxGrid *arg1 = (wxGrid *) 0 ;
8819 wxDC *arg2 = 0 ;
8820 wxString *arg3 = 0 ;
8821 wxRect *arg4 = 0 ;
8822 int arg5 = (int) wxLEFT ;
8823 int arg6 = (int) wxTOP ;
8824 int arg7 = (int) wxHORIZONTAL ;
e811c8ce 8825 bool temp3 = False ;
d14a1e28
RD
8826 wxRect temp4 ;
8827 PyObject * obj0 = 0 ;
8828 PyObject * obj1 = 0 ;
8829 PyObject * obj2 = 0 ;
8830 PyObject * obj3 = 0 ;
994141e6
RD
8831 PyObject * obj4 = 0 ;
8832 PyObject * obj5 = 0 ;
8833 PyObject * obj6 = 0 ;
d14a1e28
RD
8834 char *kwnames[] = {
8835 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8836 };
8837
994141e6 8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
8839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8841 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8842 SWIG_POINTER_EXCEPTION | 0)) == -1)
8843 SWIG_fail;
d14a1e28 8844 if (arg2 == NULL) {
15afbcd0
RD
8845 PyErr_SetString(PyExc_TypeError,"null reference");
8846 SWIG_fail;
d14a1e28
RD
8847 }
8848 {
8849 arg3 = wxString_in_helper(obj2);
8850 if (arg3 == NULL) SWIG_fail;
e811c8ce 8851 temp3 = True;
d14a1e28
RD
8852 }
8853 {
8854 arg4 = &temp4;
8855 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
8856 }
994141e6 8857 if (obj4) {
15afbcd0
RD
8858 arg5 = (int) SWIG_AsInt(obj4);
8859 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8860 }
8861 if (obj5) {
15afbcd0
RD
8862 arg6 = (int) SWIG_AsInt(obj5);
8863 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8864 }
8865 if (obj6) {
15afbcd0
RD
8866 arg7 = (int) SWIG_AsInt(obj6);
8867 if (PyErr_Occurred()) SWIG_fail;
994141e6 8868 }
d14a1e28
RD
8869 {
8870 PyThreadState* __tstate = wxPyBeginAllowThreads();
8871 (arg1)->DrawTextRectangle(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
8872
8873 wxPyEndAllowThreads(__tstate);
8874 if (PyErr_Occurred()) SWIG_fail;
8875 }
8876 Py_INCREF(Py_None); resultobj = Py_None;
8877 {
8878 if (temp3)
8879 delete arg3;
8880 }
8881 return resultobj;
8882 fail:
8883 {
8884 if (temp3)
8885 delete arg3;
8886 }
8887 return NULL;
8888}
8889
8890
8891static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8892 PyObject *resultobj;
8893 wxGrid *arg1 = (wxGrid *) 0 ;
8894 wxDC *arg2 = 0 ;
8895 wxArrayString *arg3 = 0 ;
8896 long *arg4 = (long *) 0 ;
8897 long *arg5 = (long *) 0 ;
3adfb63b 8898 bool temp3 = False ;
d14a1e28
RD
8899 long temp4 ;
8900 long temp5 ;
8901 PyObject * obj0 = 0 ;
8902 PyObject * obj1 = 0 ;
8903 PyObject * obj2 = 0 ;
8904 char *kwnames[] = {
8905 (char *) "self",(char *) "dc",(char *) "lines", NULL
8906 };
8907
8908 arg4 = &temp4;
8909 arg5 = &temp5;
8910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetTextBoxSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8913 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8914 SWIG_POINTER_EXCEPTION | 0)) == -1)
8915 SWIG_fail;
d14a1e28 8916 if (arg2 == NULL) {
15afbcd0
RD
8917 PyErr_SetString(PyExc_TypeError,"null reference");
8918 SWIG_fail;
d14a1e28
RD
8919 }
8920 {
8921 if (! PySequence_Check(obj2)) {
8922 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8923 SWIG_fail;
8924 }
8925 arg3 = new wxArrayString;
3adfb63b 8926 temp3 = True;
d14a1e28
RD
8927 int i, len=PySequence_Length(obj2);
8928 for (i=0; i<len; i++) {
8929 PyObject* item = PySequence_GetItem(obj2, i);
8930#if wxUSE_UNICODE
8931 PyObject* str = PyObject_Unicode(item);
8932#else
8933 PyObject* str = PyObject_Str(item);
8934#endif
74a57fcd 8935 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8936 arg3->Add(Py2wxString(str));
8937 Py_DECREF(item);
8938 Py_DECREF(str);
8939 }
8940 }
8941 {
8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
8943 (arg1)->GetTextBoxSize(*arg2,*arg3,arg4,arg5);
8944
8945 wxPyEndAllowThreads(__tstate);
8946 if (PyErr_Occurred()) SWIG_fail;
8947 }
8948 Py_INCREF(Py_None); resultobj = Py_None;
8949 {
8950 PyObject *o = PyInt_FromLong((long) (*arg4));
8951 resultobj = t_output_helper(resultobj,o);
8952 }
8953 {
8954 PyObject *o = PyInt_FromLong((long) (*arg5));
8955 resultobj = t_output_helper(resultobj,o);
8956 }
8957 {
3adfb63b 8958 if (temp3) delete arg3;
d14a1e28
RD
8959 }
8960 return resultobj;
8961 fail:
8962 {
3adfb63b 8963 if (temp3) delete arg3;
d14a1e28
RD
8964 }
8965 return NULL;
8966}
8967
8968
8969static PyObject *_wrap_Grid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8970 PyObject *resultobj;
8971 wxGrid *arg1 = (wxGrid *) 0 ;
8972 PyObject * obj0 = 0 ;
8973 char *kwnames[] = {
8974 (char *) "self", NULL
8975 };
8976
8977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_BeginBatch",kwnames,&obj0)) goto fail;
15afbcd0
RD
8978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 (arg1)->BeginBatch();
8983
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 Py_INCREF(Py_None); resultobj = Py_None;
8988 return resultobj;
8989 fail:
8990 return NULL;
8991}
8992
8993
8994static PyObject *_wrap_Grid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8995 PyObject *resultobj;
8996 wxGrid *arg1 = (wxGrid *) 0 ;
8997 PyObject * obj0 = 0 ;
8998 char *kwnames[] = {
8999 (char *) "self", NULL
9000 };
9001
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_EndBatch",kwnames,&obj0)) goto fail;
15afbcd0
RD
9003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9005 {
9006 PyThreadState* __tstate = wxPyBeginAllowThreads();
9007 (arg1)->EndBatch();
9008
9009 wxPyEndAllowThreads(__tstate);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 }
9012 Py_INCREF(Py_None); resultobj = Py_None;
9013 return resultobj;
9014 fail:
9015 return NULL;
9016}
9017
9018
9019static PyObject *_wrap_Grid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9020 PyObject *resultobj;
9021 wxGrid *arg1 = (wxGrid *) 0 ;
9022 int result;
9023 PyObject * obj0 = 0 ;
9024 char *kwnames[] = {
9025 (char *) "self", NULL
9026 };
9027
9028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetBatchCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
9029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 result = (int)(arg1)->GetBatchCount();
9034
9035 wxPyEndAllowThreads(__tstate);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 }
15afbcd0 9038 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9039 return resultobj;
9040 fail:
9041 return NULL;
9042}
9043
9044
9045static PyObject *_wrap_Grid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
9046 PyObject *resultobj;
9047 wxGrid *arg1 = (wxGrid *) 0 ;
9048 PyObject * obj0 = 0 ;
9049 char *kwnames[] = {
9050 (char *) "self", NULL
9051 };
9052
9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ForceRefresh",kwnames,&obj0)) goto fail;
15afbcd0
RD
9054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 (arg1)->ForceRefresh();
9059
9060 wxPyEndAllowThreads(__tstate);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 }
9063 Py_INCREF(Py_None); resultobj = Py_None;
9064 return resultobj;
9065 fail:
9066 return NULL;
9067}
9068
9069
d14a1e28
RD
9070static PyObject *_wrap_Grid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9071 PyObject *resultobj;
9072 wxGrid *arg1 = (wxGrid *) 0 ;
9073 bool result;
9074 PyObject * obj0 = 0 ;
9075 char *kwnames[] = {
9076 (char *) "self", NULL
9077 };
9078
9079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsEditable",kwnames,&obj0)) goto fail;
15afbcd0
RD
9080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 result = (bool)(arg1)->IsEditable();
9085
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
4f89f6a3
RD
9089 {
9090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9091 }
d14a1e28
RD
9092 return resultobj;
9093 fail:
9094 return NULL;
9095}
9096
9097
9098static PyObject *_wrap_Grid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
9099 PyObject *resultobj;
9100 wxGrid *arg1 = (wxGrid *) 0 ;
9101 bool arg2 ;
9102 PyObject * obj0 = 0 ;
9103 PyObject * obj1 = 0 ;
9104 char *kwnames[] = {
9105 (char *) "self",(char *) "edit", NULL
9106 };
9107
9108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_EnableEditing",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9111 arg2 = (bool) SWIG_AsBool(obj1);
9112 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 (arg1)->EnableEditing(arg2);
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 Py_INCREF(Py_None); resultobj = Py_None;
9121 return resultobj;
9122 fail:
9123 return NULL;
9124}
9125
9126
9127static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9128 PyObject *resultobj;
9129 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 9130 bool arg2 = (bool) True ;
d14a1e28
RD
9131 PyObject * obj0 = 0 ;
9132 PyObject * obj1 = 0 ;
9133 char *kwnames[] = {
9134 (char *) "self",(char *) "enable", NULL
9135 };
9136
9137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableCellEditControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9140 if (obj1) {
15afbcd0
RD
9141 arg2 = (bool) SWIG_AsBool(obj1);
9142 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9143 }
9144 {
9145 PyThreadState* __tstate = wxPyBeginAllowThreads();
9146 (arg1)->EnableCellEditControl(arg2);
9147
9148 wxPyEndAllowThreads(__tstate);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 }
9151 Py_INCREF(Py_None); resultobj = Py_None;
9152 return resultobj;
9153 fail:
9154 return NULL;
9155}
9156
9157
9158static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9159 PyObject *resultobj;
9160 wxGrid *arg1 = (wxGrid *) 0 ;
9161 PyObject * obj0 = 0 ;
9162 char *kwnames[] = {
9163 (char *) "self", NULL
9164 };
9165
9166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableCellEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
9167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9169 {
9170 PyThreadState* __tstate = wxPyBeginAllowThreads();
9171 (arg1)->DisableCellEditControl();
9172
9173 wxPyEndAllowThreads(__tstate);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 }
9176 Py_INCREF(Py_None); resultobj = Py_None;
9177 return resultobj;
9178 fail:
9179 return NULL;
9180}
9181
9182
9183static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9184 PyObject *resultobj;
9185 wxGrid *arg1 = (wxGrid *) 0 ;
9186 bool result;
9187 PyObject * obj0 = 0 ;
9188 char *kwnames[] = {
9189 (char *) "self", NULL
9190 };
9191
9192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanEnableCellControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
9193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9195 {
9196 PyThreadState* __tstate = wxPyBeginAllowThreads();
9197 result = (bool)((wxGrid const *)arg1)->CanEnableCellControl();
9198
9199 wxPyEndAllowThreads(__tstate);
9200 if (PyErr_Occurred()) SWIG_fail;
9201 }
4f89f6a3
RD
9202 {
9203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9204 }
d14a1e28
RD
9205 return resultobj;
9206 fail:
9207 return NULL;
9208}
9209
9210
9211static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9212 PyObject *resultobj;
9213 wxGrid *arg1 = (wxGrid *) 0 ;
9214 bool result;
9215 PyObject * obj0 = 0 ;
9216 char *kwnames[] = {
9217 (char *) "self", NULL
9218 };
9219
9220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
9221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9223 {
9224 PyThreadState* __tstate = wxPyBeginAllowThreads();
9225 result = (bool)((wxGrid const *)arg1)->IsCellEditControlEnabled();
9226
9227 wxPyEndAllowThreads(__tstate);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
4f89f6a3
RD
9230 {
9231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9232 }
d14a1e28
RD
9233 return resultobj;
9234 fail:
9235 return NULL;
9236}
9237
9238
9239static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
9240 PyObject *resultobj;
9241 wxGrid *arg1 = (wxGrid *) 0 ;
9242 bool result;
9243 PyObject * obj0 = 0 ;
9244 char *kwnames[] = {
9245 (char *) "self", NULL
9246 };
9247
9248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
9249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9251 {
9252 PyThreadState* __tstate = wxPyBeginAllowThreads();
9253 result = (bool)((wxGrid const *)arg1)->IsCellEditControlShown();
9254
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
4f89f6a3
RD
9258 {
9259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9260 }
d14a1e28
RD
9261 return resultobj;
9262 fail:
9263 return NULL;
9264}
9265
9266
9267static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
9268 PyObject *resultobj;
9269 wxGrid *arg1 = (wxGrid *) 0 ;
9270 bool result;
9271 PyObject * obj0 = 0 ;
9272 char *kwnames[] = {
9273 (char *) "self", NULL
9274 };
9275
9276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames,&obj0)) goto fail;
15afbcd0
RD
9277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9279 {
9280 PyThreadState* __tstate = wxPyBeginAllowThreads();
9281 result = (bool)((wxGrid const *)arg1)->IsCurrentCellReadOnly();
9282
9283 wxPyEndAllowThreads(__tstate);
9284 if (PyErr_Occurred()) SWIG_fail;
9285 }
4f89f6a3
RD
9286 {
9287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9288 }
d14a1e28
RD
9289 return resultobj;
9290 fail:
9291 return NULL;
9292}
9293
9294
9295static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9296 PyObject *resultobj;
9297 wxGrid *arg1 = (wxGrid *) 0 ;
9298 PyObject * obj0 = 0 ;
9299 char *kwnames[] = {
9300 (char *) "self", NULL
9301 };
9302
9303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ShowCellEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
9304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9306 {
9307 PyThreadState* __tstate = wxPyBeginAllowThreads();
9308 (arg1)->ShowCellEditControl();
9309
9310 wxPyEndAllowThreads(__tstate);
9311 if (PyErr_Occurred()) SWIG_fail;
9312 }
9313 Py_INCREF(Py_None); resultobj = Py_None;
9314 return resultobj;
9315 fail:
9316 return NULL;
9317}
9318
9319
9320static PyObject *_wrap_Grid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9321 PyObject *resultobj;
9322 wxGrid *arg1 = (wxGrid *) 0 ;
9323 PyObject * obj0 = 0 ;
9324 char *kwnames[] = {
9325 (char *) "self", NULL
9326 };
9327
9328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_HideCellEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
9329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9331 {
9332 PyThreadState* __tstate = wxPyBeginAllowThreads();
9333 (arg1)->HideCellEditControl();
9334
9335 wxPyEndAllowThreads(__tstate);
9336 if (PyErr_Occurred()) SWIG_fail;
9337 }
9338 Py_INCREF(Py_None); resultobj = Py_None;
9339 return resultobj;
9340 fail:
9341 return NULL;
9342}
9343
9344
9345static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9346 PyObject *resultobj;
9347 wxGrid *arg1 = (wxGrid *) 0 ;
9348 PyObject * obj0 = 0 ;
9349 char *kwnames[] = {
9350 (char *) "self", NULL
9351 };
9352
9353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SaveEditControlValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
9354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9356 {
9357 PyThreadState* __tstate = wxPyBeginAllowThreads();
9358 (arg1)->SaveEditControlValue();
9359
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 Py_INCREF(Py_None); resultobj = Py_None;
9364 return resultobj;
9365 fail:
9366 return NULL;
9367}
9368
9369
9370static PyObject *_wrap_Grid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
9371 PyObject *resultobj;
9372 wxGrid *arg1 = (wxGrid *) 0 ;
9373 int arg2 ;
9374 int arg3 ;
9375 wxGridCellCoords result;
9376 PyObject * obj0 = 0 ;
994141e6
RD
9377 PyObject * obj1 = 0 ;
9378 PyObject * obj2 = 0 ;
d14a1e28
RD
9379 char *kwnames[] = {
9380 (char *) "self",(char *) "x",(char *) "y", NULL
9381 };
9382
994141e6 9383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_XYToCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9386 arg2 = (int) SWIG_AsInt(obj1);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 arg3 = (int) SWIG_AsInt(obj2);
9389 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 result = wxGrid_XYToCell(arg1,arg2,arg3);
9393
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 {
9398 wxGridCellCoords * resultptr;
9399 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15afbcd0 9400 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
9401 }
9402 return resultobj;
9403 fail:
9404 return NULL;
9405}
9406
9407
9408static PyObject *_wrap_Grid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9409 PyObject *resultobj;
9410 wxGrid *arg1 = (wxGrid *) 0 ;
9411 int arg2 ;
9412 int result;
9413 PyObject * obj0 = 0 ;
994141e6 9414 PyObject * obj1 = 0 ;
d14a1e28
RD
9415 char *kwnames[] = {
9416 (char *) "self",(char *) "y", NULL
9417 };
9418
994141e6 9419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9422 arg2 = (int) SWIG_AsInt(obj1);
9423 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 result = (int)(arg1)->YToRow(arg2);
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
15afbcd0 9431 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9432 return resultobj;
9433 fail:
9434 return NULL;
9435}
9436
9437
9438static PyObject *_wrap_Grid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9439 PyObject *resultobj;
9440 wxGrid *arg1 = (wxGrid *) 0 ;
9441 int arg2 ;
9442 int result;
9443 PyObject * obj0 = 0 ;
994141e6 9444 PyObject * obj1 = 0 ;
d14a1e28
RD
9445 char *kwnames[] = {
9446 (char *) "self",(char *) "x", NULL
9447 };
9448
994141e6 9449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9452 arg2 = (int) SWIG_AsInt(obj1);
9453 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9454 {
9455 PyThreadState* __tstate = wxPyBeginAllowThreads();
9456 result = (int)(arg1)->XToCol(arg2);
9457
9458 wxPyEndAllowThreads(__tstate);
9459 if (PyErr_Occurred()) SWIG_fail;
9460 }
15afbcd0 9461 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9462 return resultobj;
9463 fail:
9464 return NULL;
9465}
9466
9467
9468static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9469 PyObject *resultobj;
9470 wxGrid *arg1 = (wxGrid *) 0 ;
9471 int arg2 ;
9472 int result;
9473 PyObject * obj0 = 0 ;
994141e6 9474 PyObject * obj1 = 0 ;
d14a1e28
RD
9475 char *kwnames[] = {
9476 (char *) "self",(char *) "y", NULL
9477 };
9478
994141e6 9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToEdgeOfRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9482 arg2 = (int) SWIG_AsInt(obj1);
9483 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9484 {
9485 PyThreadState* __tstate = wxPyBeginAllowThreads();
9486 result = (int)(arg1)->YToEdgeOfRow(arg2);
9487
9488 wxPyEndAllowThreads(__tstate);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 }
15afbcd0 9491 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9492 return resultobj;
9493 fail:
9494 return NULL;
9495}
9496
9497
9498static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9499 PyObject *resultobj;
9500 wxGrid *arg1 = (wxGrid *) 0 ;
9501 int arg2 ;
9502 int result;
9503 PyObject * obj0 = 0 ;
994141e6 9504 PyObject * obj1 = 0 ;
d14a1e28
RD
9505 char *kwnames[] = {
9506 (char *) "self",(char *) "x", NULL
9507 };
9508
994141e6 9509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToEdgeOfCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9512 arg2 = (int) SWIG_AsInt(obj1);
9513 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9514 {
9515 PyThreadState* __tstate = wxPyBeginAllowThreads();
9516 result = (int)(arg1)->XToEdgeOfCol(arg2);
9517
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
15afbcd0 9521 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9522 return resultobj;
9523 fail:
9524 return NULL;
9525}
9526
9527
9528static PyObject *_wrap_Grid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9529 PyObject *resultobj;
9530 wxGrid *arg1 = (wxGrid *) 0 ;
9531 int arg2 ;
9532 int arg3 ;
9533 wxRect result;
9534 PyObject * obj0 = 0 ;
994141e6
RD
9535 PyObject * obj1 = 0 ;
9536 PyObject * obj2 = 0 ;
d14a1e28
RD
9537 char *kwnames[] = {
9538 (char *) "self",(char *) "row",(char *) "col", NULL
15afbcd0
RD
9539 };
9540
9541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_CellToRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
9542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9544 arg2 = (int) SWIG_AsInt(obj1);
9545 if (PyErr_Occurred()) SWIG_fail;
9546 arg3 = (int) SWIG_AsInt(obj2);
9547 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9548 {
9549 PyThreadState* __tstate = wxPyBeginAllowThreads();
9550 result = (arg1)->CellToRect(arg2,arg3);
9551
9552 wxPyEndAllowThreads(__tstate);
9553 if (PyErr_Occurred()) SWIG_fail;
9554 }
9555 {
9556 wxRect * resultptr;
9557 resultptr = new wxRect((wxRect &) result);
15afbcd0 9558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
9559 }
9560 return resultobj;
9561 fail:
9562 return NULL;
9563}
9564
9565
9566static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9567 PyObject *resultobj;
9568 wxGrid *arg1 = (wxGrid *) 0 ;
9569 int result;
9570 PyObject * obj0 = 0 ;
9571 char *kwnames[] = {
9572 (char *) "self", NULL
9573 };
9574
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
9576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9578 {
9579 PyThreadState* __tstate = wxPyBeginAllowThreads();
9580 result = (int)(arg1)->GetGridCursorRow();
9581
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
15afbcd0 9585 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9586 return resultobj;
9587 fail:
9588 return NULL;
9589}
9590
9591
9592static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9593 PyObject *resultobj;
9594 wxGrid *arg1 = (wxGrid *) 0 ;
9595 int result;
9596 PyObject * obj0 = 0 ;
9597 char *kwnames[] = {
9598 (char *) "self", NULL
9599 };
9600
9601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
9602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9604 {
9605 PyThreadState* __tstate = wxPyBeginAllowThreads();
9606 result = (int)(arg1)->GetGridCursorCol();
9607
9608 wxPyEndAllowThreads(__tstate);
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
15afbcd0 9611 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9612 return resultobj;
9613 fail:
9614 return NULL;
9615}
9616
9617
9618static PyObject *_wrap_Grid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9619 PyObject *resultobj;
9620 wxGrid *arg1 = (wxGrid *) 0 ;
9621 int arg2 ;
9622 int arg3 ;
e811c8ce 9623 bool arg4 = (bool) True ;
d14a1e28
RD
9624 bool result;
9625 PyObject * obj0 = 0 ;
994141e6
RD
9626 PyObject * obj1 = 0 ;
9627 PyObject * obj2 = 0 ;
d14a1e28
RD
9628 PyObject * obj3 = 0 ;
9629 char *kwnames[] = {
9630 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9631 };
9632
994141e6 9633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_IsVisible",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9636 arg2 = (int) SWIG_AsInt(obj1);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 arg3 = (int) SWIG_AsInt(obj2);
9639 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9640 if (obj3) {
15afbcd0
RD
9641 arg4 = (bool) SWIG_AsBool(obj3);
9642 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9643 }
9644 {
9645 PyThreadState* __tstate = wxPyBeginAllowThreads();
9646 result = (bool)(arg1)->IsVisible(arg2,arg3,arg4);
9647
9648 wxPyEndAllowThreads(__tstate);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 }
4f89f6a3
RD
9651 {
9652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9653 }
d14a1e28
RD
9654 return resultobj;
9655 fail:
9656 return NULL;
9657}
9658
9659
9660static PyObject *_wrap_Grid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9661 PyObject *resultobj;
9662 wxGrid *arg1 = (wxGrid *) 0 ;
9663 int arg2 ;
9664 int arg3 ;
9665 PyObject * obj0 = 0 ;
994141e6
RD
9666 PyObject * obj1 = 0 ;
9667 PyObject * obj2 = 0 ;
d14a1e28
RD
9668 char *kwnames[] = {
9669 (char *) "self",(char *) "row",(char *) "col", NULL
9670 };
9671
994141e6 9672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_MakeCellVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9675 arg2 = (int) SWIG_AsInt(obj1);
9676 if (PyErr_Occurred()) SWIG_fail;
9677 arg3 = (int) SWIG_AsInt(obj2);
9678 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9679 {
9680 PyThreadState* __tstate = wxPyBeginAllowThreads();
9681 (arg1)->MakeCellVisible(arg2,arg3);
9682
9683 wxPyEndAllowThreads(__tstate);
9684 if (PyErr_Occurred()) SWIG_fail;
9685 }
9686 Py_INCREF(Py_None); resultobj = Py_None;
9687 return resultobj;
9688 fail:
9689 return NULL;
9690}
9691
9692
9693static PyObject *_wrap_Grid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9694 PyObject *resultobj;
9695 wxGrid *arg1 = (wxGrid *) 0 ;
9696 int arg2 ;
9697 int arg3 ;
9698 PyObject * obj0 = 0 ;
994141e6
RD
9699 PyObject * obj1 = 0 ;
9700 PyObject * obj2 = 0 ;
d14a1e28
RD
9701 char *kwnames[] = {
9702 (char *) "self",(char *) "row",(char *) "col", NULL
9703 };
9704
994141e6 9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetGridCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9708 arg2 = (int) SWIG_AsInt(obj1);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 arg3 = (int) SWIG_AsInt(obj2);
9711 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9712 {
9713 PyThreadState* __tstate = wxPyBeginAllowThreads();
9714 (arg1)->SetGridCursor(arg2,arg3);
9715
9716 wxPyEndAllowThreads(__tstate);
9717 if (PyErr_Occurred()) SWIG_fail;
9718 }
9719 Py_INCREF(Py_None); resultobj = Py_None;
9720 return resultobj;
9721 fail:
9722 return NULL;
9723}
9724
9725
9726static PyObject *_wrap_Grid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9727 PyObject *resultobj;
9728 wxGrid *arg1 = (wxGrid *) 0 ;
9729 bool arg2 ;
9730 bool result;
9731 PyObject * obj0 = 0 ;
9732 PyObject * obj1 = 0 ;
9733 char *kwnames[] = {
9734 (char *) "self",(char *) "expandSelection", NULL
9735 };
9736
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9740 arg2 = (bool) SWIG_AsBool(obj1);
9741 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 result = (bool)(arg1)->MoveCursorUp(arg2);
9745
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
4f89f6a3
RD
9749 {
9750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9751 }
d14a1e28
RD
9752 return resultobj;
9753 fail:
9754 return NULL;
9755}
9756
9757
9758static PyObject *_wrap_Grid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9759 PyObject *resultobj;
9760 wxGrid *arg1 = (wxGrid *) 0 ;
9761 bool arg2 ;
9762 bool result;
9763 PyObject * obj0 = 0 ;
9764 PyObject * obj1 = 0 ;
9765 char *kwnames[] = {
9766 (char *) "self",(char *) "expandSelection", NULL
9767 };
9768
9769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9772 arg2 = (bool) SWIG_AsBool(obj1);
9773 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
9776 result = (bool)(arg1)->MoveCursorDown(arg2);
9777
9778 wxPyEndAllowThreads(__tstate);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
4f89f6a3
RD
9781 {
9782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9783 }
d14a1e28
RD
9784 return resultobj;
9785 fail:
9786 return NULL;
9787}
9788
9789
9790static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9791 PyObject *resultobj;
9792 wxGrid *arg1 = (wxGrid *) 0 ;
9793 bool arg2 ;
9794 bool result;
9795 PyObject * obj0 = 0 ;
9796 PyObject * obj1 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "self",(char *) "expandSelection", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9804 arg2 = (bool) SWIG_AsBool(obj1);
9805 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9806 {
9807 PyThreadState* __tstate = wxPyBeginAllowThreads();
9808 result = (bool)(arg1)->MoveCursorLeft(arg2);
9809
9810 wxPyEndAllowThreads(__tstate);
9811 if (PyErr_Occurred()) SWIG_fail;
9812 }
4f89f6a3
RD
9813 {
9814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9815 }
d14a1e28
RD
9816 return resultobj;
9817 fail:
9818 return NULL;
9819}
9820
9821
9822static PyObject *_wrap_Grid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9823 PyObject *resultobj;
9824 wxGrid *arg1 = (wxGrid *) 0 ;
9825 bool arg2 ;
9826 bool result;
9827 PyObject * obj0 = 0 ;
9828 PyObject * obj1 = 0 ;
9829 char *kwnames[] = {
9830 (char *) "self",(char *) "expandSelection", NULL
9831 };
9832
9833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9836 arg2 = (bool) SWIG_AsBool(obj1);
9837 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9838 {
9839 PyThreadState* __tstate = wxPyBeginAllowThreads();
9840 result = (bool)(arg1)->MoveCursorRight(arg2);
9841
9842 wxPyEndAllowThreads(__tstate);
9843 if (PyErr_Occurred()) SWIG_fail;
9844 }
4f89f6a3
RD
9845 {
9846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9847 }
d14a1e28
RD
9848 return resultobj;
9849 fail:
9850 return NULL;
9851}
9852
9853
9854static PyObject *_wrap_Grid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9855 PyObject *resultobj;
9856 wxGrid *arg1 = (wxGrid *) 0 ;
9857 bool result;
9858 PyObject * obj0 = 0 ;
9859 char *kwnames[] = {
9860 (char *) "self", NULL
9861 };
9862
9863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
9864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9866 {
9867 PyThreadState* __tstate = wxPyBeginAllowThreads();
9868 result = (bool)(arg1)->MovePageDown();
9869
9870 wxPyEndAllowThreads(__tstate);
9871 if (PyErr_Occurred()) SWIG_fail;
9872 }
4f89f6a3
RD
9873 {
9874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9875 }
d14a1e28
RD
9876 return resultobj;
9877 fail:
9878 return NULL;
9879}
9880
9881
9882static PyObject *_wrap_Grid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9883 PyObject *resultobj;
9884 wxGrid *arg1 = (wxGrid *) 0 ;
9885 bool result;
9886 PyObject * obj0 = 0 ;
9887 char *kwnames[] = {
9888 (char *) "self", NULL
9889 };
9890
9891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
9892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9894 {
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
9896 result = (bool)(arg1)->MovePageUp();
9897
9898 wxPyEndAllowThreads(__tstate);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
4f89f6a3
RD
9901 {
9902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9903 }
d14a1e28
RD
9904 return resultobj;
9905 fail:
9906 return NULL;
9907}
9908
9909
9910static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9911 PyObject *resultobj;
9912 wxGrid *arg1 = (wxGrid *) 0 ;
9913 bool arg2 ;
9914 bool result;
9915 PyObject * obj0 = 0 ;
9916 PyObject * obj1 = 0 ;
9917 char *kwnames[] = {
9918 (char *) "self",(char *) "expandSelection", NULL
9919 };
9920
9921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUpBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9924 arg2 = (bool) SWIG_AsBool(obj1);
9925 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9926 {
9927 PyThreadState* __tstate = wxPyBeginAllowThreads();
9928 result = (bool)(arg1)->MoveCursorUpBlock(arg2);
9929
9930 wxPyEndAllowThreads(__tstate);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 }
4f89f6a3
RD
9933 {
9934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9935 }
d14a1e28
RD
9936 return resultobj;
9937 fail:
9938 return NULL;
9939}
9940
9941
9942static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9943 PyObject *resultobj;
9944 wxGrid *arg1 = (wxGrid *) 0 ;
9945 bool arg2 ;
9946 bool result;
9947 PyObject * obj0 = 0 ;
9948 PyObject * obj1 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self",(char *) "expandSelection", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDownBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9956 arg2 = (bool) SWIG_AsBool(obj1);
9957 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9958 {
9959 PyThreadState* __tstate = wxPyBeginAllowThreads();
9960 result = (bool)(arg1)->MoveCursorDownBlock(arg2);
9961
9962 wxPyEndAllowThreads(__tstate);
9963 if (PyErr_Occurred()) SWIG_fail;
9964 }
4f89f6a3
RD
9965 {
9966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9967 }
d14a1e28
RD
9968 return resultobj;
9969 fail:
9970 return NULL;
9971}
9972
9973
9974static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9975 PyObject *resultobj;
9976 wxGrid *arg1 = (wxGrid *) 0 ;
9977 bool arg2 ;
9978 bool result;
9979 PyObject * obj0 = 0 ;
9980 PyObject * obj1 = 0 ;
9981 char *kwnames[] = {
9982 (char *) "self",(char *) "expandSelection", NULL
9983 };
9984
9985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9988 arg2 = (bool) SWIG_AsBool(obj1);
9989 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9990 {
9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
9992 result = (bool)(arg1)->MoveCursorLeftBlock(arg2);
9993
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
4f89f6a3
RD
9997 {
9998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9999 }
d14a1e28
RD
10000 return resultobj;
10001 fail:
10002 return NULL;
10003}
10004
10005
10006static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj;
10008 wxGrid *arg1 = (wxGrid *) 0 ;
10009 bool arg2 ;
10010 bool result;
10011 PyObject * obj0 = 0 ;
10012 PyObject * obj1 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self",(char *) "expandSelection", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRightBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10020 arg2 = (bool) SWIG_AsBool(obj1);
10021 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10022 {
10023 PyThreadState* __tstate = wxPyBeginAllowThreads();
10024 result = (bool)(arg1)->MoveCursorRightBlock(arg2);
10025
10026 wxPyEndAllowThreads(__tstate);
10027 if (PyErr_Occurred()) SWIG_fail;
10028 }
4f89f6a3
RD
10029 {
10030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10031 }
d14a1e28
RD
10032 return resultobj;
10033 fail:
10034 return NULL;
10035}
10036
10037
10038static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10039 PyObject *resultobj;
10040 wxGrid *arg1 = (wxGrid *) 0 ;
10041 int result;
10042 PyObject * obj0 = 0 ;
10043 char *kwnames[] = {
10044 (char *) "self", NULL
10045 };
10046
10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10050 {
10051 PyThreadState* __tstate = wxPyBeginAllowThreads();
10052 result = (int)(arg1)->GetDefaultRowLabelSize();
10053
10054 wxPyEndAllowThreads(__tstate);
10055 if (PyErr_Occurred()) SWIG_fail;
10056 }
15afbcd0 10057 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10058 return resultobj;
10059 fail:
10060 return NULL;
10061}
10062
10063
10064static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10065 PyObject *resultobj;
10066 wxGrid *arg1 = (wxGrid *) 0 ;
10067 int result;
10068 PyObject * obj0 = 0 ;
10069 char *kwnames[] = {
10070 (char *) "self", NULL
10071 };
10072
10073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10076 {
10077 PyThreadState* __tstate = wxPyBeginAllowThreads();
10078 result = (int)(arg1)->GetRowLabelSize();
10079
10080 wxPyEndAllowThreads(__tstate);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
15afbcd0 10083 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10084 return resultobj;
10085 fail:
10086 return NULL;
10087}
10088
10089
10090static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10091 PyObject *resultobj;
10092 wxGrid *arg1 = (wxGrid *) 0 ;
10093 int result;
10094 PyObject * obj0 = 0 ;
10095 char *kwnames[] = {
10096 (char *) "self", NULL
10097 };
10098
10099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 result = (int)(arg1)->GetDefaultColLabelSize();
10105
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 }
15afbcd0 10109 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10110 return resultobj;
10111 fail:
10112 return NULL;
10113}
10114
10115
10116static PyObject *_wrap_Grid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject *resultobj;
10118 wxGrid *arg1 = (wxGrid *) 0 ;
10119 int result;
10120 PyObject * obj0 = 0 ;
10121 char *kwnames[] = {
10122 (char *) "self", NULL
10123 };
10124
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (int)(arg1)->GetColLabelSize();
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
15afbcd0 10135 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10136 return resultobj;
10137 fail:
10138 return NULL;
10139}
10140
10141
10142static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10143 PyObject *resultobj;
10144 wxGrid *arg1 = (wxGrid *) 0 ;
10145 wxColour result;
10146 PyObject * obj0 = 0 ;
10147 char *kwnames[] = {
10148 (char *) "self", NULL
10149 };
10150
10151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
10152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10154 {
10155 PyThreadState* __tstate = wxPyBeginAllowThreads();
10156 result = (arg1)->GetLabelBackgroundColour();
10157
10158 wxPyEndAllowThreads(__tstate);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 }
10161 {
10162 wxColour * resultptr;
10163 resultptr = new wxColour((wxColour &) result);
15afbcd0 10164 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10165 }
10166 return resultobj;
10167 fail:
10168 return NULL;
10169}
10170
10171
10172static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10173 PyObject *resultobj;
10174 wxGrid *arg1 = (wxGrid *) 0 ;
10175 wxColour result;
10176 PyObject * obj0 = 0 ;
10177 char *kwnames[] = {
10178 (char *) "self", NULL
10179 };
10180
10181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
10182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10184 {
10185 PyThreadState* __tstate = wxPyBeginAllowThreads();
10186 result = (arg1)->GetLabelTextColour();
10187
10188 wxPyEndAllowThreads(__tstate);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 {
10192 wxColour * resultptr;
10193 resultptr = new wxColour((wxColour &) result);
15afbcd0 10194 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10195 }
10196 return resultobj;
10197 fail:
10198 return NULL;
10199}
10200
10201
10202static PyObject *_wrap_Grid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10203 PyObject *resultobj;
10204 wxGrid *arg1 = (wxGrid *) 0 ;
10205 wxFont result;
10206 PyObject * obj0 = 0 ;
10207 char *kwnames[] = {
10208 (char *) "self", NULL
10209 };
10210
10211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
10212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 result = (arg1)->GetLabelFont();
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 {
10222 wxFont * resultptr;
10223 resultptr = new wxFont((wxFont &) result);
15afbcd0 10224 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
10225 }
10226 return resultobj;
10227 fail:
10228 return NULL;
10229}
10230
10231
10232static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10233 PyObject *resultobj;
10234 wxGrid *arg1 = (wxGrid *) 0 ;
10235 int *arg2 = (int *) 0 ;
10236 int *arg3 = (int *) 0 ;
10237 int temp2 ;
10238 int temp3 ;
10239 PyObject * obj0 = 0 ;
10240 char *kwnames[] = {
10241 (char *) "self", NULL
10242 };
10243
10244 arg2 = &temp2;
10245 arg3 = &temp3;
10246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
10247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10249 {
10250 PyThreadState* __tstate = wxPyBeginAllowThreads();
10251 (arg1)->GetRowLabelAlignment(arg2,arg3);
10252
10253 wxPyEndAllowThreads(__tstate);
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 Py_INCREF(Py_None); resultobj = Py_None;
10257 {
10258 PyObject *o = PyInt_FromLong((long) (*arg2));
10259 resultobj = t_output_helper(resultobj,o);
10260 }
10261 {
10262 PyObject *o = PyInt_FromLong((long) (*arg3));
10263 resultobj = t_output_helper(resultobj,o);
10264 }
10265 return resultobj;
10266 fail:
10267 return NULL;
10268}
10269
10270
10271static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10272 PyObject *resultobj;
10273 wxGrid *arg1 = (wxGrid *) 0 ;
10274 int *arg2 = (int *) 0 ;
10275 int *arg3 = (int *) 0 ;
10276 int temp2 ;
10277 int temp3 ;
10278 PyObject * obj0 = 0 ;
10279 char *kwnames[] = {
10280 (char *) "self", NULL
10281 };
10282
10283 arg2 = &temp2;
10284 arg3 = &temp3;
10285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
10286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10288 {
10289 PyThreadState* __tstate = wxPyBeginAllowThreads();
10290 (arg1)->GetColLabelAlignment(arg2,arg3);
10291
10292 wxPyEndAllowThreads(__tstate);
10293 if (PyErr_Occurred()) SWIG_fail;
10294 }
10295 Py_INCREF(Py_None); resultobj = Py_None;
10296 {
10297 PyObject *o = PyInt_FromLong((long) (*arg2));
10298 resultobj = t_output_helper(resultobj,o);
10299 }
10300 {
10301 PyObject *o = PyInt_FromLong((long) (*arg3));
10302 resultobj = t_output_helper(resultobj,o);
10303 }
10304 return resultobj;
10305 fail:
10306 return NULL;
10307}
10308
10309
10310static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10311 PyObject *resultobj;
10312 wxGrid *arg1 = (wxGrid *) 0 ;
10313 int result;
10314 PyObject * obj0 = 0 ;
10315 char *kwnames[] = {
10316 (char *) "self", NULL
10317 };
10318
10319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelTextOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
10320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = (int)(arg1)->GetColLabelTextOrientation();
10325
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
15afbcd0 10329 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10330 return resultobj;
10331 fail:
10332 return NULL;
10333}
10334
10335
10336static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10337 PyObject *resultobj;
10338 wxGrid *arg1 = (wxGrid *) 0 ;
10339 int arg2 ;
10340 wxString result;
10341 PyObject * obj0 = 0 ;
994141e6 10342 PyObject * obj1 = 0 ;
d14a1e28
RD
10343 char *kwnames[] = {
10344 (char *) "self",(char *) "row", NULL
10345 };
10346
994141e6 10347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10350 arg2 = (int) SWIG_AsInt(obj1);
10351 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10352 {
10353 PyThreadState* __tstate = wxPyBeginAllowThreads();
10354 result = (arg1)->GetRowLabelValue(arg2);
10355
10356 wxPyEndAllowThreads(__tstate);
10357 if (PyErr_Occurred()) SWIG_fail;
10358 }
10359 {
10360#if wxUSE_UNICODE
10361 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10362#else
10363 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10364#endif
10365 }
10366 return resultobj;
10367 fail:
10368 return NULL;
10369}
10370
10371
10372static PyObject *_wrap_Grid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10373 PyObject *resultobj;
10374 wxGrid *arg1 = (wxGrid *) 0 ;
10375 int arg2 ;
10376 wxString result;
10377 PyObject * obj0 = 0 ;
994141e6 10378 PyObject * obj1 = 0 ;
d14a1e28
RD
10379 char *kwnames[] = {
10380 (char *) "self",(char *) "col", NULL
10381 };
10382
994141e6 10383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10386 arg2 = (int) SWIG_AsInt(obj1);
10387 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10388 {
10389 PyThreadState* __tstate = wxPyBeginAllowThreads();
10390 result = (arg1)->GetColLabelValue(arg2);
10391
10392 wxPyEndAllowThreads(__tstate);
10393 if (PyErr_Occurred()) SWIG_fail;
10394 }
10395 {
10396#if wxUSE_UNICODE
10397 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10398#else
10399 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10400#endif
10401 }
10402 return resultobj;
10403 fail:
10404 return NULL;
10405}
10406
10407
10408static PyObject *_wrap_Grid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10409 PyObject *resultobj;
10410 wxGrid *arg1 = (wxGrid *) 0 ;
10411 wxColour result;
10412 PyObject * obj0 = 0 ;
10413 char *kwnames[] = {
10414 (char *) "self", NULL
10415 };
10416
10417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridLineColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
10418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10420 {
10421 PyThreadState* __tstate = wxPyBeginAllowThreads();
10422 result = (arg1)->GetGridLineColour();
10423
10424 wxPyEndAllowThreads(__tstate);
10425 if (PyErr_Occurred()) SWIG_fail;
10426 }
10427 {
10428 wxColour * resultptr;
10429 resultptr = new wxColour((wxColour &) result);
15afbcd0 10430 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10431 }
10432 return resultobj;
10433 fail:
10434 return NULL;
10435}
10436
10437
10438static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10439 PyObject *resultobj;
10440 wxGrid *arg1 = (wxGrid *) 0 ;
10441 wxColour result;
10442 PyObject * obj0 = 0 ;
10443 char *kwnames[] = {
10444 (char *) "self", NULL
10445 };
10446
10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
10448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10450 {
10451 PyThreadState* __tstate = wxPyBeginAllowThreads();
10452 result = (arg1)->GetCellHighlightColour();
10453
10454 wxPyEndAllowThreads(__tstate);
10455 if (PyErr_Occurred()) SWIG_fail;
10456 }
10457 {
10458 wxColour * resultptr;
10459 resultptr = new wxColour((wxColour &) result);
15afbcd0 10460 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10461 }
10462 return resultobj;
10463 fail:
10464 return NULL;
10465}
10466
10467
10468static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10469 PyObject *resultobj;
10470 wxGrid *arg1 = (wxGrid *) 0 ;
10471 int result;
10472 PyObject * obj0 = 0 ;
10473 char *kwnames[] = {
10474 (char *) "self", NULL
10475 };
10476
10477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
10478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10480 {
10481 PyThreadState* __tstate = wxPyBeginAllowThreads();
10482 result = (int)(arg1)->GetCellHighlightPenWidth();
10483
10484 wxPyEndAllowThreads(__tstate);
10485 if (PyErr_Occurred()) SWIG_fail;
10486 }
15afbcd0 10487 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10488 return resultobj;
10489 fail:
10490 return NULL;
10491}
10492
10493
10494static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10495 PyObject *resultobj;
10496 wxGrid *arg1 = (wxGrid *) 0 ;
10497 int result;
10498 PyObject * obj0 = 0 ;
10499 char *kwnames[] = {
10500 (char *) "self", NULL
10501 };
10502
10503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
10504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10506 {
10507 PyThreadState* __tstate = wxPyBeginAllowThreads();
10508 result = (int)(arg1)->GetCellHighlightROPenWidth();
10509
10510 wxPyEndAllowThreads(__tstate);
10511 if (PyErr_Occurred()) SWIG_fail;
10512 }
15afbcd0 10513 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10514 return resultobj;
10515 fail:
10516 return NULL;
10517}
10518
10519
10520static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10521 PyObject *resultobj;
10522 wxGrid *arg1 = (wxGrid *) 0 ;
10523 int arg2 ;
10524 PyObject * obj0 = 0 ;
994141e6 10525 PyObject * obj1 = 0 ;
d14a1e28
RD
10526 char *kwnames[] = {
10527 (char *) "self",(char *) "width", NULL
10528 };
10529
994141e6 10530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10533 arg2 = (int) SWIG_AsInt(obj1);
10534 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10535 {
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
10537 (arg1)->SetRowLabelSize(arg2);
10538
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 Py_INCREF(Py_None); resultobj = Py_None;
10543 return resultobj;
10544 fail:
10545 return NULL;
10546}
10547
10548
10549static PyObject *_wrap_Grid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10550 PyObject *resultobj;
10551 wxGrid *arg1 = (wxGrid *) 0 ;
10552 int arg2 ;
10553 PyObject * obj0 = 0 ;
994141e6 10554 PyObject * obj1 = 0 ;
d14a1e28
RD
10555 char *kwnames[] = {
10556 (char *) "self",(char *) "height", NULL
10557 };
10558
994141e6 10559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10562 arg2 = (int) SWIG_AsInt(obj1);
10563 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10564 {
10565 PyThreadState* __tstate = wxPyBeginAllowThreads();
10566 (arg1)->SetColLabelSize(arg2);
10567
10568 wxPyEndAllowThreads(__tstate);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 Py_INCREF(Py_None); resultobj = Py_None;
10572 return resultobj;
10573 fail:
10574 return NULL;
10575}
10576
10577
10578static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10579 PyObject *resultobj;
10580 wxGrid *arg1 = (wxGrid *) 0 ;
10581 wxColour *arg2 = 0 ;
10582 wxColour temp2 ;
10583 PyObject * obj0 = 0 ;
10584 PyObject * obj1 = 0 ;
10585 char *kwnames[] = {
10586 (char *) "self","arg2", NULL
10587 };
10588
10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10592 {
10593 arg2 = &temp2;
10594 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10595 }
10596 {
10597 PyThreadState* __tstate = wxPyBeginAllowThreads();
10598 (arg1)->SetLabelBackgroundColour((wxColour const &)*arg2);
10599
10600 wxPyEndAllowThreads(__tstate);
10601 if (PyErr_Occurred()) SWIG_fail;
10602 }
10603 Py_INCREF(Py_None); resultobj = Py_None;
10604 return resultobj;
10605 fail:
10606 return NULL;
10607}
10608
10609
10610static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10611 PyObject *resultobj;
10612 wxGrid *arg1 = (wxGrid *) 0 ;
10613 wxColour *arg2 = 0 ;
10614 wxColour temp2 ;
10615 PyObject * obj0 = 0 ;
10616 PyObject * obj1 = 0 ;
10617 char *kwnames[] = {
10618 (char *) "self","arg2", NULL
10619 };
10620
10621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10624 {
10625 arg2 = &temp2;
10626 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10627 }
10628 {
10629 PyThreadState* __tstate = wxPyBeginAllowThreads();
10630 (arg1)->SetLabelTextColour((wxColour const &)*arg2);
10631
10632 wxPyEndAllowThreads(__tstate);
10633 if (PyErr_Occurred()) SWIG_fail;
10634 }
10635 Py_INCREF(Py_None); resultobj = Py_None;
10636 return resultobj;
10637 fail:
10638 return NULL;
10639}
10640
10641
10642static PyObject *_wrap_Grid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10643 PyObject *resultobj;
10644 wxGrid *arg1 = (wxGrid *) 0 ;
10645 wxFont *arg2 = 0 ;
10646 PyObject * obj0 = 0 ;
10647 PyObject * obj1 = 0 ;
10648 char *kwnames[] = {
10649 (char *) "self","arg2", NULL
10650 };
10651
10652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelFont",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;
10655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
10656 SWIG_POINTER_EXCEPTION | 0)) == -1)
10657 SWIG_fail;
d14a1e28 10658 if (arg2 == NULL) {
15afbcd0
RD
10659 PyErr_SetString(PyExc_TypeError,"null reference");
10660 SWIG_fail;
d14a1e28
RD
10661 }
10662 {
10663 PyThreadState* __tstate = wxPyBeginAllowThreads();
10664 (arg1)->SetLabelFont((wxFont const &)*arg2);
10665
10666 wxPyEndAllowThreads(__tstate);
10667 if (PyErr_Occurred()) SWIG_fail;
10668 }
10669 Py_INCREF(Py_None); resultobj = Py_None;
10670 return resultobj;
10671 fail:
10672 return NULL;
10673}
10674
10675
10676static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10677 PyObject *resultobj;
10678 wxGrid *arg1 = (wxGrid *) 0 ;
10679 int arg2 ;
10680 int arg3 ;
10681 PyObject * obj0 = 0 ;
994141e6
RD
10682 PyObject * obj1 = 0 ;
10683 PyObject * obj2 = 0 ;
d14a1e28
RD
10684 char *kwnames[] = {
10685 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10686 };
10687
994141e6 10688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10691 arg2 = (int) SWIG_AsInt(obj1);
10692 if (PyErr_Occurred()) SWIG_fail;
10693 arg3 = (int) SWIG_AsInt(obj2);
10694 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10695 {
10696 PyThreadState* __tstate = wxPyBeginAllowThreads();
10697 (arg1)->SetRowLabelAlignment(arg2,arg3);
10698
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 Py_INCREF(Py_None); resultobj = Py_None;
10703 return resultobj;
10704 fail:
10705 return NULL;
10706}
10707
10708
10709static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10710 PyObject *resultobj;
10711 wxGrid *arg1 = (wxGrid *) 0 ;
10712 int arg2 ;
10713 int arg3 ;
10714 PyObject * obj0 = 0 ;
994141e6
RD
10715 PyObject * obj1 = 0 ;
10716 PyObject * obj2 = 0 ;
d14a1e28
RD
10717 char *kwnames[] = {
10718 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10719 };
10720
994141e6 10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10724 arg2 = (int) SWIG_AsInt(obj1);
10725 if (PyErr_Occurred()) SWIG_fail;
10726 arg3 = (int) SWIG_AsInt(obj2);
10727 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10728 {
10729 PyThreadState* __tstate = wxPyBeginAllowThreads();
10730 (arg1)->SetColLabelAlignment(arg2,arg3);
10731
10732 wxPyEndAllowThreads(__tstate);
10733 if (PyErr_Occurred()) SWIG_fail;
10734 }
10735 Py_INCREF(Py_None); resultobj = Py_None;
10736 return resultobj;
10737 fail:
10738 return NULL;
10739}
10740
10741
10742static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10743 PyObject *resultobj;
10744 wxGrid *arg1 = (wxGrid *) 0 ;
10745 int arg2 ;
10746 PyObject * obj0 = 0 ;
994141e6 10747 PyObject * obj1 = 0 ;
d14a1e28
RD
10748 char *kwnames[] = {
10749 (char *) "self",(char *) "textOrientation", NULL
10750 };
10751
994141e6 10752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10755 arg2 = (int) SWIG_AsInt(obj1);
10756 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10757 {
10758 PyThreadState* __tstate = wxPyBeginAllowThreads();
10759 (arg1)->SetColLabelTextOrientation(arg2);
10760
10761 wxPyEndAllowThreads(__tstate);
10762 if (PyErr_Occurred()) SWIG_fail;
10763 }
10764 Py_INCREF(Py_None); resultobj = Py_None;
10765 return resultobj;
10766 fail:
10767 return NULL;
10768}
10769
10770
10771static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10772 PyObject *resultobj;
10773 wxGrid *arg1 = (wxGrid *) 0 ;
10774 int arg2 ;
10775 wxString *arg3 = 0 ;
e811c8ce 10776 bool temp3 = False ;
d14a1e28 10777 PyObject * obj0 = 0 ;
994141e6 10778 PyObject * obj1 = 0 ;
d14a1e28
RD
10779 PyObject * obj2 = 0 ;
10780 char *kwnames[] = {
10781 (char *) "self",(char *) "row","arg3", NULL
10782 };
10783
994141e6 10784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10787 arg2 = (int) SWIG_AsInt(obj1);
10788 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10789 {
10790 arg3 = wxString_in_helper(obj2);
10791 if (arg3 == NULL) SWIG_fail;
e811c8ce 10792 temp3 = True;
d14a1e28
RD
10793 }
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
10801 Py_INCREF(Py_None); resultobj = Py_None;
10802 {
10803 if (temp3)
10804 delete arg3;
10805 }
10806 return resultobj;
10807 fail:
10808 {
10809 if (temp3)
10810 delete arg3;
10811 }
10812 return NULL;
10813}
10814
10815
10816static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10817 PyObject *resultobj;
10818 wxGrid *arg1 = (wxGrid *) 0 ;
10819 int arg2 ;
10820 wxString *arg3 = 0 ;
e811c8ce 10821 bool temp3 = False ;
d14a1e28 10822 PyObject * obj0 = 0 ;
994141e6 10823 PyObject * obj1 = 0 ;
d14a1e28
RD
10824 PyObject * obj2 = 0 ;
10825 char *kwnames[] = {
10826 (char *) "self",(char *) "col","arg3", NULL
10827 };
10828
994141e6 10829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10832 arg2 = (int) SWIG_AsInt(obj1);
10833 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10834 {
10835 arg3 = wxString_in_helper(obj2);
10836 if (arg3 == NULL) SWIG_fail;
e811c8ce 10837 temp3 = True;
d14a1e28
RD
10838 }
10839 {
10840 PyThreadState* __tstate = wxPyBeginAllowThreads();
10841 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
10842
10843 wxPyEndAllowThreads(__tstate);
10844 if (PyErr_Occurred()) SWIG_fail;
10845 }
10846 Py_INCREF(Py_None); resultobj = Py_None;
10847 {
10848 if (temp3)
10849 delete arg3;
10850 }
10851 return resultobj;
10852 fail:
10853 {
10854 if (temp3)
10855 delete arg3;
10856 }
10857 return NULL;
10858}
10859
10860
10861static PyObject *_wrap_Grid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10862 PyObject *resultobj;
10863 wxGrid *arg1 = (wxGrid *) 0 ;
10864 wxColour *arg2 = 0 ;
10865 wxColour temp2 ;
10866 PyObject * obj0 = 0 ;
10867 PyObject * obj1 = 0 ;
10868 char *kwnames[] = {
10869 (char *) "self","arg2", NULL
10870 };
10871
10872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetGridLineColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10875 {
10876 arg2 = &temp2;
10877 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10878 }
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 (arg1)->SetGridLineColour((wxColour const &)*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
10893static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj;
10895 wxGrid *arg1 = (wxGrid *) 0 ;
10896 wxColour *arg2 = 0 ;
10897 wxColour temp2 ;
10898 PyObject * obj0 = 0 ;
10899 PyObject * obj1 = 0 ;
10900 char *kwnames[] = {
10901 (char *) "self","arg2", NULL
10902 };
10903
10904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10907 {
10908 arg2 = &temp2;
10909 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10910 }
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 (arg1)->SetCellHighlightColour((wxColour const &)*arg2);
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 Py_INCREF(Py_None); resultobj = Py_None;
10919 return resultobj;
10920 fail:
10921 return NULL;
10922}
10923
10924
10925static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10926 PyObject *resultobj;
10927 wxGrid *arg1 = (wxGrid *) 0 ;
10928 int arg2 ;
10929 PyObject * obj0 = 0 ;
994141e6 10930 PyObject * obj1 = 0 ;
d14a1e28
RD
10931 char *kwnames[] = {
10932 (char *) "self",(char *) "width", NULL
10933 };
10934
994141e6 10935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10938 arg2 = (int) SWIG_AsInt(obj1);
10939 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10940 {
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 (arg1)->SetCellHighlightPenWidth(arg2);
10943
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 Py_INCREF(Py_None); resultobj = Py_None;
10948 return resultobj;
10949 fail:
10950 return NULL;
10951}
10952
10953
10954static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10955 PyObject *resultobj;
10956 wxGrid *arg1 = (wxGrid *) 0 ;
10957 int arg2 ;
10958 PyObject * obj0 = 0 ;
994141e6 10959 PyObject * obj1 = 0 ;
d14a1e28
RD
10960 char *kwnames[] = {
10961 (char *) "self",(char *) "width", NULL
10962 };
10963
994141e6 10964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10967 arg2 = (int) SWIG_AsInt(obj1);
10968 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10969 {
10970 PyThreadState* __tstate = wxPyBeginAllowThreads();
10971 (arg1)->SetCellHighlightROPenWidth(arg2);
10972
10973 wxPyEndAllowThreads(__tstate);
10974 if (PyErr_Occurred()) SWIG_fail;
10975 }
10976 Py_INCREF(Py_None); resultobj = Py_None;
10977 return resultobj;
10978 fail:
10979 return NULL;
10980}
10981
10982
10983static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10984 PyObject *resultobj;
10985 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 10986 bool arg2 = (bool) True ;
d14a1e28
RD
10987 PyObject * obj0 = 0 ;
10988 PyObject * obj1 = 0 ;
10989 char *kwnames[] = {
10990 (char *) "self",(char *) "enable", NULL
10991 };
10992
10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragRowSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10996 if (obj1) {
15afbcd0
RD
10997 arg2 = (bool) SWIG_AsBool(obj1);
10998 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10999 }
11000 {
11001 PyThreadState* __tstate = wxPyBeginAllowThreads();
11002 (arg1)->EnableDragRowSize(arg2);
11003
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) SWIG_fail;
11006 }
11007 Py_INCREF(Py_None); resultobj = Py_None;
11008 return resultobj;
11009 fail:
11010 return NULL;
11011}
11012
11013
11014static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11015 PyObject *resultobj;
11016 wxGrid *arg1 = (wxGrid *) 0 ;
11017 PyObject * obj0 = 0 ;
11018 char *kwnames[] = {
11019 (char *) "self", NULL
11020 };
11021
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragRowSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11025 {
11026 PyThreadState* __tstate = wxPyBeginAllowThreads();
11027 (arg1)->DisableDragRowSize();
11028
11029 wxPyEndAllowThreads(__tstate);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 }
11032 Py_INCREF(Py_None); resultobj = Py_None;
11033 return resultobj;
11034 fail:
11035 return NULL;
11036}
11037
11038
11039static PyObject *_wrap_Grid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11040 PyObject *resultobj;
11041 wxGrid *arg1 = (wxGrid *) 0 ;
11042 bool result;
11043 PyObject * obj0 = 0 ;
11044 char *kwnames[] = {
11045 (char *) "self", NULL
11046 };
11047
11048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragRowSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 result = (bool)(arg1)->CanDragRowSize();
11054
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 }
4f89f6a3
RD
11058 {
11059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11060 }
d14a1e28
RD
11061 return resultobj;
11062 fail:
11063 return NULL;
11064}
11065
11066
11067static PyObject *_wrap_Grid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11068 PyObject *resultobj;
11069 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 11070 bool arg2 = (bool) True ;
d14a1e28
RD
11071 PyObject * obj0 = 0 ;
11072 PyObject * obj1 = 0 ;
11073 char *kwnames[] = {
11074 (char *) "self",(char *) "enable", NULL
11075 };
11076
11077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragColSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11080 if (obj1) {
15afbcd0
RD
11081 arg2 = (bool) SWIG_AsBool(obj1);
11082 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11083 }
11084 {
11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
11086 (arg1)->EnableDragColSize(arg2);
11087
11088 wxPyEndAllowThreads(__tstate);
11089 if (PyErr_Occurred()) SWIG_fail;
11090 }
11091 Py_INCREF(Py_None); resultobj = Py_None;
11092 return resultobj;
11093 fail:
11094 return NULL;
11095}
11096
11097
11098static PyObject *_wrap_Grid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11099 PyObject *resultobj;
11100 wxGrid *arg1 = (wxGrid *) 0 ;
11101 PyObject * obj0 = 0 ;
11102 char *kwnames[] = {
11103 (char *) "self", NULL
11104 };
11105
11106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragColSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11109 {
11110 PyThreadState* __tstate = wxPyBeginAllowThreads();
11111 (arg1)->DisableDragColSize();
11112
11113 wxPyEndAllowThreads(__tstate);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 Py_INCREF(Py_None); resultobj = Py_None;
11117 return resultobj;
11118 fail:
11119 return NULL;
11120}
11121
11122
11123static PyObject *_wrap_Grid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11124 PyObject *resultobj;
11125 wxGrid *arg1 = (wxGrid *) 0 ;
11126 bool result;
11127 PyObject * obj0 = 0 ;
11128 char *kwnames[] = {
11129 (char *) "self", NULL
11130 };
11131
11132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragColSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11135 {
11136 PyThreadState* __tstate = wxPyBeginAllowThreads();
11137 result = (bool)(arg1)->CanDragColSize();
11138
11139 wxPyEndAllowThreads(__tstate);
11140 if (PyErr_Occurred()) SWIG_fail;
11141 }
4f89f6a3
RD
11142 {
11143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11144 }
d14a1e28
RD
11145 return resultobj;
11146 fail:
11147 return NULL;
11148}
11149
11150
11151static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11152 PyObject *resultobj;
11153 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 11154 bool arg2 = (bool) True ;
d14a1e28
RD
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 char *kwnames[] = {
11158 (char *) "self",(char *) "enable", NULL
11159 };
11160
11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragGridSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11164 if (obj1) {
15afbcd0
RD
11165 arg2 = (bool) SWIG_AsBool(obj1);
11166 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11167 }
11168 {
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 (arg1)->EnableDragGridSize(arg2);
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 Py_INCREF(Py_None); resultobj = Py_None;
11176 return resultobj;
11177 fail:
11178 return NULL;
11179}
11180
11181
11182static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11183 PyObject *resultobj;
11184 wxGrid *arg1 = (wxGrid *) 0 ;
11185 PyObject * obj0 = 0 ;
11186 char *kwnames[] = {
11187 (char *) "self", NULL
11188 };
11189
11190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragGridSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11193 {
11194 PyThreadState* __tstate = wxPyBeginAllowThreads();
11195 (arg1)->DisableDragGridSize();
11196
11197 wxPyEndAllowThreads(__tstate);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 }
11200 Py_INCREF(Py_None); resultobj = Py_None;
11201 return resultobj;
11202 fail:
11203 return NULL;
11204}
11205
11206
11207static PyObject *_wrap_Grid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11208 PyObject *resultobj;
11209 wxGrid *arg1 = (wxGrid *) 0 ;
11210 bool result;
11211 PyObject * obj0 = 0 ;
11212 char *kwnames[] = {
11213 (char *) "self", NULL
11214 };
11215
11216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragGridSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11219 {
11220 PyThreadState* __tstate = wxPyBeginAllowThreads();
11221 result = (bool)(arg1)->CanDragGridSize();
11222
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
4f89f6a3
RD
11226 {
11227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11228 }
d14a1e28
RD
11229 return resultobj;
11230 fail:
11231 return NULL;
11232}
11233
11234
11235static PyObject *_wrap_Grid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11236 PyObject *resultobj;
11237 wxGrid *arg1 = (wxGrid *) 0 ;
11238 int arg2 ;
11239 int arg3 ;
11240 wxGridCellAttr *arg4 = (wxGridCellAttr *) 0 ;
11241 PyObject * obj0 = 0 ;
994141e6
RD
11242 PyObject * obj1 = 0 ;
11243 PyObject * obj2 = 0 ;
d14a1e28
RD
11244 PyObject * obj3 = 0 ;
11245 char *kwnames[] = {
11246 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11247 };
11248
994141e6 11249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11252 arg2 = (int) SWIG_AsInt(obj1);
11253 if (PyErr_Occurred()) SWIG_fail;
11254 arg3 = (int) SWIG_AsInt(obj2);
11255 if (PyErr_Occurred()) SWIG_fail;
11256 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellAttr,
11257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11258 {
11259 PyThreadState* __tstate = wxPyBeginAllowThreads();
11260 (arg1)->SetAttr(arg2,arg3,arg4);
11261
11262 wxPyEndAllowThreads(__tstate);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 }
11265 Py_INCREF(Py_None); resultobj = Py_None;
11266 return resultobj;
11267 fail:
11268 return NULL;
11269}
11270
11271
11272static PyObject *_wrap_Grid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11273 PyObject *resultobj;
11274 wxGrid *arg1 = (wxGrid *) 0 ;
11275 int arg2 ;
11276 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11277 PyObject * obj0 = 0 ;
994141e6 11278 PyObject * obj1 = 0 ;
d14a1e28
RD
11279 PyObject * obj2 = 0 ;
11280 char *kwnames[] = {
11281 (char *) "self",(char *) "row",(char *) "attr", NULL
11282 };
11283
994141e6 11284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11287 arg2 = (int) SWIG_AsInt(obj1);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11291 {
11292 PyThreadState* __tstate = wxPyBeginAllowThreads();
11293 (arg1)->SetRowAttr(arg2,arg3);
11294
11295 wxPyEndAllowThreads(__tstate);
11296 if (PyErr_Occurred()) SWIG_fail;
11297 }
11298 Py_INCREF(Py_None); resultobj = Py_None;
11299 return resultobj;
11300 fail:
11301 return NULL;
11302}
11303
11304
11305static PyObject *_wrap_Grid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11306 PyObject *resultobj;
11307 wxGrid *arg1 = (wxGrid *) 0 ;
11308 int arg2 ;
11309 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11310 PyObject * obj0 = 0 ;
994141e6 11311 PyObject * obj1 = 0 ;
d14a1e28
RD
11312 PyObject * obj2 = 0 ;
11313 char *kwnames[] = {
11314 (char *) "self",(char *) "col",(char *) "attr", NULL
11315 };
11316
994141e6 11317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11320 arg2 = (int) SWIG_AsInt(obj1);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 (arg1)->SetColAttr(arg2,arg3);
11327
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 Py_INCREF(Py_None); resultobj = Py_None;
11332 return resultobj;
11333 fail:
11334 return NULL;
11335}
11336
11337
11338static PyObject *_wrap_Grid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
11339 PyObject *resultobj;
11340 wxGrid *arg1 = (wxGrid *) 0 ;
11341 int arg2 ;
11342 PyObject * obj0 = 0 ;
994141e6 11343 PyObject * obj1 = 0 ;
d14a1e28
RD
11344 char *kwnames[] = {
11345 (char *) "self",(char *) "col", NULL
11346 };
11347
994141e6 11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatBool",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11351 arg2 = (int) SWIG_AsInt(obj1);
11352 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11353 {
11354 PyThreadState* __tstate = wxPyBeginAllowThreads();
11355 (arg1)->SetColFormatBool(arg2);
11356
11357 wxPyEndAllowThreads(__tstate);
11358 if (PyErr_Occurred()) SWIG_fail;
11359 }
11360 Py_INCREF(Py_None); resultobj = Py_None;
11361 return resultobj;
11362 fail:
11363 return NULL;
11364}
11365
11366
11367static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
11368 PyObject *resultobj;
11369 wxGrid *arg1 = (wxGrid *) 0 ;
11370 int arg2 ;
11371 PyObject * obj0 = 0 ;
994141e6 11372 PyObject * obj1 = 0 ;
d14a1e28
RD
11373 char *kwnames[] = {
11374 (char *) "self",(char *) "col", NULL
11375 };
11376
994141e6 11377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatNumber",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11380 arg2 = (int) SWIG_AsInt(obj1);
11381 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11382 {
11383 PyThreadState* __tstate = wxPyBeginAllowThreads();
11384 (arg1)->SetColFormatNumber(arg2);
11385
11386 wxPyEndAllowThreads(__tstate);
11387 if (PyErr_Occurred()) SWIG_fail;
11388 }
11389 Py_INCREF(Py_None); resultobj = Py_None;
11390 return resultobj;
11391 fail:
11392 return NULL;
11393}
11394
11395
11396static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
11397 PyObject *resultobj;
11398 wxGrid *arg1 = (wxGrid *) 0 ;
11399 int arg2 ;
11400 int arg3 = (int) -1 ;
11401 int arg4 = (int) -1 ;
11402 PyObject * obj0 = 0 ;
994141e6
RD
11403 PyObject * obj1 = 0 ;
11404 PyObject * obj2 = 0 ;
11405 PyObject * obj3 = 0 ;
d14a1e28
RD
11406 char *kwnames[] = {
11407 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11408 };
11409
994141e6 11410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11413 arg2 = (int) SWIG_AsInt(obj1);
11414 if (PyErr_Occurred()) SWIG_fail;
994141e6 11415 if (obj2) {
15afbcd0
RD
11416 arg3 = (int) SWIG_AsInt(obj2);
11417 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11418 }
11419 if (obj3) {
15afbcd0
RD
11420 arg4 = (int) SWIG_AsInt(obj3);
11421 if (PyErr_Occurred()) SWIG_fail;
994141e6 11422 }
d14a1e28
RD
11423 {
11424 PyThreadState* __tstate = wxPyBeginAllowThreads();
11425 (arg1)->SetColFormatFloat(arg2,arg3,arg4);
11426
11427 wxPyEndAllowThreads(__tstate);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 }
11430 Py_INCREF(Py_None); resultobj = Py_None;
11431 return resultobj;
11432 fail:
11433 return NULL;
11434}
11435
11436
11437static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
11438 PyObject *resultobj;
11439 wxGrid *arg1 = (wxGrid *) 0 ;
11440 int arg2 ;
11441 wxString *arg3 = 0 ;
e811c8ce 11442 bool temp3 = False ;
d14a1e28 11443 PyObject * obj0 = 0 ;
994141e6 11444 PyObject * obj1 = 0 ;
d14a1e28
RD
11445 PyObject * obj2 = 0 ;
11446 char *kwnames[] = {
11447 (char *) "self",(char *) "col",(char *) "typeName", NULL
11448 };
11449
994141e6 11450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColFormatCustom",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11453 arg2 = (int) SWIG_AsInt(obj1);
11454 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11455 {
11456 arg3 = wxString_in_helper(obj2);
11457 if (arg3 == NULL) SWIG_fail;
e811c8ce 11458 temp3 = True;
d14a1e28
RD
11459 }
11460 {
11461 PyThreadState* __tstate = wxPyBeginAllowThreads();
11462 (arg1)->SetColFormatCustom(arg2,(wxString const &)*arg3);
11463
11464 wxPyEndAllowThreads(__tstate);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
11467 Py_INCREF(Py_None); resultobj = Py_None;
11468 {
11469 if (temp3)
11470 delete arg3;
11471 }
11472 return resultobj;
11473 fail:
11474 {
11475 if (temp3)
11476 delete arg3;
11477 }
11478 return NULL;
11479}
11480
11481
11482static PyObject *_wrap_Grid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
11483 PyObject *resultobj;
11484 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 11485 bool arg2 = (bool) True ;
d14a1e28
RD
11486 PyObject * obj0 = 0 ;
11487 PyObject * obj1 = 0 ;
11488 char *kwnames[] = {
11489 (char *) "self",(char *) "enable", NULL
11490 };
11491
11492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableGridLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11495 if (obj1) {
15afbcd0
RD
11496 arg2 = (bool) SWIG_AsBool(obj1);
11497 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11498 }
11499 {
11500 PyThreadState* __tstate = wxPyBeginAllowThreads();
11501 (arg1)->EnableGridLines(arg2);
11502
11503 wxPyEndAllowThreads(__tstate);
11504 if (PyErr_Occurred()) SWIG_fail;
11505 }
11506 Py_INCREF(Py_None); resultobj = Py_None;
11507 return resultobj;
11508 fail:
11509 return NULL;
11510}
11511
11512
11513static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11514 PyObject *resultobj;
11515 wxGrid *arg1 = (wxGrid *) 0 ;
11516 bool result;
11517 PyObject * obj0 = 0 ;
11518 char *kwnames[] = {
11519 (char *) "self", NULL
11520 };
11521
11522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GridLinesEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
11523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (bool)(arg1)->GridLinesEnabled();
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
4f89f6a3
RD
11532 {
11533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11534 }
d14a1e28
RD
11535 return resultobj;
11536 fail:
11537 return NULL;
11538}
11539
11540
11541static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11542 PyObject *resultobj;
11543 wxGrid *arg1 = (wxGrid *) 0 ;
11544 int result;
11545 PyObject * obj0 = 0 ;
11546 char *kwnames[] = {
11547 (char *) "self", NULL
11548 };
11549
11550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11553 {
11554 PyThreadState* __tstate = wxPyBeginAllowThreads();
11555 result = (int)(arg1)->GetDefaultRowSize();
11556
11557 wxPyEndAllowThreads(__tstate);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 }
15afbcd0 11560 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11561 return resultobj;
11562 fail:
11563 return NULL;
11564}
11565
11566
11567static PyObject *_wrap_Grid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11568 PyObject *resultobj;
11569 wxGrid *arg1 = (wxGrid *) 0 ;
11570 int arg2 ;
11571 int result;
11572 PyObject * obj0 = 0 ;
994141e6 11573 PyObject * obj1 = 0 ;
d14a1e28
RD
11574 char *kwnames[] = {
11575 (char *) "self",(char *) "row", NULL
11576 };
11577
994141e6 11578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11581 arg2 = (int) SWIG_AsInt(obj1);
11582 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11583 {
11584 PyThreadState* __tstate = wxPyBeginAllowThreads();
11585 result = (int)(arg1)->GetRowSize(arg2);
11586
11587 wxPyEndAllowThreads(__tstate);
11588 if (PyErr_Occurred()) SWIG_fail;
11589 }
15afbcd0 11590 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11591 return resultobj;
11592 fail:
11593 return NULL;
11594}
11595
11596
11597static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxGrid *arg1 = (wxGrid *) 0 ;
11600 int result;
11601 PyObject * obj0 = 0 ;
11602 char *kwnames[] = {
11603 (char *) "self", NULL
11604 };
11605
11606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11609 {
11610 PyThreadState* __tstate = wxPyBeginAllowThreads();
11611 result = (int)(arg1)->GetDefaultColSize();
11612
11613 wxPyEndAllowThreads(__tstate);
11614 if (PyErr_Occurred()) SWIG_fail;
11615 }
15afbcd0 11616 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11617 return resultobj;
11618 fail:
11619 return NULL;
11620}
11621
11622
11623static PyObject *_wrap_Grid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11624 PyObject *resultobj;
11625 wxGrid *arg1 = (wxGrid *) 0 ;
11626 int arg2 ;
11627 int result;
11628 PyObject * obj0 = 0 ;
994141e6 11629 PyObject * obj1 = 0 ;
d14a1e28
RD
11630 char *kwnames[] = {
11631 (char *) "self",(char *) "col", NULL
11632 };
11633
994141e6 11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11637 arg2 = (int) SWIG_AsInt(obj1);
11638 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11639 {
11640 PyThreadState* __tstate = wxPyBeginAllowThreads();
11641 result = (int)(arg1)->GetColSize(arg2);
11642
11643 wxPyEndAllowThreads(__tstate);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
15afbcd0 11646 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11647 return resultobj;
11648 fail:
11649 return NULL;
11650}
11651
11652
11653static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11654 PyObject *resultobj;
11655 wxGrid *arg1 = (wxGrid *) 0 ;
11656 wxColour result;
11657 PyObject * obj0 = 0 ;
11658 char *kwnames[] = {
11659 (char *) "self", NULL
11660 };
11661
11662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
11663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11665 {
11666 PyThreadState* __tstate = wxPyBeginAllowThreads();
11667 result = (arg1)->GetDefaultCellBackgroundColour();
11668
11669 wxPyEndAllowThreads(__tstate);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 }
11672 {
11673 wxColour * resultptr;
11674 resultptr = new wxColour((wxColour &) result);
15afbcd0 11675 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11676 }
11677 return resultobj;
11678 fail:
11679 return NULL;
11680}
11681
11682
11683static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj;
11685 wxGrid *arg1 = (wxGrid *) 0 ;
11686 int arg2 ;
11687 int arg3 ;
11688 wxColour result;
11689 PyObject * obj0 = 0 ;
994141e6
RD
11690 PyObject * obj1 = 0 ;
11691 PyObject * obj2 = 0 ;
d14a1e28
RD
11692 char *kwnames[] = {
11693 (char *) "self",(char *) "row",(char *) "col", NULL
11694 };
11695
994141e6 11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11699 arg2 = (int) SWIG_AsInt(obj1);
11700 if (PyErr_Occurred()) SWIG_fail;
11701 arg3 = (int) SWIG_AsInt(obj2);
11702 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 result = (arg1)->GetCellBackgroundColour(arg2,arg3);
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 {
11711 wxColour * resultptr;
11712 resultptr = new wxColour((wxColour &) result);
15afbcd0 11713 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11714 }
11715 return resultobj;
11716 fail:
11717 return NULL;
11718}
11719
11720
11721static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11722 PyObject *resultobj;
11723 wxGrid *arg1 = (wxGrid *) 0 ;
11724 wxColour result;
11725 PyObject * obj0 = 0 ;
11726 char *kwnames[] = {
11727 (char *) "self", NULL
11728 };
11729
11730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
11731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 result = (arg1)->GetDefaultCellTextColour();
11736
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 {
11741 wxColour * resultptr;
11742 resultptr = new wxColour((wxColour &) result);
15afbcd0 11743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11744 }
11745 return resultobj;
11746 fail:
11747 return NULL;
11748}
11749
11750
11751static PyObject *_wrap_Grid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11752 PyObject *resultobj;
11753 wxGrid *arg1 = (wxGrid *) 0 ;
11754 int arg2 ;
11755 int arg3 ;
11756 wxColour result;
11757 PyObject * obj0 = 0 ;
994141e6
RD
11758 PyObject * obj1 = 0 ;
11759 PyObject * obj2 = 0 ;
d14a1e28
RD
11760 char *kwnames[] = {
11761 (char *) "self",(char *) "row",(char *) "col", NULL
11762 };
11763
994141e6 11764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11767 arg2 = (int) SWIG_AsInt(obj1);
11768 if (PyErr_Occurred()) SWIG_fail;
11769 arg3 = (int) SWIG_AsInt(obj2);
11770 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11771 {
11772 PyThreadState* __tstate = wxPyBeginAllowThreads();
11773 result = (arg1)->GetCellTextColour(arg2,arg3);
11774
11775 wxPyEndAllowThreads(__tstate);
11776 if (PyErr_Occurred()) SWIG_fail;
11777 }
11778 {
11779 wxColour * resultptr;
11780 resultptr = new wxColour((wxColour &) result);
15afbcd0 11781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11782 }
11783 return resultobj;
11784 fail:
11785 return NULL;
11786}
11787
11788
11789static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11790 PyObject *resultobj;
11791 wxGrid *arg1 = (wxGrid *) 0 ;
11792 wxFont result;
11793 PyObject * obj0 = 0 ;
11794 char *kwnames[] = {
11795 (char *) "self", NULL
11796 };
11797
11798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
11799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11801 {
11802 PyThreadState* __tstate = wxPyBeginAllowThreads();
11803 result = (arg1)->GetDefaultCellFont();
11804
11805 wxPyEndAllowThreads(__tstate);
11806 if (PyErr_Occurred()) SWIG_fail;
11807 }
11808 {
11809 wxFont * resultptr;
11810 resultptr = new wxFont((wxFont &) result);
15afbcd0 11811 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
11812 }
11813 return resultobj;
11814 fail:
11815 return NULL;
11816}
11817
11818
11819static PyObject *_wrap_Grid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11820 PyObject *resultobj;
11821 wxGrid *arg1 = (wxGrid *) 0 ;
11822 int arg2 ;
11823 int arg3 ;
11824 wxFont result;
11825 PyObject * obj0 = 0 ;
994141e6
RD
11826 PyObject * obj1 = 0 ;
11827 PyObject * obj2 = 0 ;
d14a1e28
RD
11828 char *kwnames[] = {
11829 (char *) "self",(char *) "row",(char *) "col", NULL
11830 };
11831
994141e6 11832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11835 arg2 = (int) SWIG_AsInt(obj1);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 arg3 = (int) SWIG_AsInt(obj2);
11838 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11839 {
11840 PyThreadState* __tstate = wxPyBeginAllowThreads();
11841 result = (arg1)->GetCellFont(arg2,arg3);
11842
11843 wxPyEndAllowThreads(__tstate);
11844 if (PyErr_Occurred()) SWIG_fail;
11845 }
11846 {
11847 wxFont * resultptr;
11848 resultptr = new wxFont((wxFont &) result);
15afbcd0 11849 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
11850 }
11851 return resultobj;
11852 fail:
11853 return NULL;
11854}
11855
11856
11857static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11858 PyObject *resultobj;
11859 wxGrid *arg1 = (wxGrid *) 0 ;
11860 int *arg2 = (int *) 0 ;
11861 int *arg3 = (int *) 0 ;
11862 int temp2 ;
11863 int temp3 ;
11864 PyObject * obj0 = 0 ;
11865 char *kwnames[] = {
11866 (char *) "self", NULL
11867 };
11868
11869 arg2 = &temp2;
11870 arg3 = &temp3;
11871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
11872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11874 {
11875 PyThreadState* __tstate = wxPyBeginAllowThreads();
11876 (arg1)->GetDefaultCellAlignment(arg2,arg3);
11877
11878 wxPyEndAllowThreads(__tstate);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 }
11881 Py_INCREF(Py_None); resultobj = Py_None;
11882 {
11883 PyObject *o = PyInt_FromLong((long) (*arg2));
11884 resultobj = t_output_helper(resultobj,o);
11885 }
11886 {
11887 PyObject *o = PyInt_FromLong((long) (*arg3));
11888 resultobj = t_output_helper(resultobj,o);
11889 }
11890 return resultobj;
11891 fail:
11892 return NULL;
11893}
11894
11895
11896static PyObject *_wrap_Grid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11897 PyObject *resultobj;
11898 wxGrid *arg1 = (wxGrid *) 0 ;
11899 int arg2 ;
11900 int arg3 ;
11901 int *arg4 = (int *) 0 ;
11902 int *arg5 = (int *) 0 ;
11903 int temp4 ;
11904 int temp5 ;
11905 PyObject * obj0 = 0 ;
994141e6
RD
11906 PyObject * obj1 = 0 ;
11907 PyObject * obj2 = 0 ;
d14a1e28
RD
11908 char *kwnames[] = {
11909 (char *) "self",(char *) "row",(char *) "col", NULL
11910 };
11911
11912 arg4 = &temp4;
11913 arg5 = &temp5;
994141e6 11914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11917 arg2 = (int) SWIG_AsInt(obj1);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 arg3 = (int) SWIG_AsInt(obj2);
11920 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 (arg1)->GetCellAlignment(arg2,arg3,arg4,arg5);
11924
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
11928 Py_INCREF(Py_None); resultobj = Py_None;
11929 {
11930 PyObject *o = PyInt_FromLong((long) (*arg4));
11931 resultobj = t_output_helper(resultobj,o);
11932 }
11933 {
11934 PyObject *o = PyInt_FromLong((long) (*arg5));
11935 resultobj = t_output_helper(resultobj,o);
11936 }
11937 return resultobj;
11938 fail:
11939 return NULL;
11940}
11941
11942
11943static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11944 PyObject *resultobj;
11945 wxGrid *arg1 = (wxGrid *) 0 ;
11946 bool result;
11947 PyObject * obj0 = 0 ;
11948 char *kwnames[] = {
11949 (char *) "self", NULL
11950 };
11951
11952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellOverflow",kwnames,&obj0)) goto fail;
15afbcd0
RD
11953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11955 {
11956 PyThreadState* __tstate = wxPyBeginAllowThreads();
11957 result = (bool)(arg1)->GetDefaultCellOverflow();
11958
11959 wxPyEndAllowThreads(__tstate);
11960 if (PyErr_Occurred()) SWIG_fail;
11961 }
4f89f6a3
RD
11962 {
11963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11964 }
d14a1e28
RD
11965 return resultobj;
11966 fail:
11967 return NULL;
11968}
11969
11970
11971static PyObject *_wrap_Grid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11972 PyObject *resultobj;
11973 wxGrid *arg1 = (wxGrid *) 0 ;
11974 int arg2 ;
11975 int arg3 ;
11976 bool result;
11977 PyObject * obj0 = 0 ;
994141e6
RD
11978 PyObject * obj1 = 0 ;
11979 PyObject * obj2 = 0 ;
d14a1e28
RD
11980 char *kwnames[] = {
11981 (char *) "self",(char *) "row",(char *) "col", NULL
11982 };
11983
994141e6 11984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellOverflow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11987 arg2 = (int) SWIG_AsInt(obj1);
11988 if (PyErr_Occurred()) SWIG_fail;
11989 arg3 = (int) SWIG_AsInt(obj2);
11990 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11991 {
11992 PyThreadState* __tstate = wxPyBeginAllowThreads();
11993 result = (bool)(arg1)->GetCellOverflow(arg2,arg3);
11994
11995 wxPyEndAllowThreads(__tstate);
11996 if (PyErr_Occurred()) SWIG_fail;
11997 }
4f89f6a3
RD
11998 {
11999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12000 }
d14a1e28
RD
12001 return resultobj;
12002 fail:
12003 return NULL;
12004}
12005
12006
12007static PyObject *_wrap_Grid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12008 PyObject *resultobj;
12009 wxGrid *arg1 = (wxGrid *) 0 ;
12010 int arg2 ;
12011 int arg3 ;
12012 int *arg4 = (int *) 0 ;
12013 int *arg5 = (int *) 0 ;
12014 int temp4 ;
12015 int temp5 ;
12016 PyObject * obj0 = 0 ;
994141e6
RD
12017 PyObject * obj1 = 0 ;
12018 PyObject * obj2 = 0 ;
d14a1e28
RD
12019 char *kwnames[] = {
12020 (char *) "self",(char *) "row",(char *) "col", NULL
12021 };
12022
12023 arg4 = &temp4;
12024 arg5 = &temp5;
994141e6 12025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12028 arg2 = (int) SWIG_AsInt(obj1);
12029 if (PyErr_Occurred()) SWIG_fail;
12030 arg3 = (int) SWIG_AsInt(obj2);
12031 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12032 {
12033 PyThreadState* __tstate = wxPyBeginAllowThreads();
12034 (arg1)->GetCellSize(arg2,arg3,arg4,arg5);
12035
12036 wxPyEndAllowThreads(__tstate);
12037 if (PyErr_Occurred()) SWIG_fail;
12038 }
12039 Py_INCREF(Py_None); resultobj = Py_None;
12040 {
12041 PyObject *o = PyInt_FromLong((long) (*arg4));
12042 resultobj = t_output_helper(resultobj,o);
12043 }
12044 {
12045 PyObject *o = PyInt_FromLong((long) (*arg5));
12046 resultobj = t_output_helper(resultobj,o);
12047 }
12048 return resultobj;
12049 fail:
12050 return NULL;
12051}
12052
12053
12054static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12055 PyObject *resultobj;
12056 wxGrid *arg1 = (wxGrid *) 0 ;
12057 int arg2 ;
e811c8ce 12058 bool arg3 = (bool) False ;
d14a1e28 12059 PyObject * obj0 = 0 ;
994141e6 12060 PyObject * obj1 = 0 ;
d14a1e28
RD
12061 PyObject * obj2 = 0 ;
12062 char *kwnames[] = {
12063 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
12064 };
12065
994141e6 12066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12069 arg2 = (int) SWIG_AsInt(obj1);
12070 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12071 if (obj2) {
15afbcd0
RD
12072 arg3 = (bool) SWIG_AsBool(obj2);
12073 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12074 }
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 (arg1)->SetDefaultRowSize(arg2,arg3);
12078
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) SWIG_fail;
12081 }
12082 Py_INCREF(Py_None); resultobj = Py_None;
12083 return resultobj;
12084 fail:
12085 return NULL;
12086}
12087
12088
12089static PyObject *_wrap_Grid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12090 PyObject *resultobj;
12091 wxGrid *arg1 = (wxGrid *) 0 ;
12092 int arg2 ;
12093 int arg3 ;
12094 PyObject * obj0 = 0 ;
994141e6
RD
12095 PyObject * obj1 = 0 ;
12096 PyObject * obj2 = 0 ;
d14a1e28
RD
12097 char *kwnames[] = {
12098 (char *) "self",(char *) "row",(char *) "height", NULL
12099 };
12100
994141e6 12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12104 arg2 = (int) SWIG_AsInt(obj1);
12105 if (PyErr_Occurred()) SWIG_fail;
12106 arg3 = (int) SWIG_AsInt(obj2);
12107 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12108 {
12109 PyThreadState* __tstate = wxPyBeginAllowThreads();
12110 (arg1)->SetRowSize(arg2,arg3);
12111
12112 wxPyEndAllowThreads(__tstate);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
12115 Py_INCREF(Py_None); resultobj = Py_None;
12116 return resultobj;
12117 fail:
12118 return NULL;
12119}
12120
12121
12122static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12123 PyObject *resultobj;
12124 wxGrid *arg1 = (wxGrid *) 0 ;
12125 int arg2 ;
e811c8ce 12126 bool arg3 = (bool) False ;
d14a1e28 12127 PyObject * obj0 = 0 ;
994141e6 12128 PyObject * obj1 = 0 ;
d14a1e28
RD
12129 PyObject * obj2 = 0 ;
12130 char *kwnames[] = {
12131 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
12132 };
12133
994141e6 12134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12137 arg2 = (int) SWIG_AsInt(obj1);
12138 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12139 if (obj2) {
15afbcd0
RD
12140 arg3 = (bool) SWIG_AsBool(obj2);
12141 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12142 }
12143 {
12144 PyThreadState* __tstate = wxPyBeginAllowThreads();
12145 (arg1)->SetDefaultColSize(arg2,arg3);
12146
12147 wxPyEndAllowThreads(__tstate);
12148 if (PyErr_Occurred()) SWIG_fail;
12149 }
12150 Py_INCREF(Py_None); resultobj = Py_None;
12151 return resultobj;
12152 fail:
12153 return NULL;
12154}
12155
12156
12157static PyObject *_wrap_Grid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12158 PyObject *resultobj;
12159 wxGrid *arg1 = (wxGrid *) 0 ;
12160 int arg2 ;
12161 int arg3 ;
12162 PyObject * obj0 = 0 ;
994141e6
RD
12163 PyObject * obj1 = 0 ;
12164 PyObject * obj2 = 0 ;
d14a1e28
RD
12165 char *kwnames[] = {
12166 (char *) "self",(char *) "col",(char *) "width", NULL
12167 };
12168
994141e6 12169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12172 arg2 = (int) SWIG_AsInt(obj1);
12173 if (PyErr_Occurred()) SWIG_fail;
12174 arg3 = (int) SWIG_AsInt(obj2);
12175 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12176 {
12177 PyThreadState* __tstate = wxPyBeginAllowThreads();
12178 (arg1)->SetColSize(arg2,arg3);
12179
12180 wxPyEndAllowThreads(__tstate);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 }
12183 Py_INCREF(Py_None); resultobj = Py_None;
12184 return resultobj;
12185 fail:
12186 return NULL;
12187}
12188
12189
12190static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
12191 PyObject *resultobj;
12192 wxGrid *arg1 = (wxGrid *) 0 ;
12193 int arg2 ;
e811c8ce 12194 bool arg3 = (bool) True ;
d14a1e28 12195 PyObject * obj0 = 0 ;
994141e6 12196 PyObject * obj1 = 0 ;
d14a1e28
RD
12197 PyObject * obj2 = 0 ;
12198 char *kwnames[] = {
12199 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
12200 };
12201
994141e6 12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12205 arg2 = (int) SWIG_AsInt(obj1);
12206 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12207 if (obj2) {
15afbcd0
RD
12208 arg3 = (bool) SWIG_AsBool(obj2);
12209 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12210 }
12211 {
12212 PyThreadState* __tstate = wxPyBeginAllowThreads();
12213 (arg1)->AutoSizeColumn(arg2,arg3);
12214
12215 wxPyEndAllowThreads(__tstate);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 Py_INCREF(Py_None); resultobj = Py_None;
12219 return resultobj;
12220 fail:
12221 return NULL;
12222}
12223
12224
12225static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12226 PyObject *resultobj;
12227 wxGrid *arg1 = (wxGrid *) 0 ;
12228 int arg2 ;
e811c8ce 12229 bool arg3 = (bool) True ;
d14a1e28 12230 PyObject * obj0 = 0 ;
994141e6 12231 PyObject * obj1 = 0 ;
d14a1e28
RD
12232 PyObject * obj2 = 0 ;
12233 char *kwnames[] = {
12234 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
12235 };
12236
994141e6 12237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12240 arg2 = (int) SWIG_AsInt(obj1);
12241 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12242 if (obj2) {
15afbcd0
RD
12243 arg3 = (bool) SWIG_AsBool(obj2);
12244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12245 }
12246 {
12247 PyThreadState* __tstate = wxPyBeginAllowThreads();
12248 (arg1)->AutoSizeRow(arg2,arg3);
12249
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 Py_INCREF(Py_None); resultobj = Py_None;
12254 return resultobj;
12255 fail:
12256 return NULL;
12257}
12258
12259
12260static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
12261 PyObject *resultobj;
12262 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 12263 bool arg2 = (bool) True ;
d14a1e28
RD
12264 PyObject * obj0 = 0 ;
12265 PyObject * obj1 = 0 ;
12266 char *kwnames[] = {
12267 (char *) "self",(char *) "setAsMin", NULL
12268 };
12269
12270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeColumns",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12273 if (obj1) {
15afbcd0
RD
12274 arg2 = (bool) SWIG_AsBool(obj1);
12275 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12276 }
12277 {
12278 PyThreadState* __tstate = wxPyBeginAllowThreads();
12279 (arg1)->AutoSizeColumns(arg2);
12280
12281 wxPyEndAllowThreads(__tstate);
12282 if (PyErr_Occurred()) SWIG_fail;
12283 }
12284 Py_INCREF(Py_None); resultobj = Py_None;
12285 return resultobj;
12286 fail:
12287 return NULL;
12288}
12289
12290
12291static PyObject *_wrap_Grid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
12292 PyObject *resultobj;
12293 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 12294 bool arg2 = (bool) True ;
d14a1e28
RD
12295 PyObject * obj0 = 0 ;
12296 PyObject * obj1 = 0 ;
12297 char *kwnames[] = {
12298 (char *) "self",(char *) "setAsMin", NULL
12299 };
12300
12301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12304 if (obj1) {
15afbcd0
RD
12305 arg2 = (bool) SWIG_AsBool(obj1);
12306 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12307 }
12308 {
12309 PyThreadState* __tstate = wxPyBeginAllowThreads();
12310 (arg1)->AutoSizeRows(arg2);
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 Py_INCREF(Py_None); resultobj = Py_None;
12316 return resultobj;
12317 fail:
12318 return NULL;
12319}
12320
12321
12322static PyObject *_wrap_Grid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 wxGrid *arg1 = (wxGrid *) 0 ;
12325 PyObject * obj0 = 0 ;
12326 char *kwnames[] = {
12327 (char *) "self", NULL
12328 };
12329
12330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_AutoSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
12331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12333 {
12334 PyThreadState* __tstate = wxPyBeginAllowThreads();
12335 (arg1)->AutoSize();
12336
12337 wxPyEndAllowThreads(__tstate);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 }
12340 Py_INCREF(Py_None); resultobj = Py_None;
12341 return resultobj;
12342 fail:
12343 return NULL;
12344}
12345
12346
12347static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12348 PyObject *resultobj;
12349 wxGrid *arg1 = (wxGrid *) 0 ;
12350 int arg2 ;
12351 PyObject * obj0 = 0 ;
994141e6 12352 PyObject * obj1 = 0 ;
d14a1e28
RD
12353 char *kwnames[] = {
12354 (char *) "self",(char *) "row", NULL
12355 };
12356
994141e6 12357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12360 arg2 = (int) SWIG_AsInt(obj1);
12361 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12362 {
12363 PyThreadState* __tstate = wxPyBeginAllowThreads();
12364 (arg1)->AutoSizeRowLabelSize(arg2);
12365
12366 wxPyEndAllowThreads(__tstate);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 }
12369 Py_INCREF(Py_None); resultobj = Py_None;
12370 return resultobj;
12371 fail:
12372 return NULL;
12373}
12374
12375
12376static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12377 PyObject *resultobj;
12378 wxGrid *arg1 = (wxGrid *) 0 ;
12379 int arg2 ;
12380 PyObject * obj0 = 0 ;
994141e6 12381 PyObject * obj1 = 0 ;
d14a1e28
RD
12382 char *kwnames[] = {
12383 (char *) "self",(char *) "col", NULL
12384 };
12385
994141e6 12386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12389 arg2 = (int) SWIG_AsInt(obj1);
12390 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12391 {
12392 PyThreadState* __tstate = wxPyBeginAllowThreads();
12393 (arg1)->AutoSizeColLabelSize(arg2);
12394
12395 wxPyEndAllowThreads(__tstate);
12396 if (PyErr_Occurred()) SWIG_fail;
12397 }
12398 Py_INCREF(Py_None); resultobj = Py_None;
12399 return resultobj;
12400 fail:
12401 return NULL;
12402}
12403
12404
12405static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12406 PyObject *resultobj;
12407 wxGrid *arg1 = (wxGrid *) 0 ;
12408 int arg2 ;
12409 int arg3 ;
12410 PyObject * obj0 = 0 ;
994141e6
RD
12411 PyObject * obj1 = 0 ;
12412 PyObject * obj2 = 0 ;
d14a1e28
RD
12413 char *kwnames[] = {
12414 (char *) "self",(char *) "col",(char *) "width", NULL
12415 };
12416
994141e6 12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColMinimalWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12420 arg2 = (int) SWIG_AsInt(obj1);
12421 if (PyErr_Occurred()) SWIG_fail;
12422 arg3 = (int) SWIG_AsInt(obj2);
12423 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 (arg1)->SetColMinimalWidth(arg2,arg3);
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 Py_INCREF(Py_None); resultobj = Py_None;
12432 return resultobj;
12433 fail:
12434 return NULL;
12435}
12436
12437
12438static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12439 PyObject *resultobj;
12440 wxGrid *arg1 = (wxGrid *) 0 ;
12441 int arg2 ;
12442 int arg3 ;
12443 PyObject * obj0 = 0 ;
994141e6
RD
12444 PyObject * obj1 = 0 ;
12445 PyObject * obj2 = 0 ;
d14a1e28
RD
12446 char *kwnames[] = {
12447 (char *) "self",(char *) "row",(char *) "width", NULL
12448 };
12449
994141e6 12450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12453 arg2 = (int) SWIG_AsInt(obj1);
12454 if (PyErr_Occurred()) SWIG_fail;
12455 arg3 = (int) SWIG_AsInt(obj2);
12456 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12457 {
12458 PyThreadState* __tstate = wxPyBeginAllowThreads();
12459 (arg1)->SetRowMinimalHeight(arg2,arg3);
12460
12461 wxPyEndAllowThreads(__tstate);
12462 if (PyErr_Occurred()) SWIG_fail;
12463 }
12464 Py_INCREF(Py_None); resultobj = Py_None;
12465 return resultobj;
12466 fail:
12467 return NULL;
12468}
12469
12470
12471static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12472 PyObject *resultobj;
12473 wxGrid *arg1 = (wxGrid *) 0 ;
12474 int arg2 ;
12475 PyObject * obj0 = 0 ;
994141e6 12476 PyObject * obj1 = 0 ;
d14a1e28
RD
12477 char *kwnames[] = {
12478 (char *) "self",(char *) "width", NULL
12479 };
12480
994141e6 12481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12484 arg2 = (int) SWIG_AsInt(obj1);
12485 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12486 {
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 (arg1)->SetColMinimalAcceptableWidth(arg2);
12489
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 Py_INCREF(Py_None); resultobj = Py_None;
12494 return resultobj;
12495 fail:
12496 return NULL;
12497}
12498
12499
12500static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12501 PyObject *resultobj;
12502 wxGrid *arg1 = (wxGrid *) 0 ;
12503 int arg2 ;
12504 PyObject * obj0 = 0 ;
994141e6 12505 PyObject * obj1 = 0 ;
d14a1e28
RD
12506 char *kwnames[] = {
12507 (char *) "self",(char *) "width", NULL
12508 };
12509
994141e6 12510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12513 arg2 = (int) SWIG_AsInt(obj1);
12514 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12515 {
12516 PyThreadState* __tstate = wxPyBeginAllowThreads();
12517 (arg1)->SetRowMinimalAcceptableHeight(arg2);
12518
12519 wxPyEndAllowThreads(__tstate);
12520 if (PyErr_Occurred()) SWIG_fail;
12521 }
12522 Py_INCREF(Py_None); resultobj = Py_None;
12523 return resultobj;
12524 fail:
12525 return NULL;
12526}
12527
12528
12529static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12530 PyObject *resultobj;
12531 wxGrid *arg1 = (wxGrid *) 0 ;
12532 int result;
12533 PyObject * obj0 = 0 ;
12534 char *kwnames[] = {
12535 (char *) "self", NULL
12536 };
12537
12538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
12539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12541 {
12542 PyThreadState* __tstate = wxPyBeginAllowThreads();
12543 result = (int)((wxGrid const *)arg1)->GetColMinimalAcceptableWidth();
12544
12545 wxPyEndAllowThreads(__tstate);
12546 if (PyErr_Occurred()) SWIG_fail;
12547 }
15afbcd0 12548 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12549 return resultobj;
12550 fail:
12551 return NULL;
12552}
12553
12554
12555static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12556 PyObject *resultobj;
12557 wxGrid *arg1 = (wxGrid *) 0 ;
12558 int result;
12559 PyObject * obj0 = 0 ;
12560 char *kwnames[] = {
12561 (char *) "self", NULL
12562 };
12563
12564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
12565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12567 {
12568 PyThreadState* __tstate = wxPyBeginAllowThreads();
12569 result = (int)((wxGrid const *)arg1)->GetRowMinimalAcceptableHeight();
12570
12571 wxPyEndAllowThreads(__tstate);
12572 if (PyErr_Occurred()) SWIG_fail;
12573 }
15afbcd0 12574 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12575 return resultobj;
12576 fail:
12577 return NULL;
12578}
12579
12580
12581static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12582 PyObject *resultobj;
12583 wxGrid *arg1 = (wxGrid *) 0 ;
12584 wxColour *arg2 = 0 ;
12585 wxColour temp2 ;
12586 PyObject * obj0 = 0 ;
12587 PyObject * obj1 = 0 ;
12588 char *kwnames[] = {
12589 (char *) "self","arg2", NULL
12590 };
12591
12592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12595 {
12596 arg2 = &temp2;
12597 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12598 }
12599 {
12600 PyThreadState* __tstate = wxPyBeginAllowThreads();
12601 (arg1)->SetDefaultCellBackgroundColour((wxColour const &)*arg2);
12602
12603 wxPyEndAllowThreads(__tstate);
12604 if (PyErr_Occurred()) SWIG_fail;
12605 }
12606 Py_INCREF(Py_None); resultobj = Py_None;
12607 return resultobj;
12608 fail:
12609 return NULL;
12610}
12611
12612
12613static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12614 PyObject *resultobj;
12615 wxGrid *arg1 = (wxGrid *) 0 ;
12616 int arg2 ;
12617 int arg3 ;
12618 wxColour *arg4 = 0 ;
12619 wxColour temp4 ;
12620 PyObject * obj0 = 0 ;
994141e6
RD
12621 PyObject * obj1 = 0 ;
12622 PyObject * obj2 = 0 ;
d14a1e28
RD
12623 PyObject * obj3 = 0 ;
12624 char *kwnames[] = {
12625 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12626 };
12627
994141e6 12628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12631 arg2 = (int) SWIG_AsInt(obj1);
12632 if (PyErr_Occurred()) SWIG_fail;
12633 arg3 = (int) SWIG_AsInt(obj2);
12634 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12635 {
12636 arg4 = &temp4;
12637 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12638 }
12639 {
12640 PyThreadState* __tstate = wxPyBeginAllowThreads();
12641 (arg1)->SetCellBackgroundColour(arg2,arg3,(wxColour const &)*arg4);
12642
12643 wxPyEndAllowThreads(__tstate);
12644 if (PyErr_Occurred()) SWIG_fail;
12645 }
12646 Py_INCREF(Py_None); resultobj = Py_None;
12647 return resultobj;
12648 fail:
12649 return NULL;
12650}
12651
12652
12653static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12654 PyObject *resultobj;
12655 wxGrid *arg1 = (wxGrid *) 0 ;
12656 wxColour *arg2 = 0 ;
12657 wxColour temp2 ;
12658 PyObject * obj0 = 0 ;
12659 PyObject * obj1 = 0 ;
12660 char *kwnames[] = {
12661 (char *) "self","arg2", NULL
12662 };
12663
12664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12667 {
12668 arg2 = &temp2;
12669 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12670 }
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
12673 (arg1)->SetDefaultCellTextColour((wxColour const &)*arg2);
12674
12675 wxPyEndAllowThreads(__tstate);
12676 if (PyErr_Occurred()) SWIG_fail;
12677 }
12678 Py_INCREF(Py_None); resultobj = Py_None;
12679 return resultobj;
12680 fail:
12681 return NULL;
12682}
12683
12684
12685static PyObject *_wrap_Grid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12686 PyObject *resultobj;
12687 wxGrid *arg1 = (wxGrid *) 0 ;
12688 int arg2 ;
12689 int arg3 ;
12690 wxColour *arg4 = 0 ;
12691 wxColour temp4 ;
12692 PyObject * obj0 = 0 ;
994141e6
RD
12693 PyObject * obj1 = 0 ;
12694 PyObject * obj2 = 0 ;
d14a1e28
RD
12695 PyObject * obj3 = 0 ;
12696 char *kwnames[] = {
12697 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12698 };
12699
994141e6 12700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellTextColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12703 arg2 = (int) SWIG_AsInt(obj1);
12704 if (PyErr_Occurred()) SWIG_fail;
12705 arg3 = (int) SWIG_AsInt(obj2);
12706 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12707 {
12708 arg4 = &temp4;
12709 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12710 }
12711 {
12712 PyThreadState* __tstate = wxPyBeginAllowThreads();
12713 (arg1)->SetCellTextColour(arg2,arg3,(wxColour const &)*arg4);
12714
12715 wxPyEndAllowThreads(__tstate);
12716 if (PyErr_Occurred()) SWIG_fail;
12717 }
12718 Py_INCREF(Py_None); resultobj = Py_None;
12719 return resultobj;
12720 fail:
12721 return NULL;
12722}
12723
12724
12725static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj;
12727 wxGrid *arg1 = (wxGrid *) 0 ;
12728 wxFont *arg2 = 0 ;
12729 PyObject * obj0 = 0 ;
12730 PyObject * obj1 = 0 ;
12731 char *kwnames[] = {
12732 (char *) "self","arg2", NULL
12733 };
12734
12735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12739 SWIG_POINTER_EXCEPTION | 0)) == -1)
12740 SWIG_fail;
d14a1e28 12741 if (arg2 == NULL) {
15afbcd0
RD
12742 PyErr_SetString(PyExc_TypeError,"null reference");
12743 SWIG_fail;
d14a1e28
RD
12744 }
12745 {
12746 PyThreadState* __tstate = wxPyBeginAllowThreads();
12747 (arg1)->SetDefaultCellFont((wxFont const &)*arg2);
12748
12749 wxPyEndAllowThreads(__tstate);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
12752 Py_INCREF(Py_None); resultobj = Py_None;
12753 return resultobj;
12754 fail:
12755 return NULL;
12756}
12757
12758
12759static PyObject *_wrap_Grid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12760 PyObject *resultobj;
12761 wxGrid *arg1 = (wxGrid *) 0 ;
12762 int arg2 ;
12763 int arg3 ;
12764 wxFont *arg4 = 0 ;
12765 PyObject * obj0 = 0 ;
994141e6
RD
12766 PyObject * obj1 = 0 ;
12767 PyObject * obj2 = 0 ;
d14a1e28
RD
12768 PyObject * obj3 = 0 ;
12769 char *kwnames[] = {
12770 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12771 };
12772
15afbcd0
RD
12773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellFont",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12776 arg2 = (int) SWIG_AsInt(obj1);
12777 if (PyErr_Occurred()) SWIG_fail;
12778 arg3 = (int) SWIG_AsInt(obj2);
12779 if (PyErr_Occurred()) SWIG_fail;
12780 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxFont,
12781 SWIG_POINTER_EXCEPTION | 0)) == -1)
12782 SWIG_fail;
d14a1e28 12783 if (arg4 == NULL) {
15afbcd0
RD
12784 PyErr_SetString(PyExc_TypeError,"null reference");
12785 SWIG_fail;
d14a1e28
RD
12786 }
12787 {
12788 PyThreadState* __tstate = wxPyBeginAllowThreads();
12789 (arg1)->SetCellFont(arg2,arg3,(wxFont const &)*arg4);
12790
12791 wxPyEndAllowThreads(__tstate);
12792 if (PyErr_Occurred()) SWIG_fail;
12793 }
12794 Py_INCREF(Py_None); resultobj = Py_None;
12795 return resultobj;
12796 fail:
12797 return NULL;
12798}
12799
12800
12801static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12802 PyObject *resultobj;
12803 wxGrid *arg1 = (wxGrid *) 0 ;
12804 int arg2 ;
12805 int arg3 ;
12806 PyObject * obj0 = 0 ;
994141e6
RD
12807 PyObject * obj1 = 0 ;
12808 PyObject * obj2 = 0 ;
d14a1e28
RD
12809 char *kwnames[] = {
12810 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12811 };
12812
994141e6 12813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12816 arg2 = (int) SWIG_AsInt(obj1);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 arg3 = (int) SWIG_AsInt(obj2);
12819 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12820 {
12821 PyThreadState* __tstate = wxPyBeginAllowThreads();
12822 (arg1)->SetDefaultCellAlignment(arg2,arg3);
12823
12824 wxPyEndAllowThreads(__tstate);
12825 if (PyErr_Occurred()) SWIG_fail;
12826 }
12827 Py_INCREF(Py_None); resultobj = Py_None;
12828 return resultobj;
12829 fail:
12830 return NULL;
12831}
12832
12833
12834static PyObject *_wrap_Grid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12835 PyObject *resultobj;
12836 wxGrid *arg1 = (wxGrid *) 0 ;
12837 int arg2 ;
12838 int arg3 ;
12839 int arg4 ;
12840 int arg5 ;
12841 PyObject * obj0 = 0 ;
994141e6
RD
12842 PyObject * obj1 = 0 ;
12843 PyObject * obj2 = 0 ;
12844 PyObject * obj3 = 0 ;
12845 PyObject * obj4 = 0 ;
d14a1e28
RD
12846 char *kwnames[] = {
12847 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12848 };
12849
994141e6 12850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellAlignment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12853 arg2 = (int) SWIG_AsInt(obj1);
12854 if (PyErr_Occurred()) SWIG_fail;
12855 arg3 = (int) SWIG_AsInt(obj2);
12856 if (PyErr_Occurred()) SWIG_fail;
12857 arg4 = (int) SWIG_AsInt(obj3);
12858 if (PyErr_Occurred()) SWIG_fail;
12859 arg5 = (int) SWIG_AsInt(obj4);
12860 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12861 {
12862 PyThreadState* __tstate = wxPyBeginAllowThreads();
12863 (arg1)->SetCellAlignment(arg2,arg3,arg4,arg5);
12864
12865 wxPyEndAllowThreads(__tstate);
12866 if (PyErr_Occurred()) SWIG_fail;
12867 }
12868 Py_INCREF(Py_None); resultobj = Py_None;
12869 return resultobj;
12870 fail:
12871 return NULL;
12872}
12873
12874
12875static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12876 PyObject *resultobj;
12877 wxGrid *arg1 = (wxGrid *) 0 ;
12878 bool arg2 ;
12879 PyObject * obj0 = 0 ;
12880 PyObject * obj1 = 0 ;
12881 char *kwnames[] = {
12882 (char *) "self",(char *) "allow", NULL
12883 };
12884
12885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12888 arg2 = (bool) SWIG_AsBool(obj1);
12889 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12890 {
12891 PyThreadState* __tstate = wxPyBeginAllowThreads();
12892 (arg1)->SetDefaultCellOverflow(arg2);
12893
12894 wxPyEndAllowThreads(__tstate);
12895 if (PyErr_Occurred()) SWIG_fail;
12896 }
12897 Py_INCREF(Py_None); resultobj = Py_None;
12898 return resultobj;
12899 fail:
12900 return NULL;
12901}
12902
12903
12904static PyObject *_wrap_Grid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12905 PyObject *resultobj;
12906 wxGrid *arg1 = (wxGrid *) 0 ;
12907 int arg2 ;
12908 int arg3 ;
12909 bool arg4 ;
12910 PyObject * obj0 = 0 ;
994141e6
RD
12911 PyObject * obj1 = 0 ;
12912 PyObject * obj2 = 0 ;
d14a1e28
RD
12913 PyObject * obj3 = 0 ;
12914 char *kwnames[] = {
12915 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
12916 };
12917
994141e6 12918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellOverflow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12921 arg2 = (int) SWIG_AsInt(obj1);
12922 if (PyErr_Occurred()) SWIG_fail;
12923 arg3 = (int) SWIG_AsInt(obj2);
12924 if (PyErr_Occurred()) SWIG_fail;
12925 arg4 = (bool) SWIG_AsBool(obj3);
12926 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12927 {
12928 PyThreadState* __tstate = wxPyBeginAllowThreads();
12929 (arg1)->SetCellOverflow(arg2,arg3,arg4);
12930
12931 wxPyEndAllowThreads(__tstate);
12932 if (PyErr_Occurred()) SWIG_fail;
12933 }
12934 Py_INCREF(Py_None); resultobj = Py_None;
12935 return resultobj;
12936 fail:
12937 return NULL;
12938}
12939
12940
12941static PyObject *_wrap_Grid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12942 PyObject *resultobj;
12943 wxGrid *arg1 = (wxGrid *) 0 ;
12944 int arg2 ;
12945 int arg3 ;
12946 int arg4 ;
12947 int arg5 ;
12948 PyObject * obj0 = 0 ;
994141e6
RD
12949 PyObject * obj1 = 0 ;
12950 PyObject * obj2 = 0 ;
12951 PyObject * obj3 = 0 ;
12952 PyObject * obj4 = 0 ;
d14a1e28
RD
12953 char *kwnames[] = {
12954 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
12955 };
12956
994141e6 12957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12960 arg2 = (int) SWIG_AsInt(obj1);
12961 if (PyErr_Occurred()) SWIG_fail;
12962 arg3 = (int) SWIG_AsInt(obj2);
12963 if (PyErr_Occurred()) SWIG_fail;
12964 arg4 = (int) SWIG_AsInt(obj3);
12965 if (PyErr_Occurred()) SWIG_fail;
12966 arg5 = (int) SWIG_AsInt(obj4);
12967 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12968 {
12969 PyThreadState* __tstate = wxPyBeginAllowThreads();
12970 (arg1)->SetCellSize(arg2,arg3,arg4,arg5);
12971
12972 wxPyEndAllowThreads(__tstate);
12973 if (PyErr_Occurred()) SWIG_fail;
12974 }
12975 Py_INCREF(Py_None); resultobj = Py_None;
12976 return resultobj;
12977 fail:
12978 return NULL;
12979}
12980
12981
12982static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12983 PyObject *resultobj;
12984 wxGrid *arg1 = (wxGrid *) 0 ;
12985 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
12986 PyObject * obj0 = 0 ;
12987 PyObject * obj1 = 0 ;
12988 char *kwnames[] = {
12989 (char *) "self",(char *) "renderer", NULL
12990 };
12991
12992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultRenderer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12995 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
12996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12997 {
12998 PyThreadState* __tstate = wxPyBeginAllowThreads();
12999 (arg1)->SetDefaultRenderer(arg2);
13000
13001 wxPyEndAllowThreads(__tstate);
13002 if (PyErr_Occurred()) SWIG_fail;
13003 }
13004 Py_INCREF(Py_None); resultobj = Py_None;
13005 return resultobj;
13006 fail:
13007 return NULL;
13008}
13009
13010
13011static PyObject *_wrap_Grid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
13012 PyObject *resultobj;
13013 wxGrid *arg1 = (wxGrid *) 0 ;
13014 int arg2 ;
13015 int arg3 ;
13016 wxGridCellRenderer *arg4 = (wxGridCellRenderer *) 0 ;
13017 PyObject * obj0 = 0 ;
994141e6
RD
13018 PyObject * obj1 = 0 ;
13019 PyObject * obj2 = 0 ;
d14a1e28
RD
13020 PyObject * obj3 = 0 ;
13021 char *kwnames[] = {
13022 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
13023 };
13024
994141e6 13025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13028 arg2 = (int) SWIG_AsInt(obj1);
13029 if (PyErr_Occurred()) SWIG_fail;
13030 arg3 = (int) SWIG_AsInt(obj2);
13031 if (PyErr_Occurred()) SWIG_fail;
13032 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellRenderer,
13033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13034 {
13035 PyThreadState* __tstate = wxPyBeginAllowThreads();
13036 (arg1)->SetCellRenderer(arg2,arg3,arg4);
13037
13038 wxPyEndAllowThreads(__tstate);
13039 if (PyErr_Occurred()) SWIG_fail;
13040 }
13041 Py_INCREF(Py_None); resultobj = Py_None;
13042 return resultobj;
13043 fail:
13044 return NULL;
13045}
13046
13047
13048static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
13049 PyObject *resultobj;
13050 wxGrid *arg1 = (wxGrid *) 0 ;
13051 wxGridCellRenderer *result;
13052 PyObject * obj0 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "self", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRenderer",kwnames,&obj0)) goto fail;
15afbcd0
RD
13058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13060 {
13061 PyThreadState* __tstate = wxPyBeginAllowThreads();
13062 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRenderer();
13063
13064 wxPyEndAllowThreads(__tstate);
13065 if (PyErr_Occurred()) SWIG_fail;
13066 }
13067 {
13068 resultobj = wxPyMake_wxGridCellRenderer(result);
13069 }
13070 return resultobj;
13071 fail:
13072 return NULL;
13073}
13074
13075
13076static PyObject *_wrap_Grid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
13077 PyObject *resultobj;
13078 wxGrid *arg1 = (wxGrid *) 0 ;
13079 int arg2 ;
13080 int arg3 ;
13081 wxGridCellRenderer *result;
13082 PyObject * obj0 = 0 ;
994141e6
RD
13083 PyObject * obj1 = 0 ;
13084 PyObject * obj2 = 0 ;
d14a1e28
RD
13085 char *kwnames[] = {
13086 (char *) "self",(char *) "row",(char *) "col", NULL
13087 };
13088
994141e6 13089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellRenderer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13092 arg2 = (int) SWIG_AsInt(obj1);
13093 if (PyErr_Occurred()) SWIG_fail;
13094 arg3 = (int) SWIG_AsInt(obj2);
13095 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13096 {
13097 PyThreadState* __tstate = wxPyBeginAllowThreads();
13098 result = (wxGridCellRenderer *)(arg1)->GetCellRenderer(arg2,arg3);
13099
13100 wxPyEndAllowThreads(__tstate);
13101 if (PyErr_Occurred()) SWIG_fail;
13102 }
13103 {
13104 resultobj = wxPyMake_wxGridCellRenderer(result);
13105 }
13106 return resultobj;
13107 fail:
13108 return NULL;
13109}
13110
13111
13112static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13113 PyObject *resultobj;
13114 wxGrid *arg1 = (wxGrid *) 0 ;
13115 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
13116 PyObject * obj0 = 0 ;
13117 PyObject * obj1 = 0 ;
13118 char *kwnames[] = {
13119 (char *) "self",(char *) "editor", NULL
13120 };
13121
13122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultEditor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13125 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
13126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13127 {
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 (arg1)->SetDefaultEditor(arg2);
13130
13131 wxPyEndAllowThreads(__tstate);
13132 if (PyErr_Occurred()) SWIG_fail;
13133 }
13134 Py_INCREF(Py_None); resultobj = Py_None;
13135 return resultobj;
13136 fail:
13137 return NULL;
13138}
13139
13140
13141static PyObject *_wrap_Grid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13142 PyObject *resultobj;
13143 wxGrid *arg1 = (wxGrid *) 0 ;
13144 int arg2 ;
13145 int arg3 ;
13146 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
13147 PyObject * obj0 = 0 ;
994141e6
RD
13148 PyObject * obj1 = 0 ;
13149 PyObject * obj2 = 0 ;
d14a1e28
RD
13150 PyObject * obj3 = 0 ;
13151 char *kwnames[] = {
13152 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
13153 };
13154
994141e6 13155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13158 arg2 = (int) SWIG_AsInt(obj1);
13159 if (PyErr_Occurred()) SWIG_fail;
13160 arg3 = (int) SWIG_AsInt(obj2);
13161 if (PyErr_Occurred()) SWIG_fail;
13162 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
13163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13164 {
13165 PyThreadState* __tstate = wxPyBeginAllowThreads();
13166 (arg1)->SetCellEditor(arg2,arg3,arg4);
13167
13168 wxPyEndAllowThreads(__tstate);
13169 if (PyErr_Occurred()) SWIG_fail;
13170 }
13171 Py_INCREF(Py_None); resultobj = Py_None;
13172 return resultobj;
13173 fail:
13174 return NULL;
13175}
13176
13177
13178static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13179 PyObject *resultobj;
13180 wxGrid *arg1 = (wxGrid *) 0 ;
13181 wxGridCellEditor *result;
13182 PyObject * obj0 = 0 ;
13183 char *kwnames[] = {
13184 (char *) "self", NULL
13185 };
13186
13187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultEditor",kwnames,&obj0)) goto fail;
15afbcd0
RD
13188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13190 {
13191 PyThreadState* __tstate = wxPyBeginAllowThreads();
13192 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditor();
13193
13194 wxPyEndAllowThreads(__tstate);
13195 if (PyErr_Occurred()) SWIG_fail;
13196 }
13197 {
13198 resultobj = wxPyMake_wxGridCellEditor(result);
13199 }
13200 return resultobj;
13201 fail:
13202 return NULL;
13203}
13204
13205
13206static PyObject *_wrap_Grid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13207 PyObject *resultobj;
13208 wxGrid *arg1 = (wxGrid *) 0 ;
13209 int arg2 ;
13210 int arg3 ;
13211 wxGridCellEditor *result;
13212 PyObject * obj0 = 0 ;
994141e6
RD
13213 PyObject * obj1 = 0 ;
13214 PyObject * obj2 = 0 ;
d14a1e28
RD
13215 char *kwnames[] = {
13216 (char *) "self",(char *) "row",(char *) "col", NULL
13217 };
13218
994141e6 13219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellEditor",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13222 arg2 = (int) SWIG_AsInt(obj1);
13223 if (PyErr_Occurred()) SWIG_fail;
13224 arg3 = (int) SWIG_AsInt(obj2);
13225 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13226 {
13227 PyThreadState* __tstate = wxPyBeginAllowThreads();
13228 result = (wxGridCellEditor *)(arg1)->GetCellEditor(arg2,arg3);
13229
13230 wxPyEndAllowThreads(__tstate);
13231 if (PyErr_Occurred()) SWIG_fail;
13232 }
13233 {
13234 resultobj = wxPyMake_wxGridCellEditor(result);
13235 }
13236 return resultobj;
13237 fail:
13238 return NULL;
13239}
13240
13241
13242static PyObject *_wrap_Grid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13243 PyObject *resultobj;
13244 wxGrid *arg1 = (wxGrid *) 0 ;
13245 int arg2 ;
13246 int arg3 ;
13247 wxString result;
13248 PyObject * obj0 = 0 ;
994141e6
RD
13249 PyObject * obj1 = 0 ;
13250 PyObject * obj2 = 0 ;
d14a1e28
RD
13251 char *kwnames[] = {
13252 (char *) "self",(char *) "row",(char *) "col", NULL
13253 };
13254
994141e6 13255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13258 arg2 = (int) SWIG_AsInt(obj1);
13259 if (PyErr_Occurred()) SWIG_fail;
13260 arg3 = (int) SWIG_AsInt(obj2);
13261 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13262 {
13263 PyThreadState* __tstate = wxPyBeginAllowThreads();
13264 result = (arg1)->GetCellValue(arg2,arg3);
13265
13266 wxPyEndAllowThreads(__tstate);
13267 if (PyErr_Occurred()) SWIG_fail;
13268 }
13269 {
13270#if wxUSE_UNICODE
13271 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13272#else
13273 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13274#endif
13275 }
13276 return resultobj;
13277 fail:
13278 return NULL;
13279}
13280
13281
13282static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13283 PyObject *resultobj;
13284 wxGrid *arg1 = (wxGrid *) 0 ;
13285 int arg2 ;
13286 int arg3 ;
13287 wxString *arg4 = 0 ;
e811c8ce 13288 bool temp4 = False ;
d14a1e28 13289 PyObject * obj0 = 0 ;
994141e6
RD
13290 PyObject * obj1 = 0 ;
13291 PyObject * obj2 = 0 ;
d14a1e28
RD
13292 PyObject * obj3 = 0 ;
13293 char *kwnames[] = {
13294 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13295 };
13296
994141e6 13297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13300 arg2 = (int) SWIG_AsInt(obj1);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 arg3 = (int) SWIG_AsInt(obj2);
13303 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13304 {
13305 arg4 = wxString_in_helper(obj3);
13306 if (arg4 == NULL) SWIG_fail;
e811c8ce 13307 temp4 = True;
d14a1e28
RD
13308 }
13309 {
13310 PyThreadState* __tstate = wxPyBeginAllowThreads();
13311 (arg1)->SetCellValue(arg2,arg3,(wxString const &)*arg4);
13312
13313 wxPyEndAllowThreads(__tstate);
13314 if (PyErr_Occurred()) SWIG_fail;
13315 }
13316 Py_INCREF(Py_None); resultobj = Py_None;
13317 {
13318 if (temp4)
13319 delete arg4;
13320 }
13321 return resultobj;
13322 fail:
13323 {
13324 if (temp4)
13325 delete arg4;
13326 }
13327 return NULL;
13328}
13329
13330
13331static PyObject *_wrap_Grid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13332 PyObject *resultobj;
13333 wxGrid *arg1 = (wxGrid *) 0 ;
13334 int arg2 ;
13335 int arg3 ;
13336 bool result;
13337 PyObject * obj0 = 0 ;
994141e6
RD
13338 PyObject * obj1 = 0 ;
13339 PyObject * obj2 = 0 ;
d14a1e28
RD
13340 char *kwnames[] = {
13341 (char *) "self",(char *) "row",(char *) "col", NULL
13342 };
13343
994141e6 13344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsReadOnly",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13347 arg2 = (int) SWIG_AsInt(obj1);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 arg3 = (int) SWIG_AsInt(obj2);
13350 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13351 {
13352 PyThreadState* __tstate = wxPyBeginAllowThreads();
13353 result = (bool)((wxGrid const *)arg1)->IsReadOnly(arg2,arg3);
13354
13355 wxPyEndAllowThreads(__tstate);
13356 if (PyErr_Occurred()) SWIG_fail;
13357 }
4f89f6a3
RD
13358 {
13359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13360 }
d14a1e28
RD
13361 return resultobj;
13362 fail:
13363 return NULL;
13364}
13365
13366
13367static PyObject *_wrap_Grid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13368 PyObject *resultobj;
13369 wxGrid *arg1 = (wxGrid *) 0 ;
13370 int arg2 ;
13371 int arg3 ;
e811c8ce 13372 bool arg4 = (bool) True ;
d14a1e28 13373 PyObject * obj0 = 0 ;
994141e6
RD
13374 PyObject * obj1 = 0 ;
13375 PyObject * obj2 = 0 ;
d14a1e28
RD
13376 PyObject * obj3 = 0 ;
13377 char *kwnames[] = {
13378 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13379 };
13380
994141e6 13381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_SetReadOnly",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13384 arg2 = (int) SWIG_AsInt(obj1);
13385 if (PyErr_Occurred()) SWIG_fail;
13386 arg3 = (int) SWIG_AsInt(obj2);
13387 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13388 if (obj3) {
15afbcd0
RD
13389 arg4 = (bool) SWIG_AsBool(obj3);
13390 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13391 }
13392 {
13393 PyThreadState* __tstate = wxPyBeginAllowThreads();
13394 (arg1)->SetReadOnly(arg2,arg3,arg4);
13395
13396 wxPyEndAllowThreads(__tstate);
13397 if (PyErr_Occurred()) SWIG_fail;
13398 }
13399 Py_INCREF(Py_None); resultobj = Py_None;
13400 return resultobj;
13401 fail:
13402 return NULL;
13403}
13404
13405
13406static PyObject *_wrap_Grid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13407 PyObject *resultobj;
13408 wxGrid *arg1 = (wxGrid *) 0 ;
13409 int arg2 ;
e811c8ce 13410 bool arg3 = (bool) False ;
d14a1e28 13411 PyObject * obj0 = 0 ;
994141e6 13412 PyObject * obj1 = 0 ;
d14a1e28
RD
13413 PyObject * obj2 = 0 ;
13414 char *kwnames[] = {
13415 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13416 };
13417
994141e6 13418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13421 arg2 = (int) SWIG_AsInt(obj1);
13422 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13423 if (obj2) {
15afbcd0
RD
13424 arg3 = (bool) SWIG_AsBool(obj2);
13425 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13426 }
13427 {
13428 PyThreadState* __tstate = wxPyBeginAllowThreads();
13429 (arg1)->SelectRow(arg2,arg3);
13430
13431 wxPyEndAllowThreads(__tstate);
13432 if (PyErr_Occurred()) SWIG_fail;
13433 }
13434 Py_INCREF(Py_None); resultobj = Py_None;
13435 return resultobj;
13436 fail:
13437 return NULL;
13438}
13439
13440
13441static PyObject *_wrap_Grid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13442 PyObject *resultobj;
13443 wxGrid *arg1 = (wxGrid *) 0 ;
13444 int arg2 ;
e811c8ce 13445 bool arg3 = (bool) False ;
d14a1e28 13446 PyObject * obj0 = 0 ;
994141e6 13447 PyObject * obj1 = 0 ;
d14a1e28
RD
13448 PyObject * obj2 = 0 ;
13449 char *kwnames[] = {
13450 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13451 };
13452
994141e6 13453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13456 arg2 = (int) SWIG_AsInt(obj1);
13457 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13458 if (obj2) {
15afbcd0
RD
13459 arg3 = (bool) SWIG_AsBool(obj2);
13460 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13461 }
13462 {
13463 PyThreadState* __tstate = wxPyBeginAllowThreads();
13464 (arg1)->SelectCol(arg2,arg3);
13465
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
13469 Py_INCREF(Py_None); resultobj = Py_None;
13470 return resultobj;
13471 fail:
13472 return NULL;
13473}
13474
13475
13476static PyObject *_wrap_Grid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
13477 PyObject *resultobj;
13478 wxGrid *arg1 = (wxGrid *) 0 ;
13479 int arg2 ;
13480 int arg3 ;
13481 int arg4 ;
13482 int arg5 ;
e811c8ce 13483 bool arg6 = (bool) False ;
d14a1e28 13484 PyObject * obj0 = 0 ;
994141e6
RD
13485 PyObject * obj1 = 0 ;
13486 PyObject * obj2 = 0 ;
13487 PyObject * obj3 = 0 ;
13488 PyObject * obj4 = 0 ;
d14a1e28
RD
13489 PyObject * obj5 = 0 ;
13490 char *kwnames[] = {
13491 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13492 };
13493
994141e6 13494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Grid_SelectBlock",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
13495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13497 arg2 = (int) SWIG_AsInt(obj1);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 arg3 = (int) SWIG_AsInt(obj2);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 arg4 = (int) SWIG_AsInt(obj3);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 arg5 = (int) SWIG_AsInt(obj4);
13504 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13505 if (obj5) {
15afbcd0
RD
13506 arg6 = (bool) SWIG_AsBool(obj5);
13507 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13508 }
13509 {
13510 PyThreadState* __tstate = wxPyBeginAllowThreads();
13511 (arg1)->SelectBlock(arg2,arg3,arg4,arg5,arg6);
13512
13513 wxPyEndAllowThreads(__tstate);
13514 if (PyErr_Occurred()) SWIG_fail;
13515 }
13516 Py_INCREF(Py_None); resultobj = Py_None;
13517 return resultobj;
13518 fail:
13519 return NULL;
13520}
13521
13522
13523static PyObject *_wrap_Grid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
13524 PyObject *resultobj;
13525 wxGrid *arg1 = (wxGrid *) 0 ;
13526 PyObject * obj0 = 0 ;
13527 char *kwnames[] = {
13528 (char *) "self", NULL
13529 };
13530
13531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SelectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
13532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13534 {
13535 PyThreadState* __tstate = wxPyBeginAllowThreads();
13536 (arg1)->SelectAll();
13537
13538 wxPyEndAllowThreads(__tstate);
13539 if (PyErr_Occurred()) SWIG_fail;
13540 }
13541 Py_INCREF(Py_None); resultobj = Py_None;
13542 return resultobj;
13543 fail:
13544 return NULL;
13545}
13546
13547
13548static PyObject *_wrap_Grid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13549 PyObject *resultobj;
13550 wxGrid *arg1 = (wxGrid *) 0 ;
13551 bool result;
13552 PyObject * obj0 = 0 ;
13553 char *kwnames[] = {
13554 (char *) "self", NULL
13555 };
13556
13557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13560 {
13561 PyThreadState* __tstate = wxPyBeginAllowThreads();
13562 result = (bool)(arg1)->IsSelection();
13563
13564 wxPyEndAllowThreads(__tstate);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 }
4f89f6a3
RD
13567 {
13568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13569 }
d14a1e28
RD
13570 return resultobj;
13571 fail:
13572 return NULL;
13573}
13574
13575
13576static PyObject *_wrap_Grid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13577 PyObject *resultobj;
13578 wxGrid *arg1 = (wxGrid *) 0 ;
13579 PyObject * obj0 = 0 ;
13580 char *kwnames[] = {
13581 (char *) "self", NULL
13582 };
13583
13584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13587 {
13588 PyThreadState* __tstate = wxPyBeginAllowThreads();
13589 (arg1)->ClearSelection();
13590
13591 wxPyEndAllowThreads(__tstate);
13592 if (PyErr_Occurred()) SWIG_fail;
13593 }
13594 Py_INCREF(Py_None); resultobj = Py_None;
13595 return resultobj;
13596 fail:
13597 return NULL;
13598}
13599
13600
13601static PyObject *_wrap_Grid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13602 PyObject *resultobj;
13603 wxGrid *arg1 = (wxGrid *) 0 ;
13604 int arg2 ;
13605 int arg3 ;
13606 bool result;
13607 PyObject * obj0 = 0 ;
994141e6
RD
13608 PyObject * obj1 = 0 ;
13609 PyObject * obj2 = 0 ;
d14a1e28
RD
13610 char *kwnames[] = {
13611 (char *) "self",(char *) "row",(char *) "col", NULL
13612 };
13613
994141e6 13614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsInSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13617 arg2 = (int) SWIG_AsInt(obj1);
13618 if (PyErr_Occurred()) SWIG_fail;
13619 arg3 = (int) SWIG_AsInt(obj2);
13620 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13621 {
13622 PyThreadState* __tstate = wxPyBeginAllowThreads();
13623 result = (bool)(arg1)->IsInSelection(arg2,arg3);
13624
13625 wxPyEndAllowThreads(__tstate);
13626 if (PyErr_Occurred()) SWIG_fail;
13627 }
4f89f6a3
RD
13628 {
13629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13630 }
d14a1e28
RD
13631 return resultobj;
13632 fail:
13633 return NULL;
13634}
13635
13636
13637static PyObject *_wrap_Grid_GetSelectedCells(PyObject *self, PyObject *args, PyObject *kwargs) {
13638 PyObject *resultobj;
13639 wxGrid *arg1 = (wxGrid *) 0 ;
13640 wxGridCellCoordsArray result;
13641 PyObject * obj0 = 0 ;
13642 char *kwnames[] = {
13643 (char *) "self", NULL
13644 };
13645
13646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCells",kwnames,&obj0)) goto fail;
15afbcd0
RD
13647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13649 {
13650 PyThreadState* __tstate = wxPyBeginAllowThreads();
13651 result = ((wxGrid const *)arg1)->GetSelectedCells();
13652
13653 wxPyEndAllowThreads(__tstate);
13654 if (PyErr_Occurred()) SWIG_fail;
13655 }
13656 {
13657 resultobj = wxGridCellCoordsArray_helper(result);
13658 }
13659 return resultobj;
13660 fail:
13661 return NULL;
13662}
13663
13664
13665static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13666 PyObject *resultobj;
13667 wxGrid *arg1 = (wxGrid *) 0 ;
13668 wxGridCellCoordsArray result;
13669 PyObject * obj0 = 0 ;
13670 char *kwnames[] = {
13671 (char *) "self", NULL
13672 };
13673
13674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
13675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13677 {
13678 PyThreadState* __tstate = wxPyBeginAllowThreads();
13679 result = ((wxGrid const *)arg1)->GetSelectionBlockTopLeft();
13680
13681 wxPyEndAllowThreads(__tstate);
13682 if (PyErr_Occurred()) SWIG_fail;
13683 }
13684 {
13685 resultobj = wxGridCellCoordsArray_helper(result);
13686 }
13687 return resultobj;
13688 fail:
13689 return NULL;
13690}
13691
13692
13693static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13694 PyObject *resultobj;
13695 wxGrid *arg1 = (wxGrid *) 0 ;
13696 wxGridCellCoordsArray result;
13697 PyObject * obj0 = 0 ;
13698 char *kwnames[] = {
13699 (char *) "self", NULL
13700 };
13701
13702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
13703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13705 {
13706 PyThreadState* __tstate = wxPyBeginAllowThreads();
13707 result = ((wxGrid const *)arg1)->GetSelectionBlockBottomRight();
13708
13709 wxPyEndAllowThreads(__tstate);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 {
13713 resultobj = wxGridCellCoordsArray_helper(result);
13714 }
13715 return resultobj;
13716 fail:
13717 return NULL;
13718}
13719
13720
13721static PyObject *_wrap_Grid_GetSelectedRows(PyObject *self, PyObject *args, PyObject *kwargs) {
13722 PyObject *resultobj;
13723 wxGrid *arg1 = (wxGrid *) 0 ;
13724 wxArrayInt result;
13725 PyObject * obj0 = 0 ;
13726 char *kwnames[] = {
13727 (char *) "self", NULL
13728 };
13729
13730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
13731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13733 {
13734 PyThreadState* __tstate = wxPyBeginAllowThreads();
13735 result = ((wxGrid const *)arg1)->GetSelectedRows();
13736
13737 wxPyEndAllowThreads(__tstate);
13738 if (PyErr_Occurred()) SWIG_fail;
13739 }
13740 {
13741 resultobj = PyList_New(0);
13742 size_t idx;
13743 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13744 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13745 PyList_Append(resultobj, val);
13746 Py_DECREF(val);
13747 }
13748 }
13749 return resultobj;
13750 fail:
13751 return NULL;
13752}
13753
13754
13755static PyObject *_wrap_Grid_GetSelectedCols(PyObject *self, PyObject *args, PyObject *kwargs) {
13756 PyObject *resultobj;
13757 wxGrid *arg1 = (wxGrid *) 0 ;
13758 wxArrayInt result;
13759 PyObject * obj0 = 0 ;
13760 char *kwnames[] = {
13761 (char *) "self", NULL
13762 };
13763
13764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
13765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 result = ((wxGrid const *)arg1)->GetSelectedCols();
13770
13771 wxPyEndAllowThreads(__tstate);
13772 if (PyErr_Occurred()) SWIG_fail;
13773 }
13774 {
13775 resultobj = PyList_New(0);
13776 size_t idx;
13777 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13778 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13779 PyList_Append(resultobj, val);
13780 Py_DECREF(val);
13781 }
13782 }
13783 return resultobj;
13784 fail:
13785 return NULL;
13786}
13787
13788
13789static PyObject *_wrap_Grid_DeselectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13790 PyObject *resultobj;
13791 wxGrid *arg1 = (wxGrid *) 0 ;
13792 int arg2 ;
13793 PyObject * obj0 = 0 ;
994141e6 13794 PyObject * obj1 = 0 ;
d14a1e28
RD
13795 char *kwnames[] = {
13796 (char *) "self",(char *) "row", NULL
13797 };
13798
994141e6 13799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13802 arg2 = (int) SWIG_AsInt(obj1);
13803 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13804 {
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
13806 (arg1)->DeselectRow(arg2);
13807
13808 wxPyEndAllowThreads(__tstate);
13809 if (PyErr_Occurred()) SWIG_fail;
13810 }
13811 Py_INCREF(Py_None); resultobj = Py_None;
13812 return resultobj;
13813 fail:
13814 return NULL;
13815}
13816
13817
13818static PyObject *_wrap_Grid_DeselectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13819 PyObject *resultobj;
13820 wxGrid *arg1 = (wxGrid *) 0 ;
13821 int arg2 ;
13822 PyObject * obj0 = 0 ;
994141e6 13823 PyObject * obj1 = 0 ;
d14a1e28
RD
13824 char *kwnames[] = {
13825 (char *) "self",(char *) "col", NULL
13826 };
13827
994141e6 13828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13831 arg2 = (int) SWIG_AsInt(obj1);
13832 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13833 {
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
13835 (arg1)->DeselectCol(arg2);
13836
13837 wxPyEndAllowThreads(__tstate);
13838 if (PyErr_Occurred()) SWIG_fail;
13839 }
13840 Py_INCREF(Py_None); resultobj = Py_None;
13841 return resultobj;
13842 fail:
13843 return NULL;
13844}
13845
13846
13847static PyObject *_wrap_Grid_DeselectCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13848 PyObject *resultobj;
13849 wxGrid *arg1 = (wxGrid *) 0 ;
13850 int arg2 ;
13851 int arg3 ;
13852 PyObject * obj0 = 0 ;
994141e6
RD
13853 PyObject * obj1 = 0 ;
13854 PyObject * obj2 = 0 ;
d14a1e28
RD
13855 char *kwnames[] = {
13856 (char *) "self",(char *) "row",(char *) "col", NULL
13857 };
13858
994141e6 13859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DeselectCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13862 arg2 = (int) SWIG_AsInt(obj1);
13863 if (PyErr_Occurred()) SWIG_fail;
13864 arg3 = (int) SWIG_AsInt(obj2);
13865 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13866 {
13867 PyThreadState* __tstate = wxPyBeginAllowThreads();
13868 (arg1)->DeselectCell(arg2,arg3);
13869
13870 wxPyEndAllowThreads(__tstate);
13871 if (PyErr_Occurred()) SWIG_fail;
13872 }
13873 Py_INCREF(Py_None); resultobj = Py_None;
13874 return resultobj;
13875 fail:
13876 return NULL;
13877}
13878
13879
13880static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
13881 PyObject *resultobj;
13882 wxGrid *arg1 = (wxGrid *) 0 ;
13883 wxGridCellCoords *arg2 = 0 ;
13884 wxGridCellCoords *arg3 = 0 ;
13885 wxRect result;
13886 wxGridCellCoords temp2 ;
13887 wxGridCellCoords temp3 ;
13888 PyObject * obj0 = 0 ;
13889 PyObject * obj1 = 0 ;
13890 PyObject * obj2 = 0 ;
13891 char *kwnames[] = {
13892 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13893 };
13894
13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_BlockToDeviceRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13898 {
13899 arg2 = &temp2;
13900 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
13901 }
13902 {
13903 arg3 = &temp3;
13904 if (! wxGridCellCoords_helper(obj2, &arg3)) SWIG_fail;
13905 }
13906 {
13907 PyThreadState* __tstate = wxPyBeginAllowThreads();
13908 result = (arg1)->BlockToDeviceRect((wxGridCellCoords const &)*arg2,(wxGridCellCoords const &)*arg3);
13909
13910 wxPyEndAllowThreads(__tstate);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 {
13914 wxRect * resultptr;
13915 resultptr = new wxRect((wxRect &) result);
15afbcd0 13916 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
13917 }
13918 return resultobj;
13919 fail:
13920 return NULL;
13921}
13922
13923
13924static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13925 PyObject *resultobj;
13926 wxGrid *arg1 = (wxGrid *) 0 ;
13927 wxColour result;
13928 PyObject * obj0 = 0 ;
13929 char *kwnames[] = {
13930 (char *) "self", NULL
13931 };
13932
13933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
13934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13936 {
13937 PyThreadState* __tstate = wxPyBeginAllowThreads();
13938 result = ((wxGrid const *)arg1)->GetSelectionBackground();
13939
13940 wxPyEndAllowThreads(__tstate);
13941 if (PyErr_Occurred()) SWIG_fail;
13942 }
13943 {
13944 wxColour * resultptr;
13945 resultptr = new wxColour((wxColour &) result);
15afbcd0 13946 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13947 }
13948 return resultobj;
13949 fail:
13950 return NULL;
13951}
13952
13953
13954static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13955 PyObject *resultobj;
13956 wxGrid *arg1 = (wxGrid *) 0 ;
13957 wxColour result;
13958 PyObject * obj0 = 0 ;
13959 char *kwnames[] = {
13960 (char *) "self", NULL
13961 };
13962
13963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionForeground",kwnames,&obj0)) goto fail;
15afbcd0
RD
13964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13966 {
13967 PyThreadState* __tstate = wxPyBeginAllowThreads();
13968 result = ((wxGrid const *)arg1)->GetSelectionForeground();
13969
13970 wxPyEndAllowThreads(__tstate);
13971 if (PyErr_Occurred()) SWIG_fail;
13972 }
13973 {
13974 wxColour * resultptr;
13975 resultptr = new wxColour((wxColour &) result);
15afbcd0 13976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13977 }
13978 return resultobj;
13979 fail:
13980 return NULL;
13981}
13982
13983
13984static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13985 PyObject *resultobj;
13986 wxGrid *arg1 = (wxGrid *) 0 ;
13987 wxColour *arg2 = 0 ;
13988 wxColour temp2 ;
13989 PyObject * obj0 = 0 ;
13990 PyObject * obj1 = 0 ;
13991 char *kwnames[] = {
13992 (char *) "self",(char *) "c", NULL
13993 };
13994
13995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13998 {
13999 arg2 = &temp2;
14000 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14001 }
14002 {
14003 PyThreadState* __tstate = wxPyBeginAllowThreads();
14004 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
14005
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 Py_INCREF(Py_None); resultobj = Py_None;
14010 return resultobj;
14011 fail:
14012 return NULL;
14013}
14014
14015
14016static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
14017 PyObject *resultobj;
14018 wxGrid *arg1 = (wxGrid *) 0 ;
14019 wxColour *arg2 = 0 ;
14020 wxColour temp2 ;
14021 PyObject * obj0 = 0 ;
14022 PyObject * obj1 = 0 ;
14023 char *kwnames[] = {
14024 (char *) "self",(char *) "c", NULL
14025 };
14026
14027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionForeground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14030 {
14031 arg2 = &temp2;
14032 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14033 }
14034 {
14035 PyThreadState* __tstate = wxPyBeginAllowThreads();
14036 (arg1)->SetSelectionForeground((wxColour const &)*arg2);
14037
14038 wxPyEndAllowThreads(__tstate);
14039 if (PyErr_Occurred()) SWIG_fail;
14040 }
14041 Py_INCREF(Py_None); resultobj = Py_None;
14042 return resultobj;
14043 fail:
14044 return NULL;
14045}
14046
14047
14048static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
14049 PyObject *resultobj;
14050 wxGrid *arg1 = (wxGrid *) 0 ;
14051 wxString *arg2 = 0 ;
14052 wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
14053 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
e811c8ce 14054 bool temp2 = False ;
d14a1e28
RD
14055 PyObject * obj0 = 0 ;
14056 PyObject * obj1 = 0 ;
14057 PyObject * obj2 = 0 ;
14058 PyObject * obj3 = 0 ;
14059 char *kwnames[] = {
14060 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
14061 };
14062
14063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_RegisterDataType",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14066 {
14067 arg2 = wxString_in_helper(obj1);
14068 if (arg2 == NULL) SWIG_fail;
e811c8ce 14069 temp2 = True;
d14a1e28 14070 }
15afbcd0
RD
14071 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellRenderer,
14072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14073 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
14074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14075 {
14076 PyThreadState* __tstate = wxPyBeginAllowThreads();
14077 (arg1)->RegisterDataType((wxString const &)*arg2,arg3,arg4);
14078
14079 wxPyEndAllowThreads(__tstate);
14080 if (PyErr_Occurred()) SWIG_fail;
14081 }
14082 Py_INCREF(Py_None); resultobj = Py_None;
14083 {
14084 if (temp2)
14085 delete arg2;
14086 }
14087 return resultobj;
14088 fail:
14089 {
14090 if (temp2)
14091 delete arg2;
14092 }
14093 return NULL;
14094}
14095
14096
14097static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
14098 PyObject *resultobj;
14099 wxGrid *arg1 = (wxGrid *) 0 ;
14100 int arg2 ;
14101 int arg3 ;
14102 wxGridCellEditor *result;
14103 PyObject * obj0 = 0 ;
994141e6
RD
14104 PyObject * obj1 = 0 ;
14105 PyObject * obj2 = 0 ;
d14a1e28
RD
14106 char *kwnames[] = {
14107 (char *) "self",(char *) "row",(char *) "col", NULL
14108 };
14109
994141e6 14110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14113 arg2 = (int) SWIG_AsInt(obj1);
14114 if (PyErr_Occurred()) SWIG_fail;
14115 arg3 = (int) SWIG_AsInt(obj2);
14116 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14117 {
14118 PyThreadState* __tstate = wxPyBeginAllowThreads();
14119 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForCell(arg2,arg3);
14120
14121 wxPyEndAllowThreads(__tstate);
14122 if (PyErr_Occurred()) SWIG_fail;
14123 }
14124 {
14125 resultobj = wxPyMake_wxGridCellEditor(result);
14126 }
14127 return resultobj;
14128 fail:
14129 return NULL;
14130}
14131
14132
14133static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
14134 PyObject *resultobj;
14135 wxGrid *arg1 = (wxGrid *) 0 ;
14136 int arg2 ;
14137 int arg3 ;
14138 wxGridCellRenderer *result;
14139 PyObject * obj0 = 0 ;
994141e6
RD
14140 PyObject * obj1 = 0 ;
14141 PyObject * obj2 = 0 ;
d14a1e28
RD
14142 char *kwnames[] = {
14143 (char *) "self",(char *) "row",(char *) "col", NULL
14144 };
14145
994141e6 14146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14149 arg2 = (int) SWIG_AsInt(obj1);
14150 if (PyErr_Occurred()) SWIG_fail;
14151 arg3 = (int) SWIG_AsInt(obj2);
14152 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14153 {
14154 PyThreadState* __tstate = wxPyBeginAllowThreads();
14155 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForCell(arg2,arg3);
14156
14157 wxPyEndAllowThreads(__tstate);
14158 if (PyErr_Occurred()) SWIG_fail;
14159 }
14160 {
14161 resultobj = wxPyMake_wxGridCellRenderer(result);
14162 }
14163 return resultobj;
14164 fail:
14165 return NULL;
14166}
14167
14168
14169static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
14170 PyObject *resultobj;
14171 wxGrid *arg1 = (wxGrid *) 0 ;
14172 wxString *arg2 = 0 ;
14173 wxGridCellEditor *result;
e811c8ce 14174 bool temp2 = False ;
d14a1e28
RD
14175 PyObject * obj0 = 0 ;
14176 PyObject * obj1 = 0 ;
14177 char *kwnames[] = {
14178 (char *) "self",(char *) "typeName", NULL
14179 };
14180
14181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultEditorForType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14184 {
14185 arg2 = wxString_in_helper(obj1);
14186 if (arg2 == NULL) SWIG_fail;
e811c8ce 14187 temp2 = True;
d14a1e28
RD
14188 }
14189 {
14190 PyThreadState* __tstate = wxPyBeginAllowThreads();
14191 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForType((wxString const &)*arg2);
14192
14193 wxPyEndAllowThreads(__tstate);
14194 if (PyErr_Occurred()) SWIG_fail;
14195 }
14196 {
14197 resultobj = wxPyMake_wxGridCellEditor(result);
14198 }
14199 {
14200 if (temp2)
14201 delete arg2;
14202 }
14203 return resultobj;
14204 fail:
14205 {
14206 if (temp2)
14207 delete arg2;
14208 }
14209 return NULL;
14210}
14211
14212
14213static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
14214 PyObject *resultobj;
14215 wxGrid *arg1 = (wxGrid *) 0 ;
14216 wxString *arg2 = 0 ;
14217 wxGridCellRenderer *result;
e811c8ce 14218 bool temp2 = False ;
d14a1e28
RD
14219 PyObject * obj0 = 0 ;
14220 PyObject * obj1 = 0 ;
14221 char *kwnames[] = {
14222 (char *) "self",(char *) "typeName", NULL
14223 };
14224
14225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultRendererForType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14228 {
14229 arg2 = wxString_in_helper(obj1);
14230 if (arg2 == NULL) SWIG_fail;
e811c8ce 14231 temp2 = True;
d14a1e28
RD
14232 }
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForType((wxString const &)*arg2);
14236
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
14240 {
14241 resultobj = wxPyMake_wxGridCellRenderer(result);
14242 }
14243 {
14244 if (temp2)
14245 delete arg2;
14246 }
14247 return resultobj;
14248 fail:
14249 {
14250 if (temp2)
14251 delete arg2;
14252 }
14253 return NULL;
14254}
14255
14256
14257static PyObject *_wrap_Grid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14258 PyObject *resultobj;
14259 wxGrid *arg1 = (wxGrid *) 0 ;
14260 int arg2 ;
14261 int arg3 ;
14262 PyObject * obj0 = 0 ;
994141e6
RD
14263 PyObject * obj1 = 0 ;
14264 PyObject * obj2 = 0 ;
d14a1e28
RD
14265 char *kwnames[] = {
14266 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14267 };
14268
994141e6 14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14272 arg2 = (int) SWIG_AsInt(obj1);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 arg3 = (int) SWIG_AsInt(obj2);
14275 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14276 {
14277 PyThreadState* __tstate = wxPyBeginAllowThreads();
14278 (arg1)->SetMargins(arg2,arg3);
14279
14280 wxPyEndAllowThreads(__tstate);
14281 if (PyErr_Occurred()) SWIG_fail;
14282 }
14283 Py_INCREF(Py_None); resultobj = Py_None;
14284 return resultobj;
14285 fail:
14286 return NULL;
14287}
14288
14289
14290static PyObject *_wrap_Grid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj;
14292 wxGrid *arg1 = (wxGrid *) 0 ;
14293 wxWindow *result;
14294 PyObject * obj0 = 0 ;
14295 char *kwnames[] = {
14296 (char *) "self", NULL
14297 };
14298
14299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridWindow",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
14304 result = (wxWindow *)(arg1)->GetGridWindow();
14305
14306 wxPyEndAllowThreads(__tstate);
14307 if (PyErr_Occurred()) SWIG_fail;
14308 }
14309 {
14310 resultobj = wxPyMake_wxObject(result);
14311 }
14312 return resultobj;
14313 fail:
14314 return NULL;
14315}
14316
14317
14318static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14319 PyObject *resultobj;
14320 wxGrid *arg1 = (wxGrid *) 0 ;
14321 wxWindow *result;
14322 PyObject * obj0 = 0 ;
14323 char *kwnames[] = {
14324 (char *) "self", NULL
14325 };
14326
14327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridRowLabelWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14330 {
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 result = (wxWindow *)(arg1)->GetGridRowLabelWindow();
14333
14334 wxPyEndAllowThreads(__tstate);
14335 if (PyErr_Occurred()) SWIG_fail;
14336 }
14337 {
14338 resultobj = wxPyMake_wxObject(result);
14339 }
14340 return resultobj;
14341 fail:
14342 return NULL;
14343}
14344
14345
14346static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14347 PyObject *resultobj;
14348 wxGrid *arg1 = (wxGrid *) 0 ;
14349 wxWindow *result;
14350 PyObject * obj0 = 0 ;
14351 char *kwnames[] = {
14352 (char *) "self", NULL
14353 };
14354
14355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridColLabelWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14358 {
14359 PyThreadState* __tstate = wxPyBeginAllowThreads();
14360 result = (wxWindow *)(arg1)->GetGridColLabelWindow();
14361
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 {
14366 resultobj = wxPyMake_wxObject(result);
14367 }
14368 return resultobj;
14369 fail:
14370 return NULL;
14371}
14372
14373
14374static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14375 PyObject *resultobj;
14376 wxGrid *arg1 = (wxGrid *) 0 ;
14377 wxWindow *result;
14378 PyObject * obj0 = 0 ;
14379 char *kwnames[] = {
14380 (char *) "self", NULL
14381 };
14382
14383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14386 {
14387 PyThreadState* __tstate = wxPyBeginAllowThreads();
14388 result = (wxWindow *)(arg1)->GetGridCornerLabelWindow();
14389
14390 wxPyEndAllowThreads(__tstate);
14391 if (PyErr_Occurred()) SWIG_fail;
14392 }
14393 {
14394 resultobj = wxPyMake_wxObject(result);
14395 }
14396 return resultobj;
14397 fail:
14398 return NULL;
14399}
14400
14401
22bfe96c
RD
14402static PyObject *_wrap_Grid_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14403 PyObject *resultobj;
14404 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14405 wxVisualAttributes result;
14406 PyObject * obj0 = 0 ;
14407 char *kwnames[] = {
14408 (char *) "variant", NULL
14409 };
14410
14411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14412 if (obj0) {
14413 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
14416 {
e3b71cb8 14417 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
14418 PyThreadState* __tstate = wxPyBeginAllowThreads();
14419 result = wxGrid::GetClassDefaultAttributes((wxWindowVariant )arg1);
14420
14421 wxPyEndAllowThreads(__tstate);
e3b71cb8 14422 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
14423 }
14424 {
14425 wxVisualAttributes * resultptr;
14426 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14427 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14428 }
14429 return resultobj;
14430 fail:
14431 return NULL;
14432}
14433
14434
d14a1e28
RD
14435static PyObject * Grid_swigregister(PyObject *self, PyObject *args) {
14436 PyObject *obj;
14437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14438 SWIG_TypeClientData(SWIGTYPE_p_wxGrid, obj);
14439 Py_INCREF(obj);
14440 return Py_BuildValue((char *)"");
14441}
14442static PyObject *_wrap_new_GridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14443 PyObject *resultobj;
14444 int arg1 ;
14445 wxEventType arg2 ;
14446 wxGrid *arg3 = (wxGrid *) 0 ;
14447 int arg4 = (int) -1 ;
14448 int arg5 = (int) -1 ;
14449 int arg6 = (int) -1 ;
14450 int arg7 = (int) -1 ;
e811c8ce
RD
14451 bool arg8 = (bool) True ;
14452 bool arg9 = (bool) False ;
14453 bool arg10 = (bool) False ;
14454 bool arg11 = (bool) False ;
14455 bool arg12 = (bool) False ;
d14a1e28 14456 wxGridEvent *result;
994141e6
RD
14457 PyObject * obj0 = 0 ;
14458 PyObject * obj1 = 0 ;
d14a1e28 14459 PyObject * obj2 = 0 ;
994141e6
RD
14460 PyObject * obj3 = 0 ;
14461 PyObject * obj4 = 0 ;
14462 PyObject * obj5 = 0 ;
14463 PyObject * obj6 = 0 ;
d14a1e28
RD
14464 PyObject * obj7 = 0 ;
14465 PyObject * obj8 = 0 ;
14466 PyObject * obj9 = 0 ;
14467 PyObject * obj10 = 0 ;
14468 PyObject * obj11 = 0 ;
14469 char *kwnames[] = {
14470 (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
14471 };
14472
994141e6 14473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOOOO:new_GridEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) goto fail;
15afbcd0
RD
14474 arg1 = (int) SWIG_AsInt(obj0);
14475 if (PyErr_Occurred()) SWIG_fail;
14476 arg2 = (wxEventType) SWIG_AsInt(obj1);
14477 if (PyErr_Occurred()) SWIG_fail;
14478 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 14480 if (obj3) {
15afbcd0
RD
14481 arg4 = (int) SWIG_AsInt(obj3);
14482 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14483 }
14484 if (obj4) {
15afbcd0
RD
14485 arg5 = (int) SWIG_AsInt(obj4);
14486 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14487 }
14488 if (obj5) {
15afbcd0
RD
14489 arg6 = (int) SWIG_AsInt(obj5);
14490 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14491 }
14492 if (obj6) {
15afbcd0
RD
14493 arg7 = (int) SWIG_AsInt(obj6);
14494 if (PyErr_Occurred()) SWIG_fail;
994141e6 14495 }
d14a1e28 14496 if (obj7) {
15afbcd0
RD
14497 arg8 = (bool) SWIG_AsBool(obj7);
14498 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14499 }
14500 if (obj8) {
15afbcd0
RD
14501 arg9 = (bool) SWIG_AsBool(obj8);
14502 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14503 }
14504 if (obj9) {
15afbcd0
RD
14505 arg10 = (bool) SWIG_AsBool(obj9);
14506 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14507 }
14508 if (obj10) {
15afbcd0
RD
14509 arg11 = (bool) SWIG_AsBool(obj10);
14510 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14511 }
14512 if (obj11) {
15afbcd0
RD
14513 arg12 = (bool) SWIG_AsBool(obj11);
14514 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14515 }
14516 {
14517 PyThreadState* __tstate = wxPyBeginAllowThreads();
14518 result = (wxGridEvent *)new wxGridEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
14519
14520 wxPyEndAllowThreads(__tstate);
14521 if (PyErr_Occurred()) SWIG_fail;
14522 }
15afbcd0 14523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEvent, 1);
d14a1e28
RD
14524 return resultobj;
14525 fail:
14526 return NULL;
14527}
14528
14529
14530static PyObject *_wrap_GridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14531 PyObject *resultobj;
14532 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14533 int result;
14534 PyObject * obj0 = 0 ;
14535 char *kwnames[] = {
14536 (char *) "self", NULL
14537 };
14538
14539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14542 {
14543 PyThreadState* __tstate = wxPyBeginAllowThreads();
14544 result = (int)(arg1)->GetRow();
14545
14546 wxPyEndAllowThreads(__tstate);
14547 if (PyErr_Occurred()) SWIG_fail;
14548 }
15afbcd0 14549 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14550 return resultobj;
14551 fail:
14552 return NULL;
14553}
14554
14555
14556static PyObject *_wrap_GridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14557 PyObject *resultobj;
14558 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14559 int result;
14560 PyObject * obj0 = 0 ;
14561 char *kwnames[] = {
14562 (char *) "self", NULL
14563 };
14564
14565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
14566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14568 {
14569 PyThreadState* __tstate = wxPyBeginAllowThreads();
14570 result = (int)(arg1)->GetCol();
14571
14572 wxPyEndAllowThreads(__tstate);
14573 if (PyErr_Occurred()) SWIG_fail;
14574 }
15afbcd0 14575 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14576 return resultobj;
14577 fail:
14578 return NULL;
14579}
14580
14581
14582static PyObject *_wrap_GridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14583 PyObject *resultobj;
14584 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14585 wxPoint result;
14586 PyObject * obj0 = 0 ;
14587 char *kwnames[] = {
14588 (char *) "self", NULL
14589 };
14590
14591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
14592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14594 {
14595 PyThreadState* __tstate = wxPyBeginAllowThreads();
14596 result = (arg1)->GetPosition();
14597
14598 wxPyEndAllowThreads(__tstate);
14599 if (PyErr_Occurred()) SWIG_fail;
14600 }
14601 {
14602 wxPoint * resultptr;
14603 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14604 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14605 }
14606 return resultobj;
14607 fail:
14608 return NULL;
14609}
14610
14611
14612static PyObject *_wrap_GridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
14613 PyObject *resultobj;
14614 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14615 bool result;
14616 PyObject * obj0 = 0 ;
14617 char *kwnames[] = {
14618 (char *) "self", NULL
14619 };
14620
14621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_Selecting",kwnames,&obj0)) goto fail;
15afbcd0
RD
14622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14624 {
14625 PyThreadState* __tstate = wxPyBeginAllowThreads();
14626 result = (bool)(arg1)->Selecting();
14627
14628 wxPyEndAllowThreads(__tstate);
14629 if (PyErr_Occurred()) SWIG_fail;
14630 }
4f89f6a3
RD
14631 {
14632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14633 }
d14a1e28
RD
14634 return resultobj;
14635 fail:
14636 return NULL;
14637}
14638
14639
14640static PyObject *_wrap_GridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14641 PyObject *resultobj;
14642 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14643 bool result;
14644 PyObject * obj0 = 0 ;
14645 char *kwnames[] = {
14646 (char *) "self", NULL
14647 };
14648
14649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14652 {
14653 PyThreadState* __tstate = wxPyBeginAllowThreads();
14654 result = (bool)(arg1)->ControlDown();
14655
14656 wxPyEndAllowThreads(__tstate);
14657 if (PyErr_Occurred()) SWIG_fail;
14658 }
4f89f6a3
RD
14659 {
14660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14661 }
d14a1e28
RD
14662 return resultobj;
14663 fail:
14664 return NULL;
14665}
14666
14667
14668static PyObject *_wrap_GridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14669 PyObject *resultobj;
14670 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14671 bool result;
14672 PyObject * obj0 = 0 ;
14673 char *kwnames[] = {
14674 (char *) "self", NULL
14675 };
14676
14677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14680 {
14681 PyThreadState* __tstate = wxPyBeginAllowThreads();
14682 result = (bool)(arg1)->MetaDown();
14683
14684 wxPyEndAllowThreads(__tstate);
14685 if (PyErr_Occurred()) SWIG_fail;
14686 }
4f89f6a3
RD
14687 {
14688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14689 }
d14a1e28
RD
14690 return resultobj;
14691 fail:
14692 return NULL;
14693}
14694
14695
14696static PyObject *_wrap_GridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14697 PyObject *resultobj;
14698 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14699 bool result;
14700 PyObject * obj0 = 0 ;
14701 char *kwnames[] = {
14702 (char *) "self", NULL
14703 };
14704
14705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14708 {
14709 PyThreadState* __tstate = wxPyBeginAllowThreads();
14710 result = (bool)(arg1)->ShiftDown();
14711
14712 wxPyEndAllowThreads(__tstate);
14713 if (PyErr_Occurred()) SWIG_fail;
14714 }
4f89f6a3
RD
14715 {
14716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14717 }
d14a1e28
RD
14718 return resultobj;
14719 fail:
14720 return NULL;
14721}
14722
14723
14724static PyObject *_wrap_GridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14725 PyObject *resultobj;
14726 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14727 bool result;
14728 PyObject * obj0 = 0 ;
14729 char *kwnames[] = {
14730 (char *) "self", NULL
14731 };
14732
14733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14736 {
14737 PyThreadState* __tstate = wxPyBeginAllowThreads();
14738 result = (bool)(arg1)->AltDown();
14739
14740 wxPyEndAllowThreads(__tstate);
14741 if (PyErr_Occurred()) SWIG_fail;
14742 }
4f89f6a3
RD
14743 {
14744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14745 }
d14a1e28
RD
14746 return resultobj;
14747 fail:
14748 return NULL;
14749}
14750
14751
14752static PyObject * GridEvent_swigregister(PyObject *self, PyObject *args) {
14753 PyObject *obj;
14754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14755 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent, obj);
14756 Py_INCREF(obj);
14757 return Py_BuildValue((char *)"");
14758}
14759static PyObject *_wrap_new_GridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14760 PyObject *resultobj;
14761 int arg1 ;
14762 wxEventType arg2 ;
14763 wxGrid *arg3 = (wxGrid *) 0 ;
14764 int arg4 = (int) -1 ;
14765 int arg5 = (int) -1 ;
14766 int arg6 = (int) -1 ;
e811c8ce
RD
14767 bool arg7 = (bool) False ;
14768 bool arg8 = (bool) False ;
14769 bool arg9 = (bool) False ;
14770 bool arg10 = (bool) False ;
d14a1e28 14771 wxGridSizeEvent *result;
994141e6
RD
14772 PyObject * obj0 = 0 ;
14773 PyObject * obj1 = 0 ;
d14a1e28 14774 PyObject * obj2 = 0 ;
994141e6
RD
14775 PyObject * obj3 = 0 ;
14776 PyObject * obj4 = 0 ;
14777 PyObject * obj5 = 0 ;
d14a1e28
RD
14778 PyObject * obj6 = 0 ;
14779 PyObject * obj7 = 0 ;
14780 PyObject * obj8 = 0 ;
14781 PyObject * obj9 = 0 ;
14782 char *kwnames[] = {
14783 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14784 };
14785
994141e6 14786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
14787 arg1 = (int) SWIG_AsInt(obj0);
14788 if (PyErr_Occurred()) SWIG_fail;
14789 arg2 = (wxEventType) SWIG_AsInt(obj1);
14790 if (PyErr_Occurred()) SWIG_fail;
14791 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 14793 if (obj3) {
15afbcd0
RD
14794 arg4 = (int) SWIG_AsInt(obj3);
14795 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14796 }
14797 if (obj4) {
15afbcd0
RD
14798 arg5 = (int) SWIG_AsInt(obj4);
14799 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14800 }
14801 if (obj5) {
15afbcd0
RD
14802 arg6 = (int) SWIG_AsInt(obj5);
14803 if (PyErr_Occurred()) SWIG_fail;
994141e6 14804 }
d14a1e28 14805 if (obj6) {
15afbcd0
RD
14806 arg7 = (bool) SWIG_AsBool(obj6);
14807 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14808 }
14809 if (obj7) {
15afbcd0
RD
14810 arg8 = (bool) SWIG_AsBool(obj7);
14811 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14812 }
14813 if (obj8) {
15afbcd0
RD
14814 arg9 = (bool) SWIG_AsBool(obj8);
14815 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14816 }
14817 if (obj9) {
15afbcd0
RD
14818 arg10 = (bool) SWIG_AsBool(obj9);
14819 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14820 }
14821 {
14822 PyThreadState* __tstate = wxPyBeginAllowThreads();
14823 result = (wxGridSizeEvent *)new wxGridSizeEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
14824
14825 wxPyEndAllowThreads(__tstate);
14826 if (PyErr_Occurred()) SWIG_fail;
14827 }
15afbcd0 14828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizeEvent, 1);
d14a1e28
RD
14829 return resultobj;
14830 fail:
14831 return NULL;
14832}
14833
14834
14835static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14836 PyObject *resultobj;
14837 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14838 int result;
14839 PyObject * obj0 = 0 ;
14840 char *kwnames[] = {
14841 (char *) "self", NULL
14842 };
14843
14844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
14845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14847 {
14848 PyThreadState* __tstate = wxPyBeginAllowThreads();
14849 result = (int)(arg1)->GetRowOrCol();
14850
14851 wxPyEndAllowThreads(__tstate);
14852 if (PyErr_Occurred()) SWIG_fail;
14853 }
15afbcd0 14854 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14855 return resultobj;
14856 fail:
14857 return NULL;
14858}
14859
14860
14861static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14862 PyObject *resultobj;
14863 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14864 wxPoint result;
14865 PyObject * obj0 = 0 ;
14866 char *kwnames[] = {
14867 (char *) "self", NULL
14868 };
14869
14870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
14871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14873 {
14874 PyThreadState* __tstate = wxPyBeginAllowThreads();
14875 result = (arg1)->GetPosition();
14876
14877 wxPyEndAllowThreads(__tstate);
14878 if (PyErr_Occurred()) SWIG_fail;
14879 }
14880 {
14881 wxPoint * resultptr;
14882 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14884 }
14885 return resultobj;
14886 fail:
14887 return NULL;
14888}
14889
14890
14891static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14892 PyObject *resultobj;
14893 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14894 bool result;
14895 PyObject * obj0 = 0 ;
14896 char *kwnames[] = {
14897 (char *) "self", NULL
14898 };
14899
14900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14903 {
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 result = (bool)(arg1)->ControlDown();
14906
14907 wxPyEndAllowThreads(__tstate);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
4f89f6a3
RD
14910 {
14911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14912 }
d14a1e28
RD
14913 return resultobj;
14914 fail:
14915 return NULL;
14916}
14917
14918
14919static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14920 PyObject *resultobj;
14921 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14922 bool result;
14923 PyObject * obj0 = 0 ;
14924 char *kwnames[] = {
14925 (char *) "self", NULL
14926 };
14927
14928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14931 {
14932 PyThreadState* __tstate = wxPyBeginAllowThreads();
14933 result = (bool)(arg1)->MetaDown();
14934
14935 wxPyEndAllowThreads(__tstate);
14936 if (PyErr_Occurred()) SWIG_fail;
14937 }
4f89f6a3
RD
14938 {
14939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14940 }
d14a1e28
RD
14941 return resultobj;
14942 fail:
14943 return NULL;
14944}
14945
14946
14947static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14948 PyObject *resultobj;
14949 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14950 bool result;
14951 PyObject * obj0 = 0 ;
14952 char *kwnames[] = {
14953 (char *) "self", NULL
14954 };
14955
14956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14959 {
14960 PyThreadState* __tstate = wxPyBeginAllowThreads();
14961 result = (bool)(arg1)->ShiftDown();
14962
14963 wxPyEndAllowThreads(__tstate);
14964 if (PyErr_Occurred()) SWIG_fail;
14965 }
4f89f6a3
RD
14966 {
14967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14968 }
d14a1e28
RD
14969 return resultobj;
14970 fail:
14971 return NULL;
14972}
14973
14974
14975static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14976 PyObject *resultobj;
14977 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14978 bool result;
14979 PyObject * obj0 = 0 ;
14980 char *kwnames[] = {
14981 (char *) "self", NULL
14982 };
14983
14984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14987 {
14988 PyThreadState* __tstate = wxPyBeginAllowThreads();
14989 result = (bool)(arg1)->AltDown();
14990
14991 wxPyEndAllowThreads(__tstate);
14992 if (PyErr_Occurred()) SWIG_fail;
14993 }
4f89f6a3
RD
14994 {
14995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14996 }
d14a1e28
RD
14997 return resultobj;
14998 fail:
14999 return NULL;
15000}
15001
15002
15003static PyObject * GridSizeEvent_swigregister(PyObject *self, PyObject *args) {
15004 PyObject *obj;
15005 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15006 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent, obj);
15007 Py_INCREF(obj);
15008 return Py_BuildValue((char *)"");
15009}
15010static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15011 PyObject *resultobj;
15012 int arg1 ;
15013 wxEventType arg2 ;
15014 wxGrid *arg3 = (wxGrid *) 0 ;
15015 wxGridCellCoords *arg4 = 0 ;
15016 wxGridCellCoords *arg5 = 0 ;
e811c8ce
RD
15017 bool arg6 = (bool) True ;
15018 bool arg7 = (bool) False ;
15019 bool arg8 = (bool) False ;
15020 bool arg9 = (bool) False ;
15021 bool arg10 = (bool) False ;
d14a1e28
RD
15022 wxGridRangeSelectEvent *result;
15023 wxGridCellCoords temp4 ;
15024 wxGridCellCoords temp5 ;
994141e6
RD
15025 PyObject * obj0 = 0 ;
15026 PyObject * obj1 = 0 ;
d14a1e28
RD
15027 PyObject * obj2 = 0 ;
15028 PyObject * obj3 = 0 ;
15029 PyObject * obj4 = 0 ;
15030 PyObject * obj5 = 0 ;
15031 PyObject * obj6 = 0 ;
15032 PyObject * obj7 = 0 ;
15033 PyObject * obj8 = 0 ;
15034 PyObject * obj9 = 0 ;
15035 char *kwnames[] = {
15036 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
15037 };
15038
994141e6 15039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
15040 arg1 = (int) SWIG_AsInt(obj0);
15041 if (PyErr_Occurred()) SWIG_fail;
15042 arg2 = (wxEventType) SWIG_AsInt(obj1);
15043 if (PyErr_Occurred()) SWIG_fail;
15044 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
15045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15046 {
15047 arg4 = &temp4;
15048 if (! wxGridCellCoords_helper(obj3, &arg4)) SWIG_fail;
15049 }
15050 {
15051 arg5 = &temp5;
15052 if (! wxGridCellCoords_helper(obj4, &arg5)) SWIG_fail;
15053 }
15054 if (obj5) {
15afbcd0
RD
15055 arg6 = (bool) SWIG_AsBool(obj5);
15056 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15057 }
15058 if (obj6) {
15afbcd0
RD
15059 arg7 = (bool) SWIG_AsBool(obj6);
15060 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15061 }
15062 if (obj7) {
15afbcd0
RD
15063 arg8 = (bool) SWIG_AsBool(obj7);
15064 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15065 }
15066 if (obj8) {
15afbcd0
RD
15067 arg9 = (bool) SWIG_AsBool(obj8);
15068 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15069 }
15070 if (obj9) {
15afbcd0
RD
15071 arg10 = (bool) SWIG_AsBool(obj9);
15072 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15073 }
15074 {
15075 PyThreadState* __tstate = wxPyBeginAllowThreads();
15076 result = (wxGridRangeSelectEvent *)new wxGridRangeSelectEvent(arg1,arg2,arg3,(wxGridCellCoords const &)*arg4,(wxGridCellCoords const &)*arg5,arg6,arg7,arg8,arg9,arg10);
15077
15078 wxPyEndAllowThreads(__tstate);
15079 if (PyErr_Occurred()) SWIG_fail;
15080 }
15afbcd0 15081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridRangeSelectEvent, 1);
d14a1e28
RD
15082 return resultobj;
15083 fail:
15084 return NULL;
15085}
15086
15087
15088static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
15089 PyObject *resultobj;
15090 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15091 wxGridCellCoords result;
15092 PyObject * obj0 = 0 ;
15093 char *kwnames[] = {
15094 (char *) "self", NULL
15095 };
15096
15097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames,&obj0)) goto fail;
15afbcd0
RD
15098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15100 {
15101 PyThreadState* __tstate = wxPyBeginAllowThreads();
15102 result = (arg1)->GetTopLeftCoords();
15103
15104 wxPyEndAllowThreads(__tstate);
15105 if (PyErr_Occurred()) SWIG_fail;
15106 }
15107 {
15108 wxGridCellCoords * resultptr;
15109 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15afbcd0 15110 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
15111 }
15112 return resultobj;
15113 fail:
15114 return NULL;
15115}
15116
15117
15118static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
15119 PyObject *resultobj;
15120 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15121 wxGridCellCoords result;
15122 PyObject * obj0 = 0 ;
15123 char *kwnames[] = {
15124 (char *) "self", NULL
15125 };
15126
15127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames,&obj0)) goto fail;
15afbcd0
RD
15128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
15132 result = (arg1)->GetBottomRightCoords();
15133
15134 wxPyEndAllowThreads(__tstate);
15135 if (PyErr_Occurred()) SWIG_fail;
15136 }
15137 {
15138 wxGridCellCoords * resultptr;
15139 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15afbcd0 15140 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
15141 }
15142 return resultobj;
15143 fail:
15144 return NULL;
15145}
15146
15147
15148static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15149 PyObject *resultobj;
15150 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15151 int result;
15152 PyObject * obj0 = 0 ;
15153 char *kwnames[] = {
15154 (char *) "self", NULL
15155 };
15156
15157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15160 {
15161 PyThreadState* __tstate = wxPyBeginAllowThreads();
15162 result = (int)(arg1)->GetTopRow();
15163
15164 wxPyEndAllowThreads(__tstate);
15165 if (PyErr_Occurred()) SWIG_fail;
15166 }
15afbcd0 15167 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15168 return resultobj;
15169 fail:
15170 return NULL;
15171}
15172
15173
15174static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15175 PyObject *resultobj;
15176 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15177 int result;
15178 PyObject * obj0 = 0 ;
15179 char *kwnames[] = {
15180 (char *) "self", NULL
15181 };
15182
15183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 result = (int)(arg1)->GetBottomRow();
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15afbcd0 15193 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15194 return resultobj;
15195 fail:
15196 return NULL;
15197}
15198
15199
15200static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15201 PyObject *resultobj;
15202 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15203 int result;
15204 PyObject * obj0 = 0 ;
15205 char *kwnames[] = {
15206 (char *) "self", NULL
15207 };
15208
15209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
15210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15212 {
15213 PyThreadState* __tstate = wxPyBeginAllowThreads();
15214 result = (int)(arg1)->GetLeftCol();
15215
15216 wxPyEndAllowThreads(__tstate);
15217 if (PyErr_Occurred()) SWIG_fail;
15218 }
15afbcd0 15219 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15220 return resultobj;
15221 fail:
15222 return NULL;
15223}
15224
15225
15226static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15227 PyObject *resultobj;
15228 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15229 int result;
15230 PyObject * obj0 = 0 ;
15231 char *kwnames[] = {
15232 (char *) "self", NULL
15233 };
15234
15235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
15236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15238 {
15239 PyThreadState* __tstate = wxPyBeginAllowThreads();
15240 result = (int)(arg1)->GetRightCol();
15241
15242 wxPyEndAllowThreads(__tstate);
15243 if (PyErr_Occurred()) SWIG_fail;
15244 }
15afbcd0 15245 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15246 return resultobj;
15247 fail:
15248 return NULL;
15249}
15250
15251
15252static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
15253 PyObject *resultobj;
15254 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15255 bool result;
15256 PyObject * obj0 = 0 ;
15257 char *kwnames[] = {
15258 (char *) "self", NULL
15259 };
15260
15261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_Selecting",kwnames,&obj0)) goto fail;
15afbcd0
RD
15262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15264 {
15265 PyThreadState* __tstate = wxPyBeginAllowThreads();
15266 result = (bool)(arg1)->Selecting();
15267
15268 wxPyEndAllowThreads(__tstate);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
4f89f6a3
RD
15271 {
15272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15273 }
d14a1e28
RD
15274 return resultobj;
15275 fail:
15276 return NULL;
15277}
15278
15279
15280static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15281 PyObject *resultobj;
15282 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15283 bool result;
15284 PyObject * obj0 = 0 ;
15285 char *kwnames[] = {
15286 (char *) "self", NULL
15287 };
15288
15289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15292 {
15293 PyThreadState* __tstate = wxPyBeginAllowThreads();
15294 result = (bool)(arg1)->ControlDown();
15295
15296 wxPyEndAllowThreads(__tstate);
15297 if (PyErr_Occurred()) SWIG_fail;
15298 }
4f89f6a3
RD
15299 {
15300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15301 }
d14a1e28
RD
15302 return resultobj;
15303 fail:
15304 return NULL;
15305}
15306
15307
15308static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15309 PyObject *resultobj;
15310 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15311 bool result;
15312 PyObject * obj0 = 0 ;
15313 char *kwnames[] = {
15314 (char *) "self", NULL
15315 };
15316
15317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15320 {
15321 PyThreadState* __tstate = wxPyBeginAllowThreads();
15322 result = (bool)(arg1)->MetaDown();
15323
15324 wxPyEndAllowThreads(__tstate);
15325 if (PyErr_Occurred()) SWIG_fail;
15326 }
4f89f6a3
RD
15327 {
15328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15329 }
d14a1e28
RD
15330 return resultobj;
15331 fail:
15332 return NULL;
15333}
15334
15335
15336static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15337 PyObject *resultobj;
15338 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15339 bool result;
15340 PyObject * obj0 = 0 ;
15341 char *kwnames[] = {
15342 (char *) "self", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15348 {
15349 PyThreadState* __tstate = wxPyBeginAllowThreads();
15350 result = (bool)(arg1)->ShiftDown();
15351
15352 wxPyEndAllowThreads(__tstate);
15353 if (PyErr_Occurred()) SWIG_fail;
15354 }
4f89f6a3
RD
15355 {
15356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15357 }
d14a1e28
RD
15358 return resultobj;
15359 fail:
15360 return NULL;
15361}
15362
15363
15364static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15365 PyObject *resultobj;
15366 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15367 bool result;
15368 PyObject * obj0 = 0 ;
15369 char *kwnames[] = {
15370 (char *) "self", NULL
15371 };
15372
15373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 result = (bool)(arg1)->AltDown();
15379
15380 wxPyEndAllowThreads(__tstate);
15381 if (PyErr_Occurred()) SWIG_fail;
15382 }
4f89f6a3
RD
15383 {
15384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15385 }
d14a1e28
RD
15386 return resultobj;
15387 fail:
15388 return NULL;
15389}
15390
15391
15392static PyObject * GridRangeSelectEvent_swigregister(PyObject *self, PyObject *args) {
15393 PyObject *obj;
15394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15395 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent, obj);
15396 Py_INCREF(obj);
15397 return Py_BuildValue((char *)"");
15398}
15399static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15400 PyObject *resultobj;
15401 int arg1 ;
15402 wxEventType arg2 ;
15403 wxObject *arg3 = (wxObject *) 0 ;
15404 int arg4 ;
15405 int arg5 ;
15406 wxControl *arg6 = (wxControl *) 0 ;
15407 wxGridEditorCreatedEvent *result;
994141e6
RD
15408 PyObject * obj0 = 0 ;
15409 PyObject * obj1 = 0 ;
d14a1e28 15410 PyObject * obj2 = 0 ;
994141e6
RD
15411 PyObject * obj3 = 0 ;
15412 PyObject * obj4 = 0 ;
d14a1e28
RD
15413 PyObject * obj5 = 0 ;
15414 char *kwnames[] = {
15415 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15416 };
15417
994141e6 15418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15419 arg1 = (int) SWIG_AsInt(obj0);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 arg2 = (wxEventType) SWIG_AsInt(obj1);
15422 if (PyErr_Occurred()) SWIG_fail;
15423 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxObject,
15424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15425 arg4 = (int) SWIG_AsInt(obj3);
15426 if (PyErr_Occurred()) SWIG_fail;
15427 arg5 = (int) SWIG_AsInt(obj4);
15428 if (PyErr_Occurred()) SWIG_fail;
15429 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxControl,
15430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15431 {
15432 PyThreadState* __tstate = wxPyBeginAllowThreads();
15433 result = (wxGridEditorCreatedEvent *)new wxGridEditorCreatedEvent(arg1,arg2,arg3,arg4,arg5,arg6);
15434
15435 wxPyEndAllowThreads(__tstate);
15436 if (PyErr_Occurred()) SWIG_fail;
15437 }
15afbcd0 15438 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEditorCreatedEvent, 1);
d14a1e28
RD
15439 return resultobj;
15440 fail:
15441 return NULL;
15442}
15443
15444
15445static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15446 PyObject *resultobj;
15447 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15448 int result;
15449 PyObject * obj0 = 0 ;
15450 char *kwnames[] = {
15451 (char *) "self", NULL
15452 };
15453
15454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15457 {
15458 PyThreadState* __tstate = wxPyBeginAllowThreads();
15459 result = (int)(arg1)->GetRow();
15460
15461 wxPyEndAllowThreads(__tstate);
15462 if (PyErr_Occurred()) SWIG_fail;
15463 }
15afbcd0 15464 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15465 return resultobj;
15466 fail:
15467 return NULL;
15468}
15469
15470
15471static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15472 PyObject *resultobj;
15473 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15474 int result;
15475 PyObject * obj0 = 0 ;
15476 char *kwnames[] = {
15477 (char *) "self", NULL
15478 };
15479
15480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
15481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15483 {
15484 PyThreadState* __tstate = wxPyBeginAllowThreads();
15485 result = (int)(arg1)->GetCol();
15486
15487 wxPyEndAllowThreads(__tstate);
15488 if (PyErr_Occurred()) SWIG_fail;
15489 }
15afbcd0 15490 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15491 return resultobj;
15492 fail:
15493 return NULL;
15494}
15495
15496
15497static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15498 PyObject *resultobj;
15499 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15500 wxControl *result;
15501 PyObject * obj0 = 0 ;
15502 char *kwnames[] = {
15503 (char *) "self", NULL
15504 };
15505
15506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
15507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15509 {
15510 PyThreadState* __tstate = wxPyBeginAllowThreads();
15511 result = (wxControl *)(arg1)->GetControl();
15512
15513 wxPyEndAllowThreads(__tstate);
15514 if (PyErr_Occurred()) SWIG_fail;
15515 }
15516 {
15517 resultobj = wxPyMake_wxObject(result);
15518 }
15519 return resultobj;
15520 fail:
15521 return NULL;
15522}
15523
15524
15525static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15526 PyObject *resultobj;
15527 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15528 int arg2 ;
15529 PyObject * obj0 = 0 ;
994141e6 15530 PyObject * obj1 = 0 ;
d14a1e28
RD
15531 char *kwnames[] = {
15532 (char *) "self",(char *) "row", NULL
15533 };
15534
994141e6 15535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15538 arg2 = (int) SWIG_AsInt(obj1);
15539 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15540 {
15541 PyThreadState* __tstate = wxPyBeginAllowThreads();
15542 (arg1)->SetRow(arg2);
15543
15544 wxPyEndAllowThreads(__tstate);
15545 if (PyErr_Occurred()) SWIG_fail;
15546 }
15547 Py_INCREF(Py_None); resultobj = Py_None;
15548 return resultobj;
15549 fail:
15550 return NULL;
15551}
15552
15553
15554static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15555 PyObject *resultobj;
15556 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15557 int arg2 ;
15558 PyObject * obj0 = 0 ;
994141e6 15559 PyObject * obj1 = 0 ;
d14a1e28
RD
15560 char *kwnames[] = {
15561 (char *) "self",(char *) "col", NULL
15562 };
15563
994141e6 15564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15567 arg2 = (int) SWIG_AsInt(obj1);
15568 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15569 {
15570 PyThreadState* __tstate = wxPyBeginAllowThreads();
15571 (arg1)->SetCol(arg2);
15572
15573 wxPyEndAllowThreads(__tstate);
15574 if (PyErr_Occurred()) SWIG_fail;
15575 }
15576 Py_INCREF(Py_None); resultobj = Py_None;
15577 return resultobj;
15578 fail:
15579 return NULL;
15580}
15581
15582
15583static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15584 PyObject *resultobj;
15585 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15586 wxControl *arg2 = (wxControl *) 0 ;
15587 PyObject * obj0 = 0 ;
15588 PyObject * obj1 = 0 ;
15589 char *kwnames[] = {
15590 (char *) "self",(char *) "ctrl", NULL
15591 };
15592
15593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15596 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
15597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15598 {
15599 PyThreadState* __tstate = wxPyBeginAllowThreads();
15600 (arg1)->SetControl(arg2);
15601
15602 wxPyEndAllowThreads(__tstate);
15603 if (PyErr_Occurred()) SWIG_fail;
15604 }
15605 Py_INCREF(Py_None); resultobj = Py_None;
15606 return resultobj;
15607 fail:
15608 return NULL;
15609}
15610
15611
15612static PyObject * GridEditorCreatedEvent_swigregister(PyObject *self, PyObject *args) {
15613 PyObject *obj;
15614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15615 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent, obj);
15616 Py_INCREF(obj);
15617 return Py_BuildValue((char *)"");
15618}
15619static PyMethodDef SwigMethods[] = {
15620 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction) _wrap_GridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15621 { (char *)"GridCellRenderer_SetParameters", (PyCFunction) _wrap_GridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
15622 { (char *)"GridCellRenderer_IncRef", (PyCFunction) _wrap_GridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
15623 { (char *)"GridCellRenderer_DecRef", (PyCFunction) _wrap_GridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
15624 { (char *)"GridCellRenderer_Draw", (PyCFunction) _wrap_GridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
15625 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction) _wrap_GridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
15626 { (char *)"GridCellRenderer_Clone", (PyCFunction) _wrap_GridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
15627 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister, METH_VARARGS },
15628 { (char *)"new_PyGridCellRenderer", (PyCFunction) _wrap_new_PyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
15629 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_PyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15630 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_PyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15631 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister, METH_VARARGS },
15632 { (char *)"new_GridCellStringRenderer", (PyCFunction) _wrap_new_GridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
15633 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister, METH_VARARGS },
15634 { (char *)"new_GridCellNumberRenderer", (PyCFunction) _wrap_new_GridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
15635 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister, METH_VARARGS },
15636 { (char *)"new_GridCellFloatRenderer", (PyCFunction) _wrap_new_GridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
15637 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
15638 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
15639 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
15640 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
15641 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister, METH_VARARGS },
15642 { (char *)"new_GridCellBoolRenderer", (PyCFunction) _wrap_new_GridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
15643 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister, METH_VARARGS },
15644 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction) _wrap_new_GridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
15645 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister, METH_VARARGS },
15646 { (char *)"new_GridCellEnumRenderer", (PyCFunction) _wrap_new_GridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
15647 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister, METH_VARARGS },
15648 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_GridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
15649 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister, METH_VARARGS },
15650 { (char *)"GridCellEditor__setOORInfo", (PyCFunction) _wrap_GridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15651 { (char *)"GridCellEditor_IsCreated", (PyCFunction) _wrap_GridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
15652 { (char *)"GridCellEditor_GetControl", (PyCFunction) _wrap_GridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
15653 { (char *)"GridCellEditor_SetControl", (PyCFunction) _wrap_GridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
15654 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction) _wrap_GridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS },
15655 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction) _wrap_GridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS },
15656 { (char *)"GridCellEditor_SetParameters", (PyCFunction) _wrap_GridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
15657 { (char *)"GridCellEditor_IncRef", (PyCFunction) _wrap_GridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
15658 { (char *)"GridCellEditor_DecRef", (PyCFunction) _wrap_GridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
15659 { (char *)"GridCellEditor_Create", (PyCFunction) _wrap_GridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
15660 { (char *)"GridCellEditor_BeginEdit", (PyCFunction) _wrap_GridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
15661 { (char *)"GridCellEditor_EndEdit", (PyCFunction) _wrap_GridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
15662 { (char *)"GridCellEditor_Reset", (PyCFunction) _wrap_GridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
15663 { (char *)"GridCellEditor_Clone", (PyCFunction) _wrap_GridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
15664 { (char *)"GridCellEditor_SetSize", (PyCFunction) _wrap_GridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
15665 { (char *)"GridCellEditor_Show", (PyCFunction) _wrap_GridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
15666 { (char *)"GridCellEditor_PaintBackground", (PyCFunction) _wrap_GridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15667 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_GridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15668 { (char *)"GridCellEditor_StartingKey", (PyCFunction) _wrap_GridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
15669 { (char *)"GridCellEditor_StartingClick", (PyCFunction) _wrap_GridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
15670 { (char *)"GridCellEditor_HandleReturn", (PyCFunction) _wrap_GridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15671 { (char *)"GridCellEditor_Destroy", (PyCFunction) _wrap_GridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
15672 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister, METH_VARARGS },
15673 { (char *)"new_PyGridCellEditor", (PyCFunction) _wrap_new_PyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
15674 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_PyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15675 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction) _wrap_PyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
15676 { (char *)"PyGridCellEditor_base_Show", (PyCFunction) _wrap_PyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
15677 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_PyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15678 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_PyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15679 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_PyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
15680 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_PyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
15681 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_PyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15682 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction) _wrap_PyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
15683 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_PyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15684 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister, METH_VARARGS },
15685 { (char *)"new_GridCellTextEditor", (PyCFunction) _wrap_new_GridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
15686 { (char *)"GridCellTextEditor_GetValue", (PyCFunction) _wrap_GridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15687 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister, METH_VARARGS },
15688 { (char *)"new_GridCellNumberEditor", (PyCFunction) _wrap_new_GridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
15689 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction) _wrap_GridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15690 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister, METH_VARARGS },
15691 { (char *)"new_GridCellFloatEditor", (PyCFunction) _wrap_new_GridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
15692 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction) _wrap_GridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15693 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS },
15694 { (char *)"new_GridCellBoolEditor", (PyCFunction) _wrap_new_GridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
15695 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction) _wrap_GridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15696 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS },
15697 { (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
15698 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction) _wrap_GridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15699 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister, METH_VARARGS },
15700 { (char *)"new_GridCellEnumEditor", (PyCFunction) _wrap_new_GridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
15701 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction) _wrap_GridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15702 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister, METH_VARARGS },
15703 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_GridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
15704 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_GridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15705 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister, METH_VARARGS },
15706 { (char *)"GridCellAttr__setOORInfo", (PyCFunction) _wrap_GridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15707 { (char *)"new_GridCellAttr", (PyCFunction) _wrap_new_GridCellAttr, METH_VARARGS | METH_KEYWORDS },
15708 { (char *)"GridCellAttr_Clone", (PyCFunction) _wrap_GridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
15709 { (char *)"GridCellAttr_MergeWith", (PyCFunction) _wrap_GridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
15710 { (char *)"GridCellAttr_IncRef", (PyCFunction) _wrap_GridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
15711 { (char *)"GridCellAttr_DecRef", (PyCFunction) _wrap_GridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
15712 { (char *)"GridCellAttr_SetTextColour", (PyCFunction) _wrap_GridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
15713 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15714 { (char *)"GridCellAttr_SetFont", (PyCFunction) _wrap_GridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
15715 { (char *)"GridCellAttr_SetAlignment", (PyCFunction) _wrap_GridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
15716 { (char *)"GridCellAttr_SetSize", (PyCFunction) _wrap_GridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS },
15717 { (char *)"GridCellAttr_SetOverflow", (PyCFunction) _wrap_GridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS },
15718 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction) _wrap_GridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15719 { (char *)"GridCellAttr_SetRenderer", (PyCFunction) _wrap_GridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
15720 { (char *)"GridCellAttr_SetEditor", (PyCFunction) _wrap_GridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
15721 { (char *)"GridCellAttr_SetKind", (PyCFunction) _wrap_GridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
15722 { (char *)"GridCellAttr_HasTextColour", (PyCFunction) _wrap_GridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
15723 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_GridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15724 { (char *)"GridCellAttr_HasFont", (PyCFunction) _wrap_GridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
15725 { (char *)"GridCellAttr_HasAlignment", (PyCFunction) _wrap_GridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
15726 { (char *)"GridCellAttr_HasRenderer", (PyCFunction) _wrap_GridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
15727 { (char *)"GridCellAttr_HasEditor", (PyCFunction) _wrap_GridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
15728 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_GridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
15729 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction) _wrap_GridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS },
15730 { (char *)"GridCellAttr_GetTextColour", (PyCFunction) _wrap_GridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
15731 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15732 { (char *)"GridCellAttr_GetFont", (PyCFunction) _wrap_GridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
15733 { (char *)"GridCellAttr_GetAlignment", (PyCFunction) _wrap_GridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
15734 { (char *)"GridCellAttr_GetSize", (PyCFunction) _wrap_GridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS },
15735 { (char *)"GridCellAttr_GetOverflow", (PyCFunction) _wrap_GridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS },
15736 { (char *)"GridCellAttr_GetRenderer", (PyCFunction) _wrap_GridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
15737 { (char *)"GridCellAttr_GetEditor", (PyCFunction) _wrap_GridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
15738 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction) _wrap_GridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
fd2dc343 15739 { (char *)"GridCellAttr_GetKind", (PyCFunction) _wrap_GridCellAttr_GetKind, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
15740 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction) _wrap_GridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
15741 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister, METH_VARARGS },
15742 { (char *)"new_GridCellAttrProvider", (PyCFunction) _wrap_new_GridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15743 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_GridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15744 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction) _wrap_GridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
15745 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
15746 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15747 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15748 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
15749 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
15750 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister, METH_VARARGS },
15751 { (char *)"new_PyGridCellAttrProvider", (PyCFunction) _wrap_new_PyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15752 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_PyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15753 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15754 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15755 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15756 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15757 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister, METH_VARARGS },
15758 { (char *)"GridTableBase__setOORInfo", (PyCFunction) _wrap_GridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15759 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction) _wrap_GridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15760 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction) _wrap_GridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15761 { (char *)"GridTableBase_SetView", (PyCFunction) _wrap_GridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
15762 { (char *)"GridTableBase_GetView", (PyCFunction) _wrap_GridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
15763 { (char *)"GridTableBase_GetNumberRows", (PyCFunction) _wrap_GridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15764 { (char *)"GridTableBase_GetNumberCols", (PyCFunction) _wrap_GridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15765 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction) _wrap_GridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
15766 { (char *)"GridTableBase_GetValue", (PyCFunction) _wrap_GridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
15767 { (char *)"GridTableBase_SetValue", (PyCFunction) _wrap_GridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
15768 { (char *)"GridTableBase_GetTypeName", (PyCFunction) _wrap_GridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15769 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction) _wrap_GridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15770 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction) _wrap_GridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15771 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction) _wrap_GridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15772 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction) _wrap_GridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15773 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction) _wrap_GridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15774 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction) _wrap_GridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15775 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction) _wrap_GridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15776 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction) _wrap_GridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15777 { (char *)"GridTableBase_Clear", (PyCFunction) _wrap_GridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
15778 { (char *)"GridTableBase_InsertRows", (PyCFunction) _wrap_GridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
15779 { (char *)"GridTableBase_AppendRows", (PyCFunction) _wrap_GridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
15780 { (char *)"GridTableBase_DeleteRows", (PyCFunction) _wrap_GridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15781 { (char *)"GridTableBase_InsertCols", (PyCFunction) _wrap_GridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
15782 { (char *)"GridTableBase_AppendCols", (PyCFunction) _wrap_GridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
15783 { (char *)"GridTableBase_DeleteCols", (PyCFunction) _wrap_GridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15784 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction) _wrap_GridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15785 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction) _wrap_GridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15786 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction) _wrap_GridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15787 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction) _wrap_GridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15788 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction) _wrap_GridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15789 { (char *)"GridTableBase_GetAttr", (PyCFunction) _wrap_GridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
15790 { (char *)"GridTableBase_SetAttr", (PyCFunction) _wrap_GridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
15791 { (char *)"GridTableBase_SetRowAttr", (PyCFunction) _wrap_GridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15792 { (char *)"GridTableBase_SetColAttr", (PyCFunction) _wrap_GridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15793 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister, METH_VARARGS },
15794 { (char *)"new_PyGridTableBase", (PyCFunction) _wrap_new_PyGridTableBase, METH_VARARGS | METH_KEYWORDS },
15795 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_PyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15796 { (char *)"PyGridTableBase_Destroy", (PyCFunction) _wrap_PyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
15797 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_PyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15798 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15799 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15800 { (char *)"PyGridTableBase_base_Clear", (PyCFunction) _wrap_PyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
15801 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction) _wrap_PyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
15802 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction) _wrap_PyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
15803 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_PyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15804 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction) _wrap_PyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
15805 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction) _wrap_PyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
15806 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_PyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15807 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15808 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15809 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15810 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15811 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_PyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15812 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction) _wrap_PyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15813 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15814 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15815 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15816 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister, METH_VARARGS },
15817 { (char *)"new_GridStringTable", (PyCFunction) _wrap_new_GridStringTable, METH_VARARGS | METH_KEYWORDS },
15818 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister, METH_VARARGS },
15819 { (char *)"new_GridTableMessage", (PyCFunction) _wrap_new_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15820 { (char *)"delete_GridTableMessage", (PyCFunction) _wrap_delete_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15821 { (char *)"GridTableMessage_SetTableObject", (PyCFunction) _wrap_GridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
15822 { (char *)"GridTableMessage_GetTableObject", (PyCFunction) _wrap_GridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
15823 { (char *)"GridTableMessage_SetId", (PyCFunction) _wrap_GridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
15824 { (char *)"GridTableMessage_GetId", (PyCFunction) _wrap_GridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
15825 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction) _wrap_GridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
15826 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction) _wrap_GridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
15827 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction) _wrap_GridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15828 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction) _wrap_GridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15829 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister, METH_VARARGS },
15830 { (char *)"new_GridCellCoords", (PyCFunction) _wrap_new_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15831 { (char *)"delete_GridCellCoords", (PyCFunction) _wrap_delete_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15832 { (char *)"GridCellCoords_GetRow", (PyCFunction) _wrap_GridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
15833 { (char *)"GridCellCoords_SetRow", (PyCFunction) _wrap_GridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
15834 { (char *)"GridCellCoords_GetCol", (PyCFunction) _wrap_GridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
15835 { (char *)"GridCellCoords_SetCol", (PyCFunction) _wrap_GridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
15836 { (char *)"GridCellCoords_Set", (PyCFunction) _wrap_GridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
15837 { (char *)"GridCellCoords___eq__", (PyCFunction) _wrap_GridCellCoords___eq__, METH_VARARGS | METH_KEYWORDS },
15838 { (char *)"GridCellCoords___ne__", (PyCFunction) _wrap_GridCellCoords___ne__, METH_VARARGS | METH_KEYWORDS },
41e2b43e 15839 { (char *)"GridCellCoords_Get", (PyCFunction) _wrap_GridCellCoords_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
15840 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister, METH_VARARGS },
15841 { (char *)"new_Grid", (PyCFunction) _wrap_new_Grid, METH_VARARGS | METH_KEYWORDS },
1a10c483
RD
15842 { (char *)"new_PreGrid", (PyCFunction) _wrap_new_PreGrid, METH_VARARGS | METH_KEYWORDS },
15843 { (char *)"Grid_Create", (PyCFunction) _wrap_Grid_Create, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
15844 { (char *)"Grid_CreateGrid", (PyCFunction) _wrap_Grid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
15845 { (char *)"Grid_SetSelectionMode", (PyCFunction) _wrap_Grid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15846 { (char *)"Grid_GetSelectionMode", (PyCFunction) _wrap_Grid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15847 { (char *)"Grid_GetNumberRows", (PyCFunction) _wrap_Grid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15848 { (char *)"Grid_GetNumberCols", (PyCFunction) _wrap_Grid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15849 { (char *)"Grid_ProcessTableMessage", (PyCFunction) _wrap_Grid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
15850 { (char *)"Grid_GetTable", (PyCFunction) _wrap_Grid_GetTable, METH_VARARGS | METH_KEYWORDS },
15851 { (char *)"Grid_SetTable", (PyCFunction) _wrap_Grid_SetTable, METH_VARARGS | METH_KEYWORDS },
15852 { (char *)"Grid_ClearGrid", (PyCFunction) _wrap_Grid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
15853 { (char *)"Grid_InsertRows", (PyCFunction) _wrap_Grid_InsertRows, METH_VARARGS | METH_KEYWORDS },
15854 { (char *)"Grid_AppendRows", (PyCFunction) _wrap_Grid_AppendRows, METH_VARARGS | METH_KEYWORDS },
15855 { (char *)"Grid_DeleteRows", (PyCFunction) _wrap_Grid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15856 { (char *)"Grid_InsertCols", (PyCFunction) _wrap_Grid_InsertCols, METH_VARARGS | METH_KEYWORDS },
15857 { (char *)"Grid_AppendCols", (PyCFunction) _wrap_Grid_AppendCols, METH_VARARGS | METH_KEYWORDS },
15858 { (char *)"Grid_DeleteCols", (PyCFunction) _wrap_Grid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15859 { (char *)"Grid_DrawCellHighlight", (PyCFunction) _wrap_Grid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
15860 { (char *)"Grid_DrawTextRectangle", (PyCFunction) _wrap_Grid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
15861 { (char *)"Grid_GetTextBoxSize", (PyCFunction) _wrap_Grid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
15862 { (char *)"Grid_BeginBatch", (PyCFunction) _wrap_Grid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
15863 { (char *)"Grid_EndBatch", (PyCFunction) _wrap_Grid_EndBatch, METH_VARARGS | METH_KEYWORDS },
15864 { (char *)"Grid_GetBatchCount", (PyCFunction) _wrap_Grid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
15865 { (char *)"Grid_ForceRefresh", (PyCFunction) _wrap_Grid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
15866 { (char *)"Grid_IsEditable", (PyCFunction) _wrap_Grid_IsEditable, METH_VARARGS | METH_KEYWORDS },
15867 { (char *)"Grid_EnableEditing", (PyCFunction) _wrap_Grid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
15868 { (char *)"Grid_EnableCellEditControl", (PyCFunction) _wrap_Grid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15869 { (char *)"Grid_DisableCellEditControl", (PyCFunction) _wrap_Grid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15870 { (char *)"Grid_CanEnableCellControl", (PyCFunction) _wrap_Grid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
15871 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction) _wrap_Grid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
15872 { (char *)"Grid_IsCellEditControlShown", (PyCFunction) _wrap_Grid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
15873 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction) _wrap_Grid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
15874 { (char *)"Grid_ShowCellEditControl", (PyCFunction) _wrap_Grid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
15875 { (char *)"Grid_HideCellEditControl", (PyCFunction) _wrap_Grid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
15876 { (char *)"Grid_SaveEditControlValue", (PyCFunction) _wrap_Grid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
15877 { (char *)"Grid_XYToCell", (PyCFunction) _wrap_Grid_XYToCell, METH_VARARGS | METH_KEYWORDS },
15878 { (char *)"Grid_YToRow", (PyCFunction) _wrap_Grid_YToRow, METH_VARARGS | METH_KEYWORDS },
15879 { (char *)"Grid_XToCol", (PyCFunction) _wrap_Grid_XToCol, METH_VARARGS | METH_KEYWORDS },
15880 { (char *)"Grid_YToEdgeOfRow", (PyCFunction) _wrap_Grid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
15881 { (char *)"Grid_XToEdgeOfCol", (PyCFunction) _wrap_Grid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
15882 { (char *)"Grid_CellToRect", (PyCFunction) _wrap_Grid_CellToRect, METH_VARARGS | METH_KEYWORDS },
15883 { (char *)"Grid_GetGridCursorRow", (PyCFunction) _wrap_Grid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
15884 { (char *)"Grid_GetGridCursorCol", (PyCFunction) _wrap_Grid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
15885 { (char *)"Grid_IsVisible", (PyCFunction) _wrap_Grid_IsVisible, METH_VARARGS | METH_KEYWORDS },
15886 { (char *)"Grid_MakeCellVisible", (PyCFunction) _wrap_Grid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
15887 { (char *)"Grid_SetGridCursor", (PyCFunction) _wrap_Grid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
15888 { (char *)"Grid_MoveCursorUp", (PyCFunction) _wrap_Grid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
15889 { (char *)"Grid_MoveCursorDown", (PyCFunction) _wrap_Grid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
15890 { (char *)"Grid_MoveCursorLeft", (PyCFunction) _wrap_Grid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
15891 { (char *)"Grid_MoveCursorRight", (PyCFunction) _wrap_Grid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
15892 { (char *)"Grid_MovePageDown", (PyCFunction) _wrap_Grid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
15893 { (char *)"Grid_MovePageUp", (PyCFunction) _wrap_Grid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
15894 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction) _wrap_Grid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
15895 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction) _wrap_Grid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
15896 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction) _wrap_Grid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
15897 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction) _wrap_Grid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
15898 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction) _wrap_Grid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15899 { (char *)"Grid_GetRowLabelSize", (PyCFunction) _wrap_Grid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15900 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction) _wrap_Grid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
15901 { (char *)"Grid_GetColLabelSize", (PyCFunction) _wrap_Grid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15902 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction) _wrap_Grid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15903 { (char *)"Grid_GetLabelTextColour", (PyCFunction) _wrap_Grid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15904 { (char *)"Grid_GetLabelFont", (PyCFunction) _wrap_Grid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
15905 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction) _wrap_Grid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15906 { (char *)"Grid_GetColLabelAlignment", (PyCFunction) _wrap_Grid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15907 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction) _wrap_Grid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15908 { (char *)"Grid_GetRowLabelValue", (PyCFunction) _wrap_Grid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15909 { (char *)"Grid_GetColLabelValue", (PyCFunction) _wrap_Grid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15910 { (char *)"Grid_GetGridLineColour", (PyCFunction) _wrap_Grid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15911 { (char *)"Grid_GetCellHighlightColour", (PyCFunction) _wrap_Grid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15912 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15913 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15914 { (char *)"Grid_SetRowLabelSize", (PyCFunction) _wrap_Grid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15915 { (char *)"Grid_SetColLabelSize", (PyCFunction) _wrap_Grid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15916 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction) _wrap_Grid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15917 { (char *)"Grid_SetLabelTextColour", (PyCFunction) _wrap_Grid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15918 { (char *)"Grid_SetLabelFont", (PyCFunction) _wrap_Grid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
15919 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction) _wrap_Grid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15920 { (char *)"Grid_SetColLabelAlignment", (PyCFunction) _wrap_Grid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15921 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction) _wrap_Grid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15922 { (char *)"Grid_SetRowLabelValue", (PyCFunction) _wrap_Grid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15923 { (char *)"Grid_SetColLabelValue", (PyCFunction) _wrap_Grid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15924 { (char *)"Grid_SetGridLineColour", (PyCFunction) _wrap_Grid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15925 { (char *)"Grid_SetCellHighlightColour", (PyCFunction) _wrap_Grid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15926 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15927 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15928 { (char *)"Grid_EnableDragRowSize", (PyCFunction) _wrap_Grid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15929 { (char *)"Grid_DisableDragRowSize", (PyCFunction) _wrap_Grid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15930 { (char *)"Grid_CanDragRowSize", (PyCFunction) _wrap_Grid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
15931 { (char *)"Grid_EnableDragColSize", (PyCFunction) _wrap_Grid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
15932 { (char *)"Grid_DisableDragColSize", (PyCFunction) _wrap_Grid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
15933 { (char *)"Grid_CanDragColSize", (PyCFunction) _wrap_Grid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
15934 { (char *)"Grid_EnableDragGridSize", (PyCFunction) _wrap_Grid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15935 { (char *)"Grid_DisableDragGridSize", (PyCFunction) _wrap_Grid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15936 { (char *)"Grid_CanDragGridSize", (PyCFunction) _wrap_Grid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
15937 { (char *)"Grid_SetAttr", (PyCFunction) _wrap_Grid_SetAttr, METH_VARARGS | METH_KEYWORDS },
15938 { (char *)"Grid_SetRowAttr", (PyCFunction) _wrap_Grid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15939 { (char *)"Grid_SetColAttr", (PyCFunction) _wrap_Grid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15940 { (char *)"Grid_SetColFormatBool", (PyCFunction) _wrap_Grid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
15941 { (char *)"Grid_SetColFormatNumber", (PyCFunction) _wrap_Grid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
15942 { (char *)"Grid_SetColFormatFloat", (PyCFunction) _wrap_Grid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
15943 { (char *)"Grid_SetColFormatCustom", (PyCFunction) _wrap_Grid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
15944 { (char *)"Grid_EnableGridLines", (PyCFunction) _wrap_Grid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
15945 { (char *)"Grid_GridLinesEnabled", (PyCFunction) _wrap_Grid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
15946 { (char *)"Grid_GetDefaultRowSize", (PyCFunction) _wrap_Grid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15947 { (char *)"Grid_GetRowSize", (PyCFunction) _wrap_Grid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
15948 { (char *)"Grid_GetDefaultColSize", (PyCFunction) _wrap_Grid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15949 { (char *)"Grid_GetColSize", (PyCFunction) _wrap_Grid_GetColSize, METH_VARARGS | METH_KEYWORDS },
15950 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15951 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction) _wrap_Grid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15952 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction) _wrap_Grid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15953 { (char *)"Grid_GetCellTextColour", (PyCFunction) _wrap_Grid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15954 { (char *)"Grid_GetDefaultCellFont", (PyCFunction) _wrap_Grid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15955 { (char *)"Grid_GetCellFont", (PyCFunction) _wrap_Grid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
15956 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction) _wrap_Grid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15957 { (char *)"Grid_GetCellAlignment", (PyCFunction) _wrap_Grid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15958 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction) _wrap_Grid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15959 { (char *)"Grid_GetCellOverflow", (PyCFunction) _wrap_Grid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15960 { (char *)"Grid_GetCellSize", (PyCFunction) _wrap_Grid_GetCellSize, METH_VARARGS | METH_KEYWORDS },
15961 { (char *)"Grid_SetDefaultRowSize", (PyCFunction) _wrap_Grid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15962 { (char *)"Grid_SetRowSize", (PyCFunction) _wrap_Grid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
15963 { (char *)"Grid_SetDefaultColSize", (PyCFunction) _wrap_Grid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15964 { (char *)"Grid_SetColSize", (PyCFunction) _wrap_Grid_SetColSize, METH_VARARGS | METH_KEYWORDS },
15965 { (char *)"Grid_AutoSizeColumn", (PyCFunction) _wrap_Grid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
15966 { (char *)"Grid_AutoSizeRow", (PyCFunction) _wrap_Grid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
15967 { (char *)"Grid_AutoSizeColumns", (PyCFunction) _wrap_Grid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
15968 { (char *)"Grid_AutoSizeRows", (PyCFunction) _wrap_Grid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
15969 { (char *)"Grid_AutoSize", (PyCFunction) _wrap_Grid_AutoSize, METH_VARARGS | METH_KEYWORDS },
15970 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction) _wrap_Grid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15971 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction) _wrap_Grid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS },
15972 { (char *)"Grid_SetColMinimalWidth", (PyCFunction) _wrap_Grid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
15973 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction) _wrap_Grid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
15974 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15975 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15976 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15977 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15978 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15979 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction) _wrap_Grid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15980 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction) _wrap_Grid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15981 { (char *)"Grid_SetCellTextColour", (PyCFunction) _wrap_Grid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15982 { (char *)"Grid_SetDefaultCellFont", (PyCFunction) _wrap_Grid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15983 { (char *)"Grid_SetCellFont", (PyCFunction) _wrap_Grid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
15984 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction) _wrap_Grid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15985 { (char *)"Grid_SetCellAlignment", (PyCFunction) _wrap_Grid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15986 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction) _wrap_Grid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15987 { (char *)"Grid_SetCellOverflow", (PyCFunction) _wrap_Grid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15988 { (char *)"Grid_SetCellSize", (PyCFunction) _wrap_Grid_SetCellSize, METH_VARARGS | METH_KEYWORDS },
15989 { (char *)"Grid_SetDefaultRenderer", (PyCFunction) _wrap_Grid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15990 { (char *)"Grid_SetCellRenderer", (PyCFunction) _wrap_Grid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15991 { (char *)"Grid_GetDefaultRenderer", (PyCFunction) _wrap_Grid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15992 { (char *)"Grid_GetCellRenderer", (PyCFunction) _wrap_Grid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15993 { (char *)"Grid_SetDefaultEditor", (PyCFunction) _wrap_Grid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15994 { (char *)"Grid_SetCellEditor", (PyCFunction) _wrap_Grid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
15995 { (char *)"Grid_GetDefaultEditor", (PyCFunction) _wrap_Grid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15996 { (char *)"Grid_GetCellEditor", (PyCFunction) _wrap_Grid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
15997 { (char *)"Grid_GetCellValue", (PyCFunction) _wrap_Grid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
15998 { (char *)"Grid_SetCellValue", (PyCFunction) _wrap_Grid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
15999 { (char *)"Grid_IsReadOnly", (PyCFunction) _wrap_Grid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
16000 { (char *)"Grid_SetReadOnly", (PyCFunction) _wrap_Grid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
16001 { (char *)"Grid_SelectRow", (PyCFunction) _wrap_Grid_SelectRow, METH_VARARGS | METH_KEYWORDS },
16002 { (char *)"Grid_SelectCol", (PyCFunction) _wrap_Grid_SelectCol, METH_VARARGS | METH_KEYWORDS },
16003 { (char *)"Grid_SelectBlock", (PyCFunction) _wrap_Grid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
16004 { (char *)"Grid_SelectAll", (PyCFunction) _wrap_Grid_SelectAll, METH_VARARGS | METH_KEYWORDS },
16005 { (char *)"Grid_IsSelection", (PyCFunction) _wrap_Grid_IsSelection, METH_VARARGS | METH_KEYWORDS },
16006 { (char *)"Grid_ClearSelection", (PyCFunction) _wrap_Grid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
16007 { (char *)"Grid_IsInSelection", (PyCFunction) _wrap_Grid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
16008 { (char *)"Grid_GetSelectedCells", (PyCFunction) _wrap_Grid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS },
16009 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_Grid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS },
16010 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_Grid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS },
16011 { (char *)"Grid_GetSelectedRows", (PyCFunction) _wrap_Grid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS },
16012 { (char *)"Grid_GetSelectedCols", (PyCFunction) _wrap_Grid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS },
16013 { (char *)"Grid_DeselectRow", (PyCFunction) _wrap_Grid_DeselectRow, METH_VARARGS | METH_KEYWORDS },
16014 { (char *)"Grid_DeselectCol", (PyCFunction) _wrap_Grid_DeselectCol, METH_VARARGS | METH_KEYWORDS },
16015 { (char *)"Grid_DeselectCell", (PyCFunction) _wrap_Grid_DeselectCell, METH_VARARGS | METH_KEYWORDS },
16016 { (char *)"Grid_BlockToDeviceRect", (PyCFunction) _wrap_Grid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
16017 { (char *)"Grid_GetSelectionBackground", (PyCFunction) _wrap_Grid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
16018 { (char *)"Grid_GetSelectionForeground", (PyCFunction) _wrap_Grid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
16019 { (char *)"Grid_SetSelectionBackground", (PyCFunction) _wrap_Grid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
16020 { (char *)"Grid_SetSelectionForeground", (PyCFunction) _wrap_Grid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
16021 { (char *)"Grid_RegisterDataType", (PyCFunction) _wrap_Grid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
16022 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction) _wrap_Grid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
16023 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction) _wrap_Grid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
16024 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction) _wrap_Grid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
16025 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction) _wrap_Grid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
16026 { (char *)"Grid_SetMargins", (PyCFunction) _wrap_Grid_SetMargins, METH_VARARGS | METH_KEYWORDS },
16027 { (char *)"Grid_GetGridWindow", (PyCFunction) _wrap_Grid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
16028 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
16029 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
16030 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
22bfe96c 16031 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction) _wrap_Grid_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
16032 { (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS },
16033 { (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS },
16034 { (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
16035 { (char *)"GridEvent_GetCol", (PyCFunction) _wrap_GridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
16036 { (char *)"GridEvent_GetPosition", (PyCFunction) _wrap_GridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
16037 { (char *)"GridEvent_Selecting", (PyCFunction) _wrap_GridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
16038 { (char *)"GridEvent_ControlDown", (PyCFunction) _wrap_GridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
16039 { (char *)"GridEvent_MetaDown", (PyCFunction) _wrap_GridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
16040 { (char *)"GridEvent_ShiftDown", (PyCFunction) _wrap_GridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
16041 { (char *)"GridEvent_AltDown", (PyCFunction) _wrap_GridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
16042 { (char *)"GridEvent_swigregister", GridEvent_swigregister, METH_VARARGS },
16043 { (char *)"new_GridSizeEvent", (PyCFunction) _wrap_new_GridSizeEvent, METH_VARARGS | METH_KEYWORDS },
16044 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_GridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
16045 { (char *)"GridSizeEvent_GetPosition", (PyCFunction) _wrap_GridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
16046 { (char *)"GridSizeEvent_ControlDown", (PyCFunction) _wrap_GridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
16047 { (char *)"GridSizeEvent_MetaDown", (PyCFunction) _wrap_GridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
16048 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction) _wrap_GridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
16049 { (char *)"GridSizeEvent_AltDown", (PyCFunction) _wrap_GridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
16050 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister, METH_VARARGS },
16051 { (char *)"new_GridRangeSelectEvent", (PyCFunction) _wrap_new_GridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
16052 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
16053 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
16054 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
16055 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
16056 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
16057 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
16058 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction) _wrap_GridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
16059 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_GridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
16060 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_GridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
16061 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_GridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
16062 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction) _wrap_GridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
16063 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister, METH_VARARGS },
16064 { (char *)"new_GridEditorCreatedEvent", (PyCFunction) _wrap_new_GridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
16065 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
16066 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
16067 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
16068 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
16069 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
16070 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
16071 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister, METH_VARARGS },
16072 { NULL, NULL }
16073};
16074
16075
16076/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16077
16078static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x) {
16079 return (void *)((wxGridCellRenderer *) ((wxPyGridCellRenderer *) x));
16080}
16081static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x) {
16082 return (void *)((wxGridCellRenderer *) ((wxGridCellStringRenderer *) x));
16083}
16084static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x) {
16085 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
16086}
16087static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x) {
16088 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
16089}
16090static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x) {
16091 return (void *)((wxGridCellRenderer *) ((wxGridCellBoolRenderer *) x));
16092}
16093static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x) {
16094 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
16095}
16096static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x) {
16097 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
16098}
16099static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x) {
16100 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
16101}
16102static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x) {
16103 return (void *)((wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
16104}
16105static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x) {
16106 return (void *)((wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
16107}
16108static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x) {
16109 return (void *)((wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
16110}
16111static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x) {
16112 return (void *)((wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
16113}
16114static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x) {
16115 return (void *)((wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
16116}
16117static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
16118 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
16119}
16120static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
16121 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
16122}
823f0cfe
RD
16123static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
16124 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16125}
d14a1e28
RD
16126static void *_p_wxGridTo_p_wxPanel(void *x) {
16127 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxGrid *) x));
16128}
16129static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
16130 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16131}
16132static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
16133 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16134}
16135static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
16136 return (void *)((wxPanel *) ((wxPyPanel *) x));
16137}
16138static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
16139 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
16140}
16141static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
16142 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
16143}
16144static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
16145 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16146}
16147static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x) {
16148 return (void *)((wxNotifyEvent *) ((wxGridSizeEvent *) x));
16149}
16150static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x) {
16151 return (void *)((wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16152}
16153static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
16154 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
16155}
16156static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x) {
16157 return (void *)((wxNotifyEvent *) ((wxGridEvent *) x));
16158}
823f0cfe
RD
16159static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
16160 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16161}
d14a1e28
RD
16162static void *_p_wxGridTo_p_wxScrolledWindow(void *x) {
16163 return (void *)((wxScrolledWindow *) ((wxGrid *) x));
16164}
16165static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
16166 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
16167}
16168static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
16169 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16170}
16171static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
16172 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16173}
16174static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
16175 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
16176}
16177static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
16178 return (void *)((wxWindow *) ((wxMenuBar *) x));
16179}
16180static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
16181 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16182}
16183static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
16184 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16185}
16186static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
16187 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16188}
16189static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
16190 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16191}
16192static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
16193 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16194}
16195static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
16196 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16197}
16198static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
16199 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16200}
16201static void *_p_wxPanelTo_p_wxWindow(void *x) {
16202 return (void *)((wxWindow *) ((wxPanel *) x));
16203}
16204static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
16205 return (void *)((wxWindow *) ((wxStatusBar *) x));
16206}
16207static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
16208 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
16209}
16210static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
16211 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
16212}
16213static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
16214 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16215}
16216static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
16217 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16218}
16219static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
16220 return (void *)((wxWindow *) ((wxPopupWindow *) x));
16221}
16222static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
16223 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
16224}
16225static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
16226 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
16227}
16228static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
16229 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
16230}
16231static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
16232 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
16233}
16234static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
16235 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
16236}
16237static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
16238 return (void *)((wxWindow *) ((wxSashWindow *) x));
16239}
823f0cfe
RD
16240static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
16241 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16242}
d14a1e28
RD
16243static void *_p_wxControlTo_p_wxWindow(void *x) {
16244 return (void *)((wxWindow *) ((wxControl *) x));
16245}
16246static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
16247 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16248}
16249static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
16250 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16251}
16252static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
16253 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16254}
16255static void *_p_wxGridTo_p_wxWindow(void *x) {
16256 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16257}
16258static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
16259 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
16260}
16261static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
16262 return (void *)((wxWindow *) ((wxPyWindow *) x));
16263}
16264static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
16265 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16266}
16267static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
16268 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16269}
16270static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
16271 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16272}
16273static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
16274 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
16275}
16276static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
16277 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16278}
16279static void *_p_wxFrameTo_p_wxWindow(void *x) {
16280 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
16281}
16282static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
16283 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16284}
16285static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
16286 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16287}
16288static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
16289 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16290}
16291static void *_p_wxDialogTo_p_wxWindow(void *x) {
16292 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
16293}
16294static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
16295 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16296}
16297static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
16298 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16299}
16300static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
16301 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16302}
16303static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
16304 return (void *)((wxControl *) ((wxControlWithItems *) x));
16305}
16306static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
16307 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
16308}
16309static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
16310 return (void *)((wxEvent *) ((wxMenuEvent *) x));
16311}
16312static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
16313 return (void *)((wxEvent *) ((wxCloseEvent *) x));
16314}
16315static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
16316 return (void *)((wxEvent *) ((wxMouseEvent *) x));
16317}
16318static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
16319 return (void *)((wxEvent *) ((wxEraseEvent *) x));
16320}
16321static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
16322 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
16323}
16324static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
16325 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16326}
16327static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
16328 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
16329}
16330static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
16331 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
16332}
16333static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
16334 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
16335}
16336static void *_p_wxPyEventTo_p_wxEvent(void *x) {
16337 return (void *)((wxEvent *) ((wxPyEvent *) x));
16338}
16339static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
16340 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
16341}
16342static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
16343 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
16344}
16345static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x) {
16346 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16347}
16348static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
16349 return (void *)((wxEvent *) ((wxIdleEvent *) x));
16350}
16351static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
16352 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
16353}
16354static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
16355 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
16356}
16357static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
16358 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
16359}
16360static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
16361 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
16362}
16363static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
16364 return (void *)((wxEvent *) ((wxActivateEvent *) x));
16365}
16366static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
16367 return (void *)((wxEvent *) ((wxSizeEvent *) x));
16368}
16369static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
16370 return (void *)((wxEvent *) ((wxMoveEvent *) x));
16371}
16372static void *_p_wxGridSizeEventTo_p_wxEvent(void *x) {
16373 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16374}
16375static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
16376 return (void *)((wxEvent *) ((wxPaintEvent *) x));
16377}
16378static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
16379 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
16380}
16381static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
16382 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
16383}
16384static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
16385 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
16386}
16387static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
16388 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
16389}
16390static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
16391 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16392}
16393static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
16394 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
16395}
16396static void *_p_wxGridEventTo_p_wxEvent(void *x) {
16397 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16398}
16399static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x) {
16400 return (void *)((wxEvent *) (wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16401}
16402static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
16403 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
16404}
16405static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
16406 return (void *)((wxEvent *) ((wxFocusEvent *) x));
16407}
16408static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
16409 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
16410}
16411static void *_p_wxSashEventTo_p_wxEvent(void *x) {
16412 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
16413}
16414static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
16415 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16416}
16417static void *_p_wxShowEventTo_p_wxEvent(void *x) {
16418 return (void *)((wxEvent *) ((wxShowEvent *) x));
16419}
16420static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
16421 return (void *)((wxEvent *) ((wxCommandEvent *) x));
16422}
16423static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
16424 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
16425}
16426static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
16427 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16428}
16429static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
16430 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
16431}
16432static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
16433 return (void *)((wxEvent *) ((wxKeyEvent *) x));
16434}
16435static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
16436 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
16437}
16438static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
16439 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
16440}
16441static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
16442 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
16443}
16444static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
16445 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16446}
16447static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
16448 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16449}
16450static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
16451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16452}
16453static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
16454 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
16455}
16456static void *_p_wxSizerItemTo_p_wxObject(void *x) {
16457 return (void *)((wxObject *) ((wxSizerItem *) x));
16458}
16459static void *_p_wxScrollEventTo_p_wxObject(void *x) {
16460 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
16461}
16462static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
16463 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
16464}
16465static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
16466 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
16467}
16468static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
16469 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
16470}
16471static void *_p_wxSizerTo_p_wxObject(void *x) {
16472 return (void *)((wxObject *) ((wxSizer *) x));
16473}
16474static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
16475 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
16476}
16477static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
16478 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
16479}
16480static void *_p_wxPyPanelTo_p_wxObject(void *x) {
16481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16482}
16483static void *_p_wxEventTo_p_wxObject(void *x) {
16484 return (void *)((wxObject *) ((wxEvent *) x));
16485}
16486static void *_p_wxFontDataTo_p_wxObject(void *x) {
16487 return (void *)((wxObject *) ((wxFontData *) x));
16488}
16489static void *_p_wxPrintDataTo_p_wxObject(void *x) {
16490 return (void *)((wxObject *) ((wxPrintData *) x));
16491}
16492static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
16493 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
16494}
16495static void *_p_wxGridSizerTo_p_wxObject(void *x) {
16496 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
16497}
16498static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
16499 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
16500}
16501static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
16502 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
16503}
16504static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
16505 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
16506}
16507static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
16508 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
16509}
16510static void *_p_wxGridStringTableTo_p_wxObject(void *x) {
16511 return (void *)((wxObject *) (wxGridTableBase *) ((wxGridStringTable *) x));
16512}
16513static void *_p_wxPaintEventTo_p_wxObject(void *x) {
16514 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
16515}
16516static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
16517 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
16518}
16519static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
16520 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
16521}
16522static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
16523 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
16524}
16525static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
16526 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16527}
16528static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
16529 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
16530}
16531static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
16532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16533}
16534static void *_p_wxGridEventTo_p_wxObject(void *x) {
16535 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16536}
16537static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x) {
16538 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16539}
16540static void *_p_wxControlTo_p_wxObject(void *x) {
16541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
16542}
16543static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
16544 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
16545}
16546static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
16547 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16548}
16549static void *_p_wxFSFileTo_p_wxObject(void *x) {
16550 return (void *)((wxObject *) ((wxFSFile *) x));
16551}
16552static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
16553 return (void *)((wxObject *) ((wxFindReplaceData *) x));
16554}
16555static void *_p_wxGridTo_p_wxObject(void *x) {
16556 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16557}
16558static void *_p_wxPySizerTo_p_wxObject(void *x) {
16559 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
16560}
16561static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
16562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16563}
16564static void *_p_wxColourDataTo_p_wxObject(void *x) {
16565 return (void *)((wxObject *) ((wxColourData *) x));
16566}
16567static void *_p_wxPyEventTo_p_wxObject(void *x) {
16568 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
16569}
16570static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
16571 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
16572}
16573static void *_p_wxPyWindowTo_p_wxObject(void *x) {
16574 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
16575}
16576static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
16577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16578}
16579static void *_p_wxFileDialogTo_p_wxObject(void *x) {
16580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16581}
16582static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
16583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16584}
16585static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
16586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16587}
16588static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
16589 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16590}
16591static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
16592 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16593}
16594static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
16595 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16596}
16597static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
16598 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16599}
16600static void *_p_wxShowEventTo_p_wxObject(void *x) {
16601 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
16602}
16603static void *_p_wxPrinterTo_p_wxObject(void *x) {
16604 return (void *)((wxObject *) ((wxPrinter *) x));
16605}
16606static void *_p_wxMenuItemTo_p_wxObject(void *x) {
16607 return (void *)((wxObject *) ((wxMenuItem *) x));
16608}
16609static void *_p_wxIdleEventTo_p_wxObject(void *x) {
16610 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
16611}
16612static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
16613 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
16614}
16615static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
16616 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
16617}
16618static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
16619 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
16620}
16621static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
16622 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
16623}
16624static void *_p_wxSizeEventTo_p_wxObject(void *x) {
16625 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
16626}
16627static void *_p_wxMoveEventTo_p_wxObject(void *x) {
16628 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
16629}
16630static void *_p_wxActivateEventTo_p_wxObject(void *x) {
16631 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
16632}
16633static void *_p_wxGridSizeEventTo_p_wxObject(void *x) {
16634 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16635}
16636static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
16637 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
16638}
16639static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
16640 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
16641}
16642static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
16643 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
16644}
16645static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
16646 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
16647}
16648static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
16649 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
16650}
16651static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
16652 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
16653}
16654static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
16655 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
16656}
16657static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
16658 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
16659}
16660static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
16661 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
16662}
16663static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
16664 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
16665}
16666static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
16667 return (void *)((wxObject *) ((wxImageHandler *) x));
16668}
16669static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
16670 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
16671}
16672static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
16673 return (void *)((wxObject *) ((wxEvtHandler *) x));
16674}
16675static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
16676 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
16677}
16678static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x) {
16679 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16680}
16681static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
16682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16683}
16684static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
16685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16686}
16687static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
16688 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
16689}
16690static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
16691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16692}
16693static void *_p_wxImageTo_p_wxObject(void *x) {
16694 return (void *)((wxObject *) ((wxImage *) x));
16695}
16696static void *_p_wxFrameTo_p_wxObject(void *x) {
16697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16698}
16699static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
16700 return (void *)((wxObject *) ((wxPyPrintout *) x));
16701}
16702static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
16703 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
16704}
16705static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
16706 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
16707}
16708static void *_p_wxStatusBarTo_p_wxObject(void *x) {
16709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
16710}
16711static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
16712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16713}
16714static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
16715 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16716}
16717static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
16718 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
16719}
16720static void *_p_wxKeyEventTo_p_wxObject(void *x) {
16721 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
16722}
d14a1e28
RD
16723static void *_p_wxWindowTo_p_wxObject(void *x) {
16724 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
16725}
16726static void *_p_wxMenuTo_p_wxObject(void *x) {
16727 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
16728}
16729static void *_p_wxMenuBarTo_p_wxObject(void *x) {
16730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
16731}
0df68c9f
RD
16732static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
16733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16734}
d14a1e28
RD
16735static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
16736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
16737}
16738static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
16739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
16740}
16741static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
16742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
16743}
16744static void *_p_wxSashWindowTo_p_wxObject(void *x) {
16745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
16746}
16747static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
16748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16749}
16750static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
16751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
16752}
16753static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
16754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16755}
16756static void *_p_wxTipWindowTo_p_wxObject(void *x) {
16757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16758}
16759static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
16760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16761}
16762static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
16763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
16764}
823f0cfe
RD
16765static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
16766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16767}
d14a1e28
RD
16768static void *_p_wxSashEventTo_p_wxObject(void *x) {
16769 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
16770}
16771static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
16772 return (void *)((wxObject *) ((wxPrintPreview *) x));
16773}
16774static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
16775 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
16776}
16777static void *_p_wxPanelTo_p_wxObject(void *x) {
16778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
16779}
16780static void *_p_wxDialogTo_p_wxObject(void *x) {
16781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
16782}
16783static void *_p_wxColourDialogTo_p_wxObject(void *x) {
16784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16785}
16786static void *_p_wxDirDialogTo_p_wxObject(void *x) {
16787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16788}
16789static void *_p_wxFontDialogTo_p_wxObject(void *x) {
16790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16791}
16792static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
16793 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16794}
16795static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
16796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16797}
16798static void *_p_wxFileSystemTo_p_wxObject(void *x) {
16799 return (void *)((wxObject *) ((wxFileSystem *) x));
16800}
16801static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
16802 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
16803}
16804static void *_p_wxMenuEventTo_p_wxObject(void *x) {
16805 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
16806}
16807static void *_p_wxPyAppTo_p_wxObject(void *x) {
16808 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
16809}
16810static void *_p_wxCloseEventTo_p_wxObject(void *x) {
16811 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
16812}
16813static void *_p_wxMouseEventTo_p_wxObject(void *x) {
16814 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
16815}
16816static void *_p_wxEraseEventTo_p_wxObject(void *x) {
16817 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
16818}
16819static void *_p_wxGridTableBaseTo_p_wxObject(void *x) {
16820 return (void *)((wxObject *) ((wxGridTableBase *) x));
16821}
16822static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x) {
16823 return (void *)((wxObject *) (wxGridTableBase *) ((wxPyGridTableBase *) x));
16824}
16825static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
16826 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
16827}
16828static void *_p_wxCommandEventTo_p_wxObject(void *x) {
16829 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
16830}
16831static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
16832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16833}
16834static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
16835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16836}
16837static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
16838 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
16839}
16840static void *_p_wxFocusEventTo_p_wxObject(void *x) {
16841 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
16842}
16843static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
16844 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
16845}
16846static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
16847 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16848}
16849static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
16850 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
16851}
16852static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
16853 return (void *)((wxObject *) ((wxPrintDialogData *) x));
16854}
16855static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
16856 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
16857}
16858static void *_p_wxValidatorTo_p_wxObject(void *x) {
16859 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
16860}
16861static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
16862 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16863}
16864static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
16865 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16866}
16867static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
16868 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16869}
16870static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
16871 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
16872}
16873static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
16874 return (void *)((wxEvtHandler *) ((wxValidator *) x));
16875}
16876static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
16877 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
16878}
16879static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
16880 return (void *)((wxEvtHandler *) ((wxMenu *) x));
16881}
16882static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
16883 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16884}
16885static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
16886 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16887}
16888static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
16889 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16890}
16891static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
16892 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16893}
16894static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
16895 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16896}
16897static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
16898 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16899}
16900static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
16901 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16902}
16903static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
16904 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
16905}
16906static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
16907 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
16908}
16909static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
16910 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16911}
16912static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
16913 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16914}
16915static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
16916 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16917}
16918static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
16919 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
16920}
16921static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
16922 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16923}
16924static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
16925 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
16926}
16927static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
16928 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
16929}
16930static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
16931 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
16932}
16933static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
16934 return (void *)((wxEvtHandler *) ((wxWindow *) x));
16935}
16936static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
16937 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16938}
16939static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
16940 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
16941}
16942static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
16943 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
16944}
823f0cfe
RD
16945static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
16946 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16947}
d14a1e28
RD
16948static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
16949 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
16950}
16951static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
16952 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16953}
16954static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
16955 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16956}
16957static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
16958 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16959}
16960static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
16961 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
16962}
16963static void *_p_wxGridTo_p_wxEvtHandler(void *x) {
16964 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16965}
16966static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
16967 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16968}
16969static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
16970 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
16971}
16972static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
16973 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16974}
16975static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
16976 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16977}
16978static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
16979 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16980}
16981static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
16982 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16983}
16984static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
16985 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16986}
16987static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
16988 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
16989}
16990static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
16991 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16992}
16993static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
16994 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16995}
16996static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
16997 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16998}
16999static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
17000 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
17001}
17002static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
17003 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
17004}
17005static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
17006 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
17007}
17008static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
17009 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
17010}
17011static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
17012 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
17013}
17014static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x) {
17015 return (void *)((wxGridTableBase *) ((wxGridStringTable *) x));
17016}
17017static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x) {
17018 return (void *)((wxGridTableBase *) ((wxPyGridTableBase *) x));
17019}
17020static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x) {
17021 return (void *)((wxGridCellEditor *) ((wxPyGridCellEditor *) x));
17022}
17023static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x) {
17024 return (void *)((wxGridCellEditor *) ((wxGridCellTextEditor *) x));
17025}
17026static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x) {
17027 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
17028}
17029static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x) {
17030 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
17031}
17032static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x) {
17033 return (void *)((wxGridCellEditor *) ((wxGridCellBoolEditor *) x));
17034}
17035static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x) {
17036 return (void *)((wxGridCellEditor *) ((wxGridCellChoiceEditor *) x));
17037}
17038static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x) {
17039 return (void *)((wxGridCellEditor *) (wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
17040}
17041static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x) {
17042 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
17043}
17044static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x) {
17045 return (void *)((wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
17046}
17047static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x) {
17048 return (void *)((wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
17049}
17050static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x) {
17051 return (void *)((wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
17052}
17053static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
17054 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
17055}
17056static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
17057 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17058}
17059static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
17060 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
17061}
17062static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
17063 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
17064}
17065static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
17066 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
17067}
17068static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
17069 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
17070}
17071static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
17072 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
17073}
17074static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x) {
17075 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
17076}
17077static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x) {
17078 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridSizeEvent *) x));
17079}
17080static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
17081 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
17082}
17083static void *_p_wxGridEventTo_p_wxCommandEvent(void *x) {
17084 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridEvent *) x));
17085}
17086static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x) {
17087 return (void *)((wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
17088}
17089static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
17090 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
17091}
17092static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
17093 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
17094}
17095static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
17096 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
17097}
17098static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) {
17099 return (void *)((wxGridCellAttrProvider *) ((wxPyGridCellAttrProvider *) x));
17100}
17101static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) {
17102 return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
17103}
15afbcd0
RD
17104static 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}};
17105static 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}};
17106static 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}};
17107static 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}};
17108static 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}};
17109static 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}};
17110static 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}};
17111static 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}};
17112static 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}};
17113static 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}};
17114static 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}};
17115static 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}};
17116static 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}};
17117static 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 17118static 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 17119static 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 17120static 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
17121static 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}};
17122static 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}};
17123static 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}};
17124static 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
17125static 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}};
17126static 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
17127static 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}};
17128static 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}};
17129static 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 17130static 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
17131static 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}};
17132static 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}};
17133static 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}};
17134static 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 17135static 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
17136static 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}};
17137static 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}};
17138static 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}};
17139static 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}};
17140static 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}};
17141static 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}};
17142static 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}};
17143static 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}};
17144static 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}};
17145static 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}};
17146static 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}};
17147static 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}};
17148static 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}};
17149static 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}};
17150static 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}};
17151static 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}};
17152static 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}};
17153static 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}};
17154static 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}};
17155static 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}};
17156static 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
17157
17158static swig_type_info *swig_types_initial[] = {
17159_swigt__p_wxGridCellAutoWrapStringRenderer,
17160_swigt__p_wxGridCellEnumRenderer,
17161_swigt__p_wxGridCellDateTimeRenderer,
17162_swigt__p_wxGridCellBoolRenderer,
17163_swigt__p_wxGridCellFloatRenderer,
17164_swigt__p_wxGridCellNumberRenderer,
17165_swigt__p_wxPyGridCellRenderer,
17166_swigt__p_wxGridCellRenderer,
17167_swigt__p_wxGridCellStringRenderer,
17168_swigt__p_wxGridCellAttr,
17169_swigt__p_wxColour,
17170_swigt__p_wxDC,
17171_swigt__p_wxGridTableMessage,
17172_swigt__p_wxGrid,
22bfe96c 17173_swigt__p_wxVisualAttributes,
994141e6 17174_swigt__p_char,
d14a1e28
RD
17175_swigt__p_wxPanel,
17176_swigt__p_wxNotifyEvent,
17177_swigt__p_wxGridRangeSelectEvent,
17178_swigt__p_wxSize,
17179_swigt__p_wxGridCellCoords,
17180_swigt__p_wxScrolledWindow,
17181_swigt__p_wxWindow,
17182_swigt__p_wxFont,
17183_swigt__p_wxControl,
17184_swigt__p_wxEvent,
17185_swigt__p_wxObject,
17186_swigt__p_wxGridSizeEvent,
17187_swigt__p_wxRect,
17188_swigt__p_long,
17189_swigt__p_wxString,
17190_swigt__p_wxEvtHandler,
17191_swigt__p_wxPoint,
17192_swigt__p_wxGridEvent,
17193_swigt__p_wxGridEditorCreatedEvent,
17194_swigt__p_wxGridTableBase,
d14a1e28
RD
17195_swigt__p_wxGridCellNumberEditor,
17196_swigt__p_wxPyGridCellEditor,
17197_swigt__p_wxGridCellEditor,
17198_swigt__p_wxGridCellTextEditor,
994141e6 17199_swigt__p_wxGridCellFloatEditor,
d14a1e28
RD
17200_swigt__p_wxGridCellBoolEditor,
17201_swigt__p_wxPyGridTableBase,
17202_swigt__p_wxGridStringTable,
17203_swigt__p_wxArrayString,
17204_swigt__p_wxCommandEvent,
17205_swigt__p_wxGridCellAttrProvider,
17206_swigt__p_wxKeyEvent,
17207_swigt__p_wxGridCellChoiceEditor,
17208_swigt__p_wxGridCellEnumEditor,
17209_swigt__p_wxGridCellAutoWrapStringEditor,
17210_swigt__p_int,
17211_swigt__p_wxPyGridCellAttrProvider,
172120
17213};
17214
17215
17216/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17217
17218static swig_const_info swig_const_table[] = {
15afbcd0
RD
17219{ SWIG_PY_POINTER, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17220{ SWIG_PY_POINTER, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char},
17221{ SWIG_PY_POINTER, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17222{ SWIG_PY_POINTER, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char},
17223{ SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char},
17224{ SWIG_PY_POINTER, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17225{ SWIG_PY_POINTER, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17226{ SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char},
17227{ SWIG_PY_POINTER, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char},
d14a1e28
RD
17228{0}};
17229
17230#ifdef __cplusplus
17231}
17232#endif
17233
17234#ifdef __cplusplus
17235extern "C"
17236#endif
17237SWIGEXPORT(void) SWIG_init(void) {
17238 static PyObject *SWIG_globals = 0;
17239 static int typeinit = 0;
17240 PyObject *m, *d;
17241 int i;
17242 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
17243 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17244 d = PyModule_GetDict(m);
17245
17246 if (!typeinit) {
17247 for (i = 0; swig_types_initial[i]; i++) {
17248 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
17249 }
17250 typeinit = 1;
17251 }
17252 SWIG_InstallConstants(d,swig_const_table);
17253
17254 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
b2dc1044 17255 SWIG_addvarlink(SWIG_globals,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get, _wrap_DateTimeFormatStr_set);
15afbcd0
RD
17256 PyDict_SetItemString(d,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
17257 PyDict_SetItemString(d,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
17258 PyDict_SetItemString(d,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
17259 PyDict_SetItemString(d,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
17260 PyDict_SetItemString(d,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
17261 PyDict_SetItemString(d,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
17262 PyDict_SetItemString(d,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
17263 PyDict_SetItemString(d,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
17264 PyDict_SetItemString(d,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
d14a1e28
RD
17265 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set);
17266 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set);
15afbcd0
RD
17267 PyDict_SetItemString(d,"GridCellAttr_Any", SWIG_FromInt((int)wxGridCellAttr::Any));
17268 PyDict_SetItemString(d,"GridCellAttr_Default", SWIG_FromInt((int)wxGridCellAttr::Default));
17269 PyDict_SetItemString(d,"GridCellAttr_Cell", SWIG_FromInt((int)wxGridCellAttr::Cell));
17270 PyDict_SetItemString(d,"GridCellAttr_Row", SWIG_FromInt((int)wxGridCellAttr::Row));
17271 PyDict_SetItemString(d,"GridCellAttr_Col", SWIG_FromInt((int)wxGridCellAttr::Col));
17272 PyDict_SetItemString(d,"GridCellAttr_Merged", SWIG_FromInt((int)wxGridCellAttr::Merged));
17273 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
17274 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
17275 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
17276 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
17277 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED));
17278 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED));
17279 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED));
17280 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED));
17281 PyDict_SetItemString(d,"Grid_wxGridSelectCells", SWIG_FromInt((int)wxGrid::wxGridSelectCells));
17282 PyDict_SetItemString(d,"Grid_wxGridSelectRows", SWIG_FromInt((int)wxGrid::wxGridSelectRows));
17283 PyDict_SetItemString(d,"Grid_wxGridSelectColumns", SWIG_FromInt((int)wxGrid::wxGridSelectColumns));
d14a1e28
RD
17284 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));
17285 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK));
17286 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK));
17287 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK));
17288 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK));
17289 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK));
17290 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK));
17291 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK));
17292 PyDict_SetItemString(d, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE));
17293 PyDict_SetItemString(d, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE));
17294 PyDict_SetItemString(d, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT));
17295 PyDict_SetItemString(d, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE));
17296 PyDict_SetItemString(d, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL));
17297 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN));
17298 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN));
17299 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED));
17300
17301
17302}
17303