]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/grid_wrap.cpp
New SWIG runtime files and api updates for the move to SWIG 1.3.22
[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) \
412d302d 331PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \
d14a1e28
RD
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; \
b0f7404b
RD
339 if (target) \
340 Py_INCREF(target); \
d14a1e28
RD
341 } \
342 /* Otherwise make a new wrapper for it the old fashioned way and \
343 give it the OOR treatment */ \
344 if (! target) { \
412d302d 345 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
d14a1e28
RD
346 if (target) \
347 source->SetClientObject(new wxPyOORClientData(target)); \
348 } \
349 } else { /* source was NULL so return None. */ \
350 Py_INCREF(Py_None); target = Py_None; \
351 } \
352 return target; \
353} \
354
355
356wxPyMake_TEMPLATE(wxGridCellRenderer)
357wxPyMake_TEMPLATE(wxGridCellEditor)
358wxPyMake_TEMPLATE(wxGridCellAttr)
359wxPyMake_TEMPLATE(wxGridCellAttrProvider)
360wxPyMake_TEMPLATE(wxGridTableBase)
361
362
363
364#define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
365 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
366 wxGridCellAttr* rval = NULL; \
367 bool found; \
4f89f6a3 368 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
369 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
370 PyObject* ro; \
371 wxGridCellAttr* ptr; \
372 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
373 if (ro) { \
374 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
375 rval = ptr; \
376 Py_DECREF(ro); \
377 } \
378 } \
4f89f6a3 379 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
380 if (! found) \
381 rval = PCLASS::CBNAME(a, b, c); \
382 return rval; \
383 } \
384 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
385 return PCLASS::CBNAME(a, b, c); \
386 }
387
388
389
390#define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
391 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
4f89f6a3 392 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
393 bool found; \
394 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
412d302d 395 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
d14a1e28
RD
396 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
397 Py_DECREF(obj); \
398 } \
4f89f6a3 399 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
400 if (! found) \
401 PCLASS::CBNAME(attr, a, b); \
402 } \
403 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
404 PCLASS::CBNAME(attr, a, b); \
405 }
406
407
408
409#define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
410 void CBNAME(wxGridCellAttr *attr, int val) { \
4f89f6a3 411 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
412 bool found; \
413 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
412d302d 414 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
d14a1e28
RD
415 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
416 Py_DECREF(obj); \
417 } \
4f89f6a3 418 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
419 if (! found) \
420 PCLASS::CBNAME(attr, val); \
421 } \
422 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
423 PCLASS::CBNAME(attr, val); \
424 }
425
426
427
428#define PYCALLBACK_INT__pure(CBNAME) \
429 int CBNAME() { \
4f89f6a3 430 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
431 int rval = 0; \
432 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
433 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
4f89f6a3 434 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
435 return rval; \
436 }
437
438
439
440#define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
441 bool CBNAME(int a, int b) { \
4f89f6a3 442 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
443 bool rval = 0; \
444 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
445 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
4f89f6a3 446 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
447 return rval; \
448 }
449
450
451#define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
452 wxString CBNAME(int a, int b) { \
4f89f6a3 453 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
454 wxString rval; \
455 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
456 PyObject* ro; \
457 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
458 if (ro) { \
459 rval = Py2wxString(ro); \
460 Py_DECREF(ro); \
461 } \
462 } \
4f89f6a3 463 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
464 return rval; \
465 }
466
467
468#define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
469 void CBNAME(int a, int b, const wxString& c) { \
4f89f6a3 470 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
471 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
472 PyObject* s = wx2PyString(c); \
473 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
474 Py_DECREF(s); \
475 } \
4f89f6a3 476 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
477 }
478
479
480#define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
481 wxString CBNAME(int a, int b) { \
482 bool found; \
4f89f6a3 483 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
484 wxString rval; \
485 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
486 PyObject* ro; \
487 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
488 if (ro) { \
489 rval = Py2wxString(ro); \
490 Py_DECREF(ro); \
491 } \
492 } \
4f89f6a3 493 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
494 if (! found) \
495 rval = PCLASS::CBNAME(a, b); \
496 return rval; \
497 } \
498 wxString base_##CBNAME(int a, int b) { \
499 return PCLASS::CBNAME(a, b); \
500 }
501
502
503#define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
504 bool CBNAME(int a, int b, const wxString& c) { \
505 bool rval = 0; \
506 bool found; \
4f89f6a3 507 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
508 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
509 PyObject* s = wx2PyString(c); \
510 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
511 Py_DECREF(s); \
512 } \
4f89f6a3 513 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
514 if (! found) \
515 rval = PCLASS::CBNAME(a,b,c); \
516 return rval; \
517 } \
518 bool base_##CBNAME(int a, int b, const wxString& c) { \
519 return PCLASS::CBNAME(a,b,c); \
520 }
521
522
523
524
525#define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
526 long CBNAME(int a, int b) { \
527 long rval; \
528 bool found; \
4f89f6a3 529 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
530 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
531 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 532 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
533 if (! found) \
534 rval = PCLASS::CBNAME(a,b); \
535 return rval; \
536 } \
537 long base_##CBNAME(int a, int b) { \
538 return PCLASS::CBNAME(a,b); \
539 }
540
541
542
543#define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
544 bool CBNAME(int a, int b) { \
545 bool rval = 0; \
546 bool found; \
4f89f6a3 547 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
548 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
549 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 550 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
551 if (! found) \
552 rval = PCLASS::CBNAME(a,b); \
553 return rval; \
554 } \
555 bool base_##CBNAME(int a, int b) { \
556 return PCLASS::CBNAME(a,b); \
557 }
558
559
560
561#define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
562 double CBNAME(int a, int b) { \
563 bool found; \
4f89f6a3 564 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
565 double rval; \
566 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
567 PyObject* ro; \
568 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
569 if (ro) { \
570 PyObject* str = PyObject_Str(ro); \
571 rval = PyFloat_AsDouble(str); \
572 Py_DECREF(ro); Py_DECREF(str); \
573 } \
574 } \
4f89f6a3 575 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
576 if (! found) \
577 rval = PCLASS::CBNAME(a, b); \
578 return rval; \
579 } \
580 double base_##CBNAME(int a, int b) { \
581 return PCLASS::CBNAME(a, b); \
582 }
583
584
585
586#define PYCALLBACK__(PCLASS, CBNAME) \
587 void CBNAME() { \
588 bool found; \
4f89f6a3 589 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
590 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
591 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
4f89f6a3 592 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
593 if (! found) \
594 PCLASS::CBNAME(); \
595 } \
596 void base_##CBNAME() { \
597 PCLASS::CBNAME(); \
598 }
599
600
601
602
603#define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
604 bool CBNAME(size_t a, size_t b) { \
605 bool rval = 0; \
606 bool found; \
4f89f6a3 607 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
608 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
609 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 610 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
611 if (! found) \
612 rval = PCLASS::CBNAME(a,b); \
613 return rval; \
614 } \
615 bool base_##CBNAME(size_t a, size_t b) { \
616 return PCLASS::CBNAME(a,b); \
617 }
618
619
620
621#define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
622 bool CBNAME(size_t a) { \
623 bool rval = 0; \
624 bool found; \
4f89f6a3 625 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
626 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
627 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
4f89f6a3 628 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
629 if (! found) \
630 rval = PCLASS::CBNAME(a); \
631 return rval; \
632 } \
633 bool base_##CBNAME(size_t a) { \
634 return PCLASS::CBNAME(a); \
635 }
636
637
638#define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
639 wxString CBNAME(int a) { \
640 bool found; \
4f89f6a3 641 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
642 wxString rval; \
643 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
644 PyObject* ro; \
645 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
646 if (ro) { \
647 rval = Py2wxString(ro); \
648 Py_DECREF(ro); \
649 } \
650 } \
4f89f6a3 651 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
652 if (! found) \
653 rval = PCLASS::CBNAME(a); \
654 return rval; \
655 } \
656 wxString base_##CBNAME(int a) { \
657 return PCLASS::CBNAME(a); \
658 }
659
660
661#define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
662 void CBNAME(int a, const wxString& c) { \
663 bool found; \
4f89f6a3 664 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
665 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
666 PyObject* s = wx2PyString(c); \
667 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
668 Py_DECREF(s); \
669 } \
4f89f6a3 670 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
671 if (! found) \
672 PCLASS::CBNAME(a,c); \
673 } \
674 void base_##CBNAME(int a, const wxString& c) { \
675 PCLASS::CBNAME(a,c); \
676 }
677
678
679
680
681#define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
682 bool CBNAME() { \
683 bool rval = 0; \
684 bool found; \
4f89f6a3 685 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
686 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
687 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
4f89f6a3 688 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
689 if (! found) \
690 rval = PCLASS::CBNAME(); \
691 return rval; \
692 } \
693 bool base_##CBNAME() { \
694 return PCLASS::CBNAME(); \
695 }
696
697
698
699#define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
700 void CBNAME(size_t a, int b) { \
701 bool found; \
4f89f6a3 702 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
703 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
704 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
4f89f6a3 705 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
706 if (! found) \
707 PCLASS::CBNAME(a,b); \
708 } \
709 void base_##CBNAME(size_t a, int b) { \
710 PCLASS::CBNAME(a,b); \
711 }
712
713
714
715
716#define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
717 void CBNAME(int a, int b, long c) { \
718 bool found; \
4f89f6a3 719 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
720 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
721 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
4f89f6a3 722 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
723 if (! found) \
724 PCLASS::CBNAME(a,b,c); \
725 } \
726 void base_##CBNAME(int a, int b, long c) { \
727 PCLASS::CBNAME(a,b,c); \
728 }
729
730
731
732
733#define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
734 void CBNAME(int a, int b, double c) { \
735 bool found; \
4f89f6a3 736 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
737 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
738 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
4f89f6a3 739 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
740 if (! found) \
741 PCLASS::CBNAME(a,b,c); \
742 } \
743 void base_##CBNAME(int a, int b, double c) { \
744 PCLASS::CBNAME(a,b,c); \
745 }
746
747
748
749#define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
750 void CBNAME(int a, int b, bool c) { \
751 bool found; \
4f89f6a3 752 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28
RD
753 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
754 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
4f89f6a3 755 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
756 if (! found) \
757 PCLASS::CBNAME(a,b,c); \
758 } \
759 void base_##CBNAME(int a, int b, bool c) { \
760 PCLASS::CBNAME(a,b,c); \
761 }
762
763
764
765
766
15afbcd0
RD
767
768SWIGSTATICINLINE(PyObject *)
769SWIG_FromCharPtr(const char* cptr)
770{
771 size_t size = cptr ? strlen(cptr) : 0;
772 if (cptr) {
773 if (size > INT_MAX) {
774 return SWIG_NewPointerObj(swig_const_cast(char*,cptr),
775 SWIG_TypeQuery("char *"), 0);
776 } else {
777 return PyString_FromStringAndSize(cptr, swig_numeric_cast(int,size));
778 }
779 } else {
780 Py_INCREF(Py_None);
781 return Py_None;
782 }
783}
784
b0f7404b
RD
785
786#define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
787#define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
788#define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
789#define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
790#define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
791#define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
792#define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
793#define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
794#define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
795#define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
796
d14a1e28 797void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject *_self){
b0f7404b
RD
798 if (!self->GetClientObject())
799 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
800 }
801
15afbcd0
RD
802#include <limits.h>
803
804
805SWIGSTATICINLINE(long)
806SWIG_CheckLongInRange(long value, const char* type,
807 long min_value, long max_value)
808{
809 if (!PyErr_Occurred()) {
810 if (value < min_value) {
811 PyObject *err =
812 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
813 value, type, min_value);
814
815 PyErr_SetObject(PyExc_OverflowError, err);
816 Py_DECREF(err);
817 } else if (value > max_value) {
818 PyObject *err =
819 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
820 value, type, max_value);
821 PyErr_SetObject(PyExc_OverflowError, err);
822 Py_DECREF(err);
823 }
824 }
825 return value;
826}
827
828
829SWIGSTATICINLINE(long)
830SWIG_AsLong(PyObject * obj)
831{
69223c70
RD
832 if (PyNumber_Check(obj))
833 return PyInt_AsLong(obj);
834 else {
835 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
836 obj->ob_type->tp_name);
837 PyErr_SetObject(PyExc_TypeError, errmsg);
838 Py_DECREF(errmsg);
839 return 0;
840 }
15afbcd0
RD
841}
842
843
844#if INT_MAX != LONG_MAX
845SWIGSTATICINLINE(int)
846SWIG_AsInt(PyObject *obj)
994141e6 847{
15afbcd0
RD
848 return swig_numeric_cast(int,
849 SWIG_CheckLongInRange(SWIG_AsLong(obj),
850 "int", INT_MIN, INT_MAX));
994141e6 851}
15afbcd0
RD
852#else
853#define SWIG_AsInt SWIG_AsLong
854#endif
994141e6
RD
855
856
15afbcd0
RD
857SWIGSTATICINLINE(bool)
858SWIG_AsBool(PyObject *obj)
994141e6
RD
859{
860 return PyObject_IsTrue(obj) ? true : false;
861}
862
863
15afbcd0
RD
864SWIGSTATICINLINE(int)
865SWIG_CheckInt(PyObject* obj)
866{
867 SWIG_AsInt(obj);
868 if (PyErr_Occurred()) {
869 PyErr_Clear();
870 return 0;
871 } else {
872 return 1;
873 }
874}
875
876
877SWIGSTATICINLINE(int)
878SWIG_CheckBool(PyObject* obj)
879{
880 SWIG_AsBool(obj);
881 if (PyErr_Occurred()) {
882 PyErr_Clear();
883 return 0;
884 } else {
885 return 1;
886 }
887}
888
889
d14a1e28
RD
890class wxPyGridCellRenderer : public wxGridCellRenderer
891{
892public:
893 wxPyGridCellRenderer() : wxGridCellRenderer() {};
894
895 // Implement Python callback aware virtual methods
896 void Draw(wxGrid& grid, wxGridCellAttr& attr,
897 wxDC& dc, const wxRect& rect,
898 int row, int col, bool isSelected) {
4f89f6a3 899 bool blocked = wxPyBeginBlockThreads();
d14a1e28 900 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
412d302d
RD
901 PyObject* go = wxPyMake_wxObject(&grid,false);
902 PyObject* dco = wxPyMake_wxObject(&dc,false);
903 PyObject* ao = wxPyMake_wxGridCellAttr(&attr,false);
d14a1e28
RD
904 PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
905
906 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro,
907 row, col, isSelected));
908 Py_DECREF(go);
909 Py_DECREF(ao);
910 Py_DECREF(dco);
911 Py_DECREF(ro);
912 }
4f89f6a3 913 wxPyEndBlockThreads(blocked);
d14a1e28
RD
914 }
915
916 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
917 int row, int col) {
918 wxSize rval;
4f89f6a3 919 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
920 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
921 PyObject* ro;
922 wxSize* ptr;
412d302d
RD
923 PyObject* go = wxPyMake_wxObject(&grid,false);
924 PyObject* dco = wxPyMake_wxObject(&dc,false);
925 PyObject* ao = wxPyMake_wxGridCellAttr(&attr,false);
d14a1e28
RD
926
927 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)",
928 go, ao, dco,
929 row, col));
930 Py_DECREF(go);
931 Py_DECREF(ao);
932 Py_DECREF(dco);
933
934 if (ro) {
935 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
936 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxSize"))) {
937 rval = *ptr;
938 }
939 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
940 PyObject* o1 = PySequence_GetItem(ro, 0);
941 PyObject* o2 = PySequence_GetItem(ro, 1);
942 if (PyNumber_Check(o1) && PyNumber_Check(o2))
943 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
944 else
945 PyErr_SetString(PyExc_TypeError, errmsg);
946 Py_DECREF(o1);
947 Py_DECREF(o2);
948 }
949 else {
950 PyErr_SetString(PyExc_TypeError, errmsg);
951 }
952 Py_DECREF(ro);
953 }
954 }
4f89f6a3 955 wxPyEndBlockThreads(blocked);
d14a1e28
RD
956 return rval;
957 }
958
959
960 wxGridCellRenderer *Clone() const {
961 wxGridCellRenderer* rval = NULL;
4f89f6a3 962 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
963 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
964 PyObject* ro;
965 wxGridCellRenderer* ptr;
966 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
967 if (ro) {
968 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellRenderer")))
969 rval = ptr;
970 Py_DECREF(ro);
971 }
972 }
4f89f6a3 973 wxPyEndBlockThreads(blocked);
d14a1e28
RD
974 return rval;
975 }
976
977 DEC_PYCALLBACK__STRING(SetParameters);
978
979 PYPRIVATE;
980};
981
982IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
983
984
985void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject *_self){
b0f7404b
RD
986 if (!self->GetClientObject())
987 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
988 }
989
990class wxPyGridCellEditor : public wxGridCellEditor
991{
992public:
993 wxPyGridCellEditor() : wxGridCellEditor() {}
994
995 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
4f89f6a3 996 bool blocked = wxPyBeginBlockThreads();
d14a1e28 997 if (wxPyCBH_findCallback(m_myInst, "Create")) {
412d302d
RD
998 PyObject* po = wxPyMake_wxObject(parent,false);
999 PyObject* eo = wxPyMake_wxObject(evtHandler,false);
d14a1e28
RD
1000
1001 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo));
1002 Py_DECREF(po);
1003 Py_DECREF(eo);
1004 }
4f89f6a3 1005 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1006 }
1007
1008
1009 void BeginEdit(int row, int col, wxGrid* grid) {
4f89f6a3 1010 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1011 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
412d302d 1012 PyObject* go = wxPyMake_wxObject(grid,false);
d14a1e28
RD
1013 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
1014 Py_DECREF(go);
1015 }
4f89f6a3 1016 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1017 }
1018
1019
1020 bool EndEdit(int row, int col, wxGrid* grid) {
e811c8ce 1021 bool rv = False;
4f89f6a3 1022 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1023 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
412d302d 1024 PyObject* go = wxPyMake_wxObject(grid,false);
d14a1e28
RD
1025 rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
1026 Py_DECREF(go);
1027 }
4f89f6a3 1028 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1029 return rv;
1030 }
1031
1032
1033 wxGridCellEditor* Clone() const {
1034 wxGridCellEditor* rval = NULL;
4f89f6a3 1035 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1036 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
1037 PyObject* ro;
1038 wxGridCellEditor* ptr;
1039 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1040 if (ro) {
1041 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellEditor")))
1042 rval = ptr;
1043 Py_DECREF(ro);
1044 }
1045 }
4f89f6a3 1046 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1047 return rval;
1048 }
1049
1050
1051 void Show(bool show, wxGridCellAttr *attr) {
1052 bool found;
4f89f6a3 1053 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1054 if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) {
412d302d 1055 PyObject* ao = wxPyMake_wxGridCellAttr(attr,false);
d14a1e28
RD
1056 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao));
1057 Py_DECREF(ao);
1058 }
4f89f6a3 1059 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1060 if (! found)
1061 wxGridCellEditor::Show(show, attr);
1062 }
1063 void base_Show(bool show, wxGridCellAttr *attr) {
1064 wxGridCellEditor::Show(show, attr);
1065 }
1066
1067
1068 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1069 bool found;
4f89f6a3 1070 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1071 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) {
412d302d 1072 PyObject* ao = wxPyMake_wxGridCellAttr(attr,false);
d14a1e28
RD
1073 PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
1074
1075 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao));
1076
1077 Py_DECREF(ro);
1078 Py_DECREF(ao);
1079 }
4f89f6a3 1080 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1081 if (! found)
1082 wxGridCellEditor::PaintBackground(rectCell, attr);
1083 }
1084 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1085 wxGridCellEditor::PaintBackground(rectCell, attr);
1086 }
1087
1088
1089 DEC_PYCALLBACK___pure(Reset);
1090 DEC_PYCALLBACK__constany(SetSize, wxRect);
1091 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
1092 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
1093 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
1094 DEC_PYCALLBACK__(StartingClick);
1095 DEC_PYCALLBACK__(Destroy);
1096 DEC_PYCALLBACK__STRING(SetParameters);
1097 DEC_PYCALLBACK_STRING__constpure(GetValue);
1098
1099 PYPRIVATE;
1100};
1101
1102
1103IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
1104IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
1105IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
1106IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
1107IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
1108IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
1109IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
1110IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
1111IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue);
1112
1113
1114void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject *_self){
b0f7404b
RD
1115 if (!self->GetClientObject())
1116 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
1117 }
1118
1119static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1120 PyObject* o2;
1121 PyObject* o3;
1122
1123 if (!target) {
1124 target = o;
1125 } else if (target == Py_None) {
1126 Py_DECREF(Py_None);
1127 target = o;
1128 } else {
1129 if (!PyTuple_Check(target)) {
1130 o2 = target;
1131 target = PyTuple_New(1);
1132 PyTuple_SetItem(target, 0, o2);
1133 }
1134 o3 = PyTuple_New(1);
1135 PyTuple_SetItem(o3, 0, o);
1136
1137 o2 = target;
1138 target = PySequence_Concat(o2, o3);
1139 Py_DECREF(o2);
1140 Py_DECREF(o3);
1141 }
1142 return target;
1143}
1144
1145void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject *_self){
b0f7404b
RD
1146 if (!self->GetClientObject())
1147 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
1148 }
1149
15afbcd0
RD
1150SWIGSTATICINLINE(unsigned long)
1151SWIG_AsUnsignedLong(PyObject * obj)
1152{
1153 if (PyLong_Check(obj)) {
1154 return PyLong_AsUnsignedLong(obj);
1155 } else {
69223c70 1156 long i = SWIG_AsLong(obj);
15afbcd0 1157 if ( !PyErr_Occurred() && (i < 0)) {
69223c70 1158 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
15afbcd0
RD
1159 }
1160 return i;
1161 }
1162}
1163
1164
1165SWIGSTATICINLINE(int)
1166SWIG_CheckUnsignedLong(PyObject* obj)
1167{
1168 SWIG_AsUnsignedLong(obj);
1169 if (PyErr_Occurred()) {
1170 PyErr_Clear();
1171 return 0;
1172 } else {
1173 return 1;
1174 }
1175}
1176
1177
d14a1e28
RD
1178class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
1179{
1180public:
1181 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1182
1183 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
1184 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
1185 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
1186 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
1187
1188 PYPRIVATE;
1189};
1190
1191void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject *_self){
b0f7404b
RD
1192 if (!self->GetClientObject())
1193 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
1194 }
1195
15afbcd0
RD
1196SWIGSTATICINLINE(int)
1197SWIG_CheckLong(PyObject* obj)
994141e6 1198{
15afbcd0
RD
1199 SWIG_AsLong(obj);
1200 if (PyErr_Occurred()) {
1201 PyErr_Clear();
1202 return 0;
1203 } else {
1204 return 1;
1205 }
994141e6
RD
1206}
1207
1208
15afbcd0
RD
1209SWIGSTATICINLINE(double)
1210SWIG_AsDouble(PyObject *obj)
994141e6 1211{
69223c70
RD
1212 if (PyNumber_Check(obj))
1213 return PyFloat_AsDouble(obj);
1214 else {
1215 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1216 obj->ob_type->tp_name);
1217 PyErr_SetObject(PyExc_TypeError, errmsg);
1218 Py_DECREF(errmsg);
1219 return 0;
1220 }
15afbcd0
RD
1221}
1222
1223
1224SWIGSTATICINLINE(int)
1225SWIG_CheckDouble(PyObject* obj)
1226{
1227 SWIG_AsDouble(obj);
1228 if (PyErr_Occurred()) {
1229 PyErr_Clear();
1230 return 0;
1231 } else {
1232 return 1;
1233 }
994141e6
RD
1234}
1235
1236
d14a1e28
RD
1237class wxPyGridTableBase : public wxGridTableBase
1238{
1239public:
1240 wxPyGridTableBase() : wxGridTableBase() {}
1241
1242 PYCALLBACK_INT__pure(GetNumberRows);
1243 PYCALLBACK_INT__pure(GetNumberCols);
1244 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
1245 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
1246 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
1247 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
1248 PYCALLBACK__(wxGridTableBase, Clear);
1249 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
1250 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
1251 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
1252 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
1253 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
1254 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
1255 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
1256 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
1257 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
1258 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
1259 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
1260 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
1261 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
1262 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
1263 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
1264
1265
1266 wxString GetValue(int row, int col) {
4f89f6a3 1267 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1268 wxString rval;
1269 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1270 PyObject* ro;
1271 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
1272 if (ro) {
f8167d6e
RD
1273 if (!PyString_Check(ro) && !PyUnicode_Check(ro)) {
1274 PyObject* old = ro;
1275 ro = PyObject_Str(ro);
1276 Py_DECREF(old);
1277 }
d14a1e28
RD
1278 rval = Py2wxString(ro);
1279 Py_DECREF(ro);
1280 }
1281 }
4f89f6a3 1282 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1283 return rval;
1284 }
1285
1286 void SetValue(int row, int col, const wxString& val) {
4f89f6a3 1287 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1288 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1289 PyObject* s = wx2PyString(val);
1290 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s));
1291 Py_DECREF(s);
1292 }
4f89f6a3 1293 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1294 }
1295
1296
1297 // Map the Get/Set methods for the standard non-string types to
1298 // the GetValue and SetValue python methods.
1299 long GetValueAsLong( int row, int col ) {
1300 long rval = 0;
4f89f6a3 1301 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1302 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1303 PyObject* ro;
1304 PyObject* num;
1305 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1306 if (ro && PyNumber_Check(ro)) {
1307 num = PyNumber_Int(ro);
1308 if (num) {
1309 rval = PyInt_AsLong(num);
1310 Py_DECREF(num);
1311 }
1312 Py_DECREF(ro);
1313 }
1314 }
4f89f6a3 1315 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1316 return rval;
1317 }
1318
1319 double GetValueAsDouble( int row, int col ) {
1320 double rval = 0.0;
4f89f6a3 1321 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1322 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1323 PyObject* ro;
1324 PyObject* num;
1325 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1326 if (ro && PyNumber_Check(ro)) {
1327 num = PyNumber_Float(ro);
1328 if (num) {
1329 rval = PyFloat_AsDouble(num);
1330 Py_DECREF(num);
1331 }
1332 Py_DECREF(ro);
1333 }
1334 }
4f89f6a3 1335 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1336 return rval;
1337 }
1338
1339 bool GetValueAsBool( int row, int col ) {
1340 return (bool)GetValueAsLong(row, col);
1341 }
1342
1343 void SetValueAsLong( int row, int col, long value ) {
4f89f6a3 1344 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1345 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1346 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
1347 }
4f89f6a3 1348 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1349 }
1350
1351 void SetValueAsDouble( int row, int col, double value ) {
4f89f6a3 1352 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1353 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1354 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
1355 }
4f89f6a3 1356 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1357 }
1358
1359 void SetValueAsBool( int row, int col, bool value ) {
1360 SetValueAsLong( row, col, (long)value );
1361 }
1362
1363
1364 PYPRIVATE;
1365};
1366
1367void wxPyGridTableBase_Destroy(wxPyGridTableBase *self){ delete self; }
d14a1e28
RD
1368
1369bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
1370
22faec7d
RD
1371 if (source == Py_None) {
1372 **obj = wxGridCellCoords(-1,-1);
1373 return True;
1374 }
1375
d14a1e28
RD
1376 // If source is an object instance then it may already be the right type
1377 if (wxPySwigInstance_Check(source)) {
1378 wxGridCellCoords* ptr;
1379 if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1380 goto error;
1381 *obj = ptr;
e811c8ce 1382 return True;
d14a1e28
RD
1383 }
1384 // otherwise a 2-tuple of integers is expected
1385 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
1386 PyObject* o1 = PySequence_GetItem(source, 0);
1387 PyObject* o2 = PySequence_GetItem(source, 1);
1388 if (!PyNumber_Check(o1) || !PyNumber_Check(o2)) {
1389 Py_DECREF(o1);
1390 Py_DECREF(o2);
1391 goto error;
1392 }
1393 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
1394 Py_DECREF(o1);
1395 Py_DECREF(o2);
e811c8ce 1396 return True;
d14a1e28
RD
1397 }
1398
1399 error:
1400 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
e811c8ce 1401 return False;
d14a1e28
RD
1402}
1403
1404
1405bool wxGridCellCoords_typecheck(PyObject* source) {
1406 void* ptr;
f8167d6e 1407
d14a1e28
RD
1408 if (wxPySwigInstance_Check(source) &&
1409 wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
e811c8ce 1410 return True;
d14a1e28
RD
1411
1412 PyErr_Clear();
1413 if (PySequence_Check(source) && PySequence_Length(source) == 2)
e811c8ce 1414 return True;
f8167d6e 1415
e811c8ce 1416 return False;
d14a1e28
RD
1417}
1418
1419
1420PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray& source)
1421{
1422 PyObject* list = PyList_New(0);
1423 size_t idx;
1424 for (idx = 0; idx < source.GetCount(); idx += 1) {
1425 wxGridCellCoords& coord = source.Item(idx);
1426 PyObject* tup = PyTuple_New(2);
1427 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow()));
1428 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol()));
1429 PyList_Append(list, tup);
1430 Py_DECREF(tup);
1431 }
1432 return list;
1433}
1434
41e2b43e 1435PyObject *wxGridCellCoords_Get(wxGridCellCoords *self){
22faec7d
RD
1436 PyObject* tup = PyTuple_New(2);
1437 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1438 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1439 return tup;
1440 }
d14a1e28
RD
1441
1442typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
1443
1444wxGridCellCoords wxGrid_XYToCell(wxGrid *self,int x,int y){
1445 wxGridCellCoords rv;
1446 self->XYToCell(x, y, rv);
1447 return rv;
1448 }
1449#ifdef __cplusplus
1450extern "C" {
1451#endif
b2dc1044
RD
1452static int _wrap_DateTimeFormatStr_set(PyObject *_val) {
1453 PyErr_SetString(PyExc_TypeError,"Variable DateTimeFormatStr is read-only.");
1454 return 1;
1455}
1456
1457
1458static PyObject *_wrap_DateTimeFormatStr_get() {
1459 PyObject *pyobj;
1460
1461 {
1462#if wxUSE_UNICODE
1463 pyobj = PyUnicode_FromWideChar((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1464#else
1465 pyobj = PyString_FromStringAndSize((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1466#endif
1467 }
1468 return pyobj;
1469}
1470
1471
d14a1e28
RD
1472static int _wrap_GridNoCellCoords_set(PyObject *_val) {
1473 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellCoords is read-only.");
1474 return 1;
1475}
1476
1477
1478static PyObject *_wrap_GridNoCellCoords_get() {
1479 PyObject *pyobj;
1480
15afbcd0 1481 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellCoords), SWIGTYPE_p_wxGridCellCoords, 0);
d14a1e28
RD
1482 return pyobj;
1483}
1484
1485
1486static int _wrap_GridNoCellRect_set(PyObject *_val) {
1487 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellRect is read-only.");
1488 return 1;
1489}
1490
1491
1492static PyObject *_wrap_GridNoCellRect_get() {
1493 PyObject *pyobj;
1494
15afbcd0 1495 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellRect), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
1496 return pyobj;
1497}
1498
1499
1500static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1501 PyObject *resultobj;
1502 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1503 PyObject *arg2 = (PyObject *) 0 ;
1504 PyObject * obj0 = 0 ;
1505 PyObject * obj1 = 0 ;
1506 char *kwnames[] = {
1507 (char *) "self",(char *) "_self", NULL
1508 };
1509
1510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1513 arg2 = obj1;
1514 {
1515 PyThreadState* __tstate = wxPyBeginAllowThreads();
1516 wxGridCellRenderer__setOORInfo(arg1,arg2);
1517
1518 wxPyEndAllowThreads(__tstate);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 }
1521 Py_INCREF(Py_None); resultobj = Py_None;
1522 return resultobj;
1523 fail:
1524 return NULL;
1525}
1526
1527
1528static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1529 PyObject *resultobj;
1530 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1531 wxString *arg2 = 0 ;
e811c8ce 1532 bool temp2 = False ;
d14a1e28
RD
1533 PyObject * obj0 = 0 ;
1534 PyObject * obj1 = 0 ;
1535 char *kwnames[] = {
1536 (char *) "self",(char *) "params", NULL
1537 };
1538
1539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1542 {
1543 arg2 = wxString_in_helper(obj1);
1544 if (arg2 == NULL) SWIG_fail;
e811c8ce 1545 temp2 = True;
d14a1e28
RD
1546 }
1547 {
1548 PyThreadState* __tstate = wxPyBeginAllowThreads();
1549 (arg1)->SetParameters((wxString const &)*arg2);
1550
1551 wxPyEndAllowThreads(__tstate);
1552 if (PyErr_Occurred()) SWIG_fail;
1553 }
1554 Py_INCREF(Py_None); resultobj = Py_None;
1555 {
1556 if (temp2)
1557 delete arg2;
1558 }
1559 return resultobj;
1560 fail:
1561 {
1562 if (temp2)
1563 delete arg2;
1564 }
1565 return NULL;
1566}
1567
1568
1569static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1570 PyObject *resultobj;
1571 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1572 PyObject * obj0 = 0 ;
1573 char *kwnames[] = {
1574 (char *) "self", NULL
1575 };
1576
1577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_IncRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
1578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1580 {
1581 PyThreadState* __tstate = wxPyBeginAllowThreads();
1582 (arg1)->IncRef();
1583
1584 wxPyEndAllowThreads(__tstate);
1585 if (PyErr_Occurred()) SWIG_fail;
1586 }
1587 Py_INCREF(Py_None); resultobj = Py_None;
1588 return resultobj;
1589 fail:
1590 return NULL;
1591}
1592
1593
1594static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1595 PyObject *resultobj;
1596 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1597 PyObject * obj0 = 0 ;
1598 char *kwnames[] = {
1599 (char *) "self", NULL
1600 };
1601
1602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_DecRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
1603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1605 {
1606 PyThreadState* __tstate = wxPyBeginAllowThreads();
1607 (arg1)->DecRef();
1608
1609 wxPyEndAllowThreads(__tstate);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 }
1612 Py_INCREF(Py_None); resultobj = Py_None;
1613 return resultobj;
1614 fail:
1615 return NULL;
1616}
1617
1618
1619static PyObject *_wrap_GridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
1620 PyObject *resultobj;
1621 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1622 wxGrid *arg2 = 0 ;
1623 wxGridCellAttr *arg3 = 0 ;
1624 wxDC *arg4 = 0 ;
1625 wxRect *arg5 = 0 ;
1626 int arg6 ;
1627 int arg7 ;
1628 bool arg8 ;
1629 wxRect temp5 ;
1630 PyObject * obj0 = 0 ;
1631 PyObject * obj1 = 0 ;
1632 PyObject * obj2 = 0 ;
1633 PyObject * obj3 = 0 ;
1634 PyObject * obj4 = 0 ;
994141e6
RD
1635 PyObject * obj5 = 0 ;
1636 PyObject * obj6 = 0 ;
d14a1e28
RD
1637 PyObject * obj7 = 0 ;
1638 char *kwnames[] = {
1639 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1640 };
1641
994141e6 1642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1646 SWIG_POINTER_EXCEPTION | 0)) == -1)
1647 SWIG_fail;
d14a1e28 1648 if (arg2 == NULL) {
15afbcd0
RD
1649 PyErr_SetString(PyExc_TypeError,"null reference");
1650 SWIG_fail;
d14a1e28 1651 }
15afbcd0
RD
1652 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1653 SWIG_POINTER_EXCEPTION | 0)) == -1)
1654 SWIG_fail;
d14a1e28 1655 if (arg3 == NULL) {
15afbcd0
RD
1656 PyErr_SetString(PyExc_TypeError,"null reference");
1657 SWIG_fail;
d14a1e28 1658 }
15afbcd0
RD
1659 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1660 SWIG_POINTER_EXCEPTION | 0)) == -1)
1661 SWIG_fail;
d14a1e28 1662 if (arg4 == NULL) {
15afbcd0
RD
1663 PyErr_SetString(PyExc_TypeError,"null reference");
1664 SWIG_fail;
d14a1e28
RD
1665 }
1666 {
1667 arg5 = &temp5;
1668 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
1669 }
15afbcd0
RD
1670 arg6 = (int) SWIG_AsInt(obj5);
1671 if (PyErr_Occurred()) SWIG_fail;
1672 arg7 = (int) SWIG_AsInt(obj6);
1673 if (PyErr_Occurred()) SWIG_fail;
1674 arg8 = (bool) SWIG_AsBool(obj7);
1675 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1676 {
1677 PyThreadState* __tstate = wxPyBeginAllowThreads();
1678 (arg1)->Draw(*arg2,*arg3,*arg4,(wxRect const &)*arg5,arg6,arg7,arg8);
1679
1680 wxPyEndAllowThreads(__tstate);
1681 if (PyErr_Occurred()) SWIG_fail;
1682 }
1683 Py_INCREF(Py_None); resultobj = Py_None;
1684 return resultobj;
1685 fail:
1686 return NULL;
1687}
1688
1689
1690static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1691 PyObject *resultobj;
1692 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1693 wxGrid *arg2 = 0 ;
1694 wxGridCellAttr *arg3 = 0 ;
1695 wxDC *arg4 = 0 ;
1696 int arg5 ;
1697 int arg6 ;
1698 wxSize result;
1699 PyObject * obj0 = 0 ;
1700 PyObject * obj1 = 0 ;
1701 PyObject * obj2 = 0 ;
1702 PyObject * obj3 = 0 ;
994141e6
RD
1703 PyObject * obj4 = 0 ;
1704 PyObject * obj5 = 0 ;
d14a1e28
RD
1705 char *kwnames[] = {
1706 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1707 };
1708
994141e6 1709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
1710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1712 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1713 SWIG_POINTER_EXCEPTION | 0)) == -1)
1714 SWIG_fail;
d14a1e28 1715 if (arg2 == NULL) {
15afbcd0
RD
1716 PyErr_SetString(PyExc_TypeError,"null reference");
1717 SWIG_fail;
d14a1e28 1718 }
15afbcd0
RD
1719 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1720 SWIG_POINTER_EXCEPTION | 0)) == -1)
1721 SWIG_fail;
d14a1e28 1722 if (arg3 == NULL) {
15afbcd0
RD
1723 PyErr_SetString(PyExc_TypeError,"null reference");
1724 SWIG_fail;
d14a1e28 1725 }
15afbcd0
RD
1726 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1727 SWIG_POINTER_EXCEPTION | 0)) == -1)
1728 SWIG_fail;
d14a1e28 1729 if (arg4 == NULL) {
15afbcd0
RD
1730 PyErr_SetString(PyExc_TypeError,"null reference");
1731 SWIG_fail;
994141e6 1732 }
15afbcd0
RD
1733 arg5 = (int) SWIG_AsInt(obj4);
1734 if (PyErr_Occurred()) SWIG_fail;
1735 arg6 = (int) SWIG_AsInt(obj5);
1736 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1737 {
1738 PyThreadState* __tstate = wxPyBeginAllowThreads();
1739 result = (arg1)->GetBestSize(*arg2,*arg3,*arg4,arg5,arg6);
1740
1741 wxPyEndAllowThreads(__tstate);
1742 if (PyErr_Occurred()) SWIG_fail;
1743 }
1744 {
1745 wxSize * resultptr;
1746 resultptr = new wxSize((wxSize &) result);
15afbcd0 1747 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1748 }
1749 return resultobj;
1750 fail:
1751 return NULL;
1752}
1753
1754
1755static PyObject *_wrap_GridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1756 PyObject *resultobj;
1757 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1758 wxGridCellRenderer *result;
1759 PyObject * obj0 = 0 ;
1760 char *kwnames[] = {
1761 (char *) "self", NULL
1762 };
1763
1764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
1765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1767 {
1768 PyThreadState* __tstate = wxPyBeginAllowThreads();
1769 result = (wxGridCellRenderer *)((wxGridCellRenderer const *)arg1)->Clone();
1770
1771 wxPyEndAllowThreads(__tstate);
1772 if (PyErr_Occurred()) SWIG_fail;
1773 }
1774 {
412d302d 1775 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
d14a1e28
RD
1776 }
1777 return resultobj;
1778 fail:
1779 return NULL;
1780}
1781
1782
1783static PyObject * GridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1784 PyObject *obj;
1785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1786 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer, obj);
1787 Py_INCREF(obj);
1788 return Py_BuildValue((char *)"");
1789}
1790static PyObject *_wrap_new_PyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1791 PyObject *resultobj;
1792 wxPyGridCellRenderer *result;
1793 char *kwnames[] = {
1794 NULL
1795 };
1796
1797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellRenderer",kwnames)) goto fail;
1798 {
1799 PyThreadState* __tstate = wxPyBeginAllowThreads();
1800 result = (wxPyGridCellRenderer *)new wxPyGridCellRenderer();
1801
1802 wxPyEndAllowThreads(__tstate);
1803 if (PyErr_Occurred()) SWIG_fail;
1804 }
15afbcd0 1805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellRenderer, 1);
d14a1e28
RD
1806 return resultobj;
1807 fail:
1808 return NULL;
1809}
1810
1811
1812static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1813 PyObject *resultobj;
1814 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1815 PyObject *arg2 = (PyObject *) 0 ;
1816 PyObject *arg3 = (PyObject *) 0 ;
1817 PyObject * obj0 = 0 ;
1818 PyObject * obj1 = 0 ;
1819 PyObject * obj2 = 0 ;
1820 char *kwnames[] = {
1821 (char *) "self",(char *) "self",(char *) "_class", NULL
1822 };
1823
1824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1827 arg2 = obj1;
1828 arg3 = obj2;
1829 {
1830 PyThreadState* __tstate = wxPyBeginAllowThreads();
1831 (arg1)->_setCallbackInfo(arg2,arg3);
1832
1833 wxPyEndAllowThreads(__tstate);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 }
1836 Py_INCREF(Py_None); resultobj = Py_None;
1837 return resultobj;
1838 fail:
1839 return NULL;
1840}
1841
1842
1843static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1844 PyObject *resultobj;
1845 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1846 wxString *arg2 = 0 ;
e811c8ce 1847 bool temp2 = False ;
d14a1e28
RD
1848 PyObject * obj0 = 0 ;
1849 PyObject * obj1 = 0 ;
1850 char *kwnames[] = {
1851 (char *) "self",(char *) "params", NULL
1852 };
1853
1854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1857 {
1858 arg2 = wxString_in_helper(obj1);
1859 if (arg2 == NULL) SWIG_fail;
e811c8ce 1860 temp2 = True;
d14a1e28
RD
1861 }
1862 {
1863 PyThreadState* __tstate = wxPyBeginAllowThreads();
1864 (arg1)->base_SetParameters((wxString const &)*arg2);
1865
1866 wxPyEndAllowThreads(__tstate);
1867 if (PyErr_Occurred()) SWIG_fail;
1868 }
1869 Py_INCREF(Py_None); resultobj = Py_None;
1870 {
1871 if (temp2)
1872 delete arg2;
1873 }
1874 return resultobj;
1875 fail:
1876 {
1877 if (temp2)
1878 delete arg2;
1879 }
1880 return NULL;
1881}
1882
1883
1884static PyObject * PyGridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1885 PyObject *obj;
1886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1887 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer, obj);
1888 Py_INCREF(obj);
1889 return Py_BuildValue((char *)"");
1890}
1891static PyObject *_wrap_new_GridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1892 PyObject *resultobj;
1893 wxGridCellStringRenderer *result;
1894 char *kwnames[] = {
1895 NULL
1896 };
1897
1898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellStringRenderer",kwnames)) goto fail;
1899 {
1900 PyThreadState* __tstate = wxPyBeginAllowThreads();
1901 result = (wxGridCellStringRenderer *)new wxGridCellStringRenderer();
1902
1903 wxPyEndAllowThreads(__tstate);
1904 if (PyErr_Occurred()) SWIG_fail;
1905 }
15afbcd0 1906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellStringRenderer, 1);
d14a1e28
RD
1907 return resultobj;
1908 fail:
1909 return NULL;
1910}
1911
1912
1913static PyObject * GridCellStringRenderer_swigregister(PyObject *self, PyObject *args) {
1914 PyObject *obj;
1915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1916 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer, obj);
1917 Py_INCREF(obj);
1918 return Py_BuildValue((char *)"");
1919}
1920static PyObject *_wrap_new_GridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1921 PyObject *resultobj;
1922 wxGridCellNumberRenderer *result;
1923 char *kwnames[] = {
1924 NULL
1925 };
1926
1927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellNumberRenderer",kwnames)) goto fail;
1928 {
1929 PyThreadState* __tstate = wxPyBeginAllowThreads();
1930 result = (wxGridCellNumberRenderer *)new wxGridCellNumberRenderer();
1931
1932 wxPyEndAllowThreads(__tstate);
1933 if (PyErr_Occurred()) SWIG_fail;
1934 }
15afbcd0 1935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberRenderer, 1);
d14a1e28
RD
1936 return resultobj;
1937 fail:
1938 return NULL;
1939}
1940
1941
1942static PyObject * GridCellNumberRenderer_swigregister(PyObject *self, PyObject *args) {
1943 PyObject *obj;
1944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1945 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer, obj);
1946 Py_INCREF(obj);
1947 return Py_BuildValue((char *)"");
1948}
1949static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1950 PyObject *resultobj;
1951 int arg1 = (int) -1 ;
1952 int arg2 = (int) -1 ;
1953 wxGridCellFloatRenderer *result;
994141e6
RD
1954 PyObject * obj0 = 0 ;
1955 PyObject * obj1 = 0 ;
d14a1e28
RD
1956 char *kwnames[] = {
1957 (char *) "width",(char *) "precision", NULL
1958 };
1959
994141e6
RD
1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatRenderer",kwnames,&obj0,&obj1)) goto fail;
1961 if (obj0) {
15afbcd0
RD
1962 arg1 = (int) SWIG_AsInt(obj0);
1963 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
1964 }
1965 if (obj1) {
15afbcd0
RD
1966 arg2 = (int) SWIG_AsInt(obj1);
1967 if (PyErr_Occurred()) SWIG_fail;
994141e6 1968 }
d14a1e28
RD
1969 {
1970 PyThreadState* __tstate = wxPyBeginAllowThreads();
1971 result = (wxGridCellFloatRenderer *)new wxGridCellFloatRenderer(arg1,arg2);
1972
1973 wxPyEndAllowThreads(__tstate);
1974 if (PyErr_Occurred()) SWIG_fail;
1975 }
15afbcd0 1976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatRenderer, 1);
d14a1e28
RD
1977 return resultobj;
1978 fail:
1979 return NULL;
1980}
1981
1982
1983static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1984 PyObject *resultobj;
1985 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1986 int result;
1987 PyObject * obj0 = 0 ;
1988 char *kwnames[] = {
1989 (char *) "self", NULL
1990 };
1991
1992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
1993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
1994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1995 {
1996 PyThreadState* __tstate = wxPyBeginAllowThreads();
1997 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetWidth();
1998
1999 wxPyEndAllowThreads(__tstate);
2000 if (PyErr_Occurred()) SWIG_fail;
2001 }
15afbcd0 2002 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2003 return resultobj;
2004 fail:
2005 return NULL;
2006}
2007
2008
2009static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2010 PyObject *resultobj;
2011 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2012 int arg2 ;
2013 PyObject * obj0 = 0 ;
994141e6 2014 PyObject * obj1 = 0 ;
d14a1e28
RD
2015 char *kwnames[] = {
2016 (char *) "self",(char *) "width", NULL
2017 };
2018
994141e6 2019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2022 arg2 = (int) SWIG_AsInt(obj1);
2023 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2024 {
2025 PyThreadState* __tstate = wxPyBeginAllowThreads();
2026 (arg1)->SetWidth(arg2);
2027
2028 wxPyEndAllowThreads(__tstate);
2029 if (PyErr_Occurred()) SWIG_fail;
2030 }
2031 Py_INCREF(Py_None); resultobj = Py_None;
2032 return resultobj;
2033 fail:
2034 return NULL;
2035}
2036
2037
2038static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
2039 PyObject *resultobj;
2040 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2041 int result;
2042 PyObject * obj0 = 0 ;
2043 char *kwnames[] = {
2044 (char *) "self", NULL
2045 };
2046
2047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames,&obj0)) goto fail;
15afbcd0
RD
2048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2050 {
2051 PyThreadState* __tstate = wxPyBeginAllowThreads();
2052 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetPrecision();
2053
2054 wxPyEndAllowThreads(__tstate);
2055 if (PyErr_Occurred()) SWIG_fail;
2056 }
15afbcd0 2057 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2058 return resultobj;
2059 fail:
2060 return NULL;
2061}
2062
2063
2064static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
2065 PyObject *resultobj;
2066 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2067 int arg2 ;
2068 PyObject * obj0 = 0 ;
994141e6 2069 PyObject * obj1 = 0 ;
d14a1e28
RD
2070 char *kwnames[] = {
2071 (char *) "self",(char *) "precision", NULL
2072 };
2073
994141e6 2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2077 arg2 = (int) SWIG_AsInt(obj1);
2078 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2079 {
2080 PyThreadState* __tstate = wxPyBeginAllowThreads();
2081 (arg1)->SetPrecision(arg2);
2082
2083 wxPyEndAllowThreads(__tstate);
2084 if (PyErr_Occurred()) SWIG_fail;
2085 }
2086 Py_INCREF(Py_None); resultobj = Py_None;
2087 return resultobj;
2088 fail:
2089 return NULL;
2090}
2091
2092
2093static PyObject * GridCellFloatRenderer_swigregister(PyObject *self, PyObject *args) {
2094 PyObject *obj;
2095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2096 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer, obj);
2097 Py_INCREF(obj);
2098 return Py_BuildValue((char *)"");
2099}
2100static PyObject *_wrap_new_GridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2101 PyObject *resultobj;
2102 wxGridCellBoolRenderer *result;
2103 char *kwnames[] = {
2104 NULL
2105 };
2106
2107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolRenderer",kwnames)) goto fail;
2108 {
2109 PyThreadState* __tstate = wxPyBeginAllowThreads();
2110 result = (wxGridCellBoolRenderer *)new wxGridCellBoolRenderer();
2111
2112 wxPyEndAllowThreads(__tstate);
2113 if (PyErr_Occurred()) SWIG_fail;
2114 }
15afbcd0 2115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolRenderer, 1);
d14a1e28
RD
2116 return resultobj;
2117 fail:
2118 return NULL;
2119}
2120
2121
2122static PyObject * GridCellBoolRenderer_swigregister(PyObject *self, PyObject *args) {
2123 PyObject *obj;
2124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2125 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer, obj);
2126 Py_INCREF(obj);
2127 return Py_BuildValue((char *)"");
2128}
2129static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2130 PyObject *resultobj;
2131 wxString arg1 = (wxString) wxPyDateTimeFormatStr ;
2132 wxString arg2 = (wxString) wxPyDateTimeFormatStr ;
2133 wxGridCellDateTimeRenderer *result;
d14a1e28
RD
2134 PyObject * obj0 = 0 ;
2135 PyObject * obj1 = 0 ;
2136 char *kwnames[] = {
2137 (char *) "outformat",(char *) "informat", NULL
2138 };
2139
2140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail;
2141 if (obj0) {
e811c8ce
RD
2142 {
2143 wxString* sptr = wxString_in_helper(obj0);
2144 if (sptr == NULL) SWIG_fail;
2145 arg1 = *sptr;
2146 delete sptr;
2147 }
d14a1e28
RD
2148 }
2149 if (obj1) {
e811c8ce
RD
2150 {
2151 wxString* sptr = wxString_in_helper(obj1);
2152 if (sptr == NULL) SWIG_fail;
2153 arg2 = *sptr;
2154 delete sptr;
2155 }
d14a1e28
RD
2156 }
2157 {
2158 PyThreadState* __tstate = wxPyBeginAllowThreads();
2159 result = (wxGridCellDateTimeRenderer *)new wxGridCellDateTimeRenderer(arg1,arg2);
2160
2161 wxPyEndAllowThreads(__tstate);
2162 if (PyErr_Occurred()) SWIG_fail;
2163 }
15afbcd0 2164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellDateTimeRenderer, 1);
d14a1e28
RD
2165 return resultobj;
2166 fail:
2167 return NULL;
2168}
2169
2170
2171static PyObject * GridCellDateTimeRenderer_swigregister(PyObject *self, PyObject *args) {
2172 PyObject *obj;
2173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2174 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer, obj);
2175 Py_INCREF(obj);
2176 return Py_BuildValue((char *)"");
2177}
2178static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2179 PyObject *resultobj;
2180 wxString const &arg1_defvalue = wxPyEmptyString ;
2181 wxString *arg1 = (wxString *) &arg1_defvalue ;
2182 wxGridCellEnumRenderer *result;
e811c8ce 2183 bool temp1 = False ;
d14a1e28
RD
2184 PyObject * obj0 = 0 ;
2185 char *kwnames[] = {
2186 (char *) "choices", NULL
2187 };
2188
2189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumRenderer",kwnames,&obj0)) goto fail;
2190 if (obj0) {
2191 {
2192 arg1 = wxString_in_helper(obj0);
2193 if (arg1 == NULL) SWIG_fail;
e811c8ce 2194 temp1 = True;
d14a1e28
RD
2195 }
2196 }
2197 {
2198 PyThreadState* __tstate = wxPyBeginAllowThreads();
2199 result = (wxGridCellEnumRenderer *)new wxGridCellEnumRenderer((wxString const &)*arg1);
2200
2201 wxPyEndAllowThreads(__tstate);
2202 if (PyErr_Occurred()) SWIG_fail;
2203 }
15afbcd0 2204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumRenderer, 1);
d14a1e28
RD
2205 {
2206 if (temp1)
2207 delete arg1;
2208 }
2209 return resultobj;
2210 fail:
2211 {
2212 if (temp1)
2213 delete arg1;
2214 }
2215 return NULL;
2216}
2217
2218
2219static PyObject * GridCellEnumRenderer_swigregister(PyObject *self, PyObject *args) {
2220 PyObject *obj;
2221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2222 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer, obj);
2223 Py_INCREF(obj);
2224 return Py_BuildValue((char *)"");
2225}
2226static PyObject *_wrap_new_GridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2227 PyObject *resultobj;
2228 wxGridCellAutoWrapStringRenderer *result;
2229 char *kwnames[] = {
2230 NULL
2231 };
2232
2233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringRenderer",kwnames)) goto fail;
2234 {
2235 PyThreadState* __tstate = wxPyBeginAllowThreads();
2236 result = (wxGridCellAutoWrapStringRenderer *)new wxGridCellAutoWrapStringRenderer();
2237
2238 wxPyEndAllowThreads(__tstate);
2239 if (PyErr_Occurred()) SWIG_fail;
2240 }
15afbcd0 2241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, 1);
d14a1e28
RD
2242 return resultobj;
2243 fail:
2244 return NULL;
2245}
2246
2247
2248static PyObject * GridCellAutoWrapStringRenderer_swigregister(PyObject *self, PyObject *args) {
2249 PyObject *obj;
2250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2251 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, obj);
2252 Py_INCREF(obj);
2253 return Py_BuildValue((char *)"");
2254}
2255static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2256 PyObject *resultobj;
2257 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2258 PyObject *arg2 = (PyObject *) 0 ;
2259 PyObject * obj0 = 0 ;
2260 PyObject * obj1 = 0 ;
2261 char *kwnames[] = {
2262 (char *) "self",(char *) "_self", NULL
2263 };
2264
2265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2268 arg2 = obj1;
2269 {
2270 PyThreadState* __tstate = wxPyBeginAllowThreads();
2271 wxGridCellEditor__setOORInfo(arg1,arg2);
2272
2273 wxPyEndAllowThreads(__tstate);
2274 if (PyErr_Occurred()) SWIG_fail;
2275 }
2276 Py_INCREF(Py_None); resultobj = Py_None;
2277 return resultobj;
2278 fail:
2279 return NULL;
2280}
2281
2282
2283static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
2284 PyObject *resultobj;
2285 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2286 bool result;
2287 PyObject * obj0 = 0 ;
2288 char *kwnames[] = {
2289 (char *) "self", NULL
2290 };
2291
2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IsCreated",kwnames,&obj0)) goto fail;
15afbcd0
RD
2293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2295 {
2296 PyThreadState* __tstate = wxPyBeginAllowThreads();
2297 result = (bool)(arg1)->IsCreated();
2298
2299 wxPyEndAllowThreads(__tstate);
2300 if (PyErr_Occurred()) SWIG_fail;
2301 }
4f89f6a3
RD
2302 {
2303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2304 }
d14a1e28
RD
2305 return resultobj;
2306 fail:
2307 return NULL;
2308}
2309
2310
2311static PyObject *_wrap_GridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2312 PyObject *resultobj;
2313 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2314 wxControl *result;
2315 PyObject * obj0 = 0 ;
2316 char *kwnames[] = {
2317 (char *) "self", NULL
2318 };
2319
2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
2321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2323 {
2324 PyThreadState* __tstate = wxPyBeginAllowThreads();
2325 result = (wxControl *)(arg1)->GetControl();
2326
2327 wxPyEndAllowThreads(__tstate);
2328 if (PyErr_Occurred()) SWIG_fail;
2329 }
2330 {
412d302d 2331 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2332 }
2333 return resultobj;
2334 fail:
2335 return NULL;
2336}
2337
2338
2339static PyObject *_wrap_GridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2340 PyObject *resultobj;
2341 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2342 wxControl *arg2 = (wxControl *) 0 ;
2343 PyObject * obj0 = 0 ;
2344 PyObject * obj1 = 0 ;
2345 char *kwnames[] = {
2346 (char *) "self",(char *) "control", NULL
2347 };
2348
2349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2352 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
2353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2354 {
2355 PyThreadState* __tstate = wxPyBeginAllowThreads();
2356 (arg1)->SetControl(arg2);
2357
2358 wxPyEndAllowThreads(__tstate);
2359 if (PyErr_Occurred()) SWIG_fail;
2360 }
2361 Py_INCREF(Py_None); resultobj = Py_None;
2362 return resultobj;
2363 fail:
2364 return NULL;
2365}
2366
2367
2368static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2369 PyObject *resultobj;
2370 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2371 wxGridCellAttr *result;
2372 PyObject * obj0 = 0 ;
2373 char *kwnames[] = {
2374 (char *) "self", NULL
2375 };
2376
2377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetCellAttr",kwnames,&obj0)) goto fail;
15afbcd0
RD
2378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2380 {
2381 PyThreadState* __tstate = wxPyBeginAllowThreads();
2382 result = (wxGridCellAttr *)(arg1)->GetCellAttr();
2383
2384 wxPyEndAllowThreads(__tstate);
2385 if (PyErr_Occurred()) SWIG_fail;
2386 }
2387 {
412d302d 2388 resultobj = wxPyMake_wxGridCellAttr(result, 0);
d14a1e28
RD
2389 }
2390 return resultobj;
2391 fail:
2392 return NULL;
2393}
2394
2395
2396static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2397 PyObject *resultobj;
2398 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2399 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
2400 PyObject * obj0 = 0 ;
2401 PyObject * obj1 = 0 ;
2402 char *kwnames[] = {
2403 (char *) "self",(char *) "attr", NULL
2404 };
2405
2406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetCellAttr",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
2410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2411 {
2412 PyThreadState* __tstate = wxPyBeginAllowThreads();
2413 (arg1)->SetCellAttr(arg2);
2414
2415 wxPyEndAllowThreads(__tstate);
2416 if (PyErr_Occurred()) SWIG_fail;
2417 }
2418 Py_INCREF(Py_None); resultobj = Py_None;
2419 return resultobj;
2420 fail:
2421 return NULL;
2422}
2423
2424
2425static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2426 PyObject *resultobj;
2427 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2428 wxString *arg2 = 0 ;
e811c8ce 2429 bool temp2 = False ;
d14a1e28
RD
2430 PyObject * obj0 = 0 ;
2431 PyObject * obj1 = 0 ;
2432 char *kwnames[] = {
2433 (char *) "self",(char *) "params", NULL
2434 };
2435
2436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2439 {
2440 arg2 = wxString_in_helper(obj1);
2441 if (arg2 == NULL) SWIG_fail;
e811c8ce 2442 temp2 = True;
d14a1e28
RD
2443 }
2444 {
2445 PyThreadState* __tstate = wxPyBeginAllowThreads();
2446 (arg1)->SetParameters((wxString const &)*arg2);
2447
2448 wxPyEndAllowThreads(__tstate);
2449 if (PyErr_Occurred()) SWIG_fail;
2450 }
2451 Py_INCREF(Py_None); resultobj = Py_None;
2452 {
2453 if (temp2)
2454 delete arg2;
2455 }
2456 return resultobj;
2457 fail:
2458 {
2459 if (temp2)
2460 delete arg2;
2461 }
2462 return NULL;
2463}
2464
2465
2466static PyObject *_wrap_GridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2467 PyObject *resultobj;
2468 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2469 PyObject * obj0 = 0 ;
2470 char *kwnames[] = {
2471 (char *) "self", NULL
2472 };
2473
2474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IncRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
2475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2477 {
2478 PyThreadState* __tstate = wxPyBeginAllowThreads();
2479 (arg1)->IncRef();
2480
2481 wxPyEndAllowThreads(__tstate);
2482 if (PyErr_Occurred()) SWIG_fail;
2483 }
2484 Py_INCREF(Py_None); resultobj = Py_None;
2485 return resultobj;
2486 fail:
2487 return NULL;
2488}
2489
2490
2491static PyObject *_wrap_GridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2492 PyObject *resultobj;
2493 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2494 PyObject * obj0 = 0 ;
2495 char *kwnames[] = {
2496 (char *) "self", NULL
2497 };
2498
2499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_DecRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
2500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2502 {
2503 PyThreadState* __tstate = wxPyBeginAllowThreads();
2504 (arg1)->DecRef();
2505
2506 wxPyEndAllowThreads(__tstate);
2507 if (PyErr_Occurred()) SWIG_fail;
2508 }
2509 Py_INCREF(Py_None); resultobj = Py_None;
2510 return resultobj;
2511 fail:
2512 return NULL;
2513}
2514
2515
2516static PyObject *_wrap_GridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2517 PyObject *resultobj;
2518 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2519 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2520 int arg3 ;
d14a1e28
RD
2521 wxEvtHandler *arg4 = (wxEvtHandler *) 0 ;
2522 PyObject * obj0 = 0 ;
2523 PyObject * obj1 = 0 ;
994141e6 2524 PyObject * obj2 = 0 ;
d14a1e28
RD
2525 PyObject * obj3 = 0 ;
2526 char *kwnames[] = {
2527 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2528 };
2529
994141e6 2530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
2531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2533 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2535 arg3 = (int) SWIG_AsInt(obj2);
2536 if (PyErr_Occurred()) SWIG_fail;
2537 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxEvtHandler,
2538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2539 {
2540 PyThreadState* __tstate = wxPyBeginAllowThreads();
2541 (arg1)->Create(arg2,arg3,arg4);
2542
2543 wxPyEndAllowThreads(__tstate);
2544 if (PyErr_Occurred()) SWIG_fail;
2545 }
2546 Py_INCREF(Py_None); resultobj = Py_None;
2547 return resultobj;
2548 fail:
2549 return NULL;
2550}
2551
2552
2553static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2554 PyObject *resultobj;
2555 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2556 int arg2 ;
2557 int arg3 ;
2558 wxGrid *arg4 = (wxGrid *) 0 ;
2559 PyObject * obj0 = 0 ;
994141e6
RD
2560 PyObject * obj1 = 0 ;
2561 PyObject * obj2 = 0 ;
d14a1e28
RD
2562 PyObject * obj3 = 0 ;
2563 char *kwnames[] = {
2564 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2565 };
2566
994141e6 2567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
2568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2570 arg2 = (int) SWIG_AsInt(obj1);
2571 if (PyErr_Occurred()) SWIG_fail;
2572 arg3 = (int) SWIG_AsInt(obj2);
2573 if (PyErr_Occurred()) SWIG_fail;
2574 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2576 {
2577 PyThreadState* __tstate = wxPyBeginAllowThreads();
2578 (arg1)->BeginEdit(arg2,arg3,arg4);
2579
2580 wxPyEndAllowThreads(__tstate);
2581 if (PyErr_Occurred()) SWIG_fail;
2582 }
2583 Py_INCREF(Py_None); resultobj = Py_None;
2584 return resultobj;
2585 fail:
2586 return NULL;
2587}
2588
2589
2590static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2591 PyObject *resultobj;
2592 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2593 int arg2 ;
2594 int arg3 ;
2595 wxGrid *arg4 = (wxGrid *) 0 ;
2596 bool result;
2597 PyObject * obj0 = 0 ;
994141e6
RD
2598 PyObject * obj1 = 0 ;
2599 PyObject * obj2 = 0 ;
d14a1e28
RD
2600 PyObject * obj3 = 0 ;
2601 char *kwnames[] = {
2602 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2603 };
2604
994141e6 2605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_EndEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
2606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2608 arg2 = (int) SWIG_AsInt(obj1);
2609 if (PyErr_Occurred()) SWIG_fail;
2610 arg3 = (int) SWIG_AsInt(obj2);
2611 if (PyErr_Occurred()) SWIG_fail;
2612 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2614 {
2615 PyThreadState* __tstate = wxPyBeginAllowThreads();
2616 result = (bool)(arg1)->EndEdit(arg2,arg3,arg4);
2617
2618 wxPyEndAllowThreads(__tstate);
2619 if (PyErr_Occurred()) SWIG_fail;
2620 }
4f89f6a3
RD
2621 {
2622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2623 }
d14a1e28
RD
2624 return resultobj;
2625 fail:
2626 return NULL;
2627}
2628
2629
2630static PyObject *_wrap_GridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
2631 PyObject *resultobj;
2632 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2633 PyObject * obj0 = 0 ;
2634 char *kwnames[] = {
2635 (char *) "self", NULL
2636 };
2637
2638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Reset",kwnames,&obj0)) goto fail;
15afbcd0
RD
2639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2641 {
2642 PyThreadState* __tstate = wxPyBeginAllowThreads();
2643 (arg1)->Reset();
2644
2645 wxPyEndAllowThreads(__tstate);
2646 if (PyErr_Occurred()) SWIG_fail;
2647 }
2648 Py_INCREF(Py_None); resultobj = Py_None;
2649 return resultobj;
2650 fail:
2651 return NULL;
2652}
2653
2654
2655static PyObject *_wrap_GridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2656 PyObject *resultobj;
2657 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2658 wxGridCellEditor *result;
2659 PyObject * obj0 = 0 ;
2660 char *kwnames[] = {
2661 (char *) "self", NULL
2662 };
2663
2664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
2665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2667 {
2668 PyThreadState* __tstate = wxPyBeginAllowThreads();
2669 result = (wxGridCellEditor *)((wxGridCellEditor const *)arg1)->Clone();
2670
2671 wxPyEndAllowThreads(__tstate);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 }
2674 {
412d302d 2675 resultobj = wxPyMake_wxGridCellEditor(result, 0);
d14a1e28
RD
2676 }
2677 return resultobj;
2678 fail:
2679 return NULL;
2680}
2681
2682
2683static PyObject *_wrap_GridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2684 PyObject *resultobj;
2685 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2686 wxRect *arg2 = 0 ;
2687 wxRect temp2 ;
2688 PyObject * obj0 = 0 ;
2689 PyObject * obj1 = 0 ;
2690 char *kwnames[] = {
2691 (char *) "self",(char *) "rect", NULL
2692 };
2693
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2697 {
2698 arg2 = &temp2;
2699 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2700 }
2701 {
2702 PyThreadState* __tstate = wxPyBeginAllowThreads();
2703 (arg1)->SetSize((wxRect const &)*arg2);
2704
2705 wxPyEndAllowThreads(__tstate);
2706 if (PyErr_Occurred()) SWIG_fail;
2707 }
2708 Py_INCREF(Py_None); resultobj = Py_None;
2709 return resultobj;
2710 fail:
2711 return NULL;
2712}
2713
2714
2715static PyObject *_wrap_GridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2716 PyObject *resultobj;
2717 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2718 bool arg2 ;
2719 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
2720 PyObject * obj0 = 0 ;
2721 PyObject * obj1 = 0 ;
2722 PyObject * obj2 = 0 ;
2723 char *kwnames[] = {
2724 (char *) "self",(char *) "show",(char *) "attr", NULL
2725 };
2726
2727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridCellEditor_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2730 arg2 = (bool) SWIG_AsBool(obj1);
2731 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2732 if (obj2) {
15afbcd0
RD
2733 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2735 }
2736 {
2737 PyThreadState* __tstate = wxPyBeginAllowThreads();
2738 (arg1)->Show(arg2,arg3);
2739
2740 wxPyEndAllowThreads(__tstate);
2741 if (PyErr_Occurred()) SWIG_fail;
2742 }
2743 Py_INCREF(Py_None); resultobj = Py_None;
2744 return resultobj;
2745 fail:
2746 return NULL;
2747}
2748
2749
2750static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2751 PyObject *resultobj;
2752 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2753 wxRect *arg2 = 0 ;
2754 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
2755 wxRect temp2 ;
2756 PyObject * obj0 = 0 ;
2757 PyObject * obj1 = 0 ;
2758 PyObject * obj2 = 0 ;
2759 char *kwnames[] = {
2760 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2761 };
2762
2763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellEditor_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2766 {
2767 arg2 = &temp2;
2768 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2769 }
15afbcd0
RD
2770 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2772 {
2773 PyThreadState* __tstate = wxPyBeginAllowThreads();
2774 (arg1)->PaintBackground((wxRect const &)*arg2,arg3);
2775
2776 wxPyEndAllowThreads(__tstate);
2777 if (PyErr_Occurred()) SWIG_fail;
2778 }
2779 Py_INCREF(Py_None); resultobj = Py_None;
2780 return resultobj;
2781 fail:
2782 return NULL;
2783}
2784
2785
2786static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2787 PyObject *resultobj;
2788 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2789 wxKeyEvent *arg2 = 0 ;
2790 bool result;
2791 PyObject * obj0 = 0 ;
2792 PyObject * obj1 = 0 ;
2793 char *kwnames[] = {
2794 (char *) "self",(char *) "event", NULL
2795 };
2796
2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2800 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2801 SWIG_POINTER_EXCEPTION | 0)) == -1)
2802 SWIG_fail;
d14a1e28 2803 if (arg2 == NULL) {
15afbcd0
RD
2804 PyErr_SetString(PyExc_TypeError,"null reference");
2805 SWIG_fail;
d14a1e28
RD
2806 }
2807 {
2808 PyThreadState* __tstate = wxPyBeginAllowThreads();
2809 result = (bool)(arg1)->IsAcceptedKey(*arg2);
2810
2811 wxPyEndAllowThreads(__tstate);
2812 if (PyErr_Occurred()) SWIG_fail;
2813 }
4f89f6a3
RD
2814 {
2815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2816 }
d14a1e28
RD
2817 return resultobj;
2818 fail:
2819 return NULL;
2820}
2821
2822
2823static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2824 PyObject *resultobj;
2825 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2826 wxKeyEvent *arg2 = 0 ;
2827 PyObject * obj0 = 0 ;
2828 PyObject * obj1 = 0 ;
2829 char *kwnames[] = {
2830 (char *) "self",(char *) "event", NULL
2831 };
2832
2833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_StartingKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2837 SWIG_POINTER_EXCEPTION | 0)) == -1)
2838 SWIG_fail;
d14a1e28 2839 if (arg2 == NULL) {
15afbcd0
RD
2840 PyErr_SetString(PyExc_TypeError,"null reference");
2841 SWIG_fail;
d14a1e28
RD
2842 }
2843 {
2844 PyThreadState* __tstate = wxPyBeginAllowThreads();
2845 (arg1)->StartingKey(*arg2);
2846
2847 wxPyEndAllowThreads(__tstate);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 }
2850 Py_INCREF(Py_None); resultobj = Py_None;
2851 return resultobj;
2852 fail:
2853 return NULL;
2854}
2855
2856
2857static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2858 PyObject *resultobj;
2859 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2860 PyObject * obj0 = 0 ;
2861 char *kwnames[] = {
2862 (char *) "self", NULL
2863 };
2864
2865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_StartingClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
2866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2868 {
2869 PyThreadState* __tstate = wxPyBeginAllowThreads();
2870 (arg1)->StartingClick();
2871
2872 wxPyEndAllowThreads(__tstate);
2873 if (PyErr_Occurred()) SWIG_fail;
2874 }
2875 Py_INCREF(Py_None); resultobj = Py_None;
2876 return resultobj;
2877 fail:
2878 return NULL;
2879}
2880
2881
2882static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2883 PyObject *resultobj;
2884 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2885 wxKeyEvent *arg2 = 0 ;
2886 PyObject * obj0 = 0 ;
2887 PyObject * obj1 = 0 ;
2888 char *kwnames[] = {
2889 (char *) "self",(char *) "event", NULL
2890 };
2891
2892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2896 SWIG_POINTER_EXCEPTION | 0)) == -1)
2897 SWIG_fail;
d14a1e28 2898 if (arg2 == NULL) {
15afbcd0
RD
2899 PyErr_SetString(PyExc_TypeError,"null reference");
2900 SWIG_fail;
d14a1e28
RD
2901 }
2902 {
2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
2904 (arg1)->HandleReturn(*arg2);
2905
2906 wxPyEndAllowThreads(__tstate);
2907 if (PyErr_Occurred()) SWIG_fail;
2908 }
2909 Py_INCREF(Py_None); resultobj = Py_None;
2910 return resultobj;
2911 fail:
2912 return NULL;
2913}
2914
2915
2916static PyObject *_wrap_GridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2917 PyObject *resultobj;
2918 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2919 PyObject * obj0 = 0 ;
2920 char *kwnames[] = {
2921 (char *) "self", NULL
2922 };
2923
2924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
2925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2927 {
2928 PyThreadState* __tstate = wxPyBeginAllowThreads();
2929 (arg1)->Destroy();
2930
2931 wxPyEndAllowThreads(__tstate);
2932 if (PyErr_Occurred()) SWIG_fail;
2933 }
2934 Py_INCREF(Py_None); resultobj = Py_None;
2935 return resultobj;
2936 fail:
2937 return NULL;
2938}
2939
2940
2941static PyObject * GridCellEditor_swigregister(PyObject *self, PyObject *args) {
2942 PyObject *obj;
2943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2944 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor, obj);
2945 Py_INCREF(obj);
2946 return Py_BuildValue((char *)"");
2947}
2948static PyObject *_wrap_new_PyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2949 PyObject *resultobj;
2950 wxPyGridCellEditor *result;
2951 char *kwnames[] = {
2952 NULL
2953 };
2954
2955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellEditor",kwnames)) goto fail;
2956 {
2957 PyThreadState* __tstate = wxPyBeginAllowThreads();
2958 result = (wxPyGridCellEditor *)new wxPyGridCellEditor();
2959
2960 wxPyEndAllowThreads(__tstate);
2961 if (PyErr_Occurred()) SWIG_fail;
2962 }
15afbcd0 2963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellEditor, 1);
d14a1e28
RD
2964 return resultobj;
2965 fail:
2966 return NULL;
2967}
2968
2969
2970static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2971 PyObject *resultobj;
2972 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2973 PyObject *arg2 = (PyObject *) 0 ;
2974 PyObject *arg3 = (PyObject *) 0 ;
2975 PyObject * obj0 = 0 ;
2976 PyObject * obj1 = 0 ;
2977 PyObject * obj2 = 0 ;
2978 char *kwnames[] = {
2979 (char *) "self",(char *) "self",(char *) "_class", NULL
2980 };
2981
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
2984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2985 arg2 = obj1;
2986 arg3 = obj2;
2987 {
2988 PyThreadState* __tstate = wxPyBeginAllowThreads();
2989 (arg1)->_setCallbackInfo(arg2,arg3);
2990
2991 wxPyEndAllowThreads(__tstate);
2992 if (PyErr_Occurred()) SWIG_fail;
2993 }
2994 Py_INCREF(Py_None); resultobj = Py_None;
2995 return resultobj;
2996 fail:
2997 return NULL;
2998}
2999
3000
3001static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3002 PyObject *resultobj;
3003 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3004 wxRect *arg2 = 0 ;
3005 wxRect temp2 ;
3006 PyObject * obj0 = 0 ;
3007 PyObject * obj1 = 0 ;
3008 char *kwnames[] = {
3009 (char *) "self",(char *) "rect", NULL
3010 };
3011
3012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3015 {
3016 arg2 = &temp2;
3017 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3018 }
3019 {
3020 PyThreadState* __tstate = wxPyBeginAllowThreads();
3021 (arg1)->base_SetSize((wxRect const &)*arg2);
3022
3023 wxPyEndAllowThreads(__tstate);
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 Py_INCREF(Py_None); resultobj = Py_None;
3027 return resultobj;
3028 fail:
3029 return NULL;
3030}
3031
3032
3033static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
3034 PyObject *resultobj;
3035 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3036 bool arg2 ;
3037 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
3038 PyObject * obj0 = 0 ;
3039 PyObject * obj1 = 0 ;
3040 PyObject * obj2 = 0 ;
3041 char *kwnames[] = {
3042 (char *) "self",(char *) "show",(char *) "attr", NULL
3043 };
3044
3045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3048 arg2 = (bool) SWIG_AsBool(obj1);
3049 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3050 if (obj2) {
15afbcd0
RD
3051 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3053 }
3054 {
3055 PyThreadState* __tstate = wxPyBeginAllowThreads();
3056 (arg1)->base_Show(arg2,arg3);
3057
3058 wxPyEndAllowThreads(__tstate);
3059 if (PyErr_Occurred()) SWIG_fail;
3060 }
3061 Py_INCREF(Py_None); resultobj = Py_None;
3062 return resultobj;
3063 fail:
3064 return NULL;
3065}
3066
3067
3068static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
3069 PyObject *resultobj;
3070 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3071 wxRect *arg2 = 0 ;
3072 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
3073 wxRect temp2 ;
3074 PyObject * obj0 = 0 ;
3075 PyObject * obj1 = 0 ;
3076 PyObject * obj2 = 0 ;
3077 char *kwnames[] = {
3078 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3079 };
3080
3081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3084 {
3085 arg2 = &temp2;
3086 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3087 }
15afbcd0
RD
3088 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3090 {
3091 PyThreadState* __tstate = wxPyBeginAllowThreads();
3092 (arg1)->base_PaintBackground((wxRect const &)*arg2,arg3);
3093
3094 wxPyEndAllowThreads(__tstate);
3095 if (PyErr_Occurred()) SWIG_fail;
3096 }
3097 Py_INCREF(Py_None); resultobj = Py_None;
3098 return resultobj;
3099 fail:
3100 return NULL;
3101}
3102
3103
3104static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
3105 PyObject *resultobj;
3106 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3107 wxKeyEvent *arg2 = 0 ;
3108 bool result;
3109 PyObject * obj0 = 0 ;
3110 PyObject * obj1 = 0 ;
3111 char *kwnames[] = {
3112 (char *) "self",(char *) "event", NULL
3113 };
3114
3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3119 SWIG_POINTER_EXCEPTION | 0)) == -1)
3120 SWIG_fail;
d14a1e28 3121 if (arg2 == NULL) {
15afbcd0
RD
3122 PyErr_SetString(PyExc_TypeError,"null reference");
3123 SWIG_fail;
d14a1e28
RD
3124 }
3125 {
3126 PyThreadState* __tstate = wxPyBeginAllowThreads();
3127 result = (bool)(arg1)->base_IsAcceptedKey(*arg2);
3128
3129 wxPyEndAllowThreads(__tstate);
3130 if (PyErr_Occurred()) SWIG_fail;
3131 }
4f89f6a3
RD
3132 {
3133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3134 }
d14a1e28
RD
3135 return resultobj;
3136 fail:
3137 return NULL;
3138}
3139
3140
3141static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
3142 PyObject *resultobj;
3143 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3144 wxKeyEvent *arg2 = 0 ;
3145 PyObject * obj0 = 0 ;
3146 PyObject * obj1 = 0 ;
3147 char *kwnames[] = {
3148 (char *) "self",(char *) "event", NULL
3149 };
3150
3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3155 SWIG_POINTER_EXCEPTION | 0)) == -1)
3156 SWIG_fail;
d14a1e28 3157 if (arg2 == NULL) {
15afbcd0
RD
3158 PyErr_SetString(PyExc_TypeError,"null reference");
3159 SWIG_fail;
d14a1e28
RD
3160 }
3161 {
3162 PyThreadState* __tstate = wxPyBeginAllowThreads();
3163 (arg1)->base_StartingKey(*arg2);
3164
3165 wxPyEndAllowThreads(__tstate);
3166 if (PyErr_Occurred()) SWIG_fail;
3167 }
3168 Py_INCREF(Py_None); resultobj = Py_None;
3169 return resultobj;
3170 fail:
3171 return NULL;
3172}
3173
3174
3175static PyObject *_wrap_PyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3176 PyObject *resultobj;
3177 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3178 PyObject * obj0 = 0 ;
3179 char *kwnames[] = {
3180 (char *) "self", NULL
3181 };
3182
3183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
3184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3186 {
3187 PyThreadState* __tstate = wxPyBeginAllowThreads();
3188 (arg1)->base_StartingClick();
3189
3190 wxPyEndAllowThreads(__tstate);
3191 if (PyErr_Occurred()) SWIG_fail;
3192 }
3193 Py_INCREF(Py_None); resultobj = Py_None;
3194 return resultobj;
3195 fail:
3196 return NULL;
3197}
3198
3199
3200static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
3201 PyObject *resultobj;
3202 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3203 wxKeyEvent *arg2 = 0 ;
3204 PyObject * obj0 = 0 ;
3205 PyObject * obj1 = 0 ;
3206 char *kwnames[] = {
3207 (char *) "self",(char *) "event", NULL
3208 };
3209
3210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3214 SWIG_POINTER_EXCEPTION | 0)) == -1)
3215 SWIG_fail;
d14a1e28 3216 if (arg2 == NULL) {
15afbcd0
RD
3217 PyErr_SetString(PyExc_TypeError,"null reference");
3218 SWIG_fail;
d14a1e28
RD
3219 }
3220 {
3221 PyThreadState* __tstate = wxPyBeginAllowThreads();
3222 (arg1)->base_HandleReturn(*arg2);
3223
3224 wxPyEndAllowThreads(__tstate);
3225 if (PyErr_Occurred()) SWIG_fail;
3226 }
3227 Py_INCREF(Py_None); resultobj = Py_None;
3228 return resultobj;
3229 fail:
3230 return NULL;
3231}
3232
3233
3234static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
3235 PyObject *resultobj;
3236 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3237 PyObject * obj0 = 0 ;
3238 char *kwnames[] = {
3239 (char *) "self", NULL
3240 };
3241
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
3243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3245 {
3246 PyThreadState* __tstate = wxPyBeginAllowThreads();
3247 (arg1)->base_Destroy();
3248
3249 wxPyEndAllowThreads(__tstate);
3250 if (PyErr_Occurred()) SWIG_fail;
3251 }
3252 Py_INCREF(Py_None); resultobj = Py_None;
3253 return resultobj;
3254 fail:
3255 return NULL;
3256}
3257
3258
3259static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
3260 PyObject *resultobj;
3261 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3262 wxString *arg2 = 0 ;
e811c8ce 3263 bool temp2 = False ;
d14a1e28
RD
3264 PyObject * obj0 = 0 ;
3265 PyObject * obj1 = 0 ;
3266 char *kwnames[] = {
3267 (char *) "self",(char *) "params", NULL
3268 };
3269
3270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3273 {
3274 arg2 = wxString_in_helper(obj1);
3275 if (arg2 == NULL) SWIG_fail;
e811c8ce 3276 temp2 = True;
d14a1e28
RD
3277 }
3278 {
3279 PyThreadState* __tstate = wxPyBeginAllowThreads();
3280 (arg1)->base_SetParameters((wxString const &)*arg2);
3281
3282 wxPyEndAllowThreads(__tstate);
3283 if (PyErr_Occurred()) SWIG_fail;
3284 }
3285 Py_INCREF(Py_None); resultobj = Py_None;
3286 {
3287 if (temp2)
3288 delete arg2;
3289 }
3290 return resultobj;
3291 fail:
3292 {
3293 if (temp2)
3294 delete arg2;
3295 }
3296 return NULL;
3297}
3298
3299
3300static PyObject * PyGridCellEditor_swigregister(PyObject *self, PyObject *args) {
3301 PyObject *obj;
3302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3303 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor, obj);
3304 Py_INCREF(obj);
3305 return Py_BuildValue((char *)"");
3306}
3307static PyObject *_wrap_new_GridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3308 PyObject *resultobj;
3309 wxGridCellTextEditor *result;
3310 char *kwnames[] = {
3311 NULL
3312 };
3313
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellTextEditor",kwnames)) goto fail;
3315 {
3316 PyThreadState* __tstate = wxPyBeginAllowThreads();
3317 result = (wxGridCellTextEditor *)new wxGridCellTextEditor();
3318
3319 wxPyEndAllowThreads(__tstate);
3320 if (PyErr_Occurred()) SWIG_fail;
3321 }
15afbcd0 3322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellTextEditor, 1);
d14a1e28
RD
3323 return resultobj;
3324 fail:
3325 return NULL;
3326}
3327
3328
3329static PyObject *_wrap_GridCellTextEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3330 PyObject *resultobj;
3331 wxGridCellTextEditor *arg1 = (wxGridCellTextEditor *) 0 ;
3332 wxString result;
3333 PyObject * obj0 = 0 ;
3334 char *kwnames[] = {
3335 (char *) "self", NULL
3336 };
3337
3338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellTextEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellTextEditor,
3340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3341 {
3342 PyThreadState* __tstate = wxPyBeginAllowThreads();
3343 result = (arg1)->GetValue();
3344
3345 wxPyEndAllowThreads(__tstate);
3346 if (PyErr_Occurred()) SWIG_fail;
3347 }
3348 {
3349#if wxUSE_UNICODE
3350 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3351#else
3352 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3353#endif
3354 }
3355 return resultobj;
3356 fail:
3357 return NULL;
3358}
3359
3360
3361static PyObject * GridCellTextEditor_swigregister(PyObject *self, PyObject *args) {
3362 PyObject *obj;
3363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3364 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor, obj);
3365 Py_INCREF(obj);
3366 return Py_BuildValue((char *)"");
3367}
3368static PyObject *_wrap_new_GridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3369 PyObject *resultobj;
3370 int arg1 = (int) -1 ;
3371 int arg2 = (int) -1 ;
3372 wxGridCellNumberEditor *result;
994141e6
RD
3373 PyObject * obj0 = 0 ;
3374 PyObject * obj1 = 0 ;
d14a1e28
RD
3375 char *kwnames[] = {
3376 (char *) "min",(char *) "max", NULL
3377 };
3378
994141e6
RD
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellNumberEditor",kwnames,&obj0,&obj1)) goto fail;
3380 if (obj0) {
15afbcd0
RD
3381 arg1 = (int) SWIG_AsInt(obj0);
3382 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3383 }
3384 if (obj1) {
15afbcd0
RD
3385 arg2 = (int) SWIG_AsInt(obj1);
3386 if (PyErr_Occurred()) SWIG_fail;
994141e6 3387 }
d14a1e28
RD
3388 {
3389 PyThreadState* __tstate = wxPyBeginAllowThreads();
3390 result = (wxGridCellNumberEditor *)new wxGridCellNumberEditor(arg1,arg2);
3391
3392 wxPyEndAllowThreads(__tstate);
3393 if (PyErr_Occurred()) SWIG_fail;
3394 }
15afbcd0 3395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberEditor, 1);
d14a1e28
RD
3396 return resultobj;
3397 fail:
3398 return NULL;
3399}
3400
3401
3402static PyObject *_wrap_GridCellNumberEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3403 PyObject *resultobj;
3404 wxGridCellNumberEditor *arg1 = (wxGridCellNumberEditor *) 0 ;
3405 wxString result;
3406 PyObject * obj0 = 0 ;
3407 char *kwnames[] = {
3408 (char *) "self", NULL
3409 };
3410
3411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellNumberEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellNumberEditor,
3413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3414 {
3415 PyThreadState* __tstate = wxPyBeginAllowThreads();
3416 result = (arg1)->GetValue();
3417
3418 wxPyEndAllowThreads(__tstate);
3419 if (PyErr_Occurred()) SWIG_fail;
3420 }
3421 {
3422#if wxUSE_UNICODE
3423 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3424#else
3425 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3426#endif
3427 }
3428 return resultobj;
3429 fail:
3430 return NULL;
3431}
3432
3433
3434static PyObject * GridCellNumberEditor_swigregister(PyObject *self, PyObject *args) {
3435 PyObject *obj;
3436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3437 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor, obj);
3438 Py_INCREF(obj);
3439 return Py_BuildValue((char *)"");
3440}
3441static PyObject *_wrap_new_GridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3442 PyObject *resultobj;
b2df227b
RD
3443 int arg1 = (int) -1 ;
3444 int arg2 = (int) -1 ;
d14a1e28 3445 wxGridCellFloatEditor *result;
b2df227b
RD
3446 PyObject * obj0 = 0 ;
3447 PyObject * obj1 = 0 ;
d14a1e28 3448 char *kwnames[] = {
b2df227b 3449 (char *) "width",(char *) "precision", NULL
d14a1e28
RD
3450 };
3451
b2df227b
RD
3452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatEditor",kwnames,&obj0,&obj1)) goto fail;
3453 if (obj0) {
3454 arg1 = (int) SWIG_AsInt(obj0);
3455 if (PyErr_Occurred()) SWIG_fail;
3456 }
3457 if (obj1) {
3458 arg2 = (int) SWIG_AsInt(obj1);
3459 if (PyErr_Occurred()) SWIG_fail;
3460 }
d14a1e28
RD
3461 {
3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2df227b 3463 result = (wxGridCellFloatEditor *)new wxGridCellFloatEditor(arg1,arg2);
d14a1e28
RD
3464
3465 wxPyEndAllowThreads(__tstate);
3466 if (PyErr_Occurred()) SWIG_fail;
3467 }
15afbcd0 3468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatEditor, 1);
d14a1e28
RD
3469 return resultobj;
3470 fail:
3471 return NULL;
3472}
3473
3474
3475static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3476 PyObject *resultobj;
3477 wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ;
3478 wxString result;
3479 PyObject * obj0 = 0 ;
3480 char *kwnames[] = {
3481 (char *) "self", NULL
3482 };
3483
3484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatEditor,
3486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3487 {
3488 PyThreadState* __tstate = wxPyBeginAllowThreads();
3489 result = (arg1)->GetValue();
3490
3491 wxPyEndAllowThreads(__tstate);
3492 if (PyErr_Occurred()) SWIG_fail;
3493 }
3494 {
3495#if wxUSE_UNICODE
3496 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3497#else
3498 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3499#endif
3500 }
3501 return resultobj;
3502 fail:
3503 return NULL;
3504}
3505
3506
3507static PyObject * GridCellFloatEditor_swigregister(PyObject *self, PyObject *args) {
3508 PyObject *obj;
3509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3510 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor, obj);
3511 Py_INCREF(obj);
3512 return Py_BuildValue((char *)"");
3513}
3514static PyObject *_wrap_new_GridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3515 PyObject *resultobj;
3516 wxGridCellBoolEditor *result;
3517 char *kwnames[] = {
3518 NULL
3519 };
3520
3521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolEditor",kwnames)) goto fail;
3522 {
3523 PyThreadState* __tstate = wxPyBeginAllowThreads();
3524 result = (wxGridCellBoolEditor *)new wxGridCellBoolEditor();
3525
3526 wxPyEndAllowThreads(__tstate);
3527 if (PyErr_Occurred()) SWIG_fail;
3528 }
15afbcd0 3529 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolEditor, 1);
d14a1e28
RD
3530 return resultobj;
3531 fail:
3532 return NULL;
3533}
3534
3535
3536static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3537 PyObject *resultobj;
3538 wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ;
3539 wxString result;
3540 PyObject * obj0 = 0 ;
3541 char *kwnames[] = {
3542 (char *) "self", NULL
3543 };
3544
3545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellBoolEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellBoolEditor,
3547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3548 {
3549 PyThreadState* __tstate = wxPyBeginAllowThreads();
3550 result = (arg1)->GetValue();
3551
3552 wxPyEndAllowThreads(__tstate);
3553 if (PyErr_Occurred()) SWIG_fail;
3554 }
3555 {
3556#if wxUSE_UNICODE
3557 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3558#else
3559 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3560#endif
3561 }
3562 return resultobj;
3563 fail:
3564 return NULL;
3565}
3566
3567
3568static PyObject * GridCellBoolEditor_swigregister(PyObject *self, PyObject *args) {
3569 PyObject *obj;
3570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3571 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor, obj);
3572 Py_INCREF(obj);
3573 return Py_BuildValue((char *)"");
3574}
3575static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3576 PyObject *resultobj;
3577 int arg1 = (int) 0 ;
3578 wxString *arg2 = (wxString *) NULL ;
e811c8ce 3579 bool arg3 = (bool) False ;
d14a1e28 3580 wxGridCellChoiceEditor *result;
7722248d 3581 PyObject * obj0 = 0 ;
d14a1e28 3582 PyObject * obj1 = 0 ;
d14a1e28 3583 char *kwnames[] = {
7722248d 3584 (char *) "choices",(char *) "allowOthers", NULL
d14a1e28
RD
3585 };
3586
7722248d
RD
3587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellChoiceEditor",kwnames,&obj0,&obj1)) goto fail;
3588 if (obj0) {
3589 {
3590 arg1 = PyList_Size(obj0);
3591 arg2 = wxString_LIST_helper(obj0);
3592 if (arg2 == NULL) SWIG_fail;
3593 }
d14a1e28 3594 }
7722248d 3595 if (obj1) {
15afbcd0
RD
3596 arg3 = (bool) SWIG_AsBool(obj1);
3597 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3598 }
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
3601 result = (wxGridCellChoiceEditor *)new wxGridCellChoiceEditor(arg1,(wxString const *)arg2,arg3);
3602
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
15afbcd0 3606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellChoiceEditor, 1);
7722248d
RD
3607 {
3608 if (arg2) delete [] arg2;
3609 }
d14a1e28
RD
3610 return resultobj;
3611 fail:
7722248d
RD
3612 {
3613 if (arg2) delete [] arg2;
3614 }
d14a1e28
RD
3615 return NULL;
3616}
3617
3618
3619static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3620 PyObject *resultobj;
3621 wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ;
3622 wxString result;
3623 PyObject * obj0 = 0 ;
3624 char *kwnames[] = {
3625 (char *) "self", NULL
3626 };
3627
3628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellChoiceEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellChoiceEditor,
3630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3631 {
3632 PyThreadState* __tstate = wxPyBeginAllowThreads();
3633 result = (arg1)->GetValue();
3634
3635 wxPyEndAllowThreads(__tstate);
3636 if (PyErr_Occurred()) SWIG_fail;
3637 }
3638 {
3639#if wxUSE_UNICODE
3640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3641#else
3642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3643#endif
3644 }
3645 return resultobj;
3646 fail:
3647 return NULL;
3648}
3649
3650
3651static PyObject * GridCellChoiceEditor_swigregister(PyObject *self, PyObject *args) {
3652 PyObject *obj;
3653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3654 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor, obj);
3655 Py_INCREF(obj);
3656 return Py_BuildValue((char *)"");
3657}
3658static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3659 PyObject *resultobj;
3660 wxString const &arg1_defvalue = wxPyEmptyString ;
3661 wxString *arg1 = (wxString *) &arg1_defvalue ;
3662 wxGridCellEnumEditor *result;
e811c8ce 3663 bool temp1 = False ;
d14a1e28
RD
3664 PyObject * obj0 = 0 ;
3665 char *kwnames[] = {
3666 (char *) "choices", NULL
3667 };
3668
3669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumEditor",kwnames,&obj0)) goto fail;
3670 if (obj0) {
3671 {
3672 arg1 = wxString_in_helper(obj0);
3673 if (arg1 == NULL) SWIG_fail;
e811c8ce 3674 temp1 = True;
d14a1e28
RD
3675 }
3676 }
3677 {
3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
3679 result = (wxGridCellEnumEditor *)new wxGridCellEnumEditor((wxString const &)*arg1);
3680
3681 wxPyEndAllowThreads(__tstate);
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
15afbcd0 3684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumEditor, 1);
d14a1e28
RD
3685 {
3686 if (temp1)
3687 delete arg1;
3688 }
3689 return resultobj;
3690 fail:
3691 {
3692 if (temp1)
3693 delete arg1;
3694 }
3695 return NULL;
3696}
3697
3698
3699static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3700 PyObject *resultobj;
3701 wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ;
3702 wxString result;
3703 PyObject * obj0 = 0 ;
3704 char *kwnames[] = {
3705 (char *) "self", NULL
3706 };
3707
3708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEnumEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEnumEditor,
3710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3711 {
3712 PyThreadState* __tstate = wxPyBeginAllowThreads();
3713 result = (arg1)->GetValue();
3714
3715 wxPyEndAllowThreads(__tstate);
3716 if (PyErr_Occurred()) SWIG_fail;
3717 }
3718 {
3719#if wxUSE_UNICODE
3720 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3721#else
3722 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3723#endif
3724 }
3725 return resultobj;
3726 fail:
3727 return NULL;
3728}
3729
3730
3731static PyObject * GridCellEnumEditor_swigregister(PyObject *self, PyObject *args) {
3732 PyObject *obj;
3733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3734 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor, obj);
3735 Py_INCREF(obj);
3736 return Py_BuildValue((char *)"");
3737}
3738static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3739 PyObject *resultobj;
3740 wxGridCellAutoWrapStringEditor *result;
3741 char *kwnames[] = {
3742 NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringEditor",kwnames)) goto fail;
3746 {
3747 PyThreadState* __tstate = wxPyBeginAllowThreads();
3748 result = (wxGridCellAutoWrapStringEditor *)new wxGridCellAutoWrapStringEditor();
3749
3750 wxPyEndAllowThreads(__tstate);
3751 if (PyErr_Occurred()) SWIG_fail;
3752 }
15afbcd0 3753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringEditor, 1);
d14a1e28
RD
3754 return resultobj;
3755 fail:
3756 return NULL;
3757}
3758
3759
3760static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3761 PyObject *resultobj;
3762 wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ;
3763 wxString result;
3764 PyObject * obj0 = 0 ;
3765 char *kwnames[] = {
3766 (char *) "self", NULL
3767 };
3768
3769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAutoWrapStringEditor,
3771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3772 {
3773 PyThreadState* __tstate = wxPyBeginAllowThreads();
3774 result = (arg1)->GetValue();
3775
3776 wxPyEndAllowThreads(__tstate);
3777 if (PyErr_Occurred()) SWIG_fail;
3778 }
3779 {
3780#if wxUSE_UNICODE
3781 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3782#else
3783 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3784#endif
3785 }
3786 return resultobj;
3787 fail:
3788 return NULL;
3789}
3790
3791
3792static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *self, PyObject *args) {
3793 PyObject *obj;
3794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3795 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor, obj);
3796 Py_INCREF(obj);
3797 return Py_BuildValue((char *)"");
3798}
3799static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3800 PyObject *resultobj;
3801 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3802 PyObject *arg2 = (PyObject *) 0 ;
3803 PyObject * obj0 = 0 ;
3804 PyObject * obj1 = 0 ;
3805 char *kwnames[] = {
3806 (char *) "self",(char *) "_self", NULL
3807 };
3808
3809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3812 arg2 = obj1;
3813 {
3814 PyThreadState* __tstate = wxPyBeginAllowThreads();
3815 wxGridCellAttr__setOORInfo(arg1,arg2);
3816
3817 wxPyEndAllowThreads(__tstate);
3818 if (PyErr_Occurred()) SWIG_fail;
3819 }
3820 Py_INCREF(Py_None); resultobj = Py_None;
3821 return resultobj;
3822 fail:
3823 return NULL;
3824}
3825
3826
3827static PyObject *_wrap_new_GridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3828 PyObject *resultobj;
3829 wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ;
3830 wxGridCellAttr *result;
3831 PyObject * obj0 = 0 ;
3832 char *kwnames[] = {
3833 (char *) "attrDefault", NULL
3834 };
3835
3836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellAttr",kwnames,&obj0)) goto fail;
3837 if (obj0) {
15afbcd0
RD
3838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3840 }
3841 {
3842 PyThreadState* __tstate = wxPyBeginAllowThreads();
3843 result = (wxGridCellAttr *)new wxGridCellAttr(arg1);
3844
3845 wxPyEndAllowThreads(__tstate);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 }
3848 {
412d302d 3849 resultobj = wxPyMake_wxGridCellAttr(result, 1);
d14a1e28
RD
3850 }
3851 return resultobj;
3852 fail:
3853 return NULL;
3854}
3855
3856
3857static PyObject *_wrap_GridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3858 PyObject *resultobj;
3859 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3860 wxGridCellAttr *result;
3861 PyObject * obj0 = 0 ;
3862 char *kwnames[] = {
3863 (char *) "self", NULL
3864 };
3865
3866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
3867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3869 {
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 result = (wxGridCellAttr *)((wxGridCellAttr const *)arg1)->Clone();
3872
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 {
412d302d 3877 resultobj = wxPyMake_wxGridCellAttr(result, 0);
d14a1e28
RD
3878 }
3879 return resultobj;
3880 fail:
3881 return NULL;
3882}
3883
3884
3885static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3886 PyObject *resultobj;
3887 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3888 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
3889 PyObject * obj0 = 0 ;
3890 PyObject * obj1 = 0 ;
3891 char *kwnames[] = {
3892 (char *) "self",(char *) "mergefrom", NULL
3893 };
3894
3895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_MergeWith",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
3899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 (arg1)->MergeWith(arg2);
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 Py_INCREF(Py_None); resultobj = Py_None;
3908 return resultobj;
3909 fail:
3910 return NULL;
3911}
3912
3913
3914static PyObject *_wrap_GridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3915 PyObject *resultobj;
3916 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3917 PyObject * obj0 = 0 ;
3918 char *kwnames[] = {
3919 (char *) "self", NULL
3920 };
3921
3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IncRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
3923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3925 {
3926 PyThreadState* __tstate = wxPyBeginAllowThreads();
3927 (arg1)->IncRef();
3928
3929 wxPyEndAllowThreads(__tstate);
3930 if (PyErr_Occurred()) SWIG_fail;
3931 }
3932 Py_INCREF(Py_None); resultobj = Py_None;
3933 return resultobj;
3934 fail:
3935 return NULL;
3936}
3937
3938
3939static PyObject *_wrap_GridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3940 PyObject *resultobj;
3941 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3942 PyObject * obj0 = 0 ;
3943 char *kwnames[] = {
3944 (char *) "self", NULL
3945 };
3946
3947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_DecRef",kwnames,&obj0)) goto fail;
15afbcd0
RD
3948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3950 {
3951 PyThreadState* __tstate = wxPyBeginAllowThreads();
3952 (arg1)->DecRef();
3953
3954 wxPyEndAllowThreads(__tstate);
3955 if (PyErr_Occurred()) SWIG_fail;
3956 }
3957 Py_INCREF(Py_None); resultobj = Py_None;
3958 return resultobj;
3959 fail:
3960 return NULL;
3961}
3962
3963
3964static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3965 PyObject *resultobj;
3966 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3967 wxColour *arg2 = 0 ;
3968 wxColour temp2 ;
3969 PyObject * obj0 = 0 ;
3970 PyObject * obj1 = 0 ;
3971 char *kwnames[] = {
3972 (char *) "self",(char *) "colText", NULL
3973 };
3974
3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3978 {
3979 arg2 = &temp2;
3980 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3981 }
3982 {
3983 PyThreadState* __tstate = wxPyBeginAllowThreads();
3984 (arg1)->SetTextColour((wxColour const &)*arg2);
3985
3986 wxPyEndAllowThreads(__tstate);
3987 if (PyErr_Occurred()) SWIG_fail;
3988 }
3989 Py_INCREF(Py_None); resultobj = Py_None;
3990 return resultobj;
3991 fail:
3992 return NULL;
3993}
3994
3995
3996static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3997 PyObject *resultobj;
3998 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3999 wxColour *arg2 = 0 ;
4000 wxColour temp2 ;
4001 PyObject * obj0 = 0 ;
4002 PyObject * obj1 = 0 ;
4003 char *kwnames[] = {
4004 (char *) "self",(char *) "colBack", NULL
4005 };
4006
4007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4010 {
4011 arg2 = &temp2;
4012 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4013 }
4014 {
4015 PyThreadState* __tstate = wxPyBeginAllowThreads();
4016 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
4017
4018 wxPyEndAllowThreads(__tstate);
4019 if (PyErr_Occurred()) SWIG_fail;
4020 }
4021 Py_INCREF(Py_None); resultobj = Py_None;
4022 return resultobj;
4023 fail:
4024 return NULL;
4025}
4026
4027
4028static PyObject *_wrap_GridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4029 PyObject *resultobj;
4030 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4031 wxFont *arg2 = 0 ;
4032 PyObject * obj0 = 0 ;
4033 PyObject * obj1 = 0 ;
4034 char *kwnames[] = {
4035 (char *) "self",(char *) "font", NULL
4036 };
4037
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4041 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
4042 SWIG_POINTER_EXCEPTION | 0)) == -1)
4043 SWIG_fail;
d14a1e28 4044 if (arg2 == NULL) {
15afbcd0
RD
4045 PyErr_SetString(PyExc_TypeError,"null reference");
4046 SWIG_fail;
d14a1e28
RD
4047 }
4048 {
4049 PyThreadState* __tstate = wxPyBeginAllowThreads();
4050 (arg1)->SetFont((wxFont const &)*arg2);
4051
4052 wxPyEndAllowThreads(__tstate);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 }
4055 Py_INCREF(Py_None); resultobj = Py_None;
4056 return resultobj;
4057 fail:
4058 return NULL;
4059}
4060
4061
4062static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4063 PyObject *resultobj;
4064 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4065 int arg2 ;
4066 int arg3 ;
4067 PyObject * obj0 = 0 ;
994141e6
RD
4068 PyObject * obj1 = 0 ;
4069 PyObject * obj2 = 0 ;
d14a1e28
RD
4070 char *kwnames[] = {
4071 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4072 };
4073
994141e6 4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4077 arg2 = (int) SWIG_AsInt(obj1);
4078 if (PyErr_Occurred()) SWIG_fail;
4079 arg3 = (int) SWIG_AsInt(obj2);
4080 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4081 {
4082 PyThreadState* __tstate = wxPyBeginAllowThreads();
4083 (arg1)->SetAlignment(arg2,arg3);
4084
4085 wxPyEndAllowThreads(__tstate);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
4088 Py_INCREF(Py_None); resultobj = Py_None;
4089 return resultobj;
4090 fail:
4091 return NULL;
4092}
4093
4094
4095static PyObject *_wrap_GridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4096 PyObject *resultobj;
4097 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4098 int arg2 ;
4099 int arg3 ;
4100 PyObject * obj0 = 0 ;
994141e6
RD
4101 PyObject * obj1 = 0 ;
4102 PyObject * obj2 = 0 ;
d14a1e28
RD
4103 char *kwnames[] = {
4104 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4105 };
4106
994141e6 4107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4110 arg2 = (int) SWIG_AsInt(obj1);
4111 if (PyErr_Occurred()) SWIG_fail;
4112 arg3 = (int) SWIG_AsInt(obj2);
4113 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4114 {
4115 PyThreadState* __tstate = wxPyBeginAllowThreads();
4116 (arg1)->SetSize(arg2,arg3);
4117
4118 wxPyEndAllowThreads(__tstate);
4119 if (PyErr_Occurred()) SWIG_fail;
4120 }
4121 Py_INCREF(Py_None); resultobj = Py_None;
4122 return resultobj;
4123 fail:
4124 return NULL;
4125}
4126
4127
4128static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4129 PyObject *resultobj;
4130 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
e811c8ce 4131 bool arg2 = (bool) True ;
d14a1e28
RD
4132 PyObject * obj0 = 0 ;
4133 PyObject * obj1 = 0 ;
4134 char *kwnames[] = {
4135 (char *) "self",(char *) "allow", NULL
4136 };
4137
4138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetOverflow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4141 if (obj1) {
15afbcd0
RD
4142 arg2 = (bool) SWIG_AsBool(obj1);
4143 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4144 }
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 (arg1)->SetOverflow(arg2);
4148
4149 wxPyEndAllowThreads(__tstate);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
4152 Py_INCREF(Py_None); resultobj = Py_None;
4153 return resultobj;
4154 fail:
4155 return NULL;
4156}
4157
4158
4159static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4160 PyObject *resultobj;
4161 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
e811c8ce 4162 bool arg2 = (bool) True ;
d14a1e28
RD
4163 PyObject * obj0 = 0 ;
4164 PyObject * obj1 = 0 ;
4165 char *kwnames[] = {
4166 (char *) "self",(char *) "isReadOnly", NULL
4167 };
4168
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4172 if (obj1) {
15afbcd0
RD
4173 arg2 = (bool) SWIG_AsBool(obj1);
4174 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4175 }
4176 {
4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
4178 (arg1)->SetReadOnly(arg2);
4179
4180 wxPyEndAllowThreads(__tstate);
4181 if (PyErr_Occurred()) SWIG_fail;
4182 }
4183 Py_INCREF(Py_None); resultobj = Py_None;
4184 return resultobj;
4185 fail:
4186 return NULL;
4187}
4188
4189
4190static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4191 PyObject *resultobj;
4192 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4193 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
4194 PyObject * obj0 = 0 ;
4195 PyObject * obj1 = 0 ;
4196 char *kwnames[] = {
4197 (char *) "self",(char *) "renderer", NULL
4198 };
4199
4200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetRenderer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4203 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
4204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4205 {
4206 PyThreadState* __tstate = wxPyBeginAllowThreads();
4207 (arg1)->SetRenderer(arg2);
4208
4209 wxPyEndAllowThreads(__tstate);
4210 if (PyErr_Occurred()) SWIG_fail;
4211 }
4212 Py_INCREF(Py_None); resultobj = Py_None;
4213 return resultobj;
4214 fail:
4215 return NULL;
4216}
4217
4218
4219static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4220 PyObject *resultobj;
4221 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4222 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
4223 PyObject * obj0 = 0 ;
4224 PyObject * obj1 = 0 ;
4225 char *kwnames[] = {
4226 (char *) "self",(char *) "editor", NULL
4227 };
4228
4229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetEditor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
4233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4234 {
4235 PyThreadState* __tstate = wxPyBeginAllowThreads();
4236 (arg1)->SetEditor(arg2);
4237
4238 wxPyEndAllowThreads(__tstate);
4239 if (PyErr_Occurred()) SWIG_fail;
4240 }
4241 Py_INCREF(Py_None); resultobj = Py_None;
4242 return resultobj;
4243 fail:
4244 return NULL;
4245}
4246
4247
4248static PyObject *_wrap_GridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj;
4250 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4251 int arg2 ;
4252 PyObject * obj0 = 0 ;
994141e6 4253 PyObject * obj1 = 0 ;
d14a1e28
RD
4254 char *kwnames[] = {
4255 (char *) "self",(char *) "kind", NULL
4256 };
4257
994141e6 4258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetKind",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4261 arg2 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj1);
4262 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4263 {
4264 PyThreadState* __tstate = wxPyBeginAllowThreads();
4265 (arg1)->SetKind((wxGridCellAttr::wxAttrKind )arg2);
4266
4267 wxPyEndAllowThreads(__tstate);
4268 if (PyErr_Occurred()) SWIG_fail;
4269 }
4270 Py_INCREF(Py_None); resultobj = Py_None;
4271 return resultobj;
4272 fail:
4273 return NULL;
4274}
4275
4276
4277static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4278 PyObject *resultobj;
4279 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4280 bool result;
4281 PyObject * obj0 = 0 ;
4282 char *kwnames[] = {
4283 (char *) "self", NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4289 {
4290 PyThreadState* __tstate = wxPyBeginAllowThreads();
4291 result = (bool)((wxGridCellAttr const *)arg1)->HasTextColour();
4292
4293 wxPyEndAllowThreads(__tstate);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 }
4f89f6a3
RD
4296 {
4297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4298 }
d14a1e28
RD
4299 return resultobj;
4300 fail:
4301 return NULL;
4302}
4303
4304
4305static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4306 PyObject *resultobj;
4307 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4308 bool result;
4309 PyObject * obj0 = 0 ;
4310 char *kwnames[] = {
4311 (char *) "self", NULL
4312 };
4313
4314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4317 {
4318 PyThreadState* __tstate = wxPyBeginAllowThreads();
4319 result = (bool)((wxGridCellAttr const *)arg1)->HasBackgroundColour();
4320
4321 wxPyEndAllowThreads(__tstate);
4322 if (PyErr_Occurred()) SWIG_fail;
4323 }
4f89f6a3
RD
4324 {
4325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4326 }
d14a1e28
RD
4327 return resultobj;
4328 fail:
4329 return NULL;
4330}
4331
4332
4333static PyObject *_wrap_GridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4334 PyObject *resultobj;
4335 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4336 bool result;
4337 PyObject * obj0 = 0 ;
4338 char *kwnames[] = {
4339 (char *) "self", NULL
4340 };
4341
4342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
4343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4345 {
4346 PyThreadState* __tstate = wxPyBeginAllowThreads();
4347 result = (bool)((wxGridCellAttr const *)arg1)->HasFont();
4348
4349 wxPyEndAllowThreads(__tstate);
4350 if (PyErr_Occurred()) SWIG_fail;
4351 }
4f89f6a3
RD
4352 {
4353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4354 }
d14a1e28
RD
4355 return resultobj;
4356 fail:
4357 return NULL;
4358}
4359
4360
4361static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4362 PyObject *resultobj;
4363 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4364 bool result;
4365 PyObject * obj0 = 0 ;
4366 char *kwnames[] = {
4367 (char *) "self", NULL
4368 };
4369
4370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
4371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 result = (bool)((wxGridCellAttr const *)arg1)->HasAlignment();
4376
4377 wxPyEndAllowThreads(__tstate);
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
4f89f6a3
RD
4380 {
4381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4382 }
d14a1e28
RD
4383 return resultobj;
4384 fail:
4385 return NULL;
4386}
4387
4388
4389static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4390 PyObject *resultobj;
4391 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4392 bool result;
4393 PyObject * obj0 = 0 ;
4394 char *kwnames[] = {
4395 (char *) "self", NULL
4396 };
4397
4398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasRenderer",kwnames,&obj0)) goto fail;
15afbcd0
RD
4399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4401 {
4402 PyThreadState* __tstate = wxPyBeginAllowThreads();
4403 result = (bool)((wxGridCellAttr const *)arg1)->HasRenderer();
4404
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) SWIG_fail;
4407 }
4f89f6a3
RD
4408 {
4409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4410 }
d14a1e28
RD
4411 return resultobj;
4412 fail:
4413 return NULL;
4414}
4415
4416
4417static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4418 PyObject *resultobj;
4419 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4420 bool result;
4421 PyObject * obj0 = 0 ;
4422 char *kwnames[] = {
4423 (char *) "self", NULL
4424 };
4425
4426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasEditor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4429 {
4430 PyThreadState* __tstate = wxPyBeginAllowThreads();
4431 result = (bool)((wxGridCellAttr const *)arg1)->HasEditor();
4432
4433 wxPyEndAllowThreads(__tstate);
4434 if (PyErr_Occurred()) SWIG_fail;
4435 }
4f89f6a3
RD
4436 {
4437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4438 }
d14a1e28
RD
4439 return resultobj;
4440 fail:
4441 return NULL;
4442}
4443
4444
4445static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4446 PyObject *resultobj;
4447 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4448 bool result;
4449 PyObject * obj0 = 0 ;
4450 char *kwnames[] = {
4451 (char *) "self", NULL
4452 };
4453
4454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
4455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 result = (bool)((wxGridCellAttr const *)arg1)->HasReadWriteMode();
4460
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) SWIG_fail;
4463 }
4f89f6a3
RD
4464 {
4465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4466 }
d14a1e28
RD
4467 return resultobj;
4468 fail:
4469 return NULL;
4470}
4471
4472
4473static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4474 PyObject *resultobj;
4475 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4476 bool result;
4477 PyObject * obj0 = 0 ;
4478 char *kwnames[] = {
4479 (char *) "self", NULL
4480 };
4481
4482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasOverflowMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
4483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4485 {
4486 PyThreadState* __tstate = wxPyBeginAllowThreads();
4487 result = (bool)((wxGridCellAttr const *)arg1)->HasOverflowMode();
4488
4489 wxPyEndAllowThreads(__tstate);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 }
4f89f6a3
RD
4492 {
4493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4494 }
d14a1e28
RD
4495 return resultobj;
4496 fail:
4497 return NULL;
4498}
4499
4500
4501static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj;
4503 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4504 wxColour result;
4505 PyObject * obj0 = 0 ;
4506 char *kwnames[] = {
4507 (char *) "self", NULL
4508 };
4509
4510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 result = ((wxGridCellAttr const *)arg1)->GetTextColour();
4516
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 {
4521 wxColour * resultptr;
4522 resultptr = new wxColour((wxColour &) result);
15afbcd0 4523 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4524 }
4525 return resultobj;
4526 fail:
4527 return NULL;
4528}
4529
4530
4531static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4532 PyObject *resultobj;
4533 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4534 wxColour result;
4535 PyObject * obj0 = 0 ;
4536 char *kwnames[] = {
4537 (char *) "self", NULL
4538 };
4539
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
4541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4543 {
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
4545 result = ((wxGridCellAttr const *)arg1)->GetBackgroundColour();
4546
4547 wxPyEndAllowThreads(__tstate);
4548 if (PyErr_Occurred()) SWIG_fail;
4549 }
4550 {
4551 wxColour * resultptr;
4552 resultptr = new wxColour((wxColour &) result);
15afbcd0 4553 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4554 }
4555 return resultobj;
4556 fail:
4557 return NULL;
4558}
4559
4560
4561static PyObject *_wrap_GridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4562 PyObject *resultobj;
4563 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4564 wxFont result;
4565 PyObject * obj0 = 0 ;
4566 char *kwnames[] = {
4567 (char *) "self", NULL
4568 };
4569
4570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
4571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4573 {
4574 PyThreadState* __tstate = wxPyBeginAllowThreads();
4575 result = ((wxGridCellAttr const *)arg1)->GetFont();
4576
4577 wxPyEndAllowThreads(__tstate);
4578 if (PyErr_Occurred()) SWIG_fail;
4579 }
4580 {
4581 wxFont * resultptr;
4582 resultptr = new wxFont((wxFont &) result);
15afbcd0 4583 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
4584 }
4585 return resultobj;
4586 fail:
4587 return NULL;
4588}
4589
4590
4591static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4592 PyObject *resultobj;
4593 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4594 int *arg2 = (int *) 0 ;
4595 int *arg3 = (int *) 0 ;
4596 int temp2 ;
4597 int temp3 ;
4598 PyObject * obj0 = 0 ;
4599 char *kwnames[] = {
4600 (char *) "self", NULL
4601 };
4602
4603 arg2 = &temp2;
4604 arg3 = &temp3;
4605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
4606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 ((wxGridCellAttr const *)arg1)->GetAlignment(arg2,arg3);
4611
4612 wxPyEndAllowThreads(__tstate);
4613 if (PyErr_Occurred()) SWIG_fail;
4614 }
4615 Py_INCREF(Py_None); resultobj = Py_None;
4616 {
4617 PyObject *o = PyInt_FromLong((long) (*arg2));
4618 resultobj = t_output_helper(resultobj,o);
4619 }
4620 {
4621 PyObject *o = PyInt_FromLong((long) (*arg3));
4622 resultobj = t_output_helper(resultobj,o);
4623 }
4624 return resultobj;
4625 fail:
4626 return NULL;
4627}
4628
4629
4630static PyObject *_wrap_GridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4631 PyObject *resultobj;
4632 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4633 int *arg2 = (int *) 0 ;
4634 int *arg3 = (int *) 0 ;
4635 int temp2 ;
4636 int temp3 ;
4637 PyObject * obj0 = 0 ;
4638 char *kwnames[] = {
4639 (char *) "self", NULL
4640 };
4641
4642 arg2 = &temp2;
4643 arg3 = &temp3;
4644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
4645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4647 {
4648 PyThreadState* __tstate = wxPyBeginAllowThreads();
4649 ((wxGridCellAttr const *)arg1)->GetSize(arg2,arg3);
4650
4651 wxPyEndAllowThreads(__tstate);
4652 if (PyErr_Occurred()) SWIG_fail;
4653 }
4654 Py_INCREF(Py_None); resultobj = Py_None;
4655 {
4656 PyObject *o = PyInt_FromLong((long) (*arg2));
4657 resultobj = t_output_helper(resultobj,o);
4658 }
4659 {
4660 PyObject *o = PyInt_FromLong((long) (*arg3));
4661 resultobj = t_output_helper(resultobj,o);
4662 }
4663 return resultobj;
4664 fail:
4665 return NULL;
4666}
4667
4668
4669static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4670 PyObject *resultobj;
4671 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4672 bool result;
4673 PyObject * obj0 = 0 ;
4674 char *kwnames[] = {
4675 (char *) "self", NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetOverflow",kwnames,&obj0)) goto fail;
15afbcd0
RD
4679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4681 {
4682 PyThreadState* __tstate = wxPyBeginAllowThreads();
4683 result = (bool)((wxGridCellAttr const *)arg1)->GetOverflow();
4684
4685 wxPyEndAllowThreads(__tstate);
4686 if (PyErr_Occurred()) SWIG_fail;
4687 }
4f89f6a3
RD
4688 {
4689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4690 }
d14a1e28
RD
4691 return resultobj;
4692 fail:
4693 return NULL;
4694}
4695
4696
4697static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4698 PyObject *resultobj;
4699 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4700 wxGrid *arg2 = (wxGrid *) 0 ;
4701 int arg3 ;
4702 int arg4 ;
4703 wxGridCellRenderer *result;
4704 PyObject * obj0 = 0 ;
4705 PyObject * obj1 = 0 ;
994141e6
RD
4706 PyObject * obj2 = 0 ;
4707 PyObject * obj3 = 0 ;
d14a1e28
RD
4708 char *kwnames[] = {
4709 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4710 };
4711
994141e6 4712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4715 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4717 arg3 = (int) SWIG_AsInt(obj2);
4718 if (PyErr_Occurred()) SWIG_fail;
4719 arg4 = (int) SWIG_AsInt(obj3);
4720 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4721 {
4722 PyThreadState* __tstate = wxPyBeginAllowThreads();
4723 result = (wxGridCellRenderer *)((wxGridCellAttr const *)arg1)->GetRenderer(arg2,arg3,arg4);
4724
4725 wxPyEndAllowThreads(__tstate);
4726 if (PyErr_Occurred()) SWIG_fail;
4727 }
4728 {
412d302d 4729 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
d14a1e28
RD
4730 }
4731 return resultobj;
4732 fail:
4733 return NULL;
4734}
4735
4736
4737static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4738 PyObject *resultobj;
4739 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4740 wxGrid *arg2 = (wxGrid *) 0 ;
4741 int arg3 ;
4742 int arg4 ;
4743 wxGridCellEditor *result;
4744 PyObject * obj0 = 0 ;
4745 PyObject * obj1 = 0 ;
994141e6
RD
4746 PyObject * obj2 = 0 ;
4747 PyObject * obj3 = 0 ;
d14a1e28
RD
4748 char *kwnames[] = {
4749 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4750 };
4751
994141e6 4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4757 arg3 = (int) SWIG_AsInt(obj2);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 arg4 = (int) SWIG_AsInt(obj3);
4760 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4761 {
4762 PyThreadState* __tstate = wxPyBeginAllowThreads();
4763 result = (wxGridCellEditor *)((wxGridCellAttr const *)arg1)->GetEditor(arg2,arg3,arg4);
4764
4765 wxPyEndAllowThreads(__tstate);
4766 if (PyErr_Occurred()) SWIG_fail;
4767 }
4768 {
412d302d 4769 resultobj = wxPyMake_wxGridCellEditor(result, 0);
d14a1e28
RD
4770 }
4771 return resultobj;
4772 fail:
4773 return NULL;
4774}
4775
4776
4777static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4778 PyObject *resultobj;
4779 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4780 bool result;
4781 PyObject * obj0 = 0 ;
4782 char *kwnames[] = {
4783 (char *) "self", NULL
4784 };
4785
4786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IsReadOnly",kwnames,&obj0)) goto fail;
15afbcd0
RD
4787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4789 {
4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
4791 result = (bool)((wxGridCellAttr const *)arg1)->IsReadOnly();
4792
4793 wxPyEndAllowThreads(__tstate);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4f89f6a3
RD
4796 {
4797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4798 }
d14a1e28
RD
4799 return resultobj;
4800 fail:
4801 return NULL;
4802}
4803
4804
fd2dc343
RD
4805static PyObject *_wrap_GridCellAttr_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
4806 PyObject *resultobj;
4807 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4808 int result;
4809 PyObject * obj0 = 0 ;
4810 char *kwnames[] = {
4811 (char *) "self", NULL
4812 };
4813
4814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetKind",kwnames,&obj0)) goto fail;
4815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4817 {
4818 PyThreadState* __tstate = wxPyBeginAllowThreads();
4819 result = (int)(arg1)->GetKind();
4820
4821 wxPyEndAllowThreads(__tstate);
4822 if (PyErr_Occurred()) SWIG_fail;
4823 }
4824 resultobj = SWIG_FromInt((int)result);
4825 return resultobj;
4826 fail:
4827 return NULL;
4828}
4829
4830
d14a1e28
RD
4831static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4832 PyObject *resultobj;
4833 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4834 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4835 PyObject * obj0 = 0 ;
4836 PyObject * obj1 = 0 ;
4837 char *kwnames[] = {
4838 (char *) "self",(char *) "defAttr", NULL
4839 };
4840
4841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetDefAttr",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 (arg1)->SetDefAttr(arg2);
4849
4850 wxPyEndAllowThreads(__tstate);
4851 if (PyErr_Occurred()) SWIG_fail;
4852 }
4853 Py_INCREF(Py_None); resultobj = Py_None;
4854 return resultobj;
4855 fail:
4856 return NULL;
4857}
4858
4859
4860static PyObject * GridCellAttr_swigregister(PyObject *self, PyObject *args) {
4861 PyObject *obj;
4862 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4863 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr, obj);
4864 Py_INCREF(obj);
4865 return Py_BuildValue((char *)"");
4866}
4867static PyObject *_wrap_new_GridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4868 PyObject *resultobj;
4869 wxGridCellAttrProvider *result;
4870 char *kwnames[] = {
4871 NULL
4872 };
4873
4874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAttrProvider",kwnames)) goto fail;
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 result = (wxGridCellAttrProvider *)new wxGridCellAttrProvider();
4878
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) SWIG_fail;
4881 }
4882 {
412d302d 4883 resultobj = wxPyMake_wxGridCellAttrProvider(result, 1);
d14a1e28
RD
4884 }
4885 return resultobj;
4886 fail:
4887 return NULL;
4888}
4889
4890
4891static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4892 PyObject *resultobj;
4893 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4894 PyObject *arg2 = (PyObject *) 0 ;
4895 PyObject * obj0 = 0 ;
4896 PyObject * obj1 = 0 ;
4897 char *kwnames[] = {
4898 (char *) "self",(char *) "_self", NULL
4899 };
4900
4901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4904 arg2 = obj1;
4905 {
4906 PyThreadState* __tstate = wxPyBeginAllowThreads();
4907 wxGridCellAttrProvider__setOORInfo(arg1,arg2);
4908
4909 wxPyEndAllowThreads(__tstate);
4910 if (PyErr_Occurred()) SWIG_fail;
4911 }
4912 Py_INCREF(Py_None); resultobj = Py_None;
4913 return resultobj;
4914 fail:
4915 return NULL;
4916}
4917
4918
4919static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4920 PyObject *resultobj;
4921 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4922 int arg2 ;
4923 int arg3 ;
4924 int arg4 ;
4925 wxGridCellAttr *result;
4926 PyObject * obj0 = 0 ;
994141e6
RD
4927 PyObject * obj1 = 0 ;
4928 PyObject * obj2 = 0 ;
4929 PyObject * obj3 = 0 ;
d14a1e28
RD
4930 char *kwnames[] = {
4931 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4932 };
4933
994141e6 4934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4937 arg2 = (int) SWIG_AsInt(obj1);
4938 if (PyErr_Occurred()) SWIG_fail;
4939 arg3 = (int) SWIG_AsInt(obj2);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
4942 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
4946
4947 wxPyEndAllowThreads(__tstate);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 {
412d302d 4951 resultobj = wxPyMake_wxGridCellAttr(result, 0);
d14a1e28
RD
4952 }
4953 return resultobj;
4954 fail:
4955 return NULL;
4956}
4957
4958
4959static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4960 PyObject *resultobj;
4961 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4962 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4963 int arg3 ;
4964 int arg4 ;
4965 PyObject * obj0 = 0 ;
4966 PyObject * obj1 = 0 ;
994141e6
RD
4967 PyObject * obj2 = 0 ;
4968 PyObject * obj3 = 0 ;
d14a1e28
RD
4969 char *kwnames[] = {
4970 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4971 };
4972
994141e6 4973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4976 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4978 arg3 = (int) SWIG_AsInt(obj2);
4979 if (PyErr_Occurred()) SWIG_fail;
4980 arg4 = (int) SWIG_AsInt(obj3);
4981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4982 {
4983 PyThreadState* __tstate = wxPyBeginAllowThreads();
4984 (arg1)->SetAttr(arg2,arg3,arg4);
4985
4986 wxPyEndAllowThreads(__tstate);
4987 if (PyErr_Occurred()) SWIG_fail;
4988 }
4989 Py_INCREF(Py_None); resultobj = Py_None;
4990 return resultobj;
4991 fail:
4992 return NULL;
4993}
4994
4995
4996static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4997 PyObject *resultobj;
4998 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4999 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5000 int arg3 ;
5001 PyObject * obj0 = 0 ;
5002 PyObject * obj1 = 0 ;
994141e6 5003 PyObject * obj2 = 0 ;
d14a1e28
RD
5004 char *kwnames[] = {
5005 (char *) "self",(char *) "attr",(char *) "row", NULL
5006 };
5007
994141e6 5008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5013 arg3 = (int) SWIG_AsInt(obj2);
5014 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5015 {
5016 PyThreadState* __tstate = wxPyBeginAllowThreads();
5017 (arg1)->SetRowAttr(arg2,arg3);
5018
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 Py_INCREF(Py_None); resultobj = Py_None;
5023 return resultobj;
5024 fail:
5025 return NULL;
5026}
5027
5028
5029static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj;
5031 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5032 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5033 int arg3 ;
5034 PyObject * obj0 = 0 ;
5035 PyObject * obj1 = 0 ;
994141e6 5036 PyObject * obj2 = 0 ;
d14a1e28
RD
5037 char *kwnames[] = {
5038 (char *) "self",(char *) "attr",(char *) "col", NULL
5039 };
5040
994141e6 5041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5046 arg3 = (int) SWIG_AsInt(obj2);
5047 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5048 {
5049 PyThreadState* __tstate = wxPyBeginAllowThreads();
5050 (arg1)->SetColAttr(arg2,arg3);
5051
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 Py_INCREF(Py_None); resultobj = Py_None;
5056 return resultobj;
5057 fail:
5058 return NULL;
5059}
5060
5061
5062static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5063 PyObject *resultobj;
5064 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5065 size_t arg2 ;
5066 int arg3 ;
5067 PyObject * obj0 = 0 ;
5068 PyObject * obj1 = 0 ;
994141e6 5069 PyObject * obj2 = 0 ;
d14a1e28
RD
5070 char *kwnames[] = {
5071 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5072 };
5073
994141e6 5074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5077 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 arg3 = (int) SWIG_AsInt(obj2);
5080 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5081 {
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 (arg1)->UpdateAttrRows(arg2,arg3);
5084
5085 wxPyEndAllowThreads(__tstate);
5086 if (PyErr_Occurred()) SWIG_fail;
5087 }
5088 Py_INCREF(Py_None); resultobj = Py_None;
5089 return resultobj;
5090 fail:
5091 return NULL;
5092}
5093
5094
5095static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5096 PyObject *resultobj;
5097 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5098 size_t arg2 ;
5099 int arg3 ;
5100 PyObject * obj0 = 0 ;
5101 PyObject * obj1 = 0 ;
994141e6 5102 PyObject * obj2 = 0 ;
d14a1e28
RD
5103 char *kwnames[] = {
5104 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5105 };
5106
994141e6 5107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5110 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 arg3 = (int) SWIG_AsInt(obj2);
5113 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5114 {
5115 PyThreadState* __tstate = wxPyBeginAllowThreads();
5116 (arg1)->UpdateAttrCols(arg2,arg3);
5117
5118 wxPyEndAllowThreads(__tstate);
5119 if (PyErr_Occurred()) SWIG_fail;
5120 }
5121 Py_INCREF(Py_None); resultobj = Py_None;
5122 return resultobj;
5123 fail:
5124 return NULL;
5125}
5126
5127
5128static PyObject * GridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
5129 PyObject *obj;
5130 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5131 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider, obj);
5132 Py_INCREF(obj);
5133 return Py_BuildValue((char *)"");
5134}
5135static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5136 PyObject *resultobj;
5137 wxPyGridCellAttrProvider *result;
5138 char *kwnames[] = {
5139 NULL
5140 };
5141
5142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellAttrProvider",kwnames)) goto fail;
5143 {
5144 PyThreadState* __tstate = wxPyBeginAllowThreads();
5145 result = (wxPyGridCellAttrProvider *)new wxPyGridCellAttrProvider();
5146
5147 wxPyEndAllowThreads(__tstate);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
15afbcd0 5150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellAttrProvider, 1);
d14a1e28
RD
5151 return resultobj;
5152 fail:
5153 return NULL;
5154}
5155
5156
5157static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5158 PyObject *resultobj;
5159 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5160 PyObject *arg2 = (PyObject *) 0 ;
5161 PyObject *arg3 = (PyObject *) 0 ;
5162 PyObject * obj0 = 0 ;
5163 PyObject * obj1 = 0 ;
5164 PyObject * obj2 = 0 ;
5165 char *kwnames[] = {
5166 (char *) "self",(char *) "self",(char *) "_class", NULL
5167 };
5168
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5172 arg2 = obj1;
5173 arg3 = obj2;
5174 {
5175 PyThreadState* __tstate = wxPyBeginAllowThreads();
5176 (arg1)->_setCallbackInfo(arg2,arg3);
5177
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) SWIG_fail;
5180 }
5181 Py_INCREF(Py_None); resultobj = Py_None;
5182 return resultobj;
5183 fail:
5184 return NULL;
5185}
5186
5187
5188static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5189 PyObject *resultobj;
5190 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5191 int arg2 ;
5192 int arg3 ;
5193 int arg4 ;
5194 wxGridCellAttr *result;
5195 PyObject * obj0 = 0 ;
994141e6
RD
5196 PyObject * obj1 = 0 ;
5197 PyObject * obj2 = 0 ;
5198 PyObject * obj3 = 0 ;
d14a1e28
RD
5199 char *kwnames[] = {
5200 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5201 };
5202
994141e6 5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5206 arg2 = (int) SWIG_AsInt(obj1);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 arg3 = (int) SWIG_AsInt(obj2);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
5211 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5212 {
5213 PyThreadState* __tstate = wxPyBeginAllowThreads();
5214 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
5215
5216 wxPyEndAllowThreads(__tstate);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 }
5219 {
412d302d 5220 resultobj = wxPyMake_wxGridCellAttr(result, 0);
d14a1e28
RD
5221 }
5222 return resultobj;
5223 fail:
5224 return NULL;
5225}
5226
5227
5228static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5229 PyObject *resultobj;
5230 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5231 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5232 int arg3 ;
5233 int arg4 ;
5234 PyObject * obj0 = 0 ;
5235 PyObject * obj1 = 0 ;
994141e6
RD
5236 PyObject * obj2 = 0 ;
5237 PyObject * obj3 = 0 ;
d14a1e28
RD
5238 char *kwnames[] = {
5239 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5240 };
5241
994141e6 5242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5245 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5247 arg3 = (int) SWIG_AsInt(obj2);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 arg4 = (int) SWIG_AsInt(obj3);
5250 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5251 {
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 (arg1)->base_SetAttr(arg2,arg3,arg4);
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 Py_INCREF(Py_None); resultobj = Py_None;
5259 return resultobj;
5260 fail:
5261 return NULL;
5262}
5263
5264
5265static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5266 PyObject *resultobj;
5267 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5268 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5269 int arg3 ;
5270 PyObject * obj0 = 0 ;
5271 PyObject * obj1 = 0 ;
994141e6 5272 PyObject * obj2 = 0 ;
d14a1e28
RD
5273 char *kwnames[] = {
5274 (char *) "self",(char *) "attr",(char *) "row", NULL
5275 };
5276
994141e6 5277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5280 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5282 arg3 = (int) SWIG_AsInt(obj2);
5283 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5284 {
5285 PyThreadState* __tstate = wxPyBeginAllowThreads();
5286 (arg1)->base_SetRowAttr(arg2,arg3);
5287
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 Py_INCREF(Py_None); resultobj = Py_None;
5292 return resultobj;
5293 fail:
5294 return NULL;
5295}
5296
5297
5298static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5299 PyObject *resultobj;
5300 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5301 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5302 int arg3 ;
5303 PyObject * obj0 = 0 ;
5304 PyObject * obj1 = 0 ;
994141e6 5305 PyObject * obj2 = 0 ;
d14a1e28
RD
5306 char *kwnames[] = {
5307 (char *) "self",(char *) "attr",(char *) "col", NULL
5308 };
5309
994141e6 5310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5315 arg3 = (int) SWIG_AsInt(obj2);
5316 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5317 {
5318 PyThreadState* __tstate = wxPyBeginAllowThreads();
5319 (arg1)->base_SetColAttr(arg2,arg3);
5320
5321 wxPyEndAllowThreads(__tstate);
5322 if (PyErr_Occurred()) SWIG_fail;
5323 }
5324 Py_INCREF(Py_None); resultobj = Py_None;
5325 return resultobj;
5326 fail:
5327 return NULL;
5328}
5329
5330
5331static PyObject * PyGridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
5332 PyObject *obj;
5333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5334 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider, obj);
5335 Py_INCREF(obj);
5336 return Py_BuildValue((char *)"");
5337}
5338static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5339 PyObject *resultobj;
5340 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5341 PyObject *arg2 = (PyObject *) 0 ;
5342 PyObject * obj0 = 0 ;
5343 PyObject * obj1 = 0 ;
5344 char *kwnames[] = {
5345 (char *) "self",(char *) "_self", NULL
5346 };
5347
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5351 arg2 = obj1;
5352 {
5353 PyThreadState* __tstate = wxPyBeginAllowThreads();
5354 wxGridTableBase__setOORInfo(arg1,arg2);
5355
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
5359 Py_INCREF(Py_None); resultobj = Py_None;
5360 return resultobj;
5361 fail:
5362 return NULL;
5363}
5364
5365
5366static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5367 PyObject *resultobj;
5368 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5369 wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ;
5370 PyObject * obj0 = 0 ;
5371 PyObject * obj1 = 0 ;
5372 char *kwnames[] = {
5373 (char *) "self",(char *) "attrProvider", NULL
5374 };
5375
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetAttrProvider",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5379 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttrProvider,
5380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 (arg1)->SetAttrProvider(arg2);
5384
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
5388 Py_INCREF(Py_None); resultobj = Py_None;
5389 return resultobj;
5390 fail:
5391 return NULL;
5392}
5393
5394
5395static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5396 PyObject *resultobj;
5397 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5398 wxGridCellAttrProvider *result;
5399 PyObject * obj0 = 0 ;
5400 char *kwnames[] = {
5401 (char *) "self", NULL
5402 };
5403
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetAttrProvider",kwnames,&obj0)) goto fail;
15afbcd0
RD
5405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 result = (wxGridCellAttrProvider *)((wxGridTableBase const *)arg1)->GetAttrProvider();
5410
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 {
412d302d 5415 resultobj = wxPyMake_wxGridCellAttrProvider(result, 0);
d14a1e28
RD
5416 }
5417 return resultobj;
5418 fail:
5419 return NULL;
5420}
5421
5422
5423static PyObject *_wrap_GridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5424 PyObject *resultobj;
5425 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5426 wxGrid *arg2 = (wxGrid *) 0 ;
5427 PyObject * obj0 = 0 ;
5428 PyObject * obj1 = 0 ;
5429 char *kwnames[] = {
5430 (char *) "self",(char *) "grid", NULL
5431 };
5432
5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetView",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
5437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5438 {
5439 PyThreadState* __tstate = wxPyBeginAllowThreads();
5440 (arg1)->SetView(arg2);
5441
5442 wxPyEndAllowThreads(__tstate);
5443 if (PyErr_Occurred()) SWIG_fail;
5444 }
5445 Py_INCREF(Py_None); resultobj = Py_None;
5446 return resultobj;
5447 fail:
5448 return NULL;
5449}
5450
5451
5452static PyObject *_wrap_GridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5453 PyObject *resultobj;
5454 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5455 wxGrid *result;
5456 PyObject * obj0 = 0 ;
5457 char *kwnames[] = {
5458 (char *) "self", NULL
5459 };
5460
5461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetView",kwnames,&obj0)) goto fail;
15afbcd0
RD
5462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5464 {
5465 PyThreadState* __tstate = wxPyBeginAllowThreads();
5466 result = (wxGrid *)((wxGridTableBase const *)arg1)->GetView();
5467
5468 wxPyEndAllowThreads(__tstate);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 {
412d302d 5472 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5473 }
5474 return resultobj;
5475 fail:
5476 return NULL;
5477}
5478
5479
5480static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5481 PyObject *resultobj;
5482 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5483 int result;
5484 PyObject * obj0 = 0 ;
5485 char *kwnames[] = {
5486 (char *) "self", NULL
5487 };
5488
5489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
5490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5492 {
5493 PyThreadState* __tstate = wxPyBeginAllowThreads();
5494 result = (int)(arg1)->GetNumberRows();
5495
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
15afbcd0 5499 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5500 return resultobj;
5501 fail:
5502 return NULL;
5503}
5504
5505
5506static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5507 PyObject *resultobj;
5508 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5509 int result;
5510 PyObject * obj0 = 0 ;
5511 char *kwnames[] = {
5512 (char *) "self", NULL
5513 };
5514
5515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
5516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5518 {
5519 PyThreadState* __tstate = wxPyBeginAllowThreads();
5520 result = (int)(arg1)->GetNumberCols();
5521
5522 wxPyEndAllowThreads(__tstate);
5523 if (PyErr_Occurred()) SWIG_fail;
5524 }
15afbcd0 5525 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5526 return resultobj;
5527 fail:
5528 return NULL;
5529}
5530
5531
5532static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5533 PyObject *resultobj;
5534 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5535 int arg2 ;
5536 int arg3 ;
5537 bool result;
5538 PyObject * obj0 = 0 ;
994141e6
RD
5539 PyObject * obj1 = 0 ;
5540 PyObject * obj2 = 0 ;
d14a1e28
RD
5541 char *kwnames[] = {
5542 (char *) "self",(char *) "row",(char *) "col", NULL
5543 };
5544
994141e6 5545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5548 arg2 = (int) SWIG_AsInt(obj1);
5549 if (PyErr_Occurred()) SWIG_fail;
5550 arg3 = (int) SWIG_AsInt(obj2);
5551 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5552 {
5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
5554 result = (bool)(arg1)->IsEmptyCell(arg2,arg3);
5555
5556 wxPyEndAllowThreads(__tstate);
5557 if (PyErr_Occurred()) SWIG_fail;
5558 }
4f89f6a3
RD
5559 {
5560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5561 }
d14a1e28
RD
5562 return resultobj;
5563 fail:
5564 return NULL;
5565}
5566
5567
5568static PyObject *_wrap_GridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5569 PyObject *resultobj;
5570 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5571 int arg2 ;
5572 int arg3 ;
5573 wxString result;
5574 PyObject * obj0 = 0 ;
994141e6
RD
5575 PyObject * obj1 = 0 ;
5576 PyObject * obj2 = 0 ;
d14a1e28
RD
5577 char *kwnames[] = {
5578 (char *) "self",(char *) "row",(char *) "col", NULL
5579 };
5580
994141e6 5581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5584 arg2 = (int) SWIG_AsInt(obj1);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 arg3 = (int) SWIG_AsInt(obj2);
5587 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 result = (arg1)->GetValue(arg2,arg3);
5591
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) SWIG_fail;
5594 }
5595 {
5596#if wxUSE_UNICODE
5597 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5598#else
5599 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5600#endif
5601 }
5602 return resultobj;
5603 fail:
5604 return NULL;
5605}
5606
5607
5608static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5609 PyObject *resultobj;
5610 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5611 int arg2 ;
5612 int arg3 ;
5613 wxString *arg4 = 0 ;
e811c8ce 5614 bool temp4 = False ;
d14a1e28 5615 PyObject * obj0 = 0 ;
994141e6
RD
5616 PyObject * obj1 = 0 ;
5617 PyObject * obj2 = 0 ;
d14a1e28
RD
5618 PyObject * obj3 = 0 ;
5619 char *kwnames[] = {
5620 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5621 };
5622
994141e6 5623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5626 arg2 = (int) SWIG_AsInt(obj1);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 arg3 = (int) SWIG_AsInt(obj2);
5629 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5630 {
5631 arg4 = wxString_in_helper(obj3);
5632 if (arg4 == NULL) SWIG_fail;
e811c8ce 5633 temp4 = True;
d14a1e28
RD
5634 }
5635 {
5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
5637 (arg1)->SetValue(arg2,arg3,(wxString const &)*arg4);
5638
5639 wxPyEndAllowThreads(__tstate);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 }
5642 Py_INCREF(Py_None); resultobj = Py_None;
5643 {
5644 if (temp4)
5645 delete arg4;
5646 }
5647 return resultobj;
5648 fail:
5649 {
5650 if (temp4)
5651 delete arg4;
5652 }
5653 return NULL;
5654}
5655
5656
5657static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5658 PyObject *resultobj;
5659 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5660 int arg2 ;
5661 int arg3 ;
5662 wxString result;
5663 PyObject * obj0 = 0 ;
994141e6
RD
5664 PyObject * obj1 = 0 ;
5665 PyObject * obj2 = 0 ;
d14a1e28
RD
5666 char *kwnames[] = {
5667 (char *) "self",(char *) "row",(char *) "col", NULL
5668 };
5669
994141e6 5670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5673 arg2 = (int) SWIG_AsInt(obj1);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 arg3 = (int) SWIG_AsInt(obj2);
5676 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5677 {
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
5679 result = (arg1)->GetTypeName(arg2,arg3);
5680
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) SWIG_fail;
5683 }
5684 {
5685#if wxUSE_UNICODE
5686 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5687#else
5688 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5689#endif
5690 }
5691 return resultobj;
5692 fail:
5693 return NULL;
5694}
5695
5696
5697static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5698 PyObject *resultobj;
5699 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5700 int arg2 ;
5701 int arg3 ;
5702 wxString *arg4 = 0 ;
5703 bool result;
e811c8ce 5704 bool temp4 = False ;
d14a1e28 5705 PyObject * obj0 = 0 ;
994141e6
RD
5706 PyObject * obj1 = 0 ;
5707 PyObject * obj2 = 0 ;
d14a1e28
RD
5708 PyObject * obj3 = 0 ;
5709 char *kwnames[] = {
5710 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5711 };
5712
994141e6 5713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5716 arg2 = (int) SWIG_AsInt(obj1);
5717 if (PyErr_Occurred()) SWIG_fail;
5718 arg3 = (int) SWIG_AsInt(obj2);
5719 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5720 {
5721 arg4 = wxString_in_helper(obj3);
5722 if (arg4 == NULL) SWIG_fail;
e811c8ce 5723 temp4 = True;
d14a1e28
RD
5724 }
5725 {
5726 PyThreadState* __tstate = wxPyBeginAllowThreads();
5727 result = (bool)(arg1)->CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
5728
5729 wxPyEndAllowThreads(__tstate);
5730 if (PyErr_Occurred()) SWIG_fail;
5731 }
4f89f6a3
RD
5732 {
5733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5734 }
d14a1e28
RD
5735 {
5736 if (temp4)
5737 delete arg4;
5738 }
5739 return resultobj;
5740 fail:
5741 {
5742 if (temp4)
5743 delete arg4;
5744 }
5745 return NULL;
5746}
5747
5748
5749static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5750 PyObject *resultobj;
5751 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5752 int arg2 ;
5753 int arg3 ;
5754 wxString *arg4 = 0 ;
5755 bool result;
e811c8ce 5756 bool temp4 = False ;
d14a1e28 5757 PyObject * obj0 = 0 ;
994141e6
RD
5758 PyObject * obj1 = 0 ;
5759 PyObject * obj2 = 0 ;
d14a1e28
RD
5760 PyObject * obj3 = 0 ;
5761 char *kwnames[] = {
5762 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5763 };
5764
994141e6 5765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5768 arg2 = (int) SWIG_AsInt(obj1);
5769 if (PyErr_Occurred()) SWIG_fail;
5770 arg3 = (int) SWIG_AsInt(obj2);
5771 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5772 {
5773 arg4 = wxString_in_helper(obj3);
5774 if (arg4 == NULL) SWIG_fail;
e811c8ce 5775 temp4 = True;
d14a1e28
RD
5776 }
5777 {
5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
5779 result = (bool)(arg1)->CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
5780
5781 wxPyEndAllowThreads(__tstate);
5782 if (PyErr_Occurred()) SWIG_fail;
5783 }
4f89f6a3
RD
5784 {
5785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5786 }
d14a1e28
RD
5787 {
5788 if (temp4)
5789 delete arg4;
5790 }
5791 return resultobj;
5792 fail:
5793 {
5794 if (temp4)
5795 delete arg4;
5796 }
5797 return NULL;
5798}
5799
5800
5801static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5802 PyObject *resultobj;
5803 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5804 int arg2 ;
5805 int arg3 ;
5806 long result;
5807 PyObject * obj0 = 0 ;
994141e6
RD
5808 PyObject * obj1 = 0 ;
5809 PyObject * obj2 = 0 ;
d14a1e28
RD
5810 char *kwnames[] = {
5811 (char *) "self",(char *) "row",(char *) "col", NULL
5812 };
5813
994141e6 5814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5817 arg2 = (int) SWIG_AsInt(obj1);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 arg3 = (int) SWIG_AsInt(obj2);
5820 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5821 {
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 result = (long)(arg1)->GetValueAsLong(arg2,arg3);
5824
5825 wxPyEndAllowThreads(__tstate);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
15afbcd0 5828 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
5829 return resultobj;
5830 fail:
5831 return NULL;
5832}
5833
5834
5835static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5836 PyObject *resultobj;
5837 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5838 int arg2 ;
5839 int arg3 ;
5840 double result;
5841 PyObject * obj0 = 0 ;
994141e6
RD
5842 PyObject * obj1 = 0 ;
5843 PyObject * obj2 = 0 ;
d14a1e28
RD
5844 char *kwnames[] = {
5845 (char *) "self",(char *) "row",(char *) "col", NULL
5846 };
5847
994141e6 5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5851 arg2 = (int) SWIG_AsInt(obj1);
5852 if (PyErr_Occurred()) SWIG_fail;
5853 arg3 = (int) SWIG_AsInt(obj2);
5854 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5855 {
5856 PyThreadState* __tstate = wxPyBeginAllowThreads();
5857 result = (double)(arg1)->GetValueAsDouble(arg2,arg3);
5858
5859 wxPyEndAllowThreads(__tstate);
5860 if (PyErr_Occurred()) SWIG_fail;
5861 }
15afbcd0 5862 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5863 return resultobj;
5864 fail:
5865 return NULL;
5866}
5867
5868
5869static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5870 PyObject *resultobj;
5871 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5872 int arg2 ;
5873 int arg3 ;
5874 bool result;
5875 PyObject * obj0 = 0 ;
994141e6
RD
5876 PyObject * obj1 = 0 ;
5877 PyObject * obj2 = 0 ;
d14a1e28
RD
5878 char *kwnames[] = {
5879 (char *) "self",(char *) "row",(char *) "col", NULL
5880 };
5881
994141e6 5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5885 arg2 = (int) SWIG_AsInt(obj1);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 arg3 = (int) SWIG_AsInt(obj2);
5888 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5889 {
5890 PyThreadState* __tstate = wxPyBeginAllowThreads();
5891 result = (bool)(arg1)->GetValueAsBool(arg2,arg3);
5892
5893 wxPyEndAllowThreads(__tstate);
5894 if (PyErr_Occurred()) SWIG_fail;
5895 }
4f89f6a3
RD
5896 {
5897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5898 }
d14a1e28
RD
5899 return resultobj;
5900 fail:
5901 return NULL;
5902}
5903
5904
5905static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5906 PyObject *resultobj;
5907 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5908 int arg2 ;
5909 int arg3 ;
5910 long arg4 ;
5911 PyObject * obj0 = 0 ;
994141e6
RD
5912 PyObject * obj1 = 0 ;
5913 PyObject * obj2 = 0 ;
5914 PyObject * obj3 = 0 ;
d14a1e28
RD
5915 char *kwnames[] = {
5916 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5917 };
5918
994141e6 5919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5922 arg2 = (int) SWIG_AsInt(obj1);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 arg3 = (int) SWIG_AsInt(obj2);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 arg4 = (long) SWIG_AsLong(obj3);
5927 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 (arg1)->SetValueAsLong(arg2,arg3,arg4);
5931
5932 wxPyEndAllowThreads(__tstate);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 }
5935 Py_INCREF(Py_None); resultobj = Py_None;
5936 return resultobj;
5937 fail:
5938 return NULL;
5939}
5940
5941
5942static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5943 PyObject *resultobj;
5944 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5945 int arg2 ;
5946 int arg3 ;
5947 double arg4 ;
5948 PyObject * obj0 = 0 ;
994141e6
RD
5949 PyObject * obj1 = 0 ;
5950 PyObject * obj2 = 0 ;
5951 PyObject * obj3 = 0 ;
d14a1e28
RD
5952 char *kwnames[] = {
5953 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5954 };
5955
994141e6 5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5959 arg2 = (int) SWIG_AsInt(obj1);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 arg3 = (int) SWIG_AsInt(obj2);
5962 if (PyErr_Occurred()) SWIG_fail;
5963 arg4 = (double) SWIG_AsDouble(obj3);
5964 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 (arg1)->SetValueAsDouble(arg2,arg3,arg4);
5968
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 Py_INCREF(Py_None); resultobj = Py_None;
5973 return resultobj;
5974 fail:
5975 return NULL;
5976}
5977
5978
5979static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5980 PyObject *resultobj;
5981 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5982 int arg2 ;
5983 int arg3 ;
5984 bool arg4 ;
5985 PyObject * obj0 = 0 ;
994141e6
RD
5986 PyObject * obj1 = 0 ;
5987 PyObject * obj2 = 0 ;
d14a1e28
RD
5988 PyObject * obj3 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5991 };
5992
994141e6 5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5996 arg2 = (int) SWIG_AsInt(obj1);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 arg3 = (int) SWIG_AsInt(obj2);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 arg4 = (bool) SWIG_AsBool(obj3);
6001 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6002 {
6003 PyThreadState* __tstate = wxPyBeginAllowThreads();
6004 (arg1)->SetValueAsBool(arg2,arg3,arg4);
6005
6006 wxPyEndAllowThreads(__tstate);
6007 if (PyErr_Occurred()) SWIG_fail;
6008 }
6009 Py_INCREF(Py_None); resultobj = Py_None;
6010 return resultobj;
6011 fail:
6012 return NULL;
6013}
6014
6015
6016static PyObject *_wrap_GridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6017 PyObject *resultobj;
6018 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6019 PyObject * obj0 = 0 ;
6020 char *kwnames[] = {
6021 (char *) "self", NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
6025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6027 {
6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
6029 (arg1)->Clear();
6030
6031 wxPyEndAllowThreads(__tstate);
6032 if (PyErr_Occurred()) SWIG_fail;
6033 }
6034 Py_INCREF(Py_None); resultobj = Py_None;
6035 return resultobj;
6036 fail:
6037 return NULL;
6038}
6039
6040
6041static PyObject *_wrap_GridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6042 PyObject *resultobj;
6043 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6044 size_t arg2 = (size_t) 0 ;
6045 size_t arg3 = (size_t) 1 ;
6046 bool result;
6047 PyObject * obj0 = 0 ;
6048 PyObject * obj1 = 0 ;
6049 PyObject * obj2 = 0 ;
6050 char *kwnames[] = {
6051 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6052 };
6053
6054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6057 if (obj1) {
15afbcd0
RD
6058 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6059 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6060 }
6061 if (obj2) {
15afbcd0
RD
6062 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6063 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6064 }
6065 {
6066 PyThreadState* __tstate = wxPyBeginAllowThreads();
6067 result = (bool)(arg1)->InsertRows(arg2,arg3);
6068
6069 wxPyEndAllowThreads(__tstate);
6070 if (PyErr_Occurred()) SWIG_fail;
6071 }
4f89f6a3
RD
6072 {
6073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6074 }
d14a1e28
RD
6075 return resultobj;
6076 fail:
6077 return NULL;
6078}
6079
6080
6081static PyObject *_wrap_GridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6082 PyObject *resultobj;
6083 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6084 size_t arg2 = (size_t) 1 ;
6085 bool result;
6086 PyObject * obj0 = 0 ;
6087 PyObject * obj1 = 0 ;
6088 char *kwnames[] = {
6089 (char *) "self",(char *) "numRows", NULL
6090 };
6091
6092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6095 if (obj1) {
15afbcd0
RD
6096 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6097 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6098 }
6099 {
6100 PyThreadState* __tstate = wxPyBeginAllowThreads();
6101 result = (bool)(arg1)->AppendRows(arg2);
6102
6103 wxPyEndAllowThreads(__tstate);
6104 if (PyErr_Occurred()) SWIG_fail;
6105 }
4f89f6a3
RD
6106 {
6107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6108 }
d14a1e28
RD
6109 return resultobj;
6110 fail:
6111 return NULL;
6112}
6113
6114
6115static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6116 PyObject *resultobj;
6117 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6118 size_t arg2 = (size_t) 0 ;
6119 size_t arg3 = (size_t) 1 ;
6120 bool result;
6121 PyObject * obj0 = 0 ;
6122 PyObject * obj1 = 0 ;
6123 PyObject * obj2 = 0 ;
6124 char *kwnames[] = {
6125 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6126 };
6127
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6131 if (obj1) {
15afbcd0
RD
6132 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6133 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6134 }
6135 if (obj2) {
15afbcd0
RD
6136 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6137 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6138 }
6139 {
6140 PyThreadState* __tstate = wxPyBeginAllowThreads();
6141 result = (bool)(arg1)->DeleteRows(arg2,arg3);
6142
6143 wxPyEndAllowThreads(__tstate);
6144 if (PyErr_Occurred()) SWIG_fail;
6145 }
4f89f6a3
RD
6146 {
6147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6148 }
d14a1e28
RD
6149 return resultobj;
6150 fail:
6151 return NULL;
6152}
6153
6154
6155static PyObject *_wrap_GridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject *resultobj;
6157 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6158 size_t arg2 = (size_t) 0 ;
6159 size_t arg3 = (size_t) 1 ;
6160 bool result;
6161 PyObject * obj0 = 0 ;
6162 PyObject * obj1 = 0 ;
6163 PyObject * obj2 = 0 ;
6164 char *kwnames[] = {
6165 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6166 };
6167
6168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6171 if (obj1) {
15afbcd0
RD
6172 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6173 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6174 }
6175 if (obj2) {
15afbcd0
RD
6176 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6177 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6178 }
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 result = (bool)(arg1)->InsertCols(arg2,arg3);
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
4f89f6a3
RD
6186 {
6187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6188 }
d14a1e28
RD
6189 return resultobj;
6190 fail:
6191 return NULL;
6192}
6193
6194
6195static PyObject *_wrap_GridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj;
6197 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6198 size_t arg2 = (size_t) 1 ;
6199 bool result;
6200 PyObject * obj0 = 0 ;
6201 PyObject * obj1 = 0 ;
6202 char *kwnames[] = {
6203 (char *) "self",(char *) "numCols", NULL
6204 };
6205
6206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6209 if (obj1) {
15afbcd0
RD
6210 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6211 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6212 }
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 result = (bool)(arg1)->AppendCols(arg2);
6216
6217 wxPyEndAllowThreads(__tstate);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 }
4f89f6a3
RD
6220 {
6221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6222 }
d14a1e28
RD
6223 return resultobj;
6224 fail:
6225 return NULL;
6226}
6227
6228
6229static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6230 PyObject *resultobj;
6231 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6232 size_t arg2 = (size_t) 0 ;
6233 size_t arg3 = (size_t) 1 ;
6234 bool result;
6235 PyObject * obj0 = 0 ;
6236 PyObject * obj1 = 0 ;
6237 PyObject * obj2 = 0 ;
6238 char *kwnames[] = {
6239 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6240 };
6241
6242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6245 if (obj1) {
15afbcd0
RD
6246 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6247 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6248 }
6249 if (obj2) {
15afbcd0
RD
6250 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6251 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6252 }
6253 {
6254 PyThreadState* __tstate = wxPyBeginAllowThreads();
6255 result = (bool)(arg1)->DeleteCols(arg2,arg3);
6256
6257 wxPyEndAllowThreads(__tstate);
6258 if (PyErr_Occurred()) SWIG_fail;
6259 }
4f89f6a3
RD
6260 {
6261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6262 }
d14a1e28
RD
6263 return resultobj;
6264 fail:
6265 return NULL;
6266}
6267
6268
6269static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6270 PyObject *resultobj;
6271 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6272 int arg2 ;
6273 wxString result;
6274 PyObject * obj0 = 0 ;
994141e6 6275 PyObject * obj1 = 0 ;
d14a1e28
RD
6276 char *kwnames[] = {
6277 (char *) "self",(char *) "row", NULL
6278 };
6279
994141e6 6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6283 arg2 = (int) SWIG_AsInt(obj1);
6284 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 result = (arg1)->GetRowLabelValue(arg2);
6288
6289 wxPyEndAllowThreads(__tstate);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 }
6292 {
6293#if wxUSE_UNICODE
6294 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6295#else
6296 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6297#endif
6298 }
6299 return resultobj;
6300 fail:
6301 return NULL;
6302}
6303
6304
6305static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6306 PyObject *resultobj;
6307 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6308 int arg2 ;
6309 wxString result;
6310 PyObject * obj0 = 0 ;
994141e6 6311 PyObject * obj1 = 0 ;
d14a1e28
RD
6312 char *kwnames[] = {
6313 (char *) "self",(char *) "col", NULL
6314 };
6315
994141e6 6316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6319 arg2 = (int) SWIG_AsInt(obj1);
6320 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6321 {
6322 PyThreadState* __tstate = wxPyBeginAllowThreads();
6323 result = (arg1)->GetColLabelValue(arg2);
6324
6325 wxPyEndAllowThreads(__tstate);
6326 if (PyErr_Occurred()) SWIG_fail;
6327 }
6328 {
6329#if wxUSE_UNICODE
6330 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6331#else
6332 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6333#endif
6334 }
6335 return resultobj;
6336 fail:
6337 return NULL;
6338}
6339
6340
6341static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6342 PyObject *resultobj;
6343 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6344 int arg2 ;
6345 wxString *arg3 = 0 ;
e811c8ce 6346 bool temp3 = False ;
d14a1e28 6347 PyObject * obj0 = 0 ;
994141e6 6348 PyObject * obj1 = 0 ;
d14a1e28
RD
6349 PyObject * obj2 = 0 ;
6350 char *kwnames[] = {
6351 (char *) "self",(char *) "row",(char *) "value", NULL
6352 };
6353
994141e6 6354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6357 arg2 = (int) SWIG_AsInt(obj1);
6358 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6359 {
6360 arg3 = wxString_in_helper(obj2);
6361 if (arg3 == NULL) SWIG_fail;
e811c8ce 6362 temp3 = True;
d14a1e28
RD
6363 }
6364 {
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
6367
6368 wxPyEndAllowThreads(__tstate);
6369 if (PyErr_Occurred()) SWIG_fail;
6370 }
6371 Py_INCREF(Py_None); resultobj = Py_None;
6372 {
6373 if (temp3)
6374 delete arg3;
6375 }
6376 return resultobj;
6377 fail:
6378 {
6379 if (temp3)
6380 delete arg3;
6381 }
6382 return NULL;
6383}
6384
6385
6386static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6387 PyObject *resultobj;
6388 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6389 int arg2 ;
6390 wxString *arg3 = 0 ;
e811c8ce 6391 bool temp3 = False ;
d14a1e28 6392 PyObject * obj0 = 0 ;
994141e6 6393 PyObject * obj1 = 0 ;
d14a1e28
RD
6394 PyObject * obj2 = 0 ;
6395 char *kwnames[] = {
6396 (char *) "self",(char *) "col",(char *) "value", NULL
6397 };
6398
994141e6 6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6402 arg2 = (int) SWIG_AsInt(obj1);
6403 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6404 {
6405 arg3 = wxString_in_helper(obj2);
6406 if (arg3 == NULL) SWIG_fail;
e811c8ce 6407 temp3 = True;
d14a1e28
RD
6408 }
6409 {
6410 PyThreadState* __tstate = wxPyBeginAllowThreads();
6411 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
6412
6413 wxPyEndAllowThreads(__tstate);
6414 if (PyErr_Occurred()) SWIG_fail;
6415 }
6416 Py_INCREF(Py_None); resultobj = Py_None;
6417 {
6418 if (temp3)
6419 delete arg3;
6420 }
6421 return resultobj;
6422 fail:
6423 {
6424 if (temp3)
6425 delete arg3;
6426 }
6427 return NULL;
6428}
6429
6430
6431static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6432 PyObject *resultobj;
6433 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6434 bool result;
6435 PyObject * obj0 = 0 ;
6436 char *kwnames[] = {
6437 (char *) "self", NULL
6438 };
6439
6440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_CanHaveAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
6441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6443 {
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 result = (bool)(arg1)->CanHaveAttributes();
6446
6447 wxPyEndAllowThreads(__tstate);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
4f89f6a3
RD
6450 {
6451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6452 }
d14a1e28
RD
6453 return resultobj;
6454 fail:
6455 return NULL;
6456}
6457
6458
6459static PyObject *_wrap_GridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6460 PyObject *resultobj;
6461 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6462 int arg2 ;
6463 int arg3 ;
6464 int arg4 ;
6465 wxGridCellAttr *result;
6466 PyObject * obj0 = 0 ;
994141e6
RD
6467 PyObject * obj1 = 0 ;
6468 PyObject * obj2 = 0 ;
6469 PyObject * obj3 = 0 ;
d14a1e28
RD
6470 char *kwnames[] = {
6471 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6472 };
6473
994141e6 6474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6477 arg2 = (int) SWIG_AsInt(obj1);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 arg3 = (int) SWIG_AsInt(obj2);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
6482 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6483 {
6484 PyThreadState* __tstate = wxPyBeginAllowThreads();
6485 result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
6486
6487 wxPyEndAllowThreads(__tstate);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
6490 {
412d302d 6491 resultobj = wxPyMake_wxGridCellAttr(result, 0);
d14a1e28
RD
6492 }
6493 return resultobj;
6494 fail:
6495 return NULL;
6496}
6497
6498
6499static PyObject *_wrap_GridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6500 PyObject *resultobj;
6501 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6502 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6503 int arg3 ;
6504 int arg4 ;
6505 PyObject * obj0 = 0 ;
6506 PyObject * obj1 = 0 ;
994141e6
RD
6507 PyObject * obj2 = 0 ;
6508 PyObject * obj3 = 0 ;
d14a1e28
RD
6509 char *kwnames[] = {
6510 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6511 };
6512
994141e6 6513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6518 arg3 = (int) SWIG_AsInt(obj2);
6519 if (PyErr_Occurred()) SWIG_fail;
6520 arg4 = (int) SWIG_AsInt(obj3);
6521 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6522 {
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 (arg1)->SetAttr(arg2,arg3,arg4);
6525
6526 wxPyEndAllowThreads(__tstate);
6527 if (PyErr_Occurred()) SWIG_fail;
6528 }
6529 Py_INCREF(Py_None); resultobj = Py_None;
6530 return resultobj;
6531 fail:
6532 return NULL;
6533}
6534
6535
6536static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6537 PyObject *resultobj;
6538 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6539 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6540 int arg3 ;
6541 PyObject * obj0 = 0 ;
6542 PyObject * obj1 = 0 ;
994141e6 6543 PyObject * obj2 = 0 ;
d14a1e28
RD
6544 char *kwnames[] = {
6545 (char *) "self",(char *) "attr",(char *) "row", NULL
6546 };
6547
994141e6 6548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6551 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6553 arg3 = (int) SWIG_AsInt(obj2);
6554 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 (arg1)->SetRowAttr(arg2,arg3);
6558
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 Py_INCREF(Py_None); resultobj = Py_None;
6563 return resultobj;
6564 fail:
6565 return NULL;
6566}
6567
6568
6569static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6572 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6573 int arg3 ;
6574 PyObject * obj0 = 0 ;
6575 PyObject * obj1 = 0 ;
994141e6 6576 PyObject * obj2 = 0 ;
d14a1e28
RD
6577 char *kwnames[] = {
6578 (char *) "self",(char *) "attr",(char *) "col", NULL
6579 };
6580
994141e6 6581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6584 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6586 arg3 = (int) SWIG_AsInt(obj2);
6587 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6588 {
6589 PyThreadState* __tstate = wxPyBeginAllowThreads();
6590 (arg1)->SetColAttr(arg2,arg3);
6591
6592 wxPyEndAllowThreads(__tstate);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 }
6595 Py_INCREF(Py_None); resultobj = Py_None;
6596 return resultobj;
6597 fail:
6598 return NULL;
6599}
6600
6601
6602static PyObject * GridTableBase_swigregister(PyObject *self, PyObject *args) {
6603 PyObject *obj;
6604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6605 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase, obj);
6606 Py_INCREF(obj);
6607 return Py_BuildValue((char *)"");
6608}
6609static PyObject *_wrap_new_PyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
6610 PyObject *resultobj;
6611 wxPyGridTableBase *result;
6612 char *kwnames[] = {
6613 NULL
6614 };
6615
6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridTableBase",kwnames)) goto fail;
6617 {
6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6619 result = (wxPyGridTableBase *)new wxPyGridTableBase();
6620
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
15afbcd0 6624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridTableBase, 1);
d14a1e28
RD
6625 return resultobj;
6626 fail:
6627 return NULL;
6628}
6629
6630
6631static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6632 PyObject *resultobj;
6633 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6634 PyObject *arg2 = (PyObject *) 0 ;
6635 PyObject *arg3 = (PyObject *) 0 ;
6636 PyObject * obj0 = 0 ;
6637 PyObject * obj1 = 0 ;
6638 PyObject * obj2 = 0 ;
6639 char *kwnames[] = {
6640 (char *) "self",(char *) "self",(char *) "_class", NULL
6641 };
6642
6643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6646 arg2 = obj1;
6647 arg3 = obj2;
6648 {
6649 PyThreadState* __tstate = wxPyBeginAllowThreads();
6650 (arg1)->_setCallbackInfo(arg2,arg3);
6651
6652 wxPyEndAllowThreads(__tstate);
6653 if (PyErr_Occurred()) SWIG_fail;
6654 }
6655 Py_INCREF(Py_None); resultobj = Py_None;
6656 return resultobj;
6657 fail:
6658 return NULL;
6659}
6660
6661
6662static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6663 PyObject *resultobj;
6664 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6665 PyObject * obj0 = 0 ;
6666 char *kwnames[] = {
6667 (char *) "self", NULL
6668 };
6669
6670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
6671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6673 {
6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
6675 wxPyGridTableBase_Destroy(arg1);
6676
6677 wxPyEndAllowThreads(__tstate);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 }
6680 Py_INCREF(Py_None); resultobj = Py_None;
6681 return resultobj;
6682 fail:
6683 return NULL;
6684}
6685
6686
6687static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
6688 PyObject *resultobj;
6689 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6690 int arg2 ;
6691 int arg3 ;
6692 wxString result;
6693 PyObject * obj0 = 0 ;
994141e6
RD
6694 PyObject * obj1 = 0 ;
6695 PyObject * obj2 = 0 ;
d14a1e28
RD
6696 char *kwnames[] = {
6697 (char *) "self",(char *) "row",(char *) "col", NULL
6698 };
6699
994141e6 6700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6703 arg2 = (int) SWIG_AsInt(obj1);
6704 if (PyErr_Occurred()) SWIG_fail;
6705 arg3 = (int) SWIG_AsInt(obj2);
6706 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6707 {
6708 PyThreadState* __tstate = wxPyBeginAllowThreads();
6709 result = (arg1)->base_GetTypeName(arg2,arg3);
6710
6711 wxPyEndAllowThreads(__tstate);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 }
6714 {
6715#if wxUSE_UNICODE
6716 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6717#else
6718 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6719#endif
6720 }
6721 return resultobj;
6722 fail:
6723 return NULL;
6724}
6725
6726
6727static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6728 PyObject *resultobj;
6729 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6730 int arg2 ;
6731 int arg3 ;
6732 wxString *arg4 = 0 ;
6733 bool result;
e811c8ce 6734 bool temp4 = False ;
d14a1e28 6735 PyObject * obj0 = 0 ;
994141e6
RD
6736 PyObject * obj1 = 0 ;
6737 PyObject * obj2 = 0 ;
d14a1e28
RD
6738 PyObject * obj3 = 0 ;
6739 char *kwnames[] = {
6740 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6741 };
6742
994141e6 6743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6746 arg2 = (int) SWIG_AsInt(obj1);
6747 if (PyErr_Occurred()) SWIG_fail;
6748 arg3 = (int) SWIG_AsInt(obj2);
6749 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6750 {
6751 arg4 = wxString_in_helper(obj3);
6752 if (arg4 == NULL) SWIG_fail;
e811c8ce 6753 temp4 = True;
d14a1e28
RD
6754 }
6755 {
6756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6757 result = (bool)(arg1)->base_CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
6758
6759 wxPyEndAllowThreads(__tstate);
6760 if (PyErr_Occurred()) SWIG_fail;
6761 }
4f89f6a3
RD
6762 {
6763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6764 }
d14a1e28
RD
6765 {
6766 if (temp4)
6767 delete arg4;
6768 }
6769 return resultobj;
6770 fail:
6771 {
6772 if (temp4)
6773 delete arg4;
6774 }
6775 return NULL;
6776}
6777
6778
6779static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6780 PyObject *resultobj;
6781 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6782 int arg2 ;
6783 int arg3 ;
6784 wxString *arg4 = 0 ;
6785 bool result;
e811c8ce 6786 bool temp4 = False ;
d14a1e28 6787 PyObject * obj0 = 0 ;
994141e6
RD
6788 PyObject * obj1 = 0 ;
6789 PyObject * obj2 = 0 ;
d14a1e28
RD
6790 PyObject * obj3 = 0 ;
6791 char *kwnames[] = {
6792 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6793 };
6794
994141e6 6795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6798 arg2 = (int) SWIG_AsInt(obj1);
6799 if (PyErr_Occurred()) SWIG_fail;
6800 arg3 = (int) SWIG_AsInt(obj2);
6801 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6802 {
6803 arg4 = wxString_in_helper(obj3);
6804 if (arg4 == NULL) SWIG_fail;
e811c8ce 6805 temp4 = True;
d14a1e28
RD
6806 }
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 result = (bool)(arg1)->base_CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
4f89f6a3
RD
6814 {
6815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6816 }
d14a1e28
RD
6817 {
6818 if (temp4)
6819 delete arg4;
6820 }
6821 return resultobj;
6822 fail:
6823 {
6824 if (temp4)
6825 delete arg4;
6826 }
6827 return NULL;
6828}
6829
6830
6831static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6832 PyObject *resultobj;
6833 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6834 PyObject * obj0 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "self", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
6840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6842 {
6843 PyThreadState* __tstate = wxPyBeginAllowThreads();
6844 (arg1)->base_Clear();
6845
6846 wxPyEndAllowThreads(__tstate);
6847 if (PyErr_Occurred()) SWIG_fail;
6848 }
6849 Py_INCREF(Py_None); resultobj = Py_None;
6850 return resultobj;
6851 fail:
6852 return NULL;
6853}
6854
6855
6856static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6857 PyObject *resultobj;
6858 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6859 size_t arg2 = (size_t) 0 ;
6860 size_t arg3 = (size_t) 1 ;
6861 bool result;
6862 PyObject * obj0 = 0 ;
6863 PyObject * obj1 = 0 ;
6864 PyObject * obj2 = 0 ;
6865 char *kwnames[] = {
6866 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6867 };
6868
6869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6872 if (obj1) {
15afbcd0
RD
6873 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6874 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6875 }
6876 if (obj2) {
15afbcd0
RD
6877 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6878 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6879 }
6880 {
6881 PyThreadState* __tstate = wxPyBeginAllowThreads();
6882 result = (bool)(arg1)->base_InsertRows(arg2,arg3);
6883
6884 wxPyEndAllowThreads(__tstate);
6885 if (PyErr_Occurred()) SWIG_fail;
6886 }
4f89f6a3
RD
6887 {
6888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6889 }
d14a1e28
RD
6890 return resultobj;
6891 fail:
6892 return NULL;
6893}
6894
6895
6896static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6897 PyObject *resultobj;
6898 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6899 size_t arg2 = (size_t) 1 ;
6900 bool result;
6901 PyObject * obj0 = 0 ;
6902 PyObject * obj1 = 0 ;
6903 char *kwnames[] = {
6904 (char *) "self",(char *) "numRows", NULL
6905 };
6906
6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6910 if (obj1) {
15afbcd0
RD
6911 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6912 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6913 }
6914 {
6915 PyThreadState* __tstate = wxPyBeginAllowThreads();
6916 result = (bool)(arg1)->base_AppendRows(arg2);
6917
6918 wxPyEndAllowThreads(__tstate);
6919 if (PyErr_Occurred()) SWIG_fail;
6920 }
4f89f6a3
RD
6921 {
6922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6923 }
d14a1e28
RD
6924 return resultobj;
6925 fail:
6926 return NULL;
6927}
6928
6929
6930static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6931 PyObject *resultobj;
6932 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6933 size_t arg2 = (size_t) 0 ;
6934 size_t arg3 = (size_t) 1 ;
6935 bool result;
6936 PyObject * obj0 = 0 ;
6937 PyObject * obj1 = 0 ;
6938 PyObject * obj2 = 0 ;
6939 char *kwnames[] = {
6940 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6941 };
6942
6943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6946 if (obj1) {
15afbcd0
RD
6947 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6948 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6949 }
6950 if (obj2) {
15afbcd0
RD
6951 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6952 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6953 }
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 result = (bool)(arg1)->base_DeleteRows(arg2,arg3);
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
4f89f6a3
RD
6961 {
6962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6963 }
d14a1e28
RD
6964 return resultobj;
6965 fail:
6966 return NULL;
6967}
6968
6969
6970static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj;
6972 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6973 size_t arg2 = (size_t) 0 ;
6974 size_t arg3 = (size_t) 1 ;
6975 bool result;
6976 PyObject * obj0 = 0 ;
6977 PyObject * obj1 = 0 ;
6978 PyObject * obj2 = 0 ;
6979 char *kwnames[] = {
6980 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6981 };
6982
6983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6986 if (obj1) {
15afbcd0
RD
6987 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6988 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6989 }
6990 if (obj2) {
15afbcd0
RD
6991 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6992 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6993 }
6994 {
6995 PyThreadState* __tstate = wxPyBeginAllowThreads();
6996 result = (bool)(arg1)->base_InsertCols(arg2,arg3);
6997
6998 wxPyEndAllowThreads(__tstate);
6999 if (PyErr_Occurred()) SWIG_fail;
7000 }
4f89f6a3
RD
7001 {
7002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7003 }
d14a1e28
RD
7004 return resultobj;
7005 fail:
7006 return NULL;
7007}
7008
7009
7010static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7011 PyObject *resultobj;
7012 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7013 size_t arg2 = (size_t) 1 ;
7014 bool result;
7015 PyObject * obj0 = 0 ;
7016 PyObject * obj1 = 0 ;
7017 char *kwnames[] = {
7018 (char *) "self",(char *) "numCols", NULL
7019 };
7020
7021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7024 if (obj1) {
15afbcd0
RD
7025 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
7026 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7027 }
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 result = (bool)(arg1)->base_AppendCols(arg2);
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
4f89f6a3
RD
7035 {
7036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7037 }
d14a1e28
RD
7038 return resultobj;
7039 fail:
7040 return NULL;
7041}
7042
7043
7044static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj;
7046 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7047 size_t arg2 = (size_t) 0 ;
7048 size_t arg3 = (size_t) 1 ;
7049 bool result;
7050 PyObject * obj0 = 0 ;
7051 PyObject * obj1 = 0 ;
7052 PyObject * obj2 = 0 ;
7053 char *kwnames[] = {
7054 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7055 };
7056
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7060 if (obj1) {
15afbcd0
RD
7061 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
7062 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7063 }
7064 if (obj2) {
15afbcd0
RD
7065 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
7066 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7067 }
7068 {
7069 PyThreadState* __tstate = wxPyBeginAllowThreads();
7070 result = (bool)(arg1)->base_DeleteCols(arg2,arg3);
7071
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
4f89f6a3
RD
7075 {
7076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7077 }
d14a1e28
RD
7078 return resultobj;
7079 fail:
7080 return NULL;
7081}
7082
7083
7084static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7085 PyObject *resultobj;
7086 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7087 int arg2 ;
7088 wxString result;
7089 PyObject * obj0 = 0 ;
994141e6 7090 PyObject * obj1 = 0 ;
d14a1e28
RD
7091 char *kwnames[] = {
7092 (char *) "self",(char *) "row", NULL
7093 };
7094
994141e6 7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7098 arg2 = (int) SWIG_AsInt(obj1);
7099 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 result = (arg1)->base_GetRowLabelValue(arg2);
7103
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 {
7108#if wxUSE_UNICODE
7109 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7110#else
7111 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7112#endif
7113 }
7114 return resultobj;
7115 fail:
7116 return NULL;
7117}
7118
7119
7120static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7121 PyObject *resultobj;
7122 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7123 int arg2 ;
7124 wxString result;
7125 PyObject * obj0 = 0 ;
994141e6 7126 PyObject * obj1 = 0 ;
d14a1e28
RD
7127 char *kwnames[] = {
7128 (char *) "self",(char *) "col", NULL
7129 };
7130
994141e6 7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7134 arg2 = (int) SWIG_AsInt(obj1);
7135 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7136 {
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 result = (arg1)->base_GetColLabelValue(arg2);
7139
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 {
7144#if wxUSE_UNICODE
7145 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7146#else
7147 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7148#endif
7149 }
7150 return resultobj;
7151 fail:
7152 return NULL;
7153}
7154
7155
7156static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7157 PyObject *resultobj;
7158 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7159 int arg2 ;
7160 wxString *arg3 = 0 ;
e811c8ce 7161 bool temp3 = False ;
d14a1e28 7162 PyObject * obj0 = 0 ;
994141e6 7163 PyObject * obj1 = 0 ;
d14a1e28
RD
7164 PyObject * obj2 = 0 ;
7165 char *kwnames[] = {
7166 (char *) "self",(char *) "row",(char *) "value", NULL
7167 };
7168
994141e6 7169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7172 arg2 = (int) SWIG_AsInt(obj1);
7173 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7174 {
7175 arg3 = wxString_in_helper(obj2);
7176 if (arg3 == NULL) SWIG_fail;
e811c8ce 7177 temp3 = True;
d14a1e28
RD
7178 }
7179 {
7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
7181 (arg1)->base_SetRowLabelValue(arg2,(wxString const &)*arg3);
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 Py_INCREF(Py_None); resultobj = Py_None;
7187 {
7188 if (temp3)
7189 delete arg3;
7190 }
7191 return resultobj;
7192 fail:
7193 {
7194 if (temp3)
7195 delete arg3;
7196 }
7197 return NULL;
7198}
7199
7200
7201static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7202 PyObject *resultobj;
7203 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7204 int arg2 ;
7205 wxString *arg3 = 0 ;
e811c8ce 7206 bool temp3 = False ;
d14a1e28 7207 PyObject * obj0 = 0 ;
994141e6 7208 PyObject * obj1 = 0 ;
d14a1e28
RD
7209 PyObject * obj2 = 0 ;
7210 char *kwnames[] = {
7211 (char *) "self",(char *) "col",(char *) "value", NULL
7212 };
7213
994141e6 7214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7217 arg2 = (int) SWIG_AsInt(obj1);
7218 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7219 {
7220 arg3 = wxString_in_helper(obj2);
7221 if (arg3 == NULL) SWIG_fail;
e811c8ce 7222 temp3 = True;
d14a1e28
RD
7223 }
7224 {
7225 PyThreadState* __tstate = wxPyBeginAllowThreads();
7226 (arg1)->base_SetColLabelValue(arg2,(wxString const &)*arg3);
7227
7228 wxPyEndAllowThreads(__tstate);
7229 if (PyErr_Occurred()) SWIG_fail;
7230 }
7231 Py_INCREF(Py_None); resultobj = Py_None;
7232 {
7233 if (temp3)
7234 delete arg3;
7235 }
7236 return resultobj;
7237 fail:
7238 {
7239 if (temp3)
7240 delete arg3;
7241 }
7242 return NULL;
7243}
7244
7245
7246static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
7247 PyObject *resultobj;
7248 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7249 bool result;
7250 PyObject * obj0 = 0 ;
7251 char *kwnames[] = {
7252 (char *) "self", NULL
7253 };
7254
7255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
7256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7258 {
7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
7260 result = (bool)(arg1)->base_CanHaveAttributes();
7261
7262 wxPyEndAllowThreads(__tstate);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
4f89f6a3
RD
7265 {
7266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7267 }
d14a1e28
RD
7268 return resultobj;
7269 fail:
7270 return NULL;
7271}
7272
7273
7274static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7275 PyObject *resultobj;
7276 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7277 int arg2 ;
7278 int arg3 ;
7279 int arg4 ;
7280 wxGridCellAttr *result;
7281 PyObject * obj0 = 0 ;
994141e6
RD
7282 PyObject * obj1 = 0 ;
7283 PyObject * obj2 = 0 ;
7284 PyObject * obj3 = 0 ;
d14a1e28
RD
7285 char *kwnames[] = {
7286 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7287 };
7288
994141e6 7289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7292 arg2 = (int) SWIG_AsInt(obj1);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 arg3 = (int) SWIG_AsInt(obj2);
7295 if (PyErr_Occurred()) SWIG_fail;
7296 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
7297 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7298 {
7299 PyThreadState* __tstate = wxPyBeginAllowThreads();
7300 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
7301
7302 wxPyEndAllowThreads(__tstate);
7303 if (PyErr_Occurred()) SWIG_fail;
7304 }
7305 {
412d302d 7306 resultobj = wxPyMake_wxGridCellAttr(result, 0);
d14a1e28
RD
7307 }
7308 return resultobj;
7309 fail:
7310 return NULL;
7311}
7312
7313
7314static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7315 PyObject *resultobj;
7316 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7317 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7318 int arg3 ;
7319 int arg4 ;
7320 PyObject * obj0 = 0 ;
7321 PyObject * obj1 = 0 ;
994141e6
RD
7322 PyObject * obj2 = 0 ;
7323 PyObject * obj3 = 0 ;
d14a1e28
RD
7324 char *kwnames[] = {
7325 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7326 };
7327
994141e6 7328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7333 arg3 = (int) SWIG_AsInt(obj2);
7334 if (PyErr_Occurred()) SWIG_fail;
7335 arg4 = (int) SWIG_AsInt(obj3);
7336 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7337 {
7338 PyThreadState* __tstate = wxPyBeginAllowThreads();
7339 (arg1)->base_SetAttr(arg2,arg3,arg4);
7340
7341 wxPyEndAllowThreads(__tstate);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 }
7344 Py_INCREF(Py_None); resultobj = Py_None;
7345 return resultobj;
7346 fail:
7347 return NULL;
7348}
7349
7350
7351static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7352 PyObject *resultobj;
7353 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7354 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7355 int arg3 ;
7356 PyObject * obj0 = 0 ;
7357 PyObject * obj1 = 0 ;
994141e6 7358 PyObject * obj2 = 0 ;
d14a1e28
RD
7359 char *kwnames[] = {
7360 (char *) "self",(char *) "attr",(char *) "row", NULL
7361 };
7362
994141e6 7363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7366 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7368 arg3 = (int) SWIG_AsInt(obj2);
7369 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7370 {
7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7372 (arg1)->base_SetRowAttr(arg2,arg3);
7373
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 Py_INCREF(Py_None); resultobj = Py_None;
7378 return resultobj;
7379 fail:
7380 return NULL;
7381}
7382
7383
7384static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7385 PyObject *resultobj;
7386 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7387 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7388 int arg3 ;
7389 PyObject * obj0 = 0 ;
7390 PyObject * obj1 = 0 ;
994141e6 7391 PyObject * obj2 = 0 ;
d14a1e28
RD
7392 char *kwnames[] = {
7393 (char *) "self",(char *) "attr",(char *) "col", NULL
7394 };
7395
994141e6 7396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7399 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7401 arg3 = (int) SWIG_AsInt(obj2);
7402 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7403 {
7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
7405 (arg1)->base_SetColAttr(arg2,arg3);
7406
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 Py_INCREF(Py_None); resultobj = Py_None;
7411 return resultobj;
7412 fail:
7413 return NULL;
7414}
7415
7416
7417static PyObject * PyGridTableBase_swigregister(PyObject *self, PyObject *args) {
7418 PyObject *obj;
7419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7420 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase, obj);
7421 Py_INCREF(obj);
7422 return Py_BuildValue((char *)"");
7423}
7424static PyObject *_wrap_new_GridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7425 PyObject *resultobj;
7426 int arg1 = (int) 0 ;
7427 int arg2 = (int) 0 ;
7428 wxGridStringTable *result;
994141e6
RD
7429 PyObject * obj0 = 0 ;
7430 PyObject * obj1 = 0 ;
d14a1e28
RD
7431 char *kwnames[] = {
7432 (char *) "numRows",(char *) "numCols", NULL
7433 };
7434
994141e6
RD
7435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridStringTable",kwnames,&obj0,&obj1)) goto fail;
7436 if (obj0) {
15afbcd0
RD
7437 arg1 = (int) SWIG_AsInt(obj0);
7438 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7439 }
7440 if (obj1) {
15afbcd0
RD
7441 arg2 = (int) SWIG_AsInt(obj1);
7442 if (PyErr_Occurred()) SWIG_fail;
994141e6 7443 }
d14a1e28
RD
7444 {
7445 PyThreadState* __tstate = wxPyBeginAllowThreads();
7446 result = (wxGridStringTable *)new wxGridStringTable(arg1,arg2);
7447
7448 wxPyEndAllowThreads(__tstate);
7449 if (PyErr_Occurred()) SWIG_fail;
7450 }
15afbcd0 7451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridStringTable, 1);
d14a1e28
RD
7452 return resultobj;
7453 fail:
7454 return NULL;
7455}
7456
7457
7458static PyObject * GridStringTable_swigregister(PyObject *self, PyObject *args) {
7459 PyObject *obj;
7460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7461 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable, obj);
7462 Py_INCREF(obj);
7463 return Py_BuildValue((char *)"");
7464}
7465static PyObject *_wrap_new_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7466 PyObject *resultobj;
7467 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7468 int arg2 ;
7469 int arg3 = (int) -1 ;
7470 int arg4 = (int) -1 ;
7471 wxGridTableMessage *result;
7472 PyObject * obj0 = 0 ;
994141e6
RD
7473 PyObject * obj1 = 0 ;
7474 PyObject * obj2 = 0 ;
7475 PyObject * obj3 = 0 ;
d14a1e28
RD
7476 char *kwnames[] = {
7477 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7478 };
7479
994141e6 7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_GridTableMessage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
7482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7483 arg2 = (int) SWIG_AsInt(obj1);
7484 if (PyErr_Occurred()) SWIG_fail;
994141e6 7485 if (obj2) {
15afbcd0
RD
7486 arg3 = (int) SWIG_AsInt(obj2);
7487 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7488 }
7489 if (obj3) {
15afbcd0
RD
7490 arg4 = (int) SWIG_AsInt(obj3);
7491 if (PyErr_Occurred()) SWIG_fail;
994141e6 7492 }
d14a1e28
RD
7493 {
7494 PyThreadState* __tstate = wxPyBeginAllowThreads();
7495 result = (wxGridTableMessage *)new wxGridTableMessage(arg1,arg2,arg3,arg4);
7496
7497 wxPyEndAllowThreads(__tstate);
7498 if (PyErr_Occurred()) SWIG_fail;
7499 }
15afbcd0 7500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridTableMessage, 1);
d14a1e28
RD
7501 return resultobj;
7502 fail:
7503 return NULL;
7504}
7505
7506
7507static PyObject *_wrap_delete_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7508 PyObject *resultobj;
7509 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7510 PyObject * obj0 = 0 ;
7511 char *kwnames[] = {
7512 (char *) "self", NULL
7513 };
7514
7515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridTableMessage",kwnames,&obj0)) goto fail;
15afbcd0
RD
7516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7518 {
7519 PyThreadState* __tstate = wxPyBeginAllowThreads();
7520 delete arg1;
7521
7522 wxPyEndAllowThreads(__tstate);
7523 if (PyErr_Occurred()) SWIG_fail;
7524 }
7525 Py_INCREF(Py_None); resultobj = Py_None;
7526 return resultobj;
7527 fail:
7528 return NULL;
7529}
7530
7531
7532static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7533 PyObject *resultobj;
7534 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7535 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
7536 PyObject * obj0 = 0 ;
7537 PyObject * obj1 = 0 ;
7538 char *kwnames[] = {
7539 (char *) "self",(char *) "table", NULL
7540 };
7541
7542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetTableObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7545 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
7546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7547 {
7548 PyThreadState* __tstate = wxPyBeginAllowThreads();
7549 (arg1)->SetTableObject(arg2);
7550
7551 wxPyEndAllowThreads(__tstate);
7552 if (PyErr_Occurred()) SWIG_fail;
7553 }
7554 Py_INCREF(Py_None); resultobj = Py_None;
7555 return resultobj;
7556 fail:
7557 return NULL;
7558}
7559
7560
7561static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7562 PyObject *resultobj;
7563 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7564 wxGridTableBase *result;
7565 PyObject * obj0 = 0 ;
7566 char *kwnames[] = {
7567 (char *) "self", NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetTableObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
7571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 result = (wxGridTableBase *)((wxGridTableMessage const *)arg1)->GetTableObject();
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) SWIG_fail;
7579 }
7580 {
412d302d 7581 resultobj = wxPyMake_wxGridTableBase(result, 0);
d14a1e28
RD
7582 }
7583 return resultobj;
7584 fail:
7585 return NULL;
7586}
7587
7588
7589static PyObject *_wrap_GridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7590 PyObject *resultobj;
7591 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7592 int arg2 ;
7593 PyObject * obj0 = 0 ;
994141e6 7594 PyObject * obj1 = 0 ;
d14a1e28
RD
7595 char *kwnames[] = {
7596 (char *) "self",(char *) "id", NULL
7597 };
7598
994141e6 7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7602 arg2 = (int) SWIG_AsInt(obj1);
7603 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 (arg1)->SetId(arg2);
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 Py_INCREF(Py_None); resultobj = Py_None;
7612 return resultobj;
7613 fail:
7614 return NULL;
7615}
7616
7617
7618static PyObject *_wrap_GridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7619 PyObject *resultobj;
7620 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7621 int result;
7622 PyObject * obj0 = 0 ;
7623 char *kwnames[] = {
7624 (char *) "self", NULL
7625 };
7626
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
7628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7630 {
7631 PyThreadState* __tstate = wxPyBeginAllowThreads();
7632 result = (int)(arg1)->GetId();
7633
7634 wxPyEndAllowThreads(__tstate);
7635 if (PyErr_Occurred()) SWIG_fail;
7636 }
15afbcd0 7637 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7638 return resultobj;
7639 fail:
7640 return NULL;
7641}
7642
7643
7644static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7645 PyObject *resultobj;
7646 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7647 int arg2 ;
7648 PyObject * obj0 = 0 ;
994141e6 7649 PyObject * obj1 = 0 ;
d14a1e28
RD
7650 char *kwnames[] = {
7651 (char *) "self",(char *) "comInt1", NULL
7652 };
7653
994141e6 7654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7657 arg2 = (int) SWIG_AsInt(obj1);
7658 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 (arg1)->SetCommandInt(arg2);
7662
7663 wxPyEndAllowThreads(__tstate);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 }
7666 Py_INCREF(Py_None); resultobj = Py_None;
7667 return resultobj;
7668 fail:
7669 return NULL;
7670}
7671
7672
7673static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7674 PyObject *resultobj;
7675 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7676 int result;
7677 PyObject * obj0 = 0 ;
7678 char *kwnames[] = {
7679 (char *) "self", NULL
7680 };
7681
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt",kwnames,&obj0)) goto fail;
15afbcd0
RD
7683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 result = (int)(arg1)->GetCommandInt();
7688
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
15afbcd0 7692 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7693 return resultobj;
7694 fail:
7695 return NULL;
7696}
7697
7698
7699static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7700 PyObject *resultobj;
7701 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7702 int arg2 ;
7703 PyObject * obj0 = 0 ;
994141e6 7704 PyObject * obj1 = 0 ;
d14a1e28
RD
7705 char *kwnames[] = {
7706 (char *) "self",(char *) "comInt2", NULL
7707 };
7708
994141e6 7709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7712 arg2 = (int) SWIG_AsInt(obj1);
7713 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7714 {
7715 PyThreadState* __tstate = wxPyBeginAllowThreads();
7716 (arg1)->SetCommandInt2(arg2);
7717
7718 wxPyEndAllowThreads(__tstate);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 }
7721 Py_INCREF(Py_None); resultobj = Py_None;
7722 return resultobj;
7723 fail:
7724 return NULL;
7725}
7726
7727
7728static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7729 PyObject *resultobj;
7730 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7731 int result;
7732 PyObject * obj0 = 0 ;
7733 char *kwnames[] = {
7734 (char *) "self", NULL
7735 };
7736
7737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt2",kwnames,&obj0)) goto fail;
15afbcd0
RD
7738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7740 {
7741 PyThreadState* __tstate = wxPyBeginAllowThreads();
7742 result = (int)(arg1)->GetCommandInt2();
7743
7744 wxPyEndAllowThreads(__tstate);
7745 if (PyErr_Occurred()) SWIG_fail;
7746 }
15afbcd0 7747 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7748 return resultobj;
7749 fail:
7750 return NULL;
7751}
7752
7753
7754static PyObject * GridTableMessage_swigregister(PyObject *self, PyObject *args) {
7755 PyObject *obj;
7756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7757 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage, obj);
7758 Py_INCREF(obj);
7759 return Py_BuildValue((char *)"");
7760}
7761static PyObject *_wrap_new_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7762 PyObject *resultobj;
7763 int arg1 = (int) -1 ;
7764 int arg2 = (int) -1 ;
7765 wxGridCellCoords *result;
994141e6
RD
7766 PyObject * obj0 = 0 ;
7767 PyObject * obj1 = 0 ;
d14a1e28
RD
7768 char *kwnames[] = {
7769 (char *) "r",(char *) "c", NULL
7770 };
7771
994141e6
RD
7772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellCoords",kwnames,&obj0,&obj1)) goto fail;
7773 if (obj0) {
15afbcd0
RD
7774 arg1 = (int) SWIG_AsInt(obj0);
7775 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7776 }
7777 if (obj1) {
15afbcd0
RD
7778 arg2 = (int) SWIG_AsInt(obj1);
7779 if (PyErr_Occurred()) SWIG_fail;
994141e6 7780 }
d14a1e28
RD
7781 {
7782 PyThreadState* __tstate = wxPyBeginAllowThreads();
7783 result = (wxGridCellCoords *)new wxGridCellCoords(arg1,arg2);
7784
7785 wxPyEndAllowThreads(__tstate);
7786 if (PyErr_Occurred()) SWIG_fail;
7787 }
15afbcd0 7788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
7789 return resultobj;
7790 fail:
7791 return NULL;
7792}
7793
7794
7795static PyObject *_wrap_delete_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7796 PyObject *resultobj;
7797 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7798 PyObject * obj0 = 0 ;
7799 char *kwnames[] = {
7800 (char *) "self", NULL
7801 };
7802
7803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridCellCoords",kwnames,&obj0)) goto fail;
15afbcd0
RD
7804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7806 {
7807 PyThreadState* __tstate = wxPyBeginAllowThreads();
7808 delete arg1;
7809
7810 wxPyEndAllowThreads(__tstate);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 Py_INCREF(Py_None); resultobj = Py_None;
7814 return resultobj;
7815 fail:
7816 return NULL;
7817}
7818
7819
7820static PyObject *_wrap_GridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7821 PyObject *resultobj;
7822 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7823 int result;
7824 PyObject * obj0 = 0 ;
7825 char *kwnames[] = {
7826 (char *) "self", NULL
7827 };
7828
7829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
7830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7832 {
7833 PyThreadState* __tstate = wxPyBeginAllowThreads();
7834 result = (int)((wxGridCellCoords const *)arg1)->GetRow();
7835
7836 wxPyEndAllowThreads(__tstate);
7837 if (PyErr_Occurred()) SWIG_fail;
7838 }
15afbcd0 7839 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7840 return resultobj;
7841 fail:
7842 return NULL;
7843}
7844
7845
7846static PyObject *_wrap_GridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7847 PyObject *resultobj;
7848 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7849 int arg2 ;
7850 PyObject * obj0 = 0 ;
994141e6 7851 PyObject * obj1 = 0 ;
d14a1e28
RD
7852 char *kwnames[] = {
7853 (char *) "self",(char *) "n", NULL
7854 };
7855
994141e6 7856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7859 arg2 = (int) SWIG_AsInt(obj1);
7860 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 (arg1)->SetRow(arg2);
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
7868 Py_INCREF(Py_None); resultobj = Py_None;
7869 return resultobj;
7870 fail:
7871 return NULL;
7872}
7873
7874
7875static PyObject *_wrap_GridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj;
7877 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7878 int result;
7879 PyObject * obj0 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "self", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
7885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 result = (int)((wxGridCellCoords const *)arg1)->GetCol();
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
15afbcd0 7894 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7895 return resultobj;
7896 fail:
7897 return NULL;
7898}
7899
7900
7901static PyObject *_wrap_GridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7902 PyObject *resultobj;
7903 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7904 int arg2 ;
7905 PyObject * obj0 = 0 ;
994141e6 7906 PyObject * obj1 = 0 ;
d14a1e28
RD
7907 char *kwnames[] = {
7908 (char *) "self",(char *) "n", NULL
7909 };
7910
994141e6 7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7914 arg2 = (int) SWIG_AsInt(obj1);
7915 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7916 {
7917 PyThreadState* __tstate = wxPyBeginAllowThreads();
7918 (arg1)->SetCol(arg2);
7919
7920 wxPyEndAllowThreads(__tstate);
7921 if (PyErr_Occurred()) SWIG_fail;
7922 }
7923 Py_INCREF(Py_None); resultobj = Py_None;
7924 return resultobj;
7925 fail:
7926 return NULL;
7927}
7928
7929
7930static PyObject *_wrap_GridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7931 PyObject *resultobj;
7932 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7933 int arg2 ;
7934 int arg3 ;
7935 PyObject * obj0 = 0 ;
994141e6
RD
7936 PyObject * obj1 = 0 ;
7937 PyObject * obj2 = 0 ;
d14a1e28
RD
7938 char *kwnames[] = {
7939 (char *) "self",(char *) "row",(char *) "col", NULL
7940 };
7941
994141e6 7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellCoords_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7945 arg2 = (int) SWIG_AsInt(obj1);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 arg3 = (int) SWIG_AsInt(obj2);
7948 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 (arg1)->Set(arg2,arg3);
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 Py_INCREF(Py_None); resultobj = Py_None;
7957 return resultobj;
7958 fail:
7959 return NULL;
7960}
7961
7962
7963static PyObject *_wrap_GridCellCoords___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7966 wxGridCellCoords *arg2 = 0 ;
7967 bool result;
22faec7d 7968 wxGridCellCoords temp2 ;
d14a1e28
RD
7969 PyObject * obj0 = 0 ;
7970 PyObject * obj1 = 0 ;
7971 char *kwnames[] = {
7972 (char *) "self",(char *) "other", NULL
7973 };
7974
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22faec7d
RD
7978 {
7979 arg2 = &temp2;
7980 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
7981 }
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 result = (bool)((wxGridCellCoords const *)arg1)->operator ==((wxGridCellCoords const &)*arg2);
7985
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
4f89f6a3
RD
7989 {
7990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7991 }
d14a1e28
RD
7992 return resultobj;
7993 fail:
7994 return NULL;
7995}
7996
7997
7998static PyObject *_wrap_GridCellCoords___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
8001 wxGridCellCoords *arg2 = 0 ;
8002 bool result;
22faec7d 8003 wxGridCellCoords temp2 ;
d14a1e28
RD
8004 PyObject * obj0 = 0 ;
8005 PyObject * obj1 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self",(char *) "other", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
8012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22faec7d
RD
8013 {
8014 arg2 = &temp2;
8015 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
8016 }
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 result = (bool)((wxGridCellCoords const *)arg1)->operator !=((wxGridCellCoords const &)*arg2);
8020
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
4f89f6a3
RD
8024 {
8025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8026 }
d14a1e28
RD
8027 return resultobj;
8028 fail:
8029 return NULL;
8030}
8031
8032
41e2b43e 8033static PyObject *_wrap_GridCellCoords_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8034 PyObject *resultobj;
8035 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
8036 PyObject *result;
8037 PyObject * obj0 = 0 ;
8038 char *kwnames[] = {
8039 (char *) "self", NULL
8040 };
8041
41e2b43e 8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
8043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
8044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8045 {
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
41e2b43e 8047 result = (PyObject *)wxGridCellCoords_Get(arg1);
d14a1e28
RD
8048
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 resultobj = result;
8053 return resultobj;
8054 fail:
8055 return NULL;
8056}
8057
8058
8059static PyObject * GridCellCoords_swigregister(PyObject *self, PyObject *args) {
8060 PyObject *obj;
8061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8062 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords, obj);
8063 Py_INCREF(obj);
8064 return Py_BuildValue((char *)"");
8065}
8066static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs) {
8067 PyObject *resultobj;
8068 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8069 int arg2 = (int) -1 ;
d14a1e28
RD
8070 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8071 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8072 wxSize const &arg4_defvalue = wxDefaultSize ;
8073 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8074 long arg5 = (long) wxWANTS_CHARS ;
8075 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8076 wxString *arg6 = (wxString *) &arg6_defvalue ;
8077 wxGrid *result;
8078 wxPoint temp3 ;
8079 wxSize temp4 ;
e811c8ce 8080 bool temp6 = False ;
d14a1e28 8081 PyObject * obj0 = 0 ;
994141e6 8082 PyObject * obj1 = 0 ;
d14a1e28
RD
8083 PyObject * obj2 = 0 ;
8084 PyObject * obj3 = 0 ;
994141e6 8085 PyObject * obj4 = 0 ;
d14a1e28
RD
8086 PyObject * obj5 = 0 ;
8087 char *kwnames[] = {
8088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8089 };
8090
248ed943 8091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Grid",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
8092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
8094 if (obj1) {
8095 arg2 = (int) SWIG_AsInt(obj1);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
d14a1e28
RD
8098 if (obj2) {
8099 {
8100 arg3 = &temp3;
8101 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8102 }
8103 }
8104 if (obj3) {
8105 {
8106 arg4 = &temp4;
8107 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8108 }
8109 }
994141e6 8110 if (obj4) {
15afbcd0
RD
8111 arg5 = (long) SWIG_AsLong(obj4);
8112 if (PyErr_Occurred()) SWIG_fail;
994141e6 8113 }
d14a1e28
RD
8114 if (obj5) {
8115 {
8116 arg6 = wxString_in_helper(obj5);
8117 if (arg6 == NULL) SWIG_fail;
e811c8ce 8118 temp6 = True;
d14a1e28
RD
8119 }
8120 }
8121 {
e3b71cb8 8122 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
8124 result = (wxGrid *)new wxGrid(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8125
8126 wxPyEndAllowThreads(__tstate);
110da5b0 8127 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8128 }
b0f7404b 8129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGrid, 1);
d14a1e28
RD
8130 {
8131 if (temp6)
8132 delete arg6;
8133 }
8134 return resultobj;
8135 fail:
8136 {
8137 if (temp6)
8138 delete arg6;
8139 }
8140 return NULL;
8141}
8142
8143
1a10c483
RD
8144static PyObject *_wrap_new_PreGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8145 PyObject *resultobj;
8146 wxGrid *result;
8147 char *kwnames[] = {
8148 NULL
8149 };
8150
8151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGrid",kwnames)) goto fail;
8152 {
e3b71cb8 8153 if (!wxPyCheckForApp()) SWIG_fail;
1a10c483
RD
8154 PyThreadState* __tstate = wxPyBeginAllowThreads();
8155 result = (wxGrid *)new wxGrid();
8156
8157 wxPyEndAllowThreads(__tstate);
110da5b0 8158 if (PyErr_Occurred()) SWIG_fail;
1a10c483 8159 }
b0f7404b 8160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGrid, 1);
1a10c483
RD
8161 return resultobj;
8162 fail:
8163 return NULL;
8164}
8165
8166
8167static PyObject *_wrap_Grid_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8168 PyObject *resultobj;
8169 wxGrid *arg1 = (wxGrid *) 0 ;
8170 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8171 int arg3 = (int) -1 ;
1a10c483
RD
8172 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8173 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8174 wxSize const &arg5_defvalue = wxDefaultSize ;
8175 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8176 long arg6 = (long) wxWANTS_CHARS ;
8177 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8178 wxString *arg7 = (wxString *) &arg7_defvalue ;
8179 bool result;
8180 wxPoint temp4 ;
8181 wxSize temp5 ;
8182 bool temp7 = False ;
8183 PyObject * obj0 = 0 ;
8184 PyObject * obj1 = 0 ;
8185 PyObject * obj2 = 0 ;
8186 PyObject * obj3 = 0 ;
8187 PyObject * obj4 = 0 ;
8188 PyObject * obj5 = 0 ;
8189 PyObject * obj6 = 0 ;
8190 char *kwnames[] = {
8191 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8192 };
8193
248ed943 8194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Grid_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1a10c483
RD
8195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
8199 if (obj2) {
8200 arg3 = (int) SWIG_AsInt(obj2);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
1a10c483
RD
8203 if (obj3) {
8204 {
8205 arg4 = &temp4;
8206 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8207 }
8208 }
8209 if (obj4) {
8210 {
8211 arg5 = &temp5;
8212 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8213 }
8214 }
8215 if (obj5) {
8216 arg6 = (long) SWIG_AsLong(obj5);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 if (obj6) {
8220 {
8221 arg7 = wxString_in_helper(obj6);
8222 if (arg7 == NULL) SWIG_fail;
8223 temp7 = True;
8224 }
8225 }
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 {
8234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8235 }
8236 {
8237 if (temp7)
8238 delete arg7;
8239 }
8240 return resultobj;
8241 fail:
8242 {
8243 if (temp7)
8244 delete arg7;
8245 }
8246 return NULL;
8247}
8248
8249
d14a1e28
RD
8250static PyObject *_wrap_Grid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8251 PyObject *resultobj;
8252 wxGrid *arg1 = (wxGrid *) 0 ;
8253 int arg2 ;
8254 int arg3 ;
8255 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8256 bool result;
8257 PyObject * obj0 = 0 ;
994141e6
RD
8258 PyObject * obj1 = 0 ;
8259 PyObject * obj2 = 0 ;
8260 PyObject * obj3 = 0 ;
d14a1e28
RD
8261 char *kwnames[] = {
8262 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8263 };
8264
994141e6 8265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_CreateGrid",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8268 arg2 = (int) SWIG_AsInt(obj1);
8269 if (PyErr_Occurred()) SWIG_fail;
8270 arg3 = (int) SWIG_AsInt(obj2);
8271 if (PyErr_Occurred()) SWIG_fail;
994141e6 8272 if (obj3) {
15afbcd0
RD
8273 arg4 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj3);
8274 if (PyErr_Occurred()) SWIG_fail;
994141e6 8275 }
d14a1e28
RD
8276 {
8277 PyThreadState* __tstate = wxPyBeginAllowThreads();
8278 result = (bool)(arg1)->CreateGrid(arg2,arg3,arg4);
8279
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
4f89f6a3
RD
8283 {
8284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8285 }
d14a1e28
RD
8286 return resultobj;
8287 fail:
8288 return NULL;
8289}
8290
8291
8292static PyObject *_wrap_Grid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8293 PyObject *resultobj;
8294 wxGrid *arg1 = (wxGrid *) 0 ;
8295 WXGRIDSELECTIONMODES arg2 ;
8296 PyObject * obj0 = 0 ;
994141e6 8297 PyObject * obj1 = 0 ;
d14a1e28
RD
8298 char *kwnames[] = {
8299 (char *) "self",(char *) "selmode", NULL
8300 };
8301
994141e6 8302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8305 arg2 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj1);
8306 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8307 {
8308 PyThreadState* __tstate = wxPyBeginAllowThreads();
8309 (arg1)->SetSelectionMode(arg2);
8310
8311 wxPyEndAllowThreads(__tstate);
8312 if (PyErr_Occurred()) SWIG_fail;
8313 }
8314 Py_INCREF(Py_None); resultobj = Py_None;
8315 return resultobj;
8316 fail:
8317 return NULL;
8318}
8319
8320
8321static PyObject *_wrap_Grid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8322 PyObject *resultobj;
8323 wxGrid *arg1 = (wxGrid *) 0 ;
8324 WXGRIDSELECTIONMODES result;
8325 PyObject * obj0 = 0 ;
8326 char *kwnames[] = {
8327 (char *) "self", NULL
8328 };
8329
8330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
8331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8333 {
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 result = (WXGRIDSELECTIONMODES)(arg1)->GetSelectionMode();
8336
8337 wxPyEndAllowThreads(__tstate);
8338 if (PyErr_Occurred()) SWIG_fail;
8339 }
15afbcd0 8340 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8341 return resultobj;
8342 fail:
8343 return NULL;
8344}
8345
8346
8347static PyObject *_wrap_Grid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8348 PyObject *resultobj;
8349 wxGrid *arg1 = (wxGrid *) 0 ;
8350 int result;
8351 PyObject * obj0 = 0 ;
8352 char *kwnames[] = {
8353 (char *) "self", NULL
8354 };
8355
8356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
8357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8359 {
8360 PyThreadState* __tstate = wxPyBeginAllowThreads();
8361 result = (int)(arg1)->GetNumberRows();
8362
8363 wxPyEndAllowThreads(__tstate);
8364 if (PyErr_Occurred()) SWIG_fail;
8365 }
15afbcd0 8366 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8367 return resultobj;
8368 fail:
8369 return NULL;
8370}
8371
8372
8373static PyObject *_wrap_Grid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8374 PyObject *resultobj;
8375 wxGrid *arg1 = (wxGrid *) 0 ;
8376 int result;
8377 PyObject * obj0 = 0 ;
8378 char *kwnames[] = {
8379 (char *) "self", NULL
8380 };
8381
8382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
8383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 result = (int)(arg1)->GetNumberCols();
8388
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
15afbcd0 8392 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8393 return resultobj;
8394 fail:
8395 return NULL;
8396}
8397
8398
8399static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8400 PyObject *resultobj;
8401 wxGrid *arg1 = (wxGrid *) 0 ;
8402 wxGridTableMessage *arg2 = 0 ;
8403 bool result;
8404 PyObject * obj0 = 0 ;
8405 PyObject * obj1 = 0 ;
8406 char *kwnames[] = {
8407 (char *) "self","arg2", NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_ProcessTableMessage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableMessage,
8414 SWIG_POINTER_EXCEPTION | 0)) == -1)
8415 SWIG_fail;
d14a1e28 8416 if (arg2 == NULL) {
15afbcd0
RD
8417 PyErr_SetString(PyExc_TypeError,"null reference");
8418 SWIG_fail;
d14a1e28
RD
8419 }
8420 {
8421 PyThreadState* __tstate = wxPyBeginAllowThreads();
8422 result = (bool)(arg1)->ProcessTableMessage(*arg2);
8423
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
4f89f6a3
RD
8427 {
8428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8429 }
d14a1e28
RD
8430 return resultobj;
8431 fail:
8432 return NULL;
8433}
8434
8435
8436static PyObject *_wrap_Grid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8437 PyObject *resultobj;
8438 wxGrid *arg1 = (wxGrid *) 0 ;
8439 wxGridTableBase *result;
8440 PyObject * obj0 = 0 ;
8441 char *kwnames[] = {
8442 (char *) "self", NULL
8443 };
8444
8445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
8446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8448 {
8449 PyThreadState* __tstate = wxPyBeginAllowThreads();
8450 result = (wxGridTableBase *)((wxGrid const *)arg1)->GetTable();
8451
8452 wxPyEndAllowThreads(__tstate);
8453 if (PyErr_Occurred()) SWIG_fail;
8454 }
8455 {
412d302d 8456 resultobj = wxPyMake_wxGridTableBase(result, 0);
d14a1e28
RD
8457 }
8458 return resultobj;
8459 fail:
8460 return NULL;
8461}
8462
8463
8464static PyObject *_wrap_Grid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8465 PyObject *resultobj;
8466 wxGrid *arg1 = (wxGrid *) 0 ;
8467 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
e811c8ce 8468 bool arg3 = (bool) False ;
d14a1e28
RD
8469 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8470 bool result;
8471 PyObject * obj0 = 0 ;
8472 PyObject * obj1 = 0 ;
8473 PyObject * obj2 = 0 ;
994141e6 8474 PyObject * obj3 = 0 ;
d14a1e28
RD
8475 char *kwnames[] = {
8476 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8477 };
8478
994141e6 8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetTable",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
8483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8484 if (obj2) {
15afbcd0
RD
8485 arg3 = (bool) SWIG_AsBool(obj2);
8486 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8487 }
8488 if (obj3) {
15afbcd0
RD
8489 arg4 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj3);
8490 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8491 }
8492 {
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 result = (bool)(arg1)->SetTable(arg2,arg3,arg4);
8495
8496 wxPyEndAllowThreads(__tstate);
8497 if (PyErr_Occurred()) SWIG_fail;
8498 }
4f89f6a3
RD
8499 {
8500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8501 }
d14a1e28
RD
8502 return resultobj;
8503 fail:
8504 return NULL;
8505}
8506
8507
8508static PyObject *_wrap_Grid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8509 PyObject *resultobj;
8510 wxGrid *arg1 = (wxGrid *) 0 ;
8511 PyObject * obj0 = 0 ;
8512 char *kwnames[] = {
8513 (char *) "self", NULL
8514 };
8515
8516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearGrid",kwnames,&obj0)) goto fail;
15afbcd0
RD
8517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8519 {
8520 PyThreadState* __tstate = wxPyBeginAllowThreads();
8521 (arg1)->ClearGrid();
8522
8523 wxPyEndAllowThreads(__tstate);
8524 if (PyErr_Occurred()) SWIG_fail;
8525 }
8526 Py_INCREF(Py_None); resultobj = Py_None;
8527 return resultobj;
8528 fail:
8529 return NULL;
8530}
8531
8532
8533static PyObject *_wrap_Grid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxGrid *arg1 = (wxGrid *) 0 ;
8536 int arg2 = (int) 0 ;
8537 int arg3 = (int) 1 ;
e811c8ce 8538 bool arg4 = (bool) True ;
d14a1e28
RD
8539 bool result;
8540 PyObject * obj0 = 0 ;
994141e6
RD
8541 PyObject * obj1 = 0 ;
8542 PyObject * obj2 = 0 ;
d14a1e28
RD
8543 PyObject * obj3 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8546 };
8547
994141e6 8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8551 if (obj1) {
15afbcd0
RD
8552 arg2 = (int) SWIG_AsInt(obj1);
8553 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8554 }
8555 if (obj2) {
15afbcd0
RD
8556 arg3 = (int) SWIG_AsInt(obj2);
8557 if (PyErr_Occurred()) SWIG_fail;
994141e6 8558 }
d14a1e28 8559 if (obj3) {
15afbcd0
RD
8560 arg4 = (bool) SWIG_AsBool(obj3);
8561 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8562 }
8563 {
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 result = (bool)(arg1)->InsertRows(arg2,arg3,arg4);
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
4f89f6a3
RD
8570 {
8571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8572 }
d14a1e28
RD
8573 return resultobj;
8574 fail:
8575 return NULL;
8576}
8577
8578
8579static PyObject *_wrap_Grid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8580 PyObject *resultobj;
8581 wxGrid *arg1 = (wxGrid *) 0 ;
8582 int arg2 = (int) 1 ;
e811c8ce 8583 bool arg3 = (bool) True ;
d14a1e28
RD
8584 bool result;
8585 PyObject * obj0 = 0 ;
994141e6 8586 PyObject * obj1 = 0 ;
d14a1e28
RD
8587 PyObject * obj2 = 0 ;
8588 char *kwnames[] = {
8589 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8590 };
8591
994141e6 8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8595 if (obj1) {
15afbcd0
RD
8596 arg2 = (int) SWIG_AsInt(obj1);
8597 if (PyErr_Occurred()) SWIG_fail;
994141e6 8598 }
d14a1e28 8599 if (obj2) {
15afbcd0
RD
8600 arg3 = (bool) SWIG_AsBool(obj2);
8601 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8602 }
8603 {
8604 PyThreadState* __tstate = wxPyBeginAllowThreads();
8605 result = (bool)(arg1)->AppendRows(arg2,arg3);
8606
8607 wxPyEndAllowThreads(__tstate);
8608 if (PyErr_Occurred()) SWIG_fail;
8609 }
4f89f6a3
RD
8610 {
8611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8612 }
d14a1e28
RD
8613 return resultobj;
8614 fail:
8615 return NULL;
8616}
8617
8618
8619static PyObject *_wrap_Grid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8620 PyObject *resultobj;
8621 wxGrid *arg1 = (wxGrid *) 0 ;
8622 int arg2 = (int) 0 ;
8623 int arg3 = (int) 1 ;
e811c8ce 8624 bool arg4 = (bool) True ;
d14a1e28
RD
8625 bool result;
8626 PyObject * obj0 = 0 ;
994141e6
RD
8627 PyObject * obj1 = 0 ;
8628 PyObject * obj2 = 0 ;
d14a1e28
RD
8629 PyObject * obj3 = 0 ;
8630 char *kwnames[] = {
8631 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8632 };
8633
994141e6 8634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8637 if (obj1) {
15afbcd0
RD
8638 arg2 = (int) SWIG_AsInt(obj1);
8639 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8640 }
8641 if (obj2) {
15afbcd0
RD
8642 arg3 = (int) SWIG_AsInt(obj2);
8643 if (PyErr_Occurred()) SWIG_fail;
994141e6 8644 }
d14a1e28 8645 if (obj3) {
15afbcd0
RD
8646 arg4 = (bool) SWIG_AsBool(obj3);
8647 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8648 }
8649 {
8650 PyThreadState* __tstate = wxPyBeginAllowThreads();
8651 result = (bool)(arg1)->DeleteRows(arg2,arg3,arg4);
8652
8653 wxPyEndAllowThreads(__tstate);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
4f89f6a3
RD
8656 {
8657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8658 }
d14a1e28
RD
8659 return resultobj;
8660 fail:
8661 return NULL;
8662}
8663
8664
8665static PyObject *_wrap_Grid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8666 PyObject *resultobj;
8667 wxGrid *arg1 = (wxGrid *) 0 ;
8668 int arg2 = (int) 0 ;
8669 int arg3 = (int) 1 ;
e811c8ce 8670 bool arg4 = (bool) True ;
d14a1e28
RD
8671 bool result;
8672 PyObject * obj0 = 0 ;
994141e6
RD
8673 PyObject * obj1 = 0 ;
8674 PyObject * obj2 = 0 ;
d14a1e28
RD
8675 PyObject * obj3 = 0 ;
8676 char *kwnames[] = {
8677 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8678 };
8679
994141e6 8680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8683 if (obj1) {
15afbcd0
RD
8684 arg2 = (int) SWIG_AsInt(obj1);
8685 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8686 }
8687 if (obj2) {
15afbcd0
RD
8688 arg3 = (int) SWIG_AsInt(obj2);
8689 if (PyErr_Occurred()) SWIG_fail;
994141e6 8690 }
d14a1e28 8691 if (obj3) {
15afbcd0
RD
8692 arg4 = (bool) SWIG_AsBool(obj3);
8693 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8694 }
8695 {
8696 PyThreadState* __tstate = wxPyBeginAllowThreads();
8697 result = (bool)(arg1)->InsertCols(arg2,arg3,arg4);
8698
8699 wxPyEndAllowThreads(__tstate);
8700 if (PyErr_Occurred()) SWIG_fail;
8701 }
4f89f6a3
RD
8702 {
8703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8704 }
d14a1e28
RD
8705 return resultobj;
8706 fail:
8707 return NULL;
8708}
8709
8710
8711static PyObject *_wrap_Grid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8712 PyObject *resultobj;
8713 wxGrid *arg1 = (wxGrid *) 0 ;
8714 int arg2 = (int) 1 ;
e811c8ce 8715 bool arg3 = (bool) True ;
d14a1e28
RD
8716 bool result;
8717 PyObject * obj0 = 0 ;
994141e6 8718 PyObject * obj1 = 0 ;
d14a1e28
RD
8719 PyObject * obj2 = 0 ;
8720 char *kwnames[] = {
8721 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8722 };
8723
994141e6 8724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8727 if (obj1) {
15afbcd0
RD
8728 arg2 = (int) SWIG_AsInt(obj1);
8729 if (PyErr_Occurred()) SWIG_fail;
994141e6 8730 }
d14a1e28 8731 if (obj2) {
15afbcd0
RD
8732 arg3 = (bool) SWIG_AsBool(obj2);
8733 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8734 }
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 result = (bool)(arg1)->AppendCols(arg2,arg3);
8738
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
4f89f6a3
RD
8742 {
8743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8744 }
d14a1e28
RD
8745 return resultobj;
8746 fail:
8747 return NULL;
8748}
8749
8750
8751static PyObject *_wrap_Grid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8752 PyObject *resultobj;
8753 wxGrid *arg1 = (wxGrid *) 0 ;
8754 int arg2 = (int) 0 ;
8755 int arg3 = (int) 1 ;
e811c8ce 8756 bool arg4 = (bool) True ;
d14a1e28
RD
8757 bool result;
8758 PyObject * obj0 = 0 ;
994141e6
RD
8759 PyObject * obj1 = 0 ;
8760 PyObject * obj2 = 0 ;
d14a1e28
RD
8761 PyObject * obj3 = 0 ;
8762 char *kwnames[] = {
8763 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8764 };
8765
994141e6 8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8769 if (obj1) {
15afbcd0
RD
8770 arg2 = (int) SWIG_AsInt(obj1);
8771 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8772 }
8773 if (obj2) {
15afbcd0
RD
8774 arg3 = (int) SWIG_AsInt(obj2);
8775 if (PyErr_Occurred()) SWIG_fail;
994141e6 8776 }
d14a1e28 8777 if (obj3) {
15afbcd0
RD
8778 arg4 = (bool) SWIG_AsBool(obj3);
8779 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8780 }
8781 {
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 result = (bool)(arg1)->DeleteCols(arg2,arg3,arg4);
8784
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
4f89f6a3
RD
8788 {
8789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8790 }
d14a1e28
RD
8791 return resultobj;
8792 fail:
8793 return NULL;
8794}
8795
8796
8797static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8798 PyObject *resultobj;
8799 wxGrid *arg1 = (wxGrid *) 0 ;
8800 wxDC *arg2 = 0 ;
8801 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
8802 PyObject * obj0 = 0 ;
8803 PyObject * obj1 = 0 ;
8804 PyObject * obj2 = 0 ;
8805 char *kwnames[] = {
8806 (char *) "self",(char *) "dc",(char *) "attr", NULL
8807 };
8808
8809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DrawCellHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8812 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8813 SWIG_POINTER_EXCEPTION | 0)) == -1)
8814 SWIG_fail;
d14a1e28 8815 if (arg2 == NULL) {
15afbcd0
RD
8816 PyErr_SetString(PyExc_TypeError,"null reference");
8817 SWIG_fail;
d14a1e28 8818 }
15afbcd0
RD
8819 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
8820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8821 {
8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
8823 (arg1)->DrawCellHighlight(*arg2,(wxGridCellAttr const *)arg3);
8824
8825 wxPyEndAllowThreads(__tstate);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
8828 Py_INCREF(Py_None); resultobj = Py_None;
8829 return resultobj;
8830 fail:
8831 return NULL;
8832}
8833
8834
8835static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8836 PyObject *resultobj;
8837 wxGrid *arg1 = (wxGrid *) 0 ;
8838 wxDC *arg2 = 0 ;
8839 wxString *arg3 = 0 ;
8840 wxRect *arg4 = 0 ;
8841 int arg5 = (int) wxLEFT ;
8842 int arg6 = (int) wxTOP ;
8843 int arg7 = (int) wxHORIZONTAL ;
e811c8ce 8844 bool temp3 = False ;
d14a1e28
RD
8845 wxRect temp4 ;
8846 PyObject * obj0 = 0 ;
8847 PyObject * obj1 = 0 ;
8848 PyObject * obj2 = 0 ;
8849 PyObject * obj3 = 0 ;
994141e6
RD
8850 PyObject * obj4 = 0 ;
8851 PyObject * obj5 = 0 ;
8852 PyObject * obj6 = 0 ;
d14a1e28
RD
8853 char *kwnames[] = {
8854 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8855 };
8856
994141e6 8857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
8858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8860 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8861 SWIG_POINTER_EXCEPTION | 0)) == -1)
8862 SWIG_fail;
d14a1e28 8863 if (arg2 == NULL) {
15afbcd0
RD
8864 PyErr_SetString(PyExc_TypeError,"null reference");
8865 SWIG_fail;
d14a1e28
RD
8866 }
8867 {
8868 arg3 = wxString_in_helper(obj2);
8869 if (arg3 == NULL) SWIG_fail;
e811c8ce 8870 temp3 = True;
d14a1e28
RD
8871 }
8872 {
8873 arg4 = &temp4;
8874 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
8875 }
994141e6 8876 if (obj4) {
15afbcd0
RD
8877 arg5 = (int) SWIG_AsInt(obj4);
8878 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8879 }
8880 if (obj5) {
15afbcd0
RD
8881 arg6 = (int) SWIG_AsInt(obj5);
8882 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8883 }
8884 if (obj6) {
15afbcd0
RD
8885 arg7 = (int) SWIG_AsInt(obj6);
8886 if (PyErr_Occurred()) SWIG_fail;
994141e6 8887 }
d14a1e28
RD
8888 {
8889 PyThreadState* __tstate = wxPyBeginAllowThreads();
8890 (arg1)->DrawTextRectangle(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
8891
8892 wxPyEndAllowThreads(__tstate);
8893 if (PyErr_Occurred()) SWIG_fail;
8894 }
8895 Py_INCREF(Py_None); resultobj = Py_None;
8896 {
8897 if (temp3)
8898 delete arg3;
8899 }
8900 return resultobj;
8901 fail:
8902 {
8903 if (temp3)
8904 delete arg3;
8905 }
8906 return NULL;
8907}
8908
8909
8910static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8911 PyObject *resultobj;
8912 wxGrid *arg1 = (wxGrid *) 0 ;
8913 wxDC *arg2 = 0 ;
8914 wxArrayString *arg3 = 0 ;
8915 long *arg4 = (long *) 0 ;
8916 long *arg5 = (long *) 0 ;
3adfb63b 8917 bool temp3 = False ;
d14a1e28
RD
8918 long temp4 ;
8919 long temp5 ;
8920 PyObject * obj0 = 0 ;
8921 PyObject * obj1 = 0 ;
8922 PyObject * obj2 = 0 ;
8923 char *kwnames[] = {
8924 (char *) "self",(char *) "dc",(char *) "lines", NULL
8925 };
8926
8927 arg4 = &temp4;
8928 arg5 = &temp5;
8929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetTextBoxSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8933 SWIG_POINTER_EXCEPTION | 0)) == -1)
8934 SWIG_fail;
d14a1e28 8935 if (arg2 == NULL) {
15afbcd0
RD
8936 PyErr_SetString(PyExc_TypeError,"null reference");
8937 SWIG_fail;
d14a1e28
RD
8938 }
8939 {
8940 if (! PySequence_Check(obj2)) {
8941 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8942 SWIG_fail;
8943 }
8944 arg3 = new wxArrayString;
3adfb63b 8945 temp3 = True;
d14a1e28
RD
8946 int i, len=PySequence_Length(obj2);
8947 for (i=0; i<len; i++) {
8948 PyObject* item = PySequence_GetItem(obj2, i);
8949#if wxUSE_UNICODE
8950 PyObject* str = PyObject_Unicode(item);
8951#else
8952 PyObject* str = PyObject_Str(item);
8953#endif
74a57fcd 8954 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8955 arg3->Add(Py2wxString(str));
8956 Py_DECREF(item);
8957 Py_DECREF(str);
8958 }
8959 }
8960 {
8961 PyThreadState* __tstate = wxPyBeginAllowThreads();
8962 (arg1)->GetTextBoxSize(*arg2,*arg3,arg4,arg5);
8963
8964 wxPyEndAllowThreads(__tstate);
8965 if (PyErr_Occurred()) SWIG_fail;
8966 }
8967 Py_INCREF(Py_None); resultobj = Py_None;
8968 {
8969 PyObject *o = PyInt_FromLong((long) (*arg4));
8970 resultobj = t_output_helper(resultobj,o);
8971 }
8972 {
8973 PyObject *o = PyInt_FromLong((long) (*arg5));
8974 resultobj = t_output_helper(resultobj,o);
8975 }
8976 {
3adfb63b 8977 if (temp3) delete arg3;
d14a1e28
RD
8978 }
8979 return resultobj;
8980 fail:
8981 {
3adfb63b 8982 if (temp3) delete arg3;
d14a1e28
RD
8983 }
8984 return NULL;
8985}
8986
8987
8988static PyObject *_wrap_Grid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8989 PyObject *resultobj;
8990 wxGrid *arg1 = (wxGrid *) 0 ;
8991 PyObject * obj0 = 0 ;
8992 char *kwnames[] = {
8993 (char *) "self", NULL
8994 };
8995
8996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_BeginBatch",kwnames,&obj0)) goto fail;
15afbcd0
RD
8997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
9001 (arg1)->BeginBatch();
9002
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 Py_INCREF(Py_None); resultobj = Py_None;
9007 return resultobj;
9008 fail:
9009 return NULL;
9010}
9011
9012
9013static PyObject *_wrap_Grid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj;
9015 wxGrid *arg1 = (wxGrid *) 0 ;
9016 PyObject * obj0 = 0 ;
9017 char *kwnames[] = {
9018 (char *) "self", NULL
9019 };
9020
9021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_EndBatch",kwnames,&obj0)) goto fail;
15afbcd0
RD
9022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9024 {
9025 PyThreadState* __tstate = wxPyBeginAllowThreads();
9026 (arg1)->EndBatch();
9027
9028 wxPyEndAllowThreads(__tstate);
9029 if (PyErr_Occurred()) SWIG_fail;
9030 }
9031 Py_INCREF(Py_None); resultobj = Py_None;
9032 return resultobj;
9033 fail:
9034 return NULL;
9035}
9036
9037
9038static PyObject *_wrap_Grid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9039 PyObject *resultobj;
9040 wxGrid *arg1 = (wxGrid *) 0 ;
9041 int result;
9042 PyObject * obj0 = 0 ;
9043 char *kwnames[] = {
9044 (char *) "self", NULL
9045 };
9046
9047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetBatchCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
9048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9050 {
9051 PyThreadState* __tstate = wxPyBeginAllowThreads();
9052 result = (int)(arg1)->GetBatchCount();
9053
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
15afbcd0 9057 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9058 return resultobj;
9059 fail:
9060 return NULL;
9061}
9062
9063
9064static PyObject *_wrap_Grid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj;
9066 wxGrid *arg1 = (wxGrid *) 0 ;
9067 PyObject * obj0 = 0 ;
9068 char *kwnames[] = {
9069 (char *) "self", NULL
9070 };
9071
9072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ForceRefresh",kwnames,&obj0)) goto fail;
15afbcd0
RD
9073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9075 {
9076 PyThreadState* __tstate = wxPyBeginAllowThreads();
9077 (arg1)->ForceRefresh();
9078
9079 wxPyEndAllowThreads(__tstate);
9080 if (PyErr_Occurred()) SWIG_fail;
9081 }
9082 Py_INCREF(Py_None); resultobj = Py_None;
9083 return resultobj;
9084 fail:
9085 return NULL;
9086}
9087
9088
d14a1e28
RD
9089static PyObject *_wrap_Grid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9090 PyObject *resultobj;
9091 wxGrid *arg1 = (wxGrid *) 0 ;
9092 bool result;
9093 PyObject * obj0 = 0 ;
9094 char *kwnames[] = {
9095 (char *) "self", NULL
9096 };
9097
9098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsEditable",kwnames,&obj0)) goto fail;
15afbcd0
RD
9099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 result = (bool)(arg1)->IsEditable();
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
4f89f6a3
RD
9108 {
9109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9110 }
d14a1e28
RD
9111 return resultobj;
9112 fail:
9113 return NULL;
9114}
9115
9116
9117static PyObject *_wrap_Grid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
9118 PyObject *resultobj;
9119 wxGrid *arg1 = (wxGrid *) 0 ;
9120 bool arg2 ;
9121 PyObject * obj0 = 0 ;
9122 PyObject * obj1 = 0 ;
9123 char *kwnames[] = {
9124 (char *) "self",(char *) "edit", NULL
9125 };
9126
9127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_EnableEditing",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9130 arg2 = (bool) SWIG_AsBool(obj1);
9131 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9132 {
9133 PyThreadState* __tstate = wxPyBeginAllowThreads();
9134 (arg1)->EnableEditing(arg2);
9135
9136 wxPyEndAllowThreads(__tstate);
9137 if (PyErr_Occurred()) SWIG_fail;
9138 }
9139 Py_INCREF(Py_None); resultobj = Py_None;
9140 return resultobj;
9141 fail:
9142 return NULL;
9143}
9144
9145
9146static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9147 PyObject *resultobj;
9148 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 9149 bool arg2 = (bool) True ;
d14a1e28
RD
9150 PyObject * obj0 = 0 ;
9151 PyObject * obj1 = 0 ;
9152 char *kwnames[] = {
9153 (char *) "self",(char *) "enable", NULL
9154 };
9155
9156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableCellEditControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9159 if (obj1) {
15afbcd0
RD
9160 arg2 = (bool) SWIG_AsBool(obj1);
9161 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9162 }
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 (arg1)->EnableCellEditControl(arg2);
9166
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 Py_INCREF(Py_None); resultobj = Py_None;
9171 return resultobj;
9172 fail:
9173 return NULL;
9174}
9175
9176
9177static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9178 PyObject *resultobj;
9179 wxGrid *arg1 = (wxGrid *) 0 ;
9180 PyObject * obj0 = 0 ;
9181 char *kwnames[] = {
9182 (char *) "self", NULL
9183 };
9184
9185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableCellEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
9186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9188 {
9189 PyThreadState* __tstate = wxPyBeginAllowThreads();
9190 (arg1)->DisableCellEditControl();
9191
9192 wxPyEndAllowThreads(__tstate);
9193 if (PyErr_Occurred()) SWIG_fail;
9194 }
9195 Py_INCREF(Py_None); resultobj = Py_None;
9196 return resultobj;
9197 fail:
9198 return NULL;
9199}
9200
9201
9202static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9203 PyObject *resultobj;
9204 wxGrid *arg1 = (wxGrid *) 0 ;
9205 bool result;
9206 PyObject * obj0 = 0 ;
9207 char *kwnames[] = {
9208 (char *) "self", NULL
9209 };
9210
9211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanEnableCellControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
9212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9214 {
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
9216 result = (bool)((wxGrid const *)arg1)->CanEnableCellControl();
9217
9218 wxPyEndAllowThreads(__tstate);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 }
4f89f6a3
RD
9221 {
9222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9223 }
d14a1e28
RD
9224 return resultobj;
9225 fail:
9226 return NULL;
9227}
9228
9229
9230static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9231 PyObject *resultobj;
9232 wxGrid *arg1 = (wxGrid *) 0 ;
9233 bool result;
9234 PyObject * obj0 = 0 ;
9235 char *kwnames[] = {
9236 (char *) "self", NULL
9237 };
9238
9239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
9240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9242 {
9243 PyThreadState* __tstate = wxPyBeginAllowThreads();
9244 result = (bool)((wxGrid const *)arg1)->IsCellEditControlEnabled();
9245
9246 wxPyEndAllowThreads(__tstate);
9247 if (PyErr_Occurred()) SWIG_fail;
9248 }
4f89f6a3
RD
9249 {
9250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9251 }
d14a1e28
RD
9252 return resultobj;
9253 fail:
9254 return NULL;
9255}
9256
9257
9258static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
9259 PyObject *resultobj;
9260 wxGrid *arg1 = (wxGrid *) 0 ;
9261 bool result;
9262 PyObject * obj0 = 0 ;
9263 char *kwnames[] = {
9264 (char *) "self", NULL
9265 };
9266
9267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
9268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9270 {
9271 PyThreadState* __tstate = wxPyBeginAllowThreads();
9272 result = (bool)((wxGrid const *)arg1)->IsCellEditControlShown();
9273
9274 wxPyEndAllowThreads(__tstate);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
4f89f6a3
RD
9277 {
9278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9279 }
d14a1e28
RD
9280 return resultobj;
9281 fail:
9282 return NULL;
9283}
9284
9285
9286static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
9287 PyObject *resultobj;
9288 wxGrid *arg1 = (wxGrid *) 0 ;
9289 bool result;
9290 PyObject * obj0 = 0 ;
9291 char *kwnames[] = {
9292 (char *) "self", NULL
9293 };
9294
9295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames,&obj0)) goto fail;
15afbcd0
RD
9296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9298 {
9299 PyThreadState* __tstate = wxPyBeginAllowThreads();
9300 result = (bool)((wxGrid const *)arg1)->IsCurrentCellReadOnly();
9301
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
4f89f6a3
RD
9305 {
9306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9307 }
d14a1e28
RD
9308 return resultobj;
9309 fail:
9310 return NULL;
9311}
9312
9313
9314static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9315 PyObject *resultobj;
9316 wxGrid *arg1 = (wxGrid *) 0 ;
9317 PyObject * obj0 = 0 ;
9318 char *kwnames[] = {
9319 (char *) "self", NULL
9320 };
9321
9322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ShowCellEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
9323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 (arg1)->ShowCellEditControl();
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 Py_INCREF(Py_None); resultobj = Py_None;
9333 return resultobj;
9334 fail:
9335 return NULL;
9336}
9337
9338
9339static PyObject *_wrap_Grid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9340 PyObject *resultobj;
9341 wxGrid *arg1 = (wxGrid *) 0 ;
9342 PyObject * obj0 = 0 ;
9343 char *kwnames[] = {
9344 (char *) "self", NULL
9345 };
9346
9347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_HideCellEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
9348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 (arg1)->HideCellEditControl();
9353
9354 wxPyEndAllowThreads(__tstate);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 }
9357 Py_INCREF(Py_None); resultobj = Py_None;
9358 return resultobj;
9359 fail:
9360 return NULL;
9361}
9362
9363
9364static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9365 PyObject *resultobj;
9366 wxGrid *arg1 = (wxGrid *) 0 ;
9367 PyObject * obj0 = 0 ;
9368 char *kwnames[] = {
9369 (char *) "self", NULL
9370 };
9371
9372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SaveEditControlValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
9373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9375 {
9376 PyThreadState* __tstate = wxPyBeginAllowThreads();
9377 (arg1)->SaveEditControlValue();
9378
9379 wxPyEndAllowThreads(__tstate);
9380 if (PyErr_Occurred()) SWIG_fail;
9381 }
9382 Py_INCREF(Py_None); resultobj = Py_None;
9383 return resultobj;
9384 fail:
9385 return NULL;
9386}
9387
9388
9389static PyObject *_wrap_Grid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
9390 PyObject *resultobj;
9391 wxGrid *arg1 = (wxGrid *) 0 ;
9392 int arg2 ;
9393 int arg3 ;
9394 wxGridCellCoords result;
9395 PyObject * obj0 = 0 ;
994141e6
RD
9396 PyObject * obj1 = 0 ;
9397 PyObject * obj2 = 0 ;
d14a1e28
RD
9398 char *kwnames[] = {
9399 (char *) "self",(char *) "x",(char *) "y", NULL
9400 };
9401
994141e6 9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_XYToCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9405 arg2 = (int) SWIG_AsInt(obj1);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 arg3 = (int) SWIG_AsInt(obj2);
9408 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9409 {
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 result = wxGrid_XYToCell(arg1,arg2,arg3);
9412
9413 wxPyEndAllowThreads(__tstate);
9414 if (PyErr_Occurred()) SWIG_fail;
9415 }
9416 {
9417 wxGridCellCoords * resultptr;
9418 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15afbcd0 9419 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
9420 }
9421 return resultobj;
9422 fail:
9423 return NULL;
9424}
9425
9426
9427static PyObject *_wrap_Grid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9428 PyObject *resultobj;
9429 wxGrid *arg1 = (wxGrid *) 0 ;
9430 int arg2 ;
9431 int result;
9432 PyObject * obj0 = 0 ;
994141e6 9433 PyObject * obj1 = 0 ;
d14a1e28
RD
9434 char *kwnames[] = {
9435 (char *) "self",(char *) "y", NULL
9436 };
9437
994141e6 9438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9441 arg2 = (int) SWIG_AsInt(obj1);
9442 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9443 {
9444 PyThreadState* __tstate = wxPyBeginAllowThreads();
9445 result = (int)(arg1)->YToRow(arg2);
9446
9447 wxPyEndAllowThreads(__tstate);
9448 if (PyErr_Occurred()) SWIG_fail;
9449 }
15afbcd0 9450 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9451 return resultobj;
9452 fail:
9453 return NULL;
9454}
9455
9456
9457static PyObject *_wrap_Grid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9458 PyObject *resultobj;
9459 wxGrid *arg1 = (wxGrid *) 0 ;
9460 int arg2 ;
9461 int result;
9462 PyObject * obj0 = 0 ;
994141e6 9463 PyObject * obj1 = 0 ;
d14a1e28
RD
9464 char *kwnames[] = {
9465 (char *) "self",(char *) "x", NULL
9466 };
9467
994141e6 9468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9471 arg2 = (int) SWIG_AsInt(obj1);
9472 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9473 {
9474 PyThreadState* __tstate = wxPyBeginAllowThreads();
9475 result = (int)(arg1)->XToCol(arg2);
9476
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 }
15afbcd0 9480 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9481 return resultobj;
9482 fail:
9483 return NULL;
9484}
9485
9486
9487static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9488 PyObject *resultobj;
9489 wxGrid *arg1 = (wxGrid *) 0 ;
9490 int arg2 ;
9491 int result;
9492 PyObject * obj0 = 0 ;
994141e6 9493 PyObject * obj1 = 0 ;
d14a1e28
RD
9494 char *kwnames[] = {
9495 (char *) "self",(char *) "y", NULL
9496 };
9497
994141e6 9498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToEdgeOfRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9501 arg2 = (int) SWIG_AsInt(obj1);
9502 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9503 {
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 result = (int)(arg1)->YToEdgeOfRow(arg2);
9506
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
15afbcd0 9510 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9511 return resultobj;
9512 fail:
9513 return NULL;
9514}
9515
9516
9517static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj;
9519 wxGrid *arg1 = (wxGrid *) 0 ;
9520 int arg2 ;
9521 int result;
9522 PyObject * obj0 = 0 ;
994141e6 9523 PyObject * obj1 = 0 ;
d14a1e28
RD
9524 char *kwnames[] = {
9525 (char *) "self",(char *) "x", NULL
9526 };
9527
994141e6 9528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToEdgeOfCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9531 arg2 = (int) SWIG_AsInt(obj1);
9532 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9533 {
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 result = (int)(arg1)->XToEdgeOfCol(arg2);
9536
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
15afbcd0 9540 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9541 return resultobj;
9542 fail:
9543 return NULL;
9544}
9545
9546
9547static PyObject *_wrap_Grid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9548 PyObject *resultobj;
9549 wxGrid *arg1 = (wxGrid *) 0 ;
9550 int arg2 ;
9551 int arg3 ;
9552 wxRect result;
9553 PyObject * obj0 = 0 ;
994141e6
RD
9554 PyObject * obj1 = 0 ;
9555 PyObject * obj2 = 0 ;
d14a1e28
RD
9556 char *kwnames[] = {
9557 (char *) "self",(char *) "row",(char *) "col", NULL
15afbcd0
RD
9558 };
9559
9560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_CellToRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
9561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9563 arg2 = (int) SWIG_AsInt(obj1);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 arg3 = (int) SWIG_AsInt(obj2);
9566 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9567 {
9568 PyThreadState* __tstate = wxPyBeginAllowThreads();
9569 result = (arg1)->CellToRect(arg2,arg3);
9570
9571 wxPyEndAllowThreads(__tstate);
9572 if (PyErr_Occurred()) SWIG_fail;
9573 }
9574 {
9575 wxRect * resultptr;
9576 resultptr = new wxRect((wxRect &) result);
15afbcd0 9577 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
9578 }
9579 return resultobj;
9580 fail:
9581 return NULL;
9582}
9583
9584
9585static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9586 PyObject *resultobj;
9587 wxGrid *arg1 = (wxGrid *) 0 ;
9588 int result;
9589 PyObject * obj0 = 0 ;
9590 char *kwnames[] = {
9591 (char *) "self", NULL
9592 };
9593
9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
9595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
9599 result = (int)(arg1)->GetGridCursorRow();
9600
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
15afbcd0 9604 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9605 return resultobj;
9606 fail:
9607 return NULL;
9608}
9609
9610
9611static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9612 PyObject *resultobj;
9613 wxGrid *arg1 = (wxGrid *) 0 ;
9614 int result;
9615 PyObject * obj0 = 0 ;
9616 char *kwnames[] = {
9617 (char *) "self", NULL
9618 };
9619
9620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
9621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9623 {
9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
9625 result = (int)(arg1)->GetGridCursorCol();
9626
9627 wxPyEndAllowThreads(__tstate);
9628 if (PyErr_Occurred()) SWIG_fail;
9629 }
15afbcd0 9630 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9631 return resultobj;
9632 fail:
9633 return NULL;
9634}
9635
9636
9637static PyObject *_wrap_Grid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9638 PyObject *resultobj;
9639 wxGrid *arg1 = (wxGrid *) 0 ;
9640 int arg2 ;
9641 int arg3 ;
e811c8ce 9642 bool arg4 = (bool) True ;
d14a1e28
RD
9643 bool result;
9644 PyObject * obj0 = 0 ;
994141e6
RD
9645 PyObject * obj1 = 0 ;
9646 PyObject * obj2 = 0 ;
d14a1e28
RD
9647 PyObject * obj3 = 0 ;
9648 char *kwnames[] = {
9649 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9650 };
9651
994141e6 9652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_IsVisible",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9655 arg2 = (int) SWIG_AsInt(obj1);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 arg3 = (int) SWIG_AsInt(obj2);
9658 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9659 if (obj3) {
15afbcd0
RD
9660 arg4 = (bool) SWIG_AsBool(obj3);
9661 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9662 }
9663 {
9664 PyThreadState* __tstate = wxPyBeginAllowThreads();
9665 result = (bool)(arg1)->IsVisible(arg2,arg3,arg4);
9666
9667 wxPyEndAllowThreads(__tstate);
9668 if (PyErr_Occurred()) SWIG_fail;
9669 }
4f89f6a3
RD
9670 {
9671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9672 }
d14a1e28
RD
9673 return resultobj;
9674 fail:
9675 return NULL;
9676}
9677
9678
9679static PyObject *_wrap_Grid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9680 PyObject *resultobj;
9681 wxGrid *arg1 = (wxGrid *) 0 ;
9682 int arg2 ;
9683 int arg3 ;
9684 PyObject * obj0 = 0 ;
994141e6
RD
9685 PyObject * obj1 = 0 ;
9686 PyObject * obj2 = 0 ;
d14a1e28
RD
9687 char *kwnames[] = {
9688 (char *) "self",(char *) "row",(char *) "col", NULL
9689 };
9690
994141e6 9691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_MakeCellVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9694 arg2 = (int) SWIG_AsInt(obj1);
9695 if (PyErr_Occurred()) SWIG_fail;
9696 arg3 = (int) SWIG_AsInt(obj2);
9697 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9698 {
9699 PyThreadState* __tstate = wxPyBeginAllowThreads();
9700 (arg1)->MakeCellVisible(arg2,arg3);
9701
9702 wxPyEndAllowThreads(__tstate);
9703 if (PyErr_Occurred()) SWIG_fail;
9704 }
9705 Py_INCREF(Py_None); resultobj = Py_None;
9706 return resultobj;
9707 fail:
9708 return NULL;
9709}
9710
9711
9712static PyObject *_wrap_Grid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9713 PyObject *resultobj;
9714 wxGrid *arg1 = (wxGrid *) 0 ;
9715 int arg2 ;
9716 int arg3 ;
9717 PyObject * obj0 = 0 ;
994141e6
RD
9718 PyObject * obj1 = 0 ;
9719 PyObject * obj2 = 0 ;
d14a1e28
RD
9720 char *kwnames[] = {
9721 (char *) "self",(char *) "row",(char *) "col", NULL
9722 };
9723
994141e6 9724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetGridCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9727 arg2 = (int) SWIG_AsInt(obj1);
9728 if (PyErr_Occurred()) SWIG_fail;
9729 arg3 = (int) SWIG_AsInt(obj2);
9730 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9731 {
9732 PyThreadState* __tstate = wxPyBeginAllowThreads();
9733 (arg1)->SetGridCursor(arg2,arg3);
9734
9735 wxPyEndAllowThreads(__tstate);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 }
9738 Py_INCREF(Py_None); resultobj = Py_None;
9739 return resultobj;
9740 fail:
9741 return NULL;
9742}
9743
9744
9745static PyObject *_wrap_Grid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9746 PyObject *resultobj;
9747 wxGrid *arg1 = (wxGrid *) 0 ;
9748 bool arg2 ;
9749 bool result;
9750 PyObject * obj0 = 0 ;
9751 PyObject * obj1 = 0 ;
9752 char *kwnames[] = {
9753 (char *) "self",(char *) "expandSelection", NULL
9754 };
9755
9756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9759 arg2 = (bool) SWIG_AsBool(obj1);
9760 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9761 {
9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
9763 result = (bool)(arg1)->MoveCursorUp(arg2);
9764
9765 wxPyEndAllowThreads(__tstate);
9766 if (PyErr_Occurred()) SWIG_fail;
9767 }
4f89f6a3
RD
9768 {
9769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9770 }
d14a1e28
RD
9771 return resultobj;
9772 fail:
9773 return NULL;
9774}
9775
9776
9777static PyObject *_wrap_Grid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9778 PyObject *resultobj;
9779 wxGrid *arg1 = (wxGrid *) 0 ;
9780 bool arg2 ;
9781 bool result;
9782 PyObject * obj0 = 0 ;
9783 PyObject * obj1 = 0 ;
9784 char *kwnames[] = {
9785 (char *) "self",(char *) "expandSelection", NULL
9786 };
9787
9788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9791 arg2 = (bool) SWIG_AsBool(obj1);
9792 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 result = (bool)(arg1)->MoveCursorDown(arg2);
9796
9797 wxPyEndAllowThreads(__tstate);
9798 if (PyErr_Occurred()) SWIG_fail;
9799 }
4f89f6a3
RD
9800 {
9801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9802 }
d14a1e28
RD
9803 return resultobj;
9804 fail:
9805 return NULL;
9806}
9807
9808
9809static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9810 PyObject *resultobj;
9811 wxGrid *arg1 = (wxGrid *) 0 ;
9812 bool arg2 ;
9813 bool result;
9814 PyObject * obj0 = 0 ;
9815 PyObject * obj1 = 0 ;
9816 char *kwnames[] = {
9817 (char *) "self",(char *) "expandSelection", NULL
9818 };
9819
9820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9823 arg2 = (bool) SWIG_AsBool(obj1);
9824 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 result = (bool)(arg1)->MoveCursorLeft(arg2);
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
4f89f6a3
RD
9832 {
9833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9834 }
d14a1e28
RD
9835 return resultobj;
9836 fail:
9837 return NULL;
9838}
9839
9840
9841static PyObject *_wrap_Grid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9842 PyObject *resultobj;
9843 wxGrid *arg1 = (wxGrid *) 0 ;
9844 bool arg2 ;
9845 bool result;
9846 PyObject * obj0 = 0 ;
9847 PyObject * obj1 = 0 ;
9848 char *kwnames[] = {
9849 (char *) "self",(char *) "expandSelection", NULL
9850 };
9851
9852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9855 arg2 = (bool) SWIG_AsBool(obj1);
9856 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
9859 result = (bool)(arg1)->MoveCursorRight(arg2);
9860
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 }
4f89f6a3
RD
9864 {
9865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9866 }
d14a1e28
RD
9867 return resultobj;
9868 fail:
9869 return NULL;
9870}
9871
9872
9873static PyObject *_wrap_Grid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9874 PyObject *resultobj;
9875 wxGrid *arg1 = (wxGrid *) 0 ;
9876 bool result;
9877 PyObject * obj0 = 0 ;
9878 char *kwnames[] = {
9879 (char *) "self", NULL
9880 };
9881
9882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
9883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 result = (bool)(arg1)->MovePageDown();
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
4f89f6a3
RD
9892 {
9893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9894 }
d14a1e28
RD
9895 return resultobj;
9896 fail:
9897 return NULL;
9898}
9899
9900
9901static PyObject *_wrap_Grid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9902 PyObject *resultobj;
9903 wxGrid *arg1 = (wxGrid *) 0 ;
9904 bool result;
9905 PyObject * obj0 = 0 ;
9906 char *kwnames[] = {
9907 (char *) "self", NULL
9908 };
9909
9910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
9911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9913 {
9914 PyThreadState* __tstate = wxPyBeginAllowThreads();
9915 result = (bool)(arg1)->MovePageUp();
9916
9917 wxPyEndAllowThreads(__tstate);
9918 if (PyErr_Occurred()) SWIG_fail;
9919 }
4f89f6a3
RD
9920 {
9921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9922 }
d14a1e28
RD
9923 return resultobj;
9924 fail:
9925 return NULL;
9926}
9927
9928
9929static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9930 PyObject *resultobj;
9931 wxGrid *arg1 = (wxGrid *) 0 ;
9932 bool arg2 ;
9933 bool result;
9934 PyObject * obj0 = 0 ;
9935 PyObject * obj1 = 0 ;
9936 char *kwnames[] = {
9937 (char *) "self",(char *) "expandSelection", NULL
9938 };
9939
9940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUpBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9943 arg2 = (bool) SWIG_AsBool(obj1);
9944 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9945 {
9946 PyThreadState* __tstate = wxPyBeginAllowThreads();
9947 result = (bool)(arg1)->MoveCursorUpBlock(arg2);
9948
9949 wxPyEndAllowThreads(__tstate);
9950 if (PyErr_Occurred()) SWIG_fail;
9951 }
4f89f6a3
RD
9952 {
9953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9954 }
d14a1e28
RD
9955 return resultobj;
9956 fail:
9957 return NULL;
9958}
9959
9960
9961static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9962 PyObject *resultobj;
9963 wxGrid *arg1 = (wxGrid *) 0 ;
9964 bool arg2 ;
9965 bool result;
9966 PyObject * obj0 = 0 ;
9967 PyObject * obj1 = 0 ;
9968 char *kwnames[] = {
9969 (char *) "self",(char *) "expandSelection", NULL
9970 };
9971
9972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDownBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9975 arg2 = (bool) SWIG_AsBool(obj1);
9976 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 result = (bool)(arg1)->MoveCursorDownBlock(arg2);
9980
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
4f89f6a3
RD
9984 {
9985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9986 }
d14a1e28
RD
9987 return resultobj;
9988 fail:
9989 return NULL;
9990}
9991
9992
9993static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9994 PyObject *resultobj;
9995 wxGrid *arg1 = (wxGrid *) 0 ;
9996 bool arg2 ;
9997 bool result;
9998 PyObject * obj0 = 0 ;
9999 PyObject * obj1 = 0 ;
10000 char *kwnames[] = {
10001 (char *) "self",(char *) "expandSelection", NULL
10002 };
10003
10004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10007 arg2 = (bool) SWIG_AsBool(obj1);
10008 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10009 {
10010 PyThreadState* __tstate = wxPyBeginAllowThreads();
10011 result = (bool)(arg1)->MoveCursorLeftBlock(arg2);
10012
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 }
4f89f6a3
RD
10016 {
10017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10018 }
d14a1e28
RD
10019 return resultobj;
10020 fail:
10021 return NULL;
10022}
10023
10024
10025static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
10026 PyObject *resultobj;
10027 wxGrid *arg1 = (wxGrid *) 0 ;
10028 bool arg2 ;
10029 bool result;
10030 PyObject * obj0 = 0 ;
10031 PyObject * obj1 = 0 ;
10032 char *kwnames[] = {
10033 (char *) "self",(char *) "expandSelection", NULL
10034 };
10035
10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRightBlock",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10039 arg2 = (bool) SWIG_AsBool(obj1);
10040 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10041 {
10042 PyThreadState* __tstate = wxPyBeginAllowThreads();
10043 result = (bool)(arg1)->MoveCursorRightBlock(arg2);
10044
10045 wxPyEndAllowThreads(__tstate);
10046 if (PyErr_Occurred()) SWIG_fail;
10047 }
4f89f6a3
RD
10048 {
10049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10050 }
d14a1e28
RD
10051 return resultobj;
10052 fail:
10053 return NULL;
10054}
10055
10056
10057static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10058 PyObject *resultobj;
10059 wxGrid *arg1 = (wxGrid *) 0 ;
10060 int result;
10061 PyObject * obj0 = 0 ;
10062 char *kwnames[] = {
10063 (char *) "self", NULL
10064 };
10065
10066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 result = (int)(arg1)->GetDefaultRowLabelSize();
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
15afbcd0 10076 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10077 return resultobj;
10078 fail:
10079 return NULL;
10080}
10081
10082
10083static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxGrid *arg1 = (wxGrid *) 0 ;
10086 int result;
10087 PyObject * obj0 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "self", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 result = (int)(arg1)->GetRowLabelSize();
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
15afbcd0 10102 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10103 return resultobj;
10104 fail:
10105 return NULL;
10106}
10107
10108
10109static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10110 PyObject *resultobj;
10111 wxGrid *arg1 = (wxGrid *) 0 ;
10112 int result;
10113 PyObject * obj0 = 0 ;
10114 char *kwnames[] = {
10115 (char *) "self", NULL
10116 };
10117
10118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10121 {
10122 PyThreadState* __tstate = wxPyBeginAllowThreads();
10123 result = (int)(arg1)->GetDefaultColLabelSize();
10124
10125 wxPyEndAllowThreads(__tstate);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
15afbcd0 10128 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10129 return resultobj;
10130 fail:
10131 return NULL;
10132}
10133
10134
10135static PyObject *_wrap_Grid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10136 PyObject *resultobj;
10137 wxGrid *arg1 = (wxGrid *) 0 ;
10138 int result;
10139 PyObject * obj0 = 0 ;
10140 char *kwnames[] = {
10141 (char *) "self", NULL
10142 };
10143
10144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10147 {
10148 PyThreadState* __tstate = wxPyBeginAllowThreads();
10149 result = (int)(arg1)->GetColLabelSize();
10150
10151 wxPyEndAllowThreads(__tstate);
10152 if (PyErr_Occurred()) SWIG_fail;
10153 }
15afbcd0 10154 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10155 return resultobj;
10156 fail:
10157 return NULL;
10158}
10159
10160
10161static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10162 PyObject *resultobj;
10163 wxGrid *arg1 = (wxGrid *) 0 ;
10164 wxColour result;
10165 PyObject * obj0 = 0 ;
10166 char *kwnames[] = {
10167 (char *) "self", NULL
10168 };
10169
10170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
10171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10173 {
10174 PyThreadState* __tstate = wxPyBeginAllowThreads();
10175 result = (arg1)->GetLabelBackgroundColour();
10176
10177 wxPyEndAllowThreads(__tstate);
10178 if (PyErr_Occurred()) SWIG_fail;
10179 }
10180 {
10181 wxColour * resultptr;
10182 resultptr = new wxColour((wxColour &) result);
15afbcd0 10183 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10184 }
10185 return resultobj;
10186 fail:
10187 return NULL;
10188}
10189
10190
10191static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj;
10193 wxGrid *arg1 = (wxGrid *) 0 ;
10194 wxColour result;
10195 PyObject * obj0 = 0 ;
10196 char *kwnames[] = {
10197 (char *) "self", NULL
10198 };
10199
10200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
10201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
10205 result = (arg1)->GetLabelTextColour();
10206
10207 wxPyEndAllowThreads(__tstate);
10208 if (PyErr_Occurred()) SWIG_fail;
10209 }
10210 {
10211 wxColour * resultptr;
10212 resultptr = new wxColour((wxColour &) result);
15afbcd0 10213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10214 }
10215 return resultobj;
10216 fail:
10217 return NULL;
10218}
10219
10220
10221static PyObject *_wrap_Grid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10222 PyObject *resultobj;
10223 wxGrid *arg1 = (wxGrid *) 0 ;
10224 wxFont result;
10225 PyObject * obj0 = 0 ;
10226 char *kwnames[] = {
10227 (char *) "self", NULL
10228 };
10229
10230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
10231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 result = (arg1)->GetLabelFont();
10236
10237 wxPyEndAllowThreads(__tstate);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
10240 {
10241 wxFont * resultptr;
10242 resultptr = new wxFont((wxFont &) result);
15afbcd0 10243 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
10244 }
10245 return resultobj;
10246 fail:
10247 return NULL;
10248}
10249
10250
10251static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10252 PyObject *resultobj;
10253 wxGrid *arg1 = (wxGrid *) 0 ;
10254 int *arg2 = (int *) 0 ;
10255 int *arg3 = (int *) 0 ;
10256 int temp2 ;
10257 int temp3 ;
10258 PyObject * obj0 = 0 ;
10259 char *kwnames[] = {
10260 (char *) "self", NULL
10261 };
10262
10263 arg2 = &temp2;
10264 arg3 = &temp3;
10265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
10266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10268 {
10269 PyThreadState* __tstate = wxPyBeginAllowThreads();
10270 (arg1)->GetRowLabelAlignment(arg2,arg3);
10271
10272 wxPyEndAllowThreads(__tstate);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 }
10275 Py_INCREF(Py_None); resultobj = Py_None;
10276 {
10277 PyObject *o = PyInt_FromLong((long) (*arg2));
10278 resultobj = t_output_helper(resultobj,o);
10279 }
10280 {
10281 PyObject *o = PyInt_FromLong((long) (*arg3));
10282 resultobj = t_output_helper(resultobj,o);
10283 }
10284 return resultobj;
10285 fail:
10286 return NULL;
10287}
10288
10289
10290static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10291 PyObject *resultobj;
10292 wxGrid *arg1 = (wxGrid *) 0 ;
10293 int *arg2 = (int *) 0 ;
10294 int *arg3 = (int *) 0 ;
10295 int temp2 ;
10296 int temp3 ;
10297 PyObject * obj0 = 0 ;
10298 char *kwnames[] = {
10299 (char *) "self", NULL
10300 };
10301
10302 arg2 = &temp2;
10303 arg3 = &temp3;
10304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
10305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10307 {
10308 PyThreadState* __tstate = wxPyBeginAllowThreads();
10309 (arg1)->GetColLabelAlignment(arg2,arg3);
10310
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 Py_INCREF(Py_None); resultobj = Py_None;
10315 {
10316 PyObject *o = PyInt_FromLong((long) (*arg2));
10317 resultobj = t_output_helper(resultobj,o);
10318 }
10319 {
10320 PyObject *o = PyInt_FromLong((long) (*arg3));
10321 resultobj = t_output_helper(resultobj,o);
10322 }
10323 return resultobj;
10324 fail:
10325 return NULL;
10326}
10327
10328
10329static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10330 PyObject *resultobj;
10331 wxGrid *arg1 = (wxGrid *) 0 ;
10332 int result;
10333 PyObject * obj0 = 0 ;
10334 char *kwnames[] = {
10335 (char *) "self", NULL
10336 };
10337
10338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelTextOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
10339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10341 {
10342 PyThreadState* __tstate = wxPyBeginAllowThreads();
10343 result = (int)(arg1)->GetColLabelTextOrientation();
10344
10345 wxPyEndAllowThreads(__tstate);
10346 if (PyErr_Occurred()) SWIG_fail;
10347 }
15afbcd0 10348 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10349 return resultobj;
10350 fail:
10351 return NULL;
10352}
10353
10354
10355static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10356 PyObject *resultobj;
10357 wxGrid *arg1 = (wxGrid *) 0 ;
10358 int arg2 ;
10359 wxString result;
10360 PyObject * obj0 = 0 ;
994141e6 10361 PyObject * obj1 = 0 ;
d14a1e28
RD
10362 char *kwnames[] = {
10363 (char *) "self",(char *) "row", NULL
10364 };
10365
994141e6 10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10369 arg2 = (int) SWIG_AsInt(obj1);
10370 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 result = (arg1)->GetRowLabelValue(arg2);
10374
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
10378 {
10379#if wxUSE_UNICODE
10380 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10381#else
10382 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10383#endif
10384 }
10385 return resultobj;
10386 fail:
10387 return NULL;
10388}
10389
10390
10391static PyObject *_wrap_Grid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10392 PyObject *resultobj;
10393 wxGrid *arg1 = (wxGrid *) 0 ;
10394 int arg2 ;
10395 wxString result;
10396 PyObject * obj0 = 0 ;
994141e6 10397 PyObject * obj1 = 0 ;
d14a1e28
RD
10398 char *kwnames[] = {
10399 (char *) "self",(char *) "col", NULL
10400 };
10401
994141e6 10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10405 arg2 = (int) SWIG_AsInt(obj1);
10406 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10407 {
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
10409 result = (arg1)->GetColLabelValue(arg2);
10410
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) SWIG_fail;
10413 }
10414 {
10415#if wxUSE_UNICODE
10416 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10417#else
10418 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10419#endif
10420 }
10421 return resultobj;
10422 fail:
10423 return NULL;
10424}
10425
10426
10427static PyObject *_wrap_Grid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10428 PyObject *resultobj;
10429 wxGrid *arg1 = (wxGrid *) 0 ;
10430 wxColour result;
10431 PyObject * obj0 = 0 ;
10432 char *kwnames[] = {
10433 (char *) "self", NULL
10434 };
10435
10436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridLineColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
10437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10439 {
10440 PyThreadState* __tstate = wxPyBeginAllowThreads();
10441 result = (arg1)->GetGridLineColour();
10442
10443 wxPyEndAllowThreads(__tstate);
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
10446 {
10447 wxColour * resultptr;
10448 resultptr = new wxColour((wxColour &) result);
15afbcd0 10449 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10450 }
10451 return resultobj;
10452 fail:
10453 return NULL;
10454}
10455
10456
10457static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10458 PyObject *resultobj;
10459 wxGrid *arg1 = (wxGrid *) 0 ;
10460 wxColour result;
10461 PyObject * obj0 = 0 ;
10462 char *kwnames[] = {
10463 (char *) "self", NULL
10464 };
10465
10466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
10467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 result = (arg1)->GetCellHighlightColour();
10472
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 {
10477 wxColour * resultptr;
10478 resultptr = new wxColour((wxColour &) result);
15afbcd0 10479 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10480 }
10481 return resultobj;
10482 fail:
10483 return NULL;
10484}
10485
10486
10487static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10488 PyObject *resultobj;
10489 wxGrid *arg1 = (wxGrid *) 0 ;
10490 int result;
10491 PyObject * obj0 = 0 ;
10492 char *kwnames[] = {
10493 (char *) "self", NULL
10494 };
10495
10496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
10497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 result = (int)(arg1)->GetCellHighlightPenWidth();
10502
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
15afbcd0 10506 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10507 return resultobj;
10508 fail:
10509 return NULL;
10510}
10511
10512
10513static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10514 PyObject *resultobj;
10515 wxGrid *arg1 = (wxGrid *) 0 ;
10516 int result;
10517 PyObject * obj0 = 0 ;
10518 char *kwnames[] = {
10519 (char *) "self", NULL
10520 };
10521
10522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
10523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10525 {
10526 PyThreadState* __tstate = wxPyBeginAllowThreads();
10527 result = (int)(arg1)->GetCellHighlightROPenWidth();
10528
10529 wxPyEndAllowThreads(__tstate);
10530 if (PyErr_Occurred()) SWIG_fail;
10531 }
15afbcd0 10532 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10533 return resultobj;
10534 fail:
10535 return NULL;
10536}
10537
10538
10539static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10540 PyObject *resultobj;
10541 wxGrid *arg1 = (wxGrid *) 0 ;
10542 int arg2 ;
10543 PyObject * obj0 = 0 ;
994141e6 10544 PyObject * obj1 = 0 ;
d14a1e28
RD
10545 char *kwnames[] = {
10546 (char *) "self",(char *) "width", NULL
10547 };
10548
994141e6 10549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10552 arg2 = (int) SWIG_AsInt(obj1);
10553 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10554 {
10555 PyThreadState* __tstate = wxPyBeginAllowThreads();
10556 (arg1)->SetRowLabelSize(arg2);
10557
10558 wxPyEndAllowThreads(__tstate);
10559 if (PyErr_Occurred()) SWIG_fail;
10560 }
10561 Py_INCREF(Py_None); resultobj = Py_None;
10562 return resultobj;
10563 fail:
10564 return NULL;
10565}
10566
10567
10568static PyObject *_wrap_Grid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10569 PyObject *resultobj;
10570 wxGrid *arg1 = (wxGrid *) 0 ;
10571 int arg2 ;
10572 PyObject * obj0 = 0 ;
994141e6 10573 PyObject * obj1 = 0 ;
d14a1e28
RD
10574 char *kwnames[] = {
10575 (char *) "self",(char *) "height", NULL
10576 };
10577
994141e6 10578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10581 arg2 = (int) SWIG_AsInt(obj1);
10582 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10583 {
10584 PyThreadState* __tstate = wxPyBeginAllowThreads();
10585 (arg1)->SetColLabelSize(arg2);
10586
10587 wxPyEndAllowThreads(__tstate);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
10590 Py_INCREF(Py_None); resultobj = Py_None;
10591 return resultobj;
10592 fail:
10593 return NULL;
10594}
10595
10596
10597static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10598 PyObject *resultobj;
10599 wxGrid *arg1 = (wxGrid *) 0 ;
10600 wxColour *arg2 = 0 ;
10601 wxColour temp2 ;
10602 PyObject * obj0 = 0 ;
10603 PyObject * obj1 = 0 ;
10604 char *kwnames[] = {
10605 (char *) "self","arg2", NULL
10606 };
10607
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10611 {
10612 arg2 = &temp2;
10613 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10614 }
10615 {
10616 PyThreadState* __tstate = wxPyBeginAllowThreads();
10617 (arg1)->SetLabelBackgroundColour((wxColour const &)*arg2);
10618
10619 wxPyEndAllowThreads(__tstate);
10620 if (PyErr_Occurred()) SWIG_fail;
10621 }
10622 Py_INCREF(Py_None); resultobj = Py_None;
10623 return resultobj;
10624 fail:
10625 return NULL;
10626}
10627
10628
10629static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10630 PyObject *resultobj;
10631 wxGrid *arg1 = (wxGrid *) 0 ;
10632 wxColour *arg2 = 0 ;
10633 wxColour temp2 ;
10634 PyObject * obj0 = 0 ;
10635 PyObject * obj1 = 0 ;
10636 char *kwnames[] = {
10637 (char *) "self","arg2", NULL
10638 };
10639
10640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10643 {
10644 arg2 = &temp2;
10645 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10646 }
10647 {
10648 PyThreadState* __tstate = wxPyBeginAllowThreads();
10649 (arg1)->SetLabelTextColour((wxColour const &)*arg2);
10650
10651 wxPyEndAllowThreads(__tstate);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 }
10654 Py_INCREF(Py_None); resultobj = Py_None;
10655 return resultobj;
10656 fail:
10657 return NULL;
10658}
10659
10660
10661static PyObject *_wrap_Grid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10662 PyObject *resultobj;
10663 wxGrid *arg1 = (wxGrid *) 0 ;
10664 wxFont *arg2 = 0 ;
10665 PyObject * obj0 = 0 ;
10666 PyObject * obj1 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self","arg2", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10674 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
10675 SWIG_POINTER_EXCEPTION | 0)) == -1)
10676 SWIG_fail;
d14a1e28 10677 if (arg2 == NULL) {
15afbcd0
RD
10678 PyErr_SetString(PyExc_TypeError,"null reference");
10679 SWIG_fail;
d14a1e28
RD
10680 }
10681 {
10682 PyThreadState* __tstate = wxPyBeginAllowThreads();
10683 (arg1)->SetLabelFont((wxFont const &)*arg2);
10684
10685 wxPyEndAllowThreads(__tstate);
10686 if (PyErr_Occurred()) SWIG_fail;
10687 }
10688 Py_INCREF(Py_None); resultobj = Py_None;
10689 return resultobj;
10690 fail:
10691 return NULL;
10692}
10693
10694
10695static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10696 PyObject *resultobj;
10697 wxGrid *arg1 = (wxGrid *) 0 ;
10698 int arg2 ;
10699 int arg3 ;
10700 PyObject * obj0 = 0 ;
994141e6
RD
10701 PyObject * obj1 = 0 ;
10702 PyObject * obj2 = 0 ;
d14a1e28
RD
10703 char *kwnames[] = {
10704 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10705 };
10706
994141e6 10707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10710 arg2 = (int) SWIG_AsInt(obj1);
10711 if (PyErr_Occurred()) SWIG_fail;
10712 arg3 = (int) SWIG_AsInt(obj2);
10713 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10714 {
10715 PyThreadState* __tstate = wxPyBeginAllowThreads();
10716 (arg1)->SetRowLabelAlignment(arg2,arg3);
10717
10718 wxPyEndAllowThreads(__tstate);
10719 if (PyErr_Occurred()) SWIG_fail;
10720 }
10721 Py_INCREF(Py_None); resultobj = Py_None;
10722 return resultobj;
10723 fail:
10724 return NULL;
10725}
10726
10727
10728static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10729 PyObject *resultobj;
10730 wxGrid *arg1 = (wxGrid *) 0 ;
10731 int arg2 ;
10732 int arg3 ;
10733 PyObject * obj0 = 0 ;
994141e6
RD
10734 PyObject * obj1 = 0 ;
10735 PyObject * obj2 = 0 ;
d14a1e28
RD
10736 char *kwnames[] = {
10737 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10738 };
10739
994141e6 10740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10743 arg2 = (int) SWIG_AsInt(obj1);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 arg3 = (int) SWIG_AsInt(obj2);
10746 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10747 {
10748 PyThreadState* __tstate = wxPyBeginAllowThreads();
10749 (arg1)->SetColLabelAlignment(arg2,arg3);
10750
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 Py_INCREF(Py_None); resultobj = Py_None;
10755 return resultobj;
10756 fail:
10757 return NULL;
10758}
10759
10760
10761static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10762 PyObject *resultobj;
10763 wxGrid *arg1 = (wxGrid *) 0 ;
10764 int arg2 ;
10765 PyObject * obj0 = 0 ;
994141e6 10766 PyObject * obj1 = 0 ;
d14a1e28
RD
10767 char *kwnames[] = {
10768 (char *) "self",(char *) "textOrientation", NULL
10769 };
10770
994141e6 10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10774 arg2 = (int) SWIG_AsInt(obj1);
10775 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 (arg1)->SetColLabelTextOrientation(arg2);
10779
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 Py_INCREF(Py_None); resultobj = Py_None;
10784 return resultobj;
10785 fail:
10786 return NULL;
10787}
10788
10789
10790static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10791 PyObject *resultobj;
10792 wxGrid *arg1 = (wxGrid *) 0 ;
10793 int arg2 ;
10794 wxString *arg3 = 0 ;
e811c8ce 10795 bool temp3 = False ;
d14a1e28 10796 PyObject * obj0 = 0 ;
994141e6 10797 PyObject * obj1 = 0 ;
d14a1e28
RD
10798 PyObject * obj2 = 0 ;
10799 char *kwnames[] = {
10800 (char *) "self",(char *) "row","arg3", NULL
10801 };
10802
994141e6 10803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10806 arg2 = (int) SWIG_AsInt(obj1);
10807 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10808 {
10809 arg3 = wxString_in_helper(obj2);
10810 if (arg3 == NULL) SWIG_fail;
e811c8ce 10811 temp3 = True;
d14a1e28
RD
10812 }
10813 {
10814 PyThreadState* __tstate = wxPyBeginAllowThreads();
10815 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
10816
10817 wxPyEndAllowThreads(__tstate);
10818 if (PyErr_Occurred()) SWIG_fail;
10819 }
10820 Py_INCREF(Py_None); resultobj = Py_None;
10821 {
10822 if (temp3)
10823 delete arg3;
10824 }
10825 return resultobj;
10826 fail:
10827 {
10828 if (temp3)
10829 delete arg3;
10830 }
10831 return NULL;
10832}
10833
10834
10835static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10836 PyObject *resultobj;
10837 wxGrid *arg1 = (wxGrid *) 0 ;
10838 int arg2 ;
10839 wxString *arg3 = 0 ;
e811c8ce 10840 bool temp3 = False ;
d14a1e28 10841 PyObject * obj0 = 0 ;
994141e6 10842 PyObject * obj1 = 0 ;
d14a1e28
RD
10843 PyObject * obj2 = 0 ;
10844 char *kwnames[] = {
10845 (char *) "self",(char *) "col","arg3", NULL
10846 };
10847
994141e6 10848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10851 arg2 = (int) SWIG_AsInt(obj1);
10852 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10853 {
10854 arg3 = wxString_in_helper(obj2);
10855 if (arg3 == NULL) SWIG_fail;
e811c8ce 10856 temp3 = True;
d14a1e28
RD
10857 }
10858 {
10859 PyThreadState* __tstate = wxPyBeginAllowThreads();
10860 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
10861
10862 wxPyEndAllowThreads(__tstate);
10863 if (PyErr_Occurred()) SWIG_fail;
10864 }
10865 Py_INCREF(Py_None); resultobj = Py_None;
10866 {
10867 if (temp3)
10868 delete arg3;
10869 }
10870 return resultobj;
10871 fail:
10872 {
10873 if (temp3)
10874 delete arg3;
10875 }
10876 return NULL;
10877}
10878
10879
10880static PyObject *_wrap_Grid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10881 PyObject *resultobj;
10882 wxGrid *arg1 = (wxGrid *) 0 ;
10883 wxColour *arg2 = 0 ;
10884 wxColour temp2 ;
10885 PyObject * obj0 = 0 ;
10886 PyObject * obj1 = 0 ;
10887 char *kwnames[] = {
10888 (char *) "self","arg2", NULL
10889 };
10890
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetGridLineColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10894 {
10895 arg2 = &temp2;
10896 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10897 }
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 (arg1)->SetGridLineColour((wxColour const &)*arg2);
10901
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
10905 Py_INCREF(Py_None); resultobj = Py_None;
10906 return resultobj;
10907 fail:
10908 return NULL;
10909}
10910
10911
10912static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10913 PyObject *resultobj;
10914 wxGrid *arg1 = (wxGrid *) 0 ;
10915 wxColour *arg2 = 0 ;
10916 wxColour temp2 ;
10917 PyObject * obj0 = 0 ;
10918 PyObject * obj1 = 0 ;
10919 char *kwnames[] = {
10920 (char *) "self","arg2", NULL
10921 };
10922
10923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10926 {
10927 arg2 = &temp2;
10928 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10929 }
10930 {
10931 PyThreadState* __tstate = wxPyBeginAllowThreads();
10932 (arg1)->SetCellHighlightColour((wxColour const &)*arg2);
10933
10934 wxPyEndAllowThreads(__tstate);
10935 if (PyErr_Occurred()) SWIG_fail;
10936 }
10937 Py_INCREF(Py_None); resultobj = Py_None;
10938 return resultobj;
10939 fail:
10940 return NULL;
10941}
10942
10943
10944static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10945 PyObject *resultobj;
10946 wxGrid *arg1 = (wxGrid *) 0 ;
10947 int arg2 ;
10948 PyObject * obj0 = 0 ;
994141e6 10949 PyObject * obj1 = 0 ;
d14a1e28
RD
10950 char *kwnames[] = {
10951 (char *) "self",(char *) "width", NULL
10952 };
10953
994141e6 10954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10957 arg2 = (int) SWIG_AsInt(obj1);
10958 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10959 {
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 (arg1)->SetCellHighlightPenWidth(arg2);
10962
10963 wxPyEndAllowThreads(__tstate);
10964 if (PyErr_Occurred()) SWIG_fail;
10965 }
10966 Py_INCREF(Py_None); resultobj = Py_None;
10967 return resultobj;
10968 fail:
10969 return NULL;
10970}
10971
10972
10973static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10974 PyObject *resultobj;
10975 wxGrid *arg1 = (wxGrid *) 0 ;
10976 int arg2 ;
10977 PyObject * obj0 = 0 ;
994141e6 10978 PyObject * obj1 = 0 ;
d14a1e28
RD
10979 char *kwnames[] = {
10980 (char *) "self",(char *) "width", NULL
10981 };
10982
994141e6 10983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10986 arg2 = (int) SWIG_AsInt(obj1);
10987 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10988 {
10989 PyThreadState* __tstate = wxPyBeginAllowThreads();
10990 (arg1)->SetCellHighlightROPenWidth(arg2);
10991
10992 wxPyEndAllowThreads(__tstate);
10993 if (PyErr_Occurred()) SWIG_fail;
10994 }
10995 Py_INCREF(Py_None); resultobj = Py_None;
10996 return resultobj;
10997 fail:
10998 return NULL;
10999}
11000
11001
11002static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11003 PyObject *resultobj;
11004 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 11005 bool arg2 = (bool) True ;
d14a1e28
RD
11006 PyObject * obj0 = 0 ;
11007 PyObject * obj1 = 0 ;
11008 char *kwnames[] = {
11009 (char *) "self",(char *) "enable", NULL
11010 };
11011
11012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragRowSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11015 if (obj1) {
15afbcd0
RD
11016 arg2 = (bool) SWIG_AsBool(obj1);
11017 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11018 }
11019 {
11020 PyThreadState* __tstate = wxPyBeginAllowThreads();
11021 (arg1)->EnableDragRowSize(arg2);
11022
11023 wxPyEndAllowThreads(__tstate);
11024 if (PyErr_Occurred()) SWIG_fail;
11025 }
11026 Py_INCREF(Py_None); resultobj = Py_None;
11027 return resultobj;
11028 fail:
11029 return NULL;
11030}
11031
11032
11033static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11034 PyObject *resultobj;
11035 wxGrid *arg1 = (wxGrid *) 0 ;
11036 PyObject * obj0 = 0 ;
11037 char *kwnames[] = {
11038 (char *) "self", NULL
11039 };
11040
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragRowSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11044 {
11045 PyThreadState* __tstate = wxPyBeginAllowThreads();
11046 (arg1)->DisableDragRowSize();
11047
11048 wxPyEndAllowThreads(__tstate);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 }
11051 Py_INCREF(Py_None); resultobj = Py_None;
11052 return resultobj;
11053 fail:
11054 return NULL;
11055}
11056
11057
11058static PyObject *_wrap_Grid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11059 PyObject *resultobj;
11060 wxGrid *arg1 = (wxGrid *) 0 ;
11061 bool result;
11062 PyObject * obj0 = 0 ;
11063 char *kwnames[] = {
11064 (char *) "self", NULL
11065 };
11066
11067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragRowSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11070 {
11071 PyThreadState* __tstate = wxPyBeginAllowThreads();
11072 result = (bool)(arg1)->CanDragRowSize();
11073
11074 wxPyEndAllowThreads(__tstate);
11075 if (PyErr_Occurred()) SWIG_fail;
11076 }
4f89f6a3
RD
11077 {
11078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11079 }
d14a1e28
RD
11080 return resultobj;
11081 fail:
11082 return NULL;
11083}
11084
11085
11086static PyObject *_wrap_Grid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11087 PyObject *resultobj;
11088 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 11089 bool arg2 = (bool) True ;
d14a1e28
RD
11090 PyObject * obj0 = 0 ;
11091 PyObject * obj1 = 0 ;
11092 char *kwnames[] = {
11093 (char *) "self",(char *) "enable", NULL
11094 };
11095
11096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragColSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11099 if (obj1) {
15afbcd0
RD
11100 arg2 = (bool) SWIG_AsBool(obj1);
11101 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11102 }
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 (arg1)->EnableDragColSize(arg2);
11106
11107 wxPyEndAllowThreads(__tstate);
11108 if (PyErr_Occurred()) SWIG_fail;
11109 }
11110 Py_INCREF(Py_None); resultobj = Py_None;
11111 return resultobj;
11112 fail:
11113 return NULL;
11114}
11115
11116
11117static PyObject *_wrap_Grid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11118 PyObject *resultobj;
11119 wxGrid *arg1 = (wxGrid *) 0 ;
11120 PyObject * obj0 = 0 ;
11121 char *kwnames[] = {
11122 (char *) "self", NULL
11123 };
11124
11125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragColSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11128 {
11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
11130 (arg1)->DisableDragColSize();
11131
11132 wxPyEndAllowThreads(__tstate);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 }
11135 Py_INCREF(Py_None); resultobj = Py_None;
11136 return resultobj;
11137 fail:
11138 return NULL;
11139}
11140
11141
11142static PyObject *_wrap_Grid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11143 PyObject *resultobj;
11144 wxGrid *arg1 = (wxGrid *) 0 ;
11145 bool result;
11146 PyObject * obj0 = 0 ;
11147 char *kwnames[] = {
11148 (char *) "self", NULL
11149 };
11150
11151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragColSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11154 {
11155 PyThreadState* __tstate = wxPyBeginAllowThreads();
11156 result = (bool)(arg1)->CanDragColSize();
11157
11158 wxPyEndAllowThreads(__tstate);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
4f89f6a3
RD
11161 {
11162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11163 }
d14a1e28
RD
11164 return resultobj;
11165 fail:
11166 return NULL;
11167}
11168
11169
11170static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11171 PyObject *resultobj;
11172 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 11173 bool arg2 = (bool) True ;
d14a1e28
RD
11174 PyObject * obj0 = 0 ;
11175 PyObject * obj1 = 0 ;
11176 char *kwnames[] = {
11177 (char *) "self",(char *) "enable", NULL
11178 };
11179
11180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragGridSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11183 if (obj1) {
15afbcd0
RD
11184 arg2 = (bool) SWIG_AsBool(obj1);
11185 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11186 }
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 (arg1)->EnableDragGridSize(arg2);
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
11194 Py_INCREF(Py_None); resultobj = Py_None;
11195 return resultobj;
11196 fail:
11197 return NULL;
11198}
11199
11200
11201static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11202 PyObject *resultobj;
11203 wxGrid *arg1 = (wxGrid *) 0 ;
11204 PyObject * obj0 = 0 ;
11205 char *kwnames[] = {
11206 (char *) "self", NULL
11207 };
11208
11209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragGridSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11212 {
11213 PyThreadState* __tstate = wxPyBeginAllowThreads();
11214 (arg1)->DisableDragGridSize();
11215
11216 wxPyEndAllowThreads(__tstate);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
11219 Py_INCREF(Py_None); resultobj = Py_None;
11220 return resultobj;
11221 fail:
11222 return NULL;
11223}
11224
11225
11226static PyObject *_wrap_Grid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11227 PyObject *resultobj;
11228 wxGrid *arg1 = (wxGrid *) 0 ;
11229 bool result;
11230 PyObject * obj0 = 0 ;
11231 char *kwnames[] = {
11232 (char *) "self", NULL
11233 };
11234
11235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragGridSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 result = (bool)(arg1)->CanDragGridSize();
11241
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
4f89f6a3
RD
11245 {
11246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11247 }
d14a1e28
RD
11248 return resultobj;
11249 fail:
11250 return NULL;
11251}
11252
11253
4cf4100f
RD
11254static PyObject *_wrap_Grid_EnableDragCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11255 PyObject *resultobj;
11256 wxGrid *arg1 = (wxGrid *) 0 ;
11257 bool arg2 = (bool) True ;
11258 PyObject * obj0 = 0 ;
11259 PyObject * obj1 = 0 ;
11260 char *kwnames[] = {
11261 (char *) "self",(char *) "enable", NULL
11262 };
11263
11264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragCell",kwnames,&obj0,&obj1)) goto fail;
11265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11267 if (obj1) {
11268 arg2 = (bool) SWIG_AsBool(obj1);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 }
11271 {
11272 PyThreadState* __tstate = wxPyBeginAllowThreads();
11273 (arg1)->EnableDragCell(arg2);
11274
11275 wxPyEndAllowThreads(__tstate);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
11278 Py_INCREF(Py_None); resultobj = Py_None;
11279 return resultobj;
11280 fail:
11281 return NULL;
11282}
11283
11284
11285static PyObject *_wrap_Grid_DisableDragCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11286 PyObject *resultobj;
11287 wxGrid *arg1 = (wxGrid *) 0 ;
11288 PyObject * obj0 = 0 ;
11289 char *kwnames[] = {
11290 (char *) "self", NULL
11291 };
11292
11293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragCell",kwnames,&obj0)) goto fail;
11294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11296 {
11297 PyThreadState* __tstate = wxPyBeginAllowThreads();
11298 (arg1)->DisableDragCell();
11299
11300 wxPyEndAllowThreads(__tstate);
11301 if (PyErr_Occurred()) SWIG_fail;
11302 }
11303 Py_INCREF(Py_None); resultobj = Py_None;
11304 return resultobj;
11305 fail:
11306 return NULL;
11307}
11308
11309
11310static PyObject *_wrap_Grid_CanDragCell(PyObject *self, PyObject *args, PyObject *kwargs) {
11311 PyObject *resultobj;
11312 wxGrid *arg1 = (wxGrid *) 0 ;
11313 bool result;
11314 PyObject * obj0 = 0 ;
11315 char *kwnames[] = {
11316 (char *) "self", NULL
11317 };
11318
11319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragCell",kwnames,&obj0)) goto fail;
11320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11322 {
11323 PyThreadState* __tstate = wxPyBeginAllowThreads();
11324 result = (bool)(arg1)->CanDragCell();
11325
11326 wxPyEndAllowThreads(__tstate);
11327 if (PyErr_Occurred()) SWIG_fail;
11328 }
11329 {
11330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11331 }
11332 return resultobj;
11333 fail:
11334 return NULL;
11335}
11336
11337
d14a1e28
RD
11338static PyObject *_wrap_Grid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11339 PyObject *resultobj;
11340 wxGrid *arg1 = (wxGrid *) 0 ;
11341 int arg2 ;
11342 int arg3 ;
11343 wxGridCellAttr *arg4 = (wxGridCellAttr *) 0 ;
11344 PyObject * obj0 = 0 ;
994141e6
RD
11345 PyObject * obj1 = 0 ;
11346 PyObject * obj2 = 0 ;
d14a1e28
RD
11347 PyObject * obj3 = 0 ;
11348 char *kwnames[] = {
11349 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11350 };
11351
994141e6 11352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11355 arg2 = (int) SWIG_AsInt(obj1);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 arg3 = (int) SWIG_AsInt(obj2);
11358 if (PyErr_Occurred()) SWIG_fail;
11359 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellAttr,
11360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11361 {
11362 PyThreadState* __tstate = wxPyBeginAllowThreads();
11363 (arg1)->SetAttr(arg2,arg3,arg4);
11364
11365 wxPyEndAllowThreads(__tstate);
11366 if (PyErr_Occurred()) SWIG_fail;
11367 }
11368 Py_INCREF(Py_None); resultobj = Py_None;
11369 return resultobj;
11370 fail:
11371 return NULL;
11372}
11373
11374
11375static PyObject *_wrap_Grid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11376 PyObject *resultobj;
11377 wxGrid *arg1 = (wxGrid *) 0 ;
11378 int arg2 ;
11379 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11380 PyObject * obj0 = 0 ;
994141e6 11381 PyObject * obj1 = 0 ;
d14a1e28
RD
11382 PyObject * obj2 = 0 ;
11383 char *kwnames[] = {
11384 (char *) "self",(char *) "row",(char *) "attr", NULL
11385 };
11386
994141e6 11387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11390 arg2 = (int) SWIG_AsInt(obj1);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11394 {
11395 PyThreadState* __tstate = wxPyBeginAllowThreads();
11396 (arg1)->SetRowAttr(arg2,arg3);
11397
11398 wxPyEndAllowThreads(__tstate);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 }
11401 Py_INCREF(Py_None); resultobj = Py_None;
11402 return resultobj;
11403 fail:
11404 return NULL;
11405}
11406
11407
11408static PyObject *_wrap_Grid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11409 PyObject *resultobj;
11410 wxGrid *arg1 = (wxGrid *) 0 ;
11411 int arg2 ;
11412 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11413 PyObject * obj0 = 0 ;
994141e6 11414 PyObject * obj1 = 0 ;
d14a1e28
RD
11415 PyObject * obj2 = 0 ;
11416 char *kwnames[] = {
11417 (char *) "self",(char *) "col",(char *) "attr", NULL
11418 };
11419
994141e6 11420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11423 arg2 = (int) SWIG_AsInt(obj1);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11427 {
11428 PyThreadState* __tstate = wxPyBeginAllowThreads();
11429 (arg1)->SetColAttr(arg2,arg3);
11430
11431 wxPyEndAllowThreads(__tstate);
11432 if (PyErr_Occurred()) SWIG_fail;
11433 }
11434 Py_INCREF(Py_None); resultobj = Py_None;
11435 return resultobj;
11436 fail:
11437 return NULL;
11438}
11439
11440
023a034e
RD
11441static PyObject *_wrap_Grid_GetOrCreateCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11442 PyObject *resultobj;
11443 wxGrid *arg1 = (wxGrid *) 0 ;
11444 int arg2 ;
11445 int arg3 ;
11446 wxGridCellAttr *result;
11447 PyObject * obj0 = 0 ;
11448 PyObject * obj1 = 0 ;
11449 PyObject * obj2 = 0 ;
11450 char *kwnames[] = {
11451 (char *) "self",(char *) "row",(char *) "col", NULL
11452 };
11453
11454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
11455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11457 arg2 = (int) SWIG_AsInt(obj1);
11458 if (PyErr_Occurred()) SWIG_fail;
11459 arg3 = (int) SWIG_AsInt(obj2);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 {
11462 PyThreadState* __tstate = wxPyBeginAllowThreads();
11463 result = (wxGridCellAttr *)((wxGrid const *)arg1)->GetOrCreateCellAttr(arg2,arg3);
11464
11465 wxPyEndAllowThreads(__tstate);
11466 if (PyErr_Occurred()) SWIG_fail;
11467 }
11468 {
11469 resultobj = wxPyMake_wxGridCellAttr(result, 0);
11470 }
11471 return resultobj;
11472 fail:
11473 return NULL;
11474}
11475
11476
d14a1e28
RD
11477static PyObject *_wrap_Grid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj;
11479 wxGrid *arg1 = (wxGrid *) 0 ;
11480 int arg2 ;
11481 PyObject * obj0 = 0 ;
994141e6 11482 PyObject * obj1 = 0 ;
d14a1e28
RD
11483 char *kwnames[] = {
11484 (char *) "self",(char *) "col", NULL
11485 };
11486
994141e6 11487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatBool",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11490 arg2 = (int) SWIG_AsInt(obj1);
11491 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11492 {
11493 PyThreadState* __tstate = wxPyBeginAllowThreads();
11494 (arg1)->SetColFormatBool(arg2);
11495
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 Py_INCREF(Py_None); resultobj = Py_None;
11500 return resultobj;
11501 fail:
11502 return NULL;
11503}
11504
11505
11506static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
11507 PyObject *resultobj;
11508 wxGrid *arg1 = (wxGrid *) 0 ;
11509 int arg2 ;
11510 PyObject * obj0 = 0 ;
994141e6 11511 PyObject * obj1 = 0 ;
d14a1e28
RD
11512 char *kwnames[] = {
11513 (char *) "self",(char *) "col", NULL
11514 };
11515
994141e6 11516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatNumber",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11519 arg2 = (int) SWIG_AsInt(obj1);
11520 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11521 {
11522 PyThreadState* __tstate = wxPyBeginAllowThreads();
11523 (arg1)->SetColFormatNumber(arg2);
11524
11525 wxPyEndAllowThreads(__tstate);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 }
11528 Py_INCREF(Py_None); resultobj = Py_None;
11529 return resultobj;
11530 fail:
11531 return NULL;
11532}
11533
11534
11535static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
11536 PyObject *resultobj;
11537 wxGrid *arg1 = (wxGrid *) 0 ;
11538 int arg2 ;
11539 int arg3 = (int) -1 ;
11540 int arg4 = (int) -1 ;
11541 PyObject * obj0 = 0 ;
994141e6
RD
11542 PyObject * obj1 = 0 ;
11543 PyObject * obj2 = 0 ;
11544 PyObject * obj3 = 0 ;
d14a1e28
RD
11545 char *kwnames[] = {
11546 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11547 };
11548
994141e6 11549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11552 arg2 = (int) SWIG_AsInt(obj1);
11553 if (PyErr_Occurred()) SWIG_fail;
994141e6 11554 if (obj2) {
15afbcd0
RD
11555 arg3 = (int) SWIG_AsInt(obj2);
11556 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11557 }
11558 if (obj3) {
15afbcd0
RD
11559 arg4 = (int) SWIG_AsInt(obj3);
11560 if (PyErr_Occurred()) SWIG_fail;
994141e6 11561 }
d14a1e28
RD
11562 {
11563 PyThreadState* __tstate = wxPyBeginAllowThreads();
11564 (arg1)->SetColFormatFloat(arg2,arg3,arg4);
11565
11566 wxPyEndAllowThreads(__tstate);
11567 if (PyErr_Occurred()) SWIG_fail;
11568 }
11569 Py_INCREF(Py_None); resultobj = Py_None;
11570 return resultobj;
11571 fail:
11572 return NULL;
11573}
11574
11575
11576static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
11577 PyObject *resultobj;
11578 wxGrid *arg1 = (wxGrid *) 0 ;
11579 int arg2 ;
11580 wxString *arg3 = 0 ;
e811c8ce 11581 bool temp3 = False ;
d14a1e28 11582 PyObject * obj0 = 0 ;
994141e6 11583 PyObject * obj1 = 0 ;
d14a1e28
RD
11584 PyObject * obj2 = 0 ;
11585 char *kwnames[] = {
11586 (char *) "self",(char *) "col",(char *) "typeName", NULL
11587 };
11588
994141e6 11589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColFormatCustom",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11592 arg2 = (int) SWIG_AsInt(obj1);
11593 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11594 {
11595 arg3 = wxString_in_helper(obj2);
11596 if (arg3 == NULL) SWIG_fail;
e811c8ce 11597 temp3 = True;
d14a1e28
RD
11598 }
11599 {
11600 PyThreadState* __tstate = wxPyBeginAllowThreads();
11601 (arg1)->SetColFormatCustom(arg2,(wxString const &)*arg3);
11602
11603 wxPyEndAllowThreads(__tstate);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 Py_INCREF(Py_None); resultobj = Py_None;
11607 {
11608 if (temp3)
11609 delete arg3;
11610 }
11611 return resultobj;
11612 fail:
11613 {
11614 if (temp3)
11615 delete arg3;
11616 }
11617 return NULL;
11618}
11619
11620
11621static PyObject *_wrap_Grid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
11622 PyObject *resultobj;
11623 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 11624 bool arg2 = (bool) True ;
d14a1e28
RD
11625 PyObject * obj0 = 0 ;
11626 PyObject * obj1 = 0 ;
11627 char *kwnames[] = {
11628 (char *) "self",(char *) "enable", NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableGridLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11634 if (obj1) {
15afbcd0
RD
11635 arg2 = (bool) SWIG_AsBool(obj1);
11636 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11637 }
11638 {
11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
11640 (arg1)->EnableGridLines(arg2);
11641
11642 wxPyEndAllowThreads(__tstate);
11643 if (PyErr_Occurred()) SWIG_fail;
11644 }
11645 Py_INCREF(Py_None); resultobj = Py_None;
11646 return resultobj;
11647 fail:
11648 return NULL;
11649}
11650
11651
11652static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11653 PyObject *resultobj;
11654 wxGrid *arg1 = (wxGrid *) 0 ;
11655 bool result;
11656 PyObject * obj0 = 0 ;
11657 char *kwnames[] = {
11658 (char *) "self", NULL
11659 };
11660
11661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GridLinesEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
11662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11664 {
11665 PyThreadState* __tstate = wxPyBeginAllowThreads();
11666 result = (bool)(arg1)->GridLinesEnabled();
11667
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
4f89f6a3
RD
11671 {
11672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11673 }
d14a1e28
RD
11674 return resultobj;
11675 fail:
11676 return NULL;
11677}
11678
11679
11680static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11681 PyObject *resultobj;
11682 wxGrid *arg1 = (wxGrid *) 0 ;
11683 int result;
11684 PyObject * obj0 = 0 ;
11685 char *kwnames[] = {
11686 (char *) "self", NULL
11687 };
11688
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 result = (int)(arg1)->GetDefaultRowSize();
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 }
15afbcd0 11699 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11700 return resultobj;
11701 fail:
11702 return NULL;
11703}
11704
11705
11706static PyObject *_wrap_Grid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11707 PyObject *resultobj;
11708 wxGrid *arg1 = (wxGrid *) 0 ;
11709 int arg2 ;
11710 int result;
11711 PyObject * obj0 = 0 ;
994141e6 11712 PyObject * obj1 = 0 ;
d14a1e28
RD
11713 char *kwnames[] = {
11714 (char *) "self",(char *) "row", NULL
11715 };
11716
994141e6 11717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11720 arg2 = (int) SWIG_AsInt(obj1);
11721 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11722 {
11723 PyThreadState* __tstate = wxPyBeginAllowThreads();
11724 result = (int)(arg1)->GetRowSize(arg2);
11725
11726 wxPyEndAllowThreads(__tstate);
11727 if (PyErr_Occurred()) SWIG_fail;
11728 }
15afbcd0 11729 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11730 return resultobj;
11731 fail:
11732 return NULL;
11733}
11734
11735
11736static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11737 PyObject *resultobj;
11738 wxGrid *arg1 = (wxGrid *) 0 ;
11739 int result;
11740 PyObject * obj0 = 0 ;
11741 char *kwnames[] = {
11742 (char *) "self", NULL
11743 };
11744
11745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
11746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11748 {
11749 PyThreadState* __tstate = wxPyBeginAllowThreads();
11750 result = (int)(arg1)->GetDefaultColSize();
11751
11752 wxPyEndAllowThreads(__tstate);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
15afbcd0 11755 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11756 return resultobj;
11757 fail:
11758 return NULL;
11759}
11760
11761
11762static PyObject *_wrap_Grid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11763 PyObject *resultobj;
11764 wxGrid *arg1 = (wxGrid *) 0 ;
11765 int arg2 ;
11766 int result;
11767 PyObject * obj0 = 0 ;
994141e6 11768 PyObject * obj1 = 0 ;
d14a1e28
RD
11769 char *kwnames[] = {
11770 (char *) "self",(char *) "col", NULL
11771 };
11772
994141e6 11773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11776 arg2 = (int) SWIG_AsInt(obj1);
11777 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11778 {
11779 PyThreadState* __tstate = wxPyBeginAllowThreads();
11780 result = (int)(arg1)->GetColSize(arg2);
11781
11782 wxPyEndAllowThreads(__tstate);
11783 if (PyErr_Occurred()) SWIG_fail;
11784 }
15afbcd0 11785 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11786 return resultobj;
11787 fail:
11788 return NULL;
11789}
11790
11791
11792static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11793 PyObject *resultobj;
11794 wxGrid *arg1 = (wxGrid *) 0 ;
11795 wxColour result;
11796 PyObject * obj0 = 0 ;
11797 char *kwnames[] = {
11798 (char *) "self", NULL
11799 };
11800
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
11802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11804 {
11805 PyThreadState* __tstate = wxPyBeginAllowThreads();
11806 result = (arg1)->GetDefaultCellBackgroundColour();
11807
11808 wxPyEndAllowThreads(__tstate);
11809 if (PyErr_Occurred()) SWIG_fail;
11810 }
11811 {
11812 wxColour * resultptr;
11813 resultptr = new wxColour((wxColour &) result);
15afbcd0 11814 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11815 }
11816 return resultobj;
11817 fail:
11818 return NULL;
11819}
11820
11821
11822static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11823 PyObject *resultobj;
11824 wxGrid *arg1 = (wxGrid *) 0 ;
11825 int arg2 ;
11826 int arg3 ;
11827 wxColour result;
11828 PyObject * obj0 = 0 ;
994141e6
RD
11829 PyObject * obj1 = 0 ;
11830 PyObject * obj2 = 0 ;
d14a1e28
RD
11831 char *kwnames[] = {
11832 (char *) "self",(char *) "row",(char *) "col", NULL
11833 };
11834
994141e6 11835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11838 arg2 = (int) SWIG_AsInt(obj1);
11839 if (PyErr_Occurred()) SWIG_fail;
11840 arg3 = (int) SWIG_AsInt(obj2);
11841 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11842 {
11843 PyThreadState* __tstate = wxPyBeginAllowThreads();
11844 result = (arg1)->GetCellBackgroundColour(arg2,arg3);
11845
11846 wxPyEndAllowThreads(__tstate);
11847 if (PyErr_Occurred()) SWIG_fail;
11848 }
11849 {
11850 wxColour * resultptr;
11851 resultptr = new wxColour((wxColour &) result);
15afbcd0 11852 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11853 }
11854 return resultobj;
11855 fail:
11856 return NULL;
11857}
11858
11859
11860static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11861 PyObject *resultobj;
11862 wxGrid *arg1 = (wxGrid *) 0 ;
11863 wxColour result;
11864 PyObject * obj0 = 0 ;
11865 char *kwnames[] = {
11866 (char *) "self", NULL
11867 };
11868
11869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
11870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11872 {
11873 PyThreadState* __tstate = wxPyBeginAllowThreads();
11874 result = (arg1)->GetDefaultCellTextColour();
11875
11876 wxPyEndAllowThreads(__tstate);
11877 if (PyErr_Occurred()) SWIG_fail;
11878 }
11879 {
11880 wxColour * resultptr;
11881 resultptr = new wxColour((wxColour &) result);
15afbcd0 11882 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11883 }
11884 return resultobj;
11885 fail:
11886 return NULL;
11887}
11888
11889
11890static PyObject *_wrap_Grid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11891 PyObject *resultobj;
11892 wxGrid *arg1 = (wxGrid *) 0 ;
11893 int arg2 ;
11894 int arg3 ;
11895 wxColour result;
11896 PyObject * obj0 = 0 ;
994141e6
RD
11897 PyObject * obj1 = 0 ;
11898 PyObject * obj2 = 0 ;
d14a1e28
RD
11899 char *kwnames[] = {
11900 (char *) "self",(char *) "row",(char *) "col", NULL
11901 };
11902
994141e6 11903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11906 arg2 = (int) SWIG_AsInt(obj1);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 arg3 = (int) SWIG_AsInt(obj2);
11909 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11910 {
11911 PyThreadState* __tstate = wxPyBeginAllowThreads();
11912 result = (arg1)->GetCellTextColour(arg2,arg3);
11913
11914 wxPyEndAllowThreads(__tstate);
11915 if (PyErr_Occurred()) SWIG_fail;
11916 }
11917 {
11918 wxColour * resultptr;
11919 resultptr = new wxColour((wxColour &) result);
15afbcd0 11920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11921 }
11922 return resultobj;
11923 fail:
11924 return NULL;
11925}
11926
11927
11928static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11929 PyObject *resultobj;
11930 wxGrid *arg1 = (wxGrid *) 0 ;
11931 wxFont result;
11932 PyObject * obj0 = 0 ;
11933 char *kwnames[] = {
11934 (char *) "self", NULL
11935 };
11936
11937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
11938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11940 {
11941 PyThreadState* __tstate = wxPyBeginAllowThreads();
11942 result = (arg1)->GetDefaultCellFont();
11943
11944 wxPyEndAllowThreads(__tstate);
11945 if (PyErr_Occurred()) SWIG_fail;
11946 }
11947 {
11948 wxFont * resultptr;
11949 resultptr = new wxFont((wxFont &) result);
15afbcd0 11950 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
11951 }
11952 return resultobj;
11953 fail:
11954 return NULL;
11955}
11956
11957
11958static PyObject *_wrap_Grid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11959 PyObject *resultobj;
11960 wxGrid *arg1 = (wxGrid *) 0 ;
11961 int arg2 ;
11962 int arg3 ;
11963 wxFont result;
11964 PyObject * obj0 = 0 ;
994141e6
RD
11965 PyObject * obj1 = 0 ;
11966 PyObject * obj2 = 0 ;
d14a1e28
RD
11967 char *kwnames[] = {
11968 (char *) "self",(char *) "row",(char *) "col", NULL
11969 };
11970
994141e6 11971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11974 arg2 = (int) SWIG_AsInt(obj1);
11975 if (PyErr_Occurred()) SWIG_fail;
11976 arg3 = (int) SWIG_AsInt(obj2);
11977 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11978 {
11979 PyThreadState* __tstate = wxPyBeginAllowThreads();
11980 result = (arg1)->GetCellFont(arg2,arg3);
11981
11982 wxPyEndAllowThreads(__tstate);
11983 if (PyErr_Occurred()) SWIG_fail;
11984 }
11985 {
11986 wxFont * resultptr;
11987 resultptr = new wxFont((wxFont &) result);
15afbcd0 11988 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
11989 }
11990 return resultobj;
11991 fail:
11992 return NULL;
11993}
11994
11995
11996static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11997 PyObject *resultobj;
11998 wxGrid *arg1 = (wxGrid *) 0 ;
11999 int *arg2 = (int *) 0 ;
12000 int *arg3 = (int *) 0 ;
12001 int temp2 ;
12002 int temp3 ;
12003 PyObject * obj0 = 0 ;
12004 char *kwnames[] = {
12005 (char *) "self", NULL
12006 };
12007
12008 arg2 = &temp2;
12009 arg3 = &temp3;
12010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
12011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12013 {
12014 PyThreadState* __tstate = wxPyBeginAllowThreads();
12015 (arg1)->GetDefaultCellAlignment(arg2,arg3);
12016
12017 wxPyEndAllowThreads(__tstate);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 }
12020 Py_INCREF(Py_None); resultobj = Py_None;
12021 {
12022 PyObject *o = PyInt_FromLong((long) (*arg2));
12023 resultobj = t_output_helper(resultobj,o);
12024 }
12025 {
12026 PyObject *o = PyInt_FromLong((long) (*arg3));
12027 resultobj = t_output_helper(resultobj,o);
12028 }
12029 return resultobj;
12030 fail:
12031 return NULL;
12032}
12033
12034
12035static PyObject *_wrap_Grid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12036 PyObject *resultobj;
12037 wxGrid *arg1 = (wxGrid *) 0 ;
12038 int arg2 ;
12039 int arg3 ;
12040 int *arg4 = (int *) 0 ;
12041 int *arg5 = (int *) 0 ;
12042 int temp4 ;
12043 int temp5 ;
12044 PyObject * obj0 = 0 ;
994141e6
RD
12045 PyObject * obj1 = 0 ;
12046 PyObject * obj2 = 0 ;
d14a1e28
RD
12047 char *kwnames[] = {
12048 (char *) "self",(char *) "row",(char *) "col", NULL
12049 };
12050
12051 arg4 = &temp4;
12052 arg5 = &temp5;
994141e6 12053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12056 arg2 = (int) SWIG_AsInt(obj1);
12057 if (PyErr_Occurred()) SWIG_fail;
12058 arg3 = (int) SWIG_AsInt(obj2);
12059 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12060 {
12061 PyThreadState* __tstate = wxPyBeginAllowThreads();
12062 (arg1)->GetCellAlignment(arg2,arg3,arg4,arg5);
12063
12064 wxPyEndAllowThreads(__tstate);
12065 if (PyErr_Occurred()) SWIG_fail;
12066 }
12067 Py_INCREF(Py_None); resultobj = Py_None;
12068 {
12069 PyObject *o = PyInt_FromLong((long) (*arg4));
12070 resultobj = t_output_helper(resultobj,o);
12071 }
12072 {
12073 PyObject *o = PyInt_FromLong((long) (*arg5));
12074 resultobj = t_output_helper(resultobj,o);
12075 }
12076 return resultobj;
12077 fail:
12078 return NULL;
12079}
12080
12081
12082static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12083 PyObject *resultobj;
12084 wxGrid *arg1 = (wxGrid *) 0 ;
12085 bool result;
12086 PyObject * obj0 = 0 ;
12087 char *kwnames[] = {
12088 (char *) "self", NULL
12089 };
12090
12091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellOverflow",kwnames,&obj0)) goto fail;
15afbcd0
RD
12092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 result = (bool)(arg1)->GetDefaultCellOverflow();
12097
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
4f89f6a3
RD
12101 {
12102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12103 }
d14a1e28
RD
12104 return resultobj;
12105 fail:
12106 return NULL;
12107}
12108
12109
12110static PyObject *_wrap_Grid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12111 PyObject *resultobj;
12112 wxGrid *arg1 = (wxGrid *) 0 ;
12113 int arg2 ;
12114 int arg3 ;
12115 bool result;
12116 PyObject * obj0 = 0 ;
994141e6
RD
12117 PyObject * obj1 = 0 ;
12118 PyObject * obj2 = 0 ;
d14a1e28
RD
12119 char *kwnames[] = {
12120 (char *) "self",(char *) "row",(char *) "col", NULL
12121 };
12122
994141e6 12123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellOverflow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12126 arg2 = (int) SWIG_AsInt(obj1);
12127 if (PyErr_Occurred()) SWIG_fail;
12128 arg3 = (int) SWIG_AsInt(obj2);
12129 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12130 {
12131 PyThreadState* __tstate = wxPyBeginAllowThreads();
12132 result = (bool)(arg1)->GetCellOverflow(arg2,arg3);
12133
12134 wxPyEndAllowThreads(__tstate);
12135 if (PyErr_Occurred()) SWIG_fail;
12136 }
4f89f6a3
RD
12137 {
12138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12139 }
d14a1e28
RD
12140 return resultobj;
12141 fail:
12142 return NULL;
12143}
12144
12145
12146static PyObject *_wrap_Grid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12147 PyObject *resultobj;
12148 wxGrid *arg1 = (wxGrid *) 0 ;
12149 int arg2 ;
12150 int arg3 ;
12151 int *arg4 = (int *) 0 ;
12152 int *arg5 = (int *) 0 ;
12153 int temp4 ;
12154 int temp5 ;
12155 PyObject * obj0 = 0 ;
994141e6
RD
12156 PyObject * obj1 = 0 ;
12157 PyObject * obj2 = 0 ;
d14a1e28
RD
12158 char *kwnames[] = {
12159 (char *) "self",(char *) "row",(char *) "col", NULL
12160 };
12161
12162 arg4 = &temp4;
12163 arg5 = &temp5;
994141e6 12164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12167 arg2 = (int) SWIG_AsInt(obj1);
12168 if (PyErr_Occurred()) SWIG_fail;
12169 arg3 = (int) SWIG_AsInt(obj2);
12170 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12171 {
12172 PyThreadState* __tstate = wxPyBeginAllowThreads();
12173 (arg1)->GetCellSize(arg2,arg3,arg4,arg5);
12174
12175 wxPyEndAllowThreads(__tstate);
12176 if (PyErr_Occurred()) SWIG_fail;
12177 }
12178 Py_INCREF(Py_None); resultobj = Py_None;
12179 {
12180 PyObject *o = PyInt_FromLong((long) (*arg4));
12181 resultobj = t_output_helper(resultobj,o);
12182 }
12183 {
12184 PyObject *o = PyInt_FromLong((long) (*arg5));
12185 resultobj = t_output_helper(resultobj,o);
12186 }
12187 return resultobj;
12188 fail:
12189 return NULL;
12190}
12191
12192
12193static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12194 PyObject *resultobj;
12195 wxGrid *arg1 = (wxGrid *) 0 ;
12196 int arg2 ;
e811c8ce 12197 bool arg3 = (bool) False ;
d14a1e28 12198 PyObject * obj0 = 0 ;
994141e6 12199 PyObject * obj1 = 0 ;
d14a1e28
RD
12200 PyObject * obj2 = 0 ;
12201 char *kwnames[] = {
12202 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
12203 };
12204
994141e6 12205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12208 arg2 = (int) SWIG_AsInt(obj1);
12209 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12210 if (obj2) {
15afbcd0
RD
12211 arg3 = (bool) SWIG_AsBool(obj2);
12212 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12213 }
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 (arg1)->SetDefaultRowSize(arg2,arg3);
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 Py_INCREF(Py_None); resultobj = Py_None;
12222 return resultobj;
12223 fail:
12224 return NULL;
12225}
12226
12227
12228static PyObject *_wrap_Grid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12229 PyObject *resultobj;
12230 wxGrid *arg1 = (wxGrid *) 0 ;
12231 int arg2 ;
12232 int arg3 ;
12233 PyObject * obj0 = 0 ;
994141e6
RD
12234 PyObject * obj1 = 0 ;
12235 PyObject * obj2 = 0 ;
d14a1e28
RD
12236 char *kwnames[] = {
12237 (char *) "self",(char *) "row",(char *) "height", NULL
12238 };
12239
994141e6 12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12243 arg2 = (int) SWIG_AsInt(obj1);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 arg3 = (int) SWIG_AsInt(obj2);
12246 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 (arg1)->SetRowSize(arg2,arg3);
12250
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 Py_INCREF(Py_None); resultobj = Py_None;
12255 return resultobj;
12256 fail:
12257 return NULL;
12258}
12259
12260
12261static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12262 PyObject *resultobj;
12263 wxGrid *arg1 = (wxGrid *) 0 ;
12264 int arg2 ;
e811c8ce 12265 bool arg3 = (bool) False ;
d14a1e28 12266 PyObject * obj0 = 0 ;
994141e6 12267 PyObject * obj1 = 0 ;
d14a1e28
RD
12268 PyObject * obj2 = 0 ;
12269 char *kwnames[] = {
12270 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
12271 };
12272
994141e6 12273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12276 arg2 = (int) SWIG_AsInt(obj1);
12277 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12278 if (obj2) {
15afbcd0
RD
12279 arg3 = (bool) SWIG_AsBool(obj2);
12280 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12281 }
12282 {
12283 PyThreadState* __tstate = wxPyBeginAllowThreads();
12284 (arg1)->SetDefaultColSize(arg2,arg3);
12285
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 Py_INCREF(Py_None); resultobj = Py_None;
12290 return resultobj;
12291 fail:
12292 return NULL;
12293}
12294
12295
12296static PyObject *_wrap_Grid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12297 PyObject *resultobj;
12298 wxGrid *arg1 = (wxGrid *) 0 ;
12299 int arg2 ;
12300 int arg3 ;
12301 PyObject * obj0 = 0 ;
994141e6
RD
12302 PyObject * obj1 = 0 ;
12303 PyObject * obj2 = 0 ;
d14a1e28
RD
12304 char *kwnames[] = {
12305 (char *) "self",(char *) "col",(char *) "width", NULL
12306 };
12307
994141e6 12308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12311 arg2 = (int) SWIG_AsInt(obj1);
12312 if (PyErr_Occurred()) SWIG_fail;
12313 arg3 = (int) SWIG_AsInt(obj2);
12314 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12315 {
12316 PyThreadState* __tstate = wxPyBeginAllowThreads();
12317 (arg1)->SetColSize(arg2,arg3);
12318
12319 wxPyEndAllowThreads(__tstate);
12320 if (PyErr_Occurred()) SWIG_fail;
12321 }
12322 Py_INCREF(Py_None); resultobj = Py_None;
12323 return resultobj;
12324 fail:
12325 return NULL;
12326}
12327
12328
12329static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
12330 PyObject *resultobj;
12331 wxGrid *arg1 = (wxGrid *) 0 ;
12332 int arg2 ;
e811c8ce 12333 bool arg3 = (bool) True ;
d14a1e28 12334 PyObject * obj0 = 0 ;
994141e6 12335 PyObject * obj1 = 0 ;
d14a1e28
RD
12336 PyObject * obj2 = 0 ;
12337 char *kwnames[] = {
12338 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
12339 };
12340
994141e6 12341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12344 arg2 = (int) SWIG_AsInt(obj1);
12345 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12346 if (obj2) {
15afbcd0
RD
12347 arg3 = (bool) SWIG_AsBool(obj2);
12348 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12349 }
12350 {
12351 PyThreadState* __tstate = wxPyBeginAllowThreads();
12352 (arg1)->AutoSizeColumn(arg2,arg3);
12353
12354 wxPyEndAllowThreads(__tstate);
12355 if (PyErr_Occurred()) SWIG_fail;
12356 }
12357 Py_INCREF(Py_None); resultobj = Py_None;
12358 return resultobj;
12359 fail:
12360 return NULL;
12361}
12362
12363
12364static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12365 PyObject *resultobj;
12366 wxGrid *arg1 = (wxGrid *) 0 ;
12367 int arg2 ;
e811c8ce 12368 bool arg3 = (bool) True ;
d14a1e28 12369 PyObject * obj0 = 0 ;
994141e6 12370 PyObject * obj1 = 0 ;
d14a1e28
RD
12371 PyObject * obj2 = 0 ;
12372 char *kwnames[] = {
12373 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
12374 };
12375
994141e6 12376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12379 arg2 = (int) SWIG_AsInt(obj1);
12380 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12381 if (obj2) {
15afbcd0
RD
12382 arg3 = (bool) SWIG_AsBool(obj2);
12383 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12384 }
12385 {
12386 PyThreadState* __tstate = wxPyBeginAllowThreads();
12387 (arg1)->AutoSizeRow(arg2,arg3);
12388
12389 wxPyEndAllowThreads(__tstate);
12390 if (PyErr_Occurred()) SWIG_fail;
12391 }
12392 Py_INCREF(Py_None); resultobj = Py_None;
12393 return resultobj;
12394 fail:
12395 return NULL;
12396}
12397
12398
12399static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
12400 PyObject *resultobj;
12401 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 12402 bool arg2 = (bool) True ;
d14a1e28
RD
12403 PyObject * obj0 = 0 ;
12404 PyObject * obj1 = 0 ;
12405 char *kwnames[] = {
12406 (char *) "self",(char *) "setAsMin", NULL
12407 };
12408
12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeColumns",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12412 if (obj1) {
15afbcd0
RD
12413 arg2 = (bool) SWIG_AsBool(obj1);
12414 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12415 }
12416 {
12417 PyThreadState* __tstate = wxPyBeginAllowThreads();
12418 (arg1)->AutoSizeColumns(arg2);
12419
12420 wxPyEndAllowThreads(__tstate);
12421 if (PyErr_Occurred()) SWIG_fail;
12422 }
12423 Py_INCREF(Py_None); resultobj = Py_None;
12424 return resultobj;
12425 fail:
12426 return NULL;
12427}
12428
12429
12430static PyObject *_wrap_Grid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
12431 PyObject *resultobj;
12432 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 12433 bool arg2 = (bool) True ;
d14a1e28
RD
12434 PyObject * obj0 = 0 ;
12435 PyObject * obj1 = 0 ;
12436 char *kwnames[] = {
12437 (char *) "self",(char *) "setAsMin", NULL
12438 };
12439
12440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12443 if (obj1) {
15afbcd0
RD
12444 arg2 = (bool) SWIG_AsBool(obj1);
12445 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12446 }
12447 {
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 (arg1)->AutoSizeRows(arg2);
12450
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 Py_INCREF(Py_None); resultobj = Py_None;
12455 return resultobj;
12456 fail:
12457 return NULL;
12458}
12459
12460
12461static PyObject *_wrap_Grid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12462 PyObject *resultobj;
12463 wxGrid *arg1 = (wxGrid *) 0 ;
12464 PyObject * obj0 = 0 ;
12465 char *kwnames[] = {
12466 (char *) "self", NULL
12467 };
12468
12469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_AutoSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
12470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12472 {
12473 PyThreadState* __tstate = wxPyBeginAllowThreads();
12474 (arg1)->AutoSize();
12475
12476 wxPyEndAllowThreads(__tstate);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 }
12479 Py_INCREF(Py_None); resultobj = Py_None;
12480 return resultobj;
12481 fail:
12482 return NULL;
12483}
12484
12485
12486static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12487 PyObject *resultobj;
12488 wxGrid *arg1 = (wxGrid *) 0 ;
12489 int arg2 ;
12490 PyObject * obj0 = 0 ;
994141e6 12491 PyObject * obj1 = 0 ;
d14a1e28
RD
12492 char *kwnames[] = {
12493 (char *) "self",(char *) "row", NULL
12494 };
12495
994141e6 12496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12499 arg2 = (int) SWIG_AsInt(obj1);
12500 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 (arg1)->AutoSizeRowLabelSize(arg2);
12504
12505 wxPyEndAllowThreads(__tstate);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 Py_INCREF(Py_None); resultobj = Py_None;
12509 return resultobj;
12510 fail:
12511 return NULL;
12512}
12513
12514
12515static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12516 PyObject *resultobj;
12517 wxGrid *arg1 = (wxGrid *) 0 ;
12518 int arg2 ;
12519 PyObject * obj0 = 0 ;
994141e6 12520 PyObject * obj1 = 0 ;
d14a1e28
RD
12521 char *kwnames[] = {
12522 (char *) "self",(char *) "col", NULL
12523 };
12524
994141e6 12525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12528 arg2 = (int) SWIG_AsInt(obj1);
12529 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12530 {
12531 PyThreadState* __tstate = wxPyBeginAllowThreads();
12532 (arg1)->AutoSizeColLabelSize(arg2);
12533
12534 wxPyEndAllowThreads(__tstate);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 Py_INCREF(Py_None); resultobj = Py_None;
12538 return resultobj;
12539 fail:
12540 return NULL;
12541}
12542
12543
12544static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12545 PyObject *resultobj;
12546 wxGrid *arg1 = (wxGrid *) 0 ;
12547 int arg2 ;
12548 int arg3 ;
12549 PyObject * obj0 = 0 ;
994141e6
RD
12550 PyObject * obj1 = 0 ;
12551 PyObject * obj2 = 0 ;
d14a1e28
RD
12552 char *kwnames[] = {
12553 (char *) "self",(char *) "col",(char *) "width", NULL
12554 };
12555
994141e6 12556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColMinimalWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12559 arg2 = (int) SWIG_AsInt(obj1);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 arg3 = (int) SWIG_AsInt(obj2);
12562 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12563 {
12564 PyThreadState* __tstate = wxPyBeginAllowThreads();
12565 (arg1)->SetColMinimalWidth(arg2,arg3);
12566
12567 wxPyEndAllowThreads(__tstate);
12568 if (PyErr_Occurred()) SWIG_fail;
12569 }
12570 Py_INCREF(Py_None); resultobj = Py_None;
12571 return resultobj;
12572 fail:
12573 return NULL;
12574}
12575
12576
12577static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12578 PyObject *resultobj;
12579 wxGrid *arg1 = (wxGrid *) 0 ;
12580 int arg2 ;
12581 int arg3 ;
12582 PyObject * obj0 = 0 ;
994141e6
RD
12583 PyObject * obj1 = 0 ;
12584 PyObject * obj2 = 0 ;
d14a1e28
RD
12585 char *kwnames[] = {
12586 (char *) "self",(char *) "row",(char *) "width", NULL
12587 };
12588
994141e6 12589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12592 arg2 = (int) SWIG_AsInt(obj1);
12593 if (PyErr_Occurred()) SWIG_fail;
12594 arg3 = (int) SWIG_AsInt(obj2);
12595 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 (arg1)->SetRowMinimalHeight(arg2,arg3);
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 Py_INCREF(Py_None); resultobj = Py_None;
12604 return resultobj;
12605 fail:
12606 return NULL;
12607}
12608
12609
12610static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj;
12612 wxGrid *arg1 = (wxGrid *) 0 ;
12613 int arg2 ;
12614 PyObject * obj0 = 0 ;
994141e6 12615 PyObject * obj1 = 0 ;
d14a1e28
RD
12616 char *kwnames[] = {
12617 (char *) "self",(char *) "width", NULL
12618 };
12619
994141e6 12620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12623 arg2 = (int) SWIG_AsInt(obj1);
12624 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12625 {
12626 PyThreadState* __tstate = wxPyBeginAllowThreads();
12627 (arg1)->SetColMinimalAcceptableWidth(arg2);
12628
12629 wxPyEndAllowThreads(__tstate);
12630 if (PyErr_Occurred()) SWIG_fail;
12631 }
12632 Py_INCREF(Py_None); resultobj = Py_None;
12633 return resultobj;
12634 fail:
12635 return NULL;
12636}
12637
12638
12639static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12640 PyObject *resultobj;
12641 wxGrid *arg1 = (wxGrid *) 0 ;
12642 int arg2 ;
12643 PyObject * obj0 = 0 ;
994141e6 12644 PyObject * obj1 = 0 ;
d14a1e28
RD
12645 char *kwnames[] = {
12646 (char *) "self",(char *) "width", NULL
12647 };
12648
994141e6 12649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12652 arg2 = (int) SWIG_AsInt(obj1);
12653 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12654 {
12655 PyThreadState* __tstate = wxPyBeginAllowThreads();
12656 (arg1)->SetRowMinimalAcceptableHeight(arg2);
12657
12658 wxPyEndAllowThreads(__tstate);
12659 if (PyErr_Occurred()) SWIG_fail;
12660 }
12661 Py_INCREF(Py_None); resultobj = Py_None;
12662 return resultobj;
12663 fail:
12664 return NULL;
12665}
12666
12667
12668static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12669 PyObject *resultobj;
12670 wxGrid *arg1 = (wxGrid *) 0 ;
12671 int result;
12672 PyObject * obj0 = 0 ;
12673 char *kwnames[] = {
12674 (char *) "self", NULL
12675 };
12676
12677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
12678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12680 {
12681 PyThreadState* __tstate = wxPyBeginAllowThreads();
12682 result = (int)((wxGrid const *)arg1)->GetColMinimalAcceptableWidth();
12683
12684 wxPyEndAllowThreads(__tstate);
12685 if (PyErr_Occurred()) SWIG_fail;
12686 }
15afbcd0 12687 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12688 return resultobj;
12689 fail:
12690 return NULL;
12691}
12692
12693
12694static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12695 PyObject *resultobj;
12696 wxGrid *arg1 = (wxGrid *) 0 ;
12697 int result;
12698 PyObject * obj0 = 0 ;
12699 char *kwnames[] = {
12700 (char *) "self", NULL
12701 };
12702
12703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
12704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12706 {
12707 PyThreadState* __tstate = wxPyBeginAllowThreads();
12708 result = (int)((wxGrid const *)arg1)->GetRowMinimalAcceptableHeight();
12709
12710 wxPyEndAllowThreads(__tstate);
12711 if (PyErr_Occurred()) SWIG_fail;
12712 }
15afbcd0 12713 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12714 return resultobj;
12715 fail:
12716 return NULL;
12717}
12718
12719
12720static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12721 PyObject *resultobj;
12722 wxGrid *arg1 = (wxGrid *) 0 ;
12723 wxColour *arg2 = 0 ;
12724 wxColour temp2 ;
12725 PyObject * obj0 = 0 ;
12726 PyObject * obj1 = 0 ;
12727 char *kwnames[] = {
12728 (char *) "self","arg2", NULL
12729 };
12730
12731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12734 {
12735 arg2 = &temp2;
12736 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12737 }
12738 {
12739 PyThreadState* __tstate = wxPyBeginAllowThreads();
12740 (arg1)->SetDefaultCellBackgroundColour((wxColour const &)*arg2);
12741
12742 wxPyEndAllowThreads(__tstate);
12743 if (PyErr_Occurred()) SWIG_fail;
12744 }
12745 Py_INCREF(Py_None); resultobj = Py_None;
12746 return resultobj;
12747 fail:
12748 return NULL;
12749}
12750
12751
12752static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12753 PyObject *resultobj;
12754 wxGrid *arg1 = (wxGrid *) 0 ;
12755 int arg2 ;
12756 int arg3 ;
12757 wxColour *arg4 = 0 ;
12758 wxColour temp4 ;
12759 PyObject * obj0 = 0 ;
994141e6
RD
12760 PyObject * obj1 = 0 ;
12761 PyObject * obj2 = 0 ;
d14a1e28
RD
12762 PyObject * obj3 = 0 ;
12763 char *kwnames[] = {
12764 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12765 };
12766
994141e6 12767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12770 arg2 = (int) SWIG_AsInt(obj1);
12771 if (PyErr_Occurred()) SWIG_fail;
12772 arg3 = (int) SWIG_AsInt(obj2);
12773 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12774 {
12775 arg4 = &temp4;
12776 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12777 }
12778 {
12779 PyThreadState* __tstate = wxPyBeginAllowThreads();
12780 (arg1)->SetCellBackgroundColour(arg2,arg3,(wxColour const &)*arg4);
12781
12782 wxPyEndAllowThreads(__tstate);
12783 if (PyErr_Occurred()) SWIG_fail;
12784 }
12785 Py_INCREF(Py_None); resultobj = Py_None;
12786 return resultobj;
12787 fail:
12788 return NULL;
12789}
12790
12791
12792static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12793 PyObject *resultobj;
12794 wxGrid *arg1 = (wxGrid *) 0 ;
12795 wxColour *arg2 = 0 ;
12796 wxColour temp2 ;
12797 PyObject * obj0 = 0 ;
12798 PyObject * obj1 = 0 ;
12799 char *kwnames[] = {
12800 (char *) "self","arg2", NULL
12801 };
12802
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12806 {
12807 arg2 = &temp2;
12808 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12809 }
12810 {
12811 PyThreadState* __tstate = wxPyBeginAllowThreads();
12812 (arg1)->SetDefaultCellTextColour((wxColour const &)*arg2);
12813
12814 wxPyEndAllowThreads(__tstate);
12815 if (PyErr_Occurred()) SWIG_fail;
12816 }
12817 Py_INCREF(Py_None); resultobj = Py_None;
12818 return resultobj;
12819 fail:
12820 return NULL;
12821}
12822
12823
12824static PyObject *_wrap_Grid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12825 PyObject *resultobj;
12826 wxGrid *arg1 = (wxGrid *) 0 ;
12827 int arg2 ;
12828 int arg3 ;
12829 wxColour *arg4 = 0 ;
12830 wxColour temp4 ;
12831 PyObject * obj0 = 0 ;
994141e6
RD
12832 PyObject * obj1 = 0 ;
12833 PyObject * obj2 = 0 ;
d14a1e28
RD
12834 PyObject * obj3 = 0 ;
12835 char *kwnames[] = {
12836 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12837 };
12838
994141e6 12839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellTextColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12842 arg2 = (int) SWIG_AsInt(obj1);
12843 if (PyErr_Occurred()) SWIG_fail;
12844 arg3 = (int) SWIG_AsInt(obj2);
12845 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12846 {
12847 arg4 = &temp4;
12848 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12849 }
12850 {
12851 PyThreadState* __tstate = wxPyBeginAllowThreads();
12852 (arg1)->SetCellTextColour(arg2,arg3,(wxColour const &)*arg4);
12853
12854 wxPyEndAllowThreads(__tstate);
12855 if (PyErr_Occurred()) SWIG_fail;
12856 }
12857 Py_INCREF(Py_None); resultobj = Py_None;
12858 return resultobj;
12859 fail:
12860 return NULL;
12861}
12862
12863
12864static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12865 PyObject *resultobj;
12866 wxGrid *arg1 = (wxGrid *) 0 ;
12867 wxFont *arg2 = 0 ;
12868 PyObject * obj0 = 0 ;
12869 PyObject * obj1 = 0 ;
12870 char *kwnames[] = {
12871 (char *) "self","arg2", NULL
12872 };
12873
12874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12878 SWIG_POINTER_EXCEPTION | 0)) == -1)
12879 SWIG_fail;
d14a1e28 12880 if (arg2 == NULL) {
15afbcd0
RD
12881 PyErr_SetString(PyExc_TypeError,"null reference");
12882 SWIG_fail;
d14a1e28
RD
12883 }
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 (arg1)->SetDefaultCellFont((wxFont const &)*arg2);
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 Py_INCREF(Py_None); resultobj = Py_None;
12892 return resultobj;
12893 fail:
12894 return NULL;
12895}
12896
12897
12898static PyObject *_wrap_Grid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj;
12900 wxGrid *arg1 = (wxGrid *) 0 ;
12901 int arg2 ;
12902 int arg3 ;
12903 wxFont *arg4 = 0 ;
12904 PyObject * obj0 = 0 ;
994141e6
RD
12905 PyObject * obj1 = 0 ;
12906 PyObject * obj2 = 0 ;
d14a1e28
RD
12907 PyObject * obj3 = 0 ;
12908 char *kwnames[] = {
12909 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12910 };
12911
15afbcd0
RD
12912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellFont",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12915 arg2 = (int) SWIG_AsInt(obj1);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 arg3 = (int) SWIG_AsInt(obj2);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxFont,
12920 SWIG_POINTER_EXCEPTION | 0)) == -1)
12921 SWIG_fail;
d14a1e28 12922 if (arg4 == NULL) {
15afbcd0
RD
12923 PyErr_SetString(PyExc_TypeError,"null reference");
12924 SWIG_fail;
d14a1e28
RD
12925 }
12926 {
12927 PyThreadState* __tstate = wxPyBeginAllowThreads();
12928 (arg1)->SetCellFont(arg2,arg3,(wxFont const &)*arg4);
12929
12930 wxPyEndAllowThreads(__tstate);
12931 if (PyErr_Occurred()) SWIG_fail;
12932 }
12933 Py_INCREF(Py_None); resultobj = Py_None;
12934 return resultobj;
12935 fail:
12936 return NULL;
12937}
12938
12939
12940static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12941 PyObject *resultobj;
12942 wxGrid *arg1 = (wxGrid *) 0 ;
12943 int arg2 ;
12944 int arg3 ;
12945 PyObject * obj0 = 0 ;
994141e6
RD
12946 PyObject * obj1 = 0 ;
12947 PyObject * obj2 = 0 ;
d14a1e28
RD
12948 char *kwnames[] = {
12949 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12950 };
12951
994141e6 12952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12955 arg2 = (int) SWIG_AsInt(obj1);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 arg3 = (int) SWIG_AsInt(obj2);
12958 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12959 {
12960 PyThreadState* __tstate = wxPyBeginAllowThreads();
12961 (arg1)->SetDefaultCellAlignment(arg2,arg3);
12962
12963 wxPyEndAllowThreads(__tstate);
12964 if (PyErr_Occurred()) SWIG_fail;
12965 }
12966 Py_INCREF(Py_None); resultobj = Py_None;
12967 return resultobj;
12968 fail:
12969 return NULL;
12970}
12971
12972
12973static PyObject *_wrap_Grid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12974 PyObject *resultobj;
12975 wxGrid *arg1 = (wxGrid *) 0 ;
12976 int arg2 ;
12977 int arg3 ;
12978 int arg4 ;
12979 int arg5 ;
12980 PyObject * obj0 = 0 ;
994141e6
RD
12981 PyObject * obj1 = 0 ;
12982 PyObject * obj2 = 0 ;
12983 PyObject * obj3 = 0 ;
12984 PyObject * obj4 = 0 ;
d14a1e28
RD
12985 char *kwnames[] = {
12986 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12987 };
12988
994141e6 12989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellAlignment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12992 arg2 = (int) SWIG_AsInt(obj1);
12993 if (PyErr_Occurred()) SWIG_fail;
12994 arg3 = (int) SWIG_AsInt(obj2);
12995 if (PyErr_Occurred()) SWIG_fail;
12996 arg4 = (int) SWIG_AsInt(obj3);
12997 if (PyErr_Occurred()) SWIG_fail;
12998 arg5 = (int) SWIG_AsInt(obj4);
12999 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13000 {
13001 PyThreadState* __tstate = wxPyBeginAllowThreads();
13002 (arg1)->SetCellAlignment(arg2,arg3,arg4,arg5);
13003
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
13007 Py_INCREF(Py_None); resultobj = Py_None;
13008 return resultobj;
13009 fail:
13010 return NULL;
13011}
13012
13013
13014static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
13015 PyObject *resultobj;
13016 wxGrid *arg1 = (wxGrid *) 0 ;
13017 bool arg2 ;
13018 PyObject * obj0 = 0 ;
13019 PyObject * obj1 = 0 ;
13020 char *kwnames[] = {
13021 (char *) "self",(char *) "allow", NULL
13022 };
13023
13024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13027 arg2 = (bool) SWIG_AsBool(obj1);
13028 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13029 {
13030 PyThreadState* __tstate = wxPyBeginAllowThreads();
13031 (arg1)->SetDefaultCellOverflow(arg2);
13032
13033 wxPyEndAllowThreads(__tstate);
13034 if (PyErr_Occurred()) SWIG_fail;
13035 }
13036 Py_INCREF(Py_None); resultobj = Py_None;
13037 return resultobj;
13038 fail:
13039 return NULL;
13040}
13041
13042
13043static PyObject *_wrap_Grid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
13044 PyObject *resultobj;
13045 wxGrid *arg1 = (wxGrid *) 0 ;
13046 int arg2 ;
13047 int arg3 ;
13048 bool arg4 ;
13049 PyObject * obj0 = 0 ;
994141e6
RD
13050 PyObject * obj1 = 0 ;
13051 PyObject * obj2 = 0 ;
d14a1e28
RD
13052 PyObject * obj3 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
13055 };
13056
994141e6 13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellOverflow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13060 arg2 = (int) SWIG_AsInt(obj1);
13061 if (PyErr_Occurred()) SWIG_fail;
13062 arg3 = (int) SWIG_AsInt(obj2);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 arg4 = (bool) SWIG_AsBool(obj3);
13065 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 (arg1)->SetCellOverflow(arg2,arg3,arg4);
13069
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
13073 Py_INCREF(Py_None); resultobj = Py_None;
13074 return resultobj;
13075 fail:
13076 return NULL;
13077}
13078
13079
13080static PyObject *_wrap_Grid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13081 PyObject *resultobj;
13082 wxGrid *arg1 = (wxGrid *) 0 ;
13083 int arg2 ;
13084 int arg3 ;
13085 int arg4 ;
13086 int arg5 ;
13087 PyObject * obj0 = 0 ;
994141e6
RD
13088 PyObject * obj1 = 0 ;
13089 PyObject * obj2 = 0 ;
13090 PyObject * obj3 = 0 ;
13091 PyObject * obj4 = 0 ;
d14a1e28
RD
13092 char *kwnames[] = {
13093 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
13094 };
13095
994141e6 13096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
13097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13099 arg2 = (int) SWIG_AsInt(obj1);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 arg3 = (int) SWIG_AsInt(obj2);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 arg4 = (int) SWIG_AsInt(obj3);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 arg5 = (int) SWIG_AsInt(obj4);
13106 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13107 {
13108 PyThreadState* __tstate = wxPyBeginAllowThreads();
13109 (arg1)->SetCellSize(arg2,arg3,arg4,arg5);
13110
13111 wxPyEndAllowThreads(__tstate);
13112 if (PyErr_Occurred()) SWIG_fail;
13113 }
13114 Py_INCREF(Py_None); resultobj = Py_None;
13115 return resultobj;
13116 fail:
13117 return NULL;
13118}
13119
13120
13121static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
13122 PyObject *resultobj;
13123 wxGrid *arg1 = (wxGrid *) 0 ;
13124 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
13125 PyObject * obj0 = 0 ;
13126 PyObject * obj1 = 0 ;
13127 char *kwnames[] = {
13128 (char *) "self",(char *) "renderer", NULL
13129 };
13130
13131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultRenderer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13134 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
13135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13136 {
13137 PyThreadState* __tstate = wxPyBeginAllowThreads();
13138 (arg1)->SetDefaultRenderer(arg2);
13139
13140 wxPyEndAllowThreads(__tstate);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 }
13143 Py_INCREF(Py_None); resultobj = Py_None;
13144 return resultobj;
13145 fail:
13146 return NULL;
13147}
13148
13149
13150static PyObject *_wrap_Grid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
13151 PyObject *resultobj;
13152 wxGrid *arg1 = (wxGrid *) 0 ;
13153 int arg2 ;
13154 int arg3 ;
13155 wxGridCellRenderer *arg4 = (wxGridCellRenderer *) 0 ;
13156 PyObject * obj0 = 0 ;
994141e6
RD
13157 PyObject * obj1 = 0 ;
13158 PyObject * obj2 = 0 ;
d14a1e28
RD
13159 PyObject * obj3 = 0 ;
13160 char *kwnames[] = {
13161 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
13162 };
13163
994141e6 13164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13167 arg2 = (int) SWIG_AsInt(obj1);
13168 if (PyErr_Occurred()) SWIG_fail;
13169 arg3 = (int) SWIG_AsInt(obj2);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellRenderer,
13172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 (arg1)->SetCellRenderer(arg2,arg3,arg4);
13176
13177 wxPyEndAllowThreads(__tstate);
13178 if (PyErr_Occurred()) SWIG_fail;
13179 }
13180 Py_INCREF(Py_None); resultobj = Py_None;
13181 return resultobj;
13182 fail:
13183 return NULL;
13184}
13185
13186
13187static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
13188 PyObject *resultobj;
13189 wxGrid *arg1 = (wxGrid *) 0 ;
13190 wxGridCellRenderer *result;
13191 PyObject * obj0 = 0 ;
13192 char *kwnames[] = {
13193 (char *) "self", NULL
13194 };
13195
13196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRenderer",kwnames,&obj0)) goto fail;
15afbcd0
RD
13197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13199 {
13200 PyThreadState* __tstate = wxPyBeginAllowThreads();
13201 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRenderer();
13202
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 {
412d302d 13207 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
d14a1e28
RD
13208 }
13209 return resultobj;
13210 fail:
13211 return NULL;
13212}
13213
13214
13215static PyObject *_wrap_Grid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
13216 PyObject *resultobj;
13217 wxGrid *arg1 = (wxGrid *) 0 ;
13218 int arg2 ;
13219 int arg3 ;
13220 wxGridCellRenderer *result;
13221 PyObject * obj0 = 0 ;
994141e6
RD
13222 PyObject * obj1 = 0 ;
13223 PyObject * obj2 = 0 ;
d14a1e28
RD
13224 char *kwnames[] = {
13225 (char *) "self",(char *) "row",(char *) "col", NULL
13226 };
13227
994141e6 13228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellRenderer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13231 arg2 = (int) SWIG_AsInt(obj1);
13232 if (PyErr_Occurred()) SWIG_fail;
13233 arg3 = (int) SWIG_AsInt(obj2);
13234 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13235 {
13236 PyThreadState* __tstate = wxPyBeginAllowThreads();
13237 result = (wxGridCellRenderer *)(arg1)->GetCellRenderer(arg2,arg3);
13238
13239 wxPyEndAllowThreads(__tstate);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 }
13242 {
412d302d 13243 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
d14a1e28
RD
13244 }
13245 return resultobj;
13246 fail:
13247 return NULL;
13248}
13249
13250
13251static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13252 PyObject *resultobj;
13253 wxGrid *arg1 = (wxGrid *) 0 ;
13254 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
13255 PyObject * obj0 = 0 ;
13256 PyObject * obj1 = 0 ;
13257 char *kwnames[] = {
13258 (char *) "self",(char *) "editor", NULL
13259 };
13260
13261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultEditor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
13265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13266 {
13267 PyThreadState* __tstate = wxPyBeginAllowThreads();
13268 (arg1)->SetDefaultEditor(arg2);
13269
13270 wxPyEndAllowThreads(__tstate);
13271 if (PyErr_Occurred()) SWIG_fail;
13272 }
13273 Py_INCREF(Py_None); resultobj = Py_None;
13274 return resultobj;
13275 fail:
13276 return NULL;
13277}
13278
13279
13280static PyObject *_wrap_Grid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13281 PyObject *resultobj;
13282 wxGrid *arg1 = (wxGrid *) 0 ;
13283 int arg2 ;
13284 int arg3 ;
13285 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
13286 PyObject * obj0 = 0 ;
994141e6
RD
13287 PyObject * obj1 = 0 ;
13288 PyObject * obj2 = 0 ;
d14a1e28
RD
13289 PyObject * obj3 = 0 ;
13290 char *kwnames[] = {
13291 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
13292 };
13293
994141e6 13294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13297 arg2 = (int) SWIG_AsInt(obj1);
13298 if (PyErr_Occurred()) SWIG_fail;
13299 arg3 = (int) SWIG_AsInt(obj2);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
13302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13303 {
13304 PyThreadState* __tstate = wxPyBeginAllowThreads();
13305 (arg1)->SetCellEditor(arg2,arg3,arg4);
13306
13307 wxPyEndAllowThreads(__tstate);
13308 if (PyErr_Occurred()) SWIG_fail;
13309 }
13310 Py_INCREF(Py_None); resultobj = Py_None;
13311 return resultobj;
13312 fail:
13313 return NULL;
13314}
13315
13316
13317static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13318 PyObject *resultobj;
13319 wxGrid *arg1 = (wxGrid *) 0 ;
13320 wxGridCellEditor *result;
13321 PyObject * obj0 = 0 ;
13322 char *kwnames[] = {
13323 (char *) "self", NULL
13324 };
13325
13326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultEditor",kwnames,&obj0)) goto fail;
15afbcd0
RD
13327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13329 {
13330 PyThreadState* __tstate = wxPyBeginAllowThreads();
13331 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditor();
13332
13333 wxPyEndAllowThreads(__tstate);
13334 if (PyErr_Occurred()) SWIG_fail;
13335 }
13336 {
412d302d 13337 resultobj = wxPyMake_wxGridCellEditor(result, 0);
d14a1e28
RD
13338 }
13339 return resultobj;
13340 fail:
13341 return NULL;
13342}
13343
13344
13345static PyObject *_wrap_Grid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13346 PyObject *resultobj;
13347 wxGrid *arg1 = (wxGrid *) 0 ;
13348 int arg2 ;
13349 int arg3 ;
13350 wxGridCellEditor *result;
13351 PyObject * obj0 = 0 ;
994141e6
RD
13352 PyObject * obj1 = 0 ;
13353 PyObject * obj2 = 0 ;
d14a1e28
RD
13354 char *kwnames[] = {
13355 (char *) "self",(char *) "row",(char *) "col", NULL
13356 };
13357
994141e6 13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellEditor",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13361 arg2 = (int) SWIG_AsInt(obj1);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 arg3 = (int) SWIG_AsInt(obj2);
13364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 result = (wxGridCellEditor *)(arg1)->GetCellEditor(arg2,arg3);
13368
13369 wxPyEndAllowThreads(__tstate);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 }
13372 {
412d302d 13373 resultobj = wxPyMake_wxGridCellEditor(result, 0);
d14a1e28
RD
13374 }
13375 return resultobj;
13376 fail:
13377 return NULL;
13378}
13379
13380
13381static PyObject *_wrap_Grid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13382 PyObject *resultobj;
13383 wxGrid *arg1 = (wxGrid *) 0 ;
13384 int arg2 ;
13385 int arg3 ;
13386 wxString result;
13387 PyObject * obj0 = 0 ;
994141e6
RD
13388 PyObject * obj1 = 0 ;
13389 PyObject * obj2 = 0 ;
d14a1e28
RD
13390 char *kwnames[] = {
13391 (char *) "self",(char *) "row",(char *) "col", NULL
13392 };
13393
994141e6 13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13397 arg2 = (int) SWIG_AsInt(obj1);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 arg3 = (int) SWIG_AsInt(obj2);
13400 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13401 {
13402 PyThreadState* __tstate = wxPyBeginAllowThreads();
13403 result = (arg1)->GetCellValue(arg2,arg3);
13404
13405 wxPyEndAllowThreads(__tstate);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 }
13408 {
13409#if wxUSE_UNICODE
13410 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13411#else
13412 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13413#endif
13414 }
13415 return resultobj;
13416 fail:
13417 return NULL;
13418}
13419
13420
13421static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13422 PyObject *resultobj;
13423 wxGrid *arg1 = (wxGrid *) 0 ;
13424 int arg2 ;
13425 int arg3 ;
13426 wxString *arg4 = 0 ;
e811c8ce 13427 bool temp4 = False ;
d14a1e28 13428 PyObject * obj0 = 0 ;
994141e6
RD
13429 PyObject * obj1 = 0 ;
13430 PyObject * obj2 = 0 ;
d14a1e28
RD
13431 PyObject * obj3 = 0 ;
13432 char *kwnames[] = {
13433 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13434 };
13435
994141e6 13436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13439 arg2 = (int) SWIG_AsInt(obj1);
13440 if (PyErr_Occurred()) SWIG_fail;
13441 arg3 = (int) SWIG_AsInt(obj2);
13442 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13443 {
13444 arg4 = wxString_in_helper(obj3);
13445 if (arg4 == NULL) SWIG_fail;
e811c8ce 13446 temp4 = True;
d14a1e28
RD
13447 }
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 (arg1)->SetCellValue(arg2,arg3,(wxString const &)*arg4);
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 Py_INCREF(Py_None); resultobj = Py_None;
13456 {
13457 if (temp4)
13458 delete arg4;
13459 }
13460 return resultobj;
13461 fail:
13462 {
13463 if (temp4)
13464 delete arg4;
13465 }
13466 return NULL;
13467}
13468
13469
13470static PyObject *_wrap_Grid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13471 PyObject *resultobj;
13472 wxGrid *arg1 = (wxGrid *) 0 ;
13473 int arg2 ;
13474 int arg3 ;
13475 bool result;
13476 PyObject * obj0 = 0 ;
994141e6
RD
13477 PyObject * obj1 = 0 ;
13478 PyObject * obj2 = 0 ;
d14a1e28
RD
13479 char *kwnames[] = {
13480 (char *) "self",(char *) "row",(char *) "col", NULL
13481 };
13482
994141e6 13483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsReadOnly",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13486 arg2 = (int) SWIG_AsInt(obj1);
13487 if (PyErr_Occurred()) SWIG_fail;
13488 arg3 = (int) SWIG_AsInt(obj2);
13489 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13490 {
13491 PyThreadState* __tstate = wxPyBeginAllowThreads();
13492 result = (bool)((wxGrid const *)arg1)->IsReadOnly(arg2,arg3);
13493
13494 wxPyEndAllowThreads(__tstate);
13495 if (PyErr_Occurred()) SWIG_fail;
13496 }
4f89f6a3
RD
13497 {
13498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13499 }
d14a1e28
RD
13500 return resultobj;
13501 fail:
13502 return NULL;
13503}
13504
13505
13506static PyObject *_wrap_Grid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13507 PyObject *resultobj;
13508 wxGrid *arg1 = (wxGrid *) 0 ;
13509 int arg2 ;
13510 int arg3 ;
e811c8ce 13511 bool arg4 = (bool) True ;
d14a1e28 13512 PyObject * obj0 = 0 ;
994141e6
RD
13513 PyObject * obj1 = 0 ;
13514 PyObject * obj2 = 0 ;
d14a1e28
RD
13515 PyObject * obj3 = 0 ;
13516 char *kwnames[] = {
13517 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13518 };
13519
994141e6 13520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_SetReadOnly",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13523 arg2 = (int) SWIG_AsInt(obj1);
13524 if (PyErr_Occurred()) SWIG_fail;
13525 arg3 = (int) SWIG_AsInt(obj2);
13526 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13527 if (obj3) {
15afbcd0
RD
13528 arg4 = (bool) SWIG_AsBool(obj3);
13529 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13530 }
13531 {
13532 PyThreadState* __tstate = wxPyBeginAllowThreads();
13533 (arg1)->SetReadOnly(arg2,arg3,arg4);
13534
13535 wxPyEndAllowThreads(__tstate);
13536 if (PyErr_Occurred()) SWIG_fail;
13537 }
13538 Py_INCREF(Py_None); resultobj = Py_None;
13539 return resultobj;
13540 fail:
13541 return NULL;
13542}
13543
13544
13545static PyObject *_wrap_Grid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13546 PyObject *resultobj;
13547 wxGrid *arg1 = (wxGrid *) 0 ;
13548 int arg2 ;
e811c8ce 13549 bool arg3 = (bool) False ;
d14a1e28 13550 PyObject * obj0 = 0 ;
994141e6 13551 PyObject * obj1 = 0 ;
d14a1e28
RD
13552 PyObject * obj2 = 0 ;
13553 char *kwnames[] = {
13554 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13555 };
13556
994141e6 13557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13560 arg2 = (int) SWIG_AsInt(obj1);
13561 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13562 if (obj2) {
15afbcd0
RD
13563 arg3 = (bool) SWIG_AsBool(obj2);
13564 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13565 }
13566 {
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 (arg1)->SelectRow(arg2,arg3);
13569
13570 wxPyEndAllowThreads(__tstate);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 Py_INCREF(Py_None); resultobj = Py_None;
13574 return resultobj;
13575 fail:
13576 return NULL;
13577}
13578
13579
13580static PyObject *_wrap_Grid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13581 PyObject *resultobj;
13582 wxGrid *arg1 = (wxGrid *) 0 ;
13583 int arg2 ;
e811c8ce 13584 bool arg3 = (bool) False ;
d14a1e28 13585 PyObject * obj0 = 0 ;
994141e6 13586 PyObject * obj1 = 0 ;
d14a1e28
RD
13587 PyObject * obj2 = 0 ;
13588 char *kwnames[] = {
13589 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13590 };
13591
994141e6 13592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13595 arg2 = (int) SWIG_AsInt(obj1);
13596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13597 if (obj2) {
15afbcd0
RD
13598 arg3 = (bool) SWIG_AsBool(obj2);
13599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13600 }
13601 {
13602 PyThreadState* __tstate = wxPyBeginAllowThreads();
13603 (arg1)->SelectCol(arg2,arg3);
13604
13605 wxPyEndAllowThreads(__tstate);
13606 if (PyErr_Occurred()) SWIG_fail;
13607 }
13608 Py_INCREF(Py_None); resultobj = Py_None;
13609 return resultobj;
13610 fail:
13611 return NULL;
13612}
13613
13614
13615static PyObject *_wrap_Grid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
13616 PyObject *resultobj;
13617 wxGrid *arg1 = (wxGrid *) 0 ;
13618 int arg2 ;
13619 int arg3 ;
13620 int arg4 ;
13621 int arg5 ;
e811c8ce 13622 bool arg6 = (bool) False ;
d14a1e28 13623 PyObject * obj0 = 0 ;
994141e6
RD
13624 PyObject * obj1 = 0 ;
13625 PyObject * obj2 = 0 ;
13626 PyObject * obj3 = 0 ;
13627 PyObject * obj4 = 0 ;
d14a1e28
RD
13628 PyObject * obj5 = 0 ;
13629 char *kwnames[] = {
13630 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13631 };
13632
994141e6 13633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Grid_SelectBlock",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
13634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13636 arg2 = (int) SWIG_AsInt(obj1);
13637 if (PyErr_Occurred()) SWIG_fail;
13638 arg3 = (int) SWIG_AsInt(obj2);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 arg4 = (int) SWIG_AsInt(obj3);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 arg5 = (int) SWIG_AsInt(obj4);
13643 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13644 if (obj5) {
15afbcd0
RD
13645 arg6 = (bool) SWIG_AsBool(obj5);
13646 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13647 }
13648 {
13649 PyThreadState* __tstate = wxPyBeginAllowThreads();
13650 (arg1)->SelectBlock(arg2,arg3,arg4,arg5,arg6);
13651
13652 wxPyEndAllowThreads(__tstate);
13653 if (PyErr_Occurred()) SWIG_fail;
13654 }
13655 Py_INCREF(Py_None); resultobj = Py_None;
13656 return resultobj;
13657 fail:
13658 return NULL;
13659}
13660
13661
13662static PyObject *_wrap_Grid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
13663 PyObject *resultobj;
13664 wxGrid *arg1 = (wxGrid *) 0 ;
13665 PyObject * obj0 = 0 ;
13666 char *kwnames[] = {
13667 (char *) "self", NULL
13668 };
13669
13670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SelectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
13671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13673 {
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
13675 (arg1)->SelectAll();
13676
13677 wxPyEndAllowThreads(__tstate);
13678 if (PyErr_Occurred()) SWIG_fail;
13679 }
13680 Py_INCREF(Py_None); resultobj = Py_None;
13681 return resultobj;
13682 fail:
13683 return NULL;
13684}
13685
13686
13687static PyObject *_wrap_Grid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13688 PyObject *resultobj;
13689 wxGrid *arg1 = (wxGrid *) 0 ;
13690 bool result;
13691 PyObject * obj0 = 0 ;
13692 char *kwnames[] = {
13693 (char *) "self", NULL
13694 };
13695
13696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13699 {
13700 PyThreadState* __tstate = wxPyBeginAllowThreads();
13701 result = (bool)(arg1)->IsSelection();
13702
13703 wxPyEndAllowThreads(__tstate);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
4f89f6a3
RD
13706 {
13707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13708 }
d14a1e28
RD
13709 return resultobj;
13710 fail:
13711 return NULL;
13712}
13713
13714
13715static PyObject *_wrap_Grid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13716 PyObject *resultobj;
13717 wxGrid *arg1 = (wxGrid *) 0 ;
13718 PyObject * obj0 = 0 ;
13719 char *kwnames[] = {
13720 (char *) "self", NULL
13721 };
13722
13723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13726 {
13727 PyThreadState* __tstate = wxPyBeginAllowThreads();
13728 (arg1)->ClearSelection();
13729
13730 wxPyEndAllowThreads(__tstate);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 }
13733 Py_INCREF(Py_None); resultobj = Py_None;
13734 return resultobj;
13735 fail:
13736 return NULL;
13737}
13738
13739
13740static PyObject *_wrap_Grid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13741 PyObject *resultobj;
13742 wxGrid *arg1 = (wxGrid *) 0 ;
13743 int arg2 ;
13744 int arg3 ;
13745 bool result;
13746 PyObject * obj0 = 0 ;
994141e6
RD
13747 PyObject * obj1 = 0 ;
13748 PyObject * obj2 = 0 ;
d14a1e28
RD
13749 char *kwnames[] = {
13750 (char *) "self",(char *) "row",(char *) "col", NULL
13751 };
13752
994141e6 13753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsInSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13756 arg2 = (int) SWIG_AsInt(obj1);
13757 if (PyErr_Occurred()) SWIG_fail;
13758 arg3 = (int) SWIG_AsInt(obj2);
13759 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13760 {
13761 PyThreadState* __tstate = wxPyBeginAllowThreads();
13762 result = (bool)(arg1)->IsInSelection(arg2,arg3);
13763
13764 wxPyEndAllowThreads(__tstate);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
4f89f6a3
RD
13767 {
13768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13769 }
d14a1e28
RD
13770 return resultobj;
13771 fail:
13772 return NULL;
13773}
13774
13775
13776static PyObject *_wrap_Grid_GetSelectedCells(PyObject *self, PyObject *args, PyObject *kwargs) {
13777 PyObject *resultobj;
13778 wxGrid *arg1 = (wxGrid *) 0 ;
13779 wxGridCellCoordsArray result;
13780 PyObject * obj0 = 0 ;
13781 char *kwnames[] = {
13782 (char *) "self", NULL
13783 };
13784
13785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCells",kwnames,&obj0)) goto fail;
15afbcd0
RD
13786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13788 {
13789 PyThreadState* __tstate = wxPyBeginAllowThreads();
13790 result = ((wxGrid const *)arg1)->GetSelectedCells();
13791
13792 wxPyEndAllowThreads(__tstate);
13793 if (PyErr_Occurred()) SWIG_fail;
13794 }
13795 {
13796 resultobj = wxGridCellCoordsArray_helper(result);
13797 }
13798 return resultobj;
13799 fail:
13800 return NULL;
13801}
13802
13803
13804static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13805 PyObject *resultobj;
13806 wxGrid *arg1 = (wxGrid *) 0 ;
13807 wxGridCellCoordsArray result;
13808 PyObject * obj0 = 0 ;
13809 char *kwnames[] = {
13810 (char *) "self", NULL
13811 };
13812
13813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
13814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
13818 result = ((wxGrid const *)arg1)->GetSelectionBlockTopLeft();
13819
13820 wxPyEndAllowThreads(__tstate);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 }
13823 {
13824 resultobj = wxGridCellCoordsArray_helper(result);
13825 }
13826 return resultobj;
13827 fail:
13828 return NULL;
13829}
13830
13831
13832static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13833 PyObject *resultobj;
13834 wxGrid *arg1 = (wxGrid *) 0 ;
13835 wxGridCellCoordsArray result;
13836 PyObject * obj0 = 0 ;
13837 char *kwnames[] = {
13838 (char *) "self", NULL
13839 };
13840
13841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
13842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13844 {
13845 PyThreadState* __tstate = wxPyBeginAllowThreads();
13846 result = ((wxGrid const *)arg1)->GetSelectionBlockBottomRight();
13847
13848 wxPyEndAllowThreads(__tstate);
13849 if (PyErr_Occurred()) SWIG_fail;
13850 }
13851 {
13852 resultobj = wxGridCellCoordsArray_helper(result);
13853 }
13854 return resultobj;
13855 fail:
13856 return NULL;
13857}
13858
13859
13860static PyObject *_wrap_Grid_GetSelectedRows(PyObject *self, PyObject *args, PyObject *kwargs) {
13861 PyObject *resultobj;
13862 wxGrid *arg1 = (wxGrid *) 0 ;
13863 wxArrayInt result;
13864 PyObject * obj0 = 0 ;
13865 char *kwnames[] = {
13866 (char *) "self", NULL
13867 };
13868
13869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
13870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13872 {
13873 PyThreadState* __tstate = wxPyBeginAllowThreads();
13874 result = ((wxGrid const *)arg1)->GetSelectedRows();
13875
13876 wxPyEndAllowThreads(__tstate);
13877 if (PyErr_Occurred()) SWIG_fail;
13878 }
13879 {
13880 resultobj = PyList_New(0);
13881 size_t idx;
13882 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13883 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13884 PyList_Append(resultobj, val);
13885 Py_DECREF(val);
13886 }
13887 }
13888 return resultobj;
13889 fail:
13890 return NULL;
13891}
13892
13893
13894static PyObject *_wrap_Grid_GetSelectedCols(PyObject *self, PyObject *args, PyObject *kwargs) {
13895 PyObject *resultobj;
13896 wxGrid *arg1 = (wxGrid *) 0 ;
13897 wxArrayInt result;
13898 PyObject * obj0 = 0 ;
13899 char *kwnames[] = {
13900 (char *) "self", NULL
13901 };
13902
13903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
13904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13906 {
13907 PyThreadState* __tstate = wxPyBeginAllowThreads();
13908 result = ((wxGrid const *)arg1)->GetSelectedCols();
13909
13910 wxPyEndAllowThreads(__tstate);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 {
13914 resultobj = PyList_New(0);
13915 size_t idx;
13916 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13917 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13918 PyList_Append(resultobj, val);
13919 Py_DECREF(val);
13920 }
13921 }
13922 return resultobj;
13923 fail:
13924 return NULL;
13925}
13926
13927
13928static PyObject *_wrap_Grid_DeselectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13929 PyObject *resultobj;
13930 wxGrid *arg1 = (wxGrid *) 0 ;
13931 int arg2 ;
13932 PyObject * obj0 = 0 ;
994141e6 13933 PyObject * obj1 = 0 ;
d14a1e28
RD
13934 char *kwnames[] = {
13935 (char *) "self",(char *) "row", NULL
13936 };
13937
994141e6 13938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13941 arg2 = (int) SWIG_AsInt(obj1);
13942 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13943 {
13944 PyThreadState* __tstate = wxPyBeginAllowThreads();
13945 (arg1)->DeselectRow(arg2);
13946
13947 wxPyEndAllowThreads(__tstate);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 }
13950 Py_INCREF(Py_None); resultobj = Py_None;
13951 return resultobj;
13952 fail:
13953 return NULL;
13954}
13955
13956
13957static PyObject *_wrap_Grid_DeselectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13958 PyObject *resultobj;
13959 wxGrid *arg1 = (wxGrid *) 0 ;
13960 int arg2 ;
13961 PyObject * obj0 = 0 ;
994141e6 13962 PyObject * obj1 = 0 ;
d14a1e28
RD
13963 char *kwnames[] = {
13964 (char *) "self",(char *) "col", NULL
13965 };
13966
994141e6 13967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13970 arg2 = (int) SWIG_AsInt(obj1);
13971 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13972 {
13973 PyThreadState* __tstate = wxPyBeginAllowThreads();
13974 (arg1)->DeselectCol(arg2);
13975
13976 wxPyEndAllowThreads(__tstate);
13977 if (PyErr_Occurred()) SWIG_fail;
13978 }
13979 Py_INCREF(Py_None); resultobj = Py_None;
13980 return resultobj;
13981 fail:
13982 return NULL;
13983}
13984
13985
13986static PyObject *_wrap_Grid_DeselectCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13987 PyObject *resultobj;
13988 wxGrid *arg1 = (wxGrid *) 0 ;
13989 int arg2 ;
13990 int arg3 ;
13991 PyObject * obj0 = 0 ;
994141e6
RD
13992 PyObject * obj1 = 0 ;
13993 PyObject * obj2 = 0 ;
d14a1e28
RD
13994 char *kwnames[] = {
13995 (char *) "self",(char *) "row",(char *) "col", NULL
13996 };
13997
994141e6 13998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DeselectCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14001 arg2 = (int) SWIG_AsInt(obj1);
14002 if (PyErr_Occurred()) SWIG_fail;
14003 arg3 = (int) SWIG_AsInt(obj2);
14004 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14005 {
14006 PyThreadState* __tstate = wxPyBeginAllowThreads();
14007 (arg1)->DeselectCell(arg2,arg3);
14008
14009 wxPyEndAllowThreads(__tstate);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 }
14012 Py_INCREF(Py_None); resultobj = Py_None;
14013 return resultobj;
14014 fail:
14015 return NULL;
14016}
14017
14018
14019static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14020 PyObject *resultobj;
14021 wxGrid *arg1 = (wxGrid *) 0 ;
14022 wxGridCellCoords *arg2 = 0 ;
14023 wxGridCellCoords *arg3 = 0 ;
14024 wxRect result;
14025 wxGridCellCoords temp2 ;
14026 wxGridCellCoords temp3 ;
14027 PyObject * obj0 = 0 ;
14028 PyObject * obj1 = 0 ;
14029 PyObject * obj2 = 0 ;
14030 char *kwnames[] = {
14031 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
14032 };
14033
14034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_BlockToDeviceRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14037 {
14038 arg2 = &temp2;
14039 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
14040 }
14041 {
14042 arg3 = &temp3;
14043 if (! wxGridCellCoords_helper(obj2, &arg3)) SWIG_fail;
14044 }
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 result = (arg1)->BlockToDeviceRect((wxGridCellCoords const &)*arg2,(wxGridCellCoords const &)*arg3);
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 {
14053 wxRect * resultptr;
14054 resultptr = new wxRect((wxRect &) result);
15afbcd0 14055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
14056 }
14057 return resultobj;
14058 fail:
14059 return NULL;
14060}
14061
14062
14063static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
14064 PyObject *resultobj;
14065 wxGrid *arg1 = (wxGrid *) 0 ;
14066 wxColour result;
14067 PyObject * obj0 = 0 ;
14068 char *kwnames[] = {
14069 (char *) "self", NULL
14070 };
14071
14072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
14073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14075 {
14076 PyThreadState* __tstate = wxPyBeginAllowThreads();
14077 result = ((wxGrid const *)arg1)->GetSelectionBackground();
14078
14079 wxPyEndAllowThreads(__tstate);
14080 if (PyErr_Occurred()) SWIG_fail;
14081 }
14082 {
14083 wxColour * resultptr;
14084 resultptr = new wxColour((wxColour &) result);
15afbcd0 14085 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
14086 }
14087 return resultobj;
14088 fail:
14089 return NULL;
14090}
14091
14092
14093static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
14094 PyObject *resultobj;
14095 wxGrid *arg1 = (wxGrid *) 0 ;
14096 wxColour result;
14097 PyObject * obj0 = 0 ;
14098 char *kwnames[] = {
14099 (char *) "self", NULL
14100 };
14101
14102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionForeground",kwnames,&obj0)) goto fail;
15afbcd0
RD
14103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14105 {
14106 PyThreadState* __tstate = wxPyBeginAllowThreads();
14107 result = ((wxGrid const *)arg1)->GetSelectionForeground();
14108
14109 wxPyEndAllowThreads(__tstate);
14110 if (PyErr_Occurred()) SWIG_fail;
14111 }
14112 {
14113 wxColour * resultptr;
14114 resultptr = new wxColour((wxColour &) result);
15afbcd0 14115 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
14116 }
14117 return resultobj;
14118 fail:
14119 return NULL;
14120}
14121
14122
14123static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
14124 PyObject *resultobj;
14125 wxGrid *arg1 = (wxGrid *) 0 ;
14126 wxColour *arg2 = 0 ;
14127 wxColour temp2 ;
14128 PyObject * obj0 = 0 ;
14129 PyObject * obj1 = 0 ;
14130 char *kwnames[] = {
14131 (char *) "self",(char *) "c", NULL
14132 };
14133
14134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14137 {
14138 arg2 = &temp2;
14139 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14140 }
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
14144
14145 wxPyEndAllowThreads(__tstate);
14146 if (PyErr_Occurred()) SWIG_fail;
14147 }
14148 Py_INCREF(Py_None); resultobj = Py_None;
14149 return resultobj;
14150 fail:
14151 return NULL;
14152}
14153
14154
14155static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
14156 PyObject *resultobj;
14157 wxGrid *arg1 = (wxGrid *) 0 ;
14158 wxColour *arg2 = 0 ;
14159 wxColour temp2 ;
14160 PyObject * obj0 = 0 ;
14161 PyObject * obj1 = 0 ;
14162 char *kwnames[] = {
14163 (char *) "self",(char *) "c", NULL
14164 };
14165
14166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionForeground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14169 {
14170 arg2 = &temp2;
14171 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14172 }
14173 {
14174 PyThreadState* __tstate = wxPyBeginAllowThreads();
14175 (arg1)->SetSelectionForeground((wxColour const &)*arg2);
14176
14177 wxPyEndAllowThreads(__tstate);
14178 if (PyErr_Occurred()) SWIG_fail;
14179 }
14180 Py_INCREF(Py_None); resultobj = Py_None;
14181 return resultobj;
14182 fail:
14183 return NULL;
14184}
14185
14186
14187static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
14188 PyObject *resultobj;
14189 wxGrid *arg1 = (wxGrid *) 0 ;
14190 wxString *arg2 = 0 ;
14191 wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
14192 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
e811c8ce 14193 bool temp2 = False ;
d14a1e28
RD
14194 PyObject * obj0 = 0 ;
14195 PyObject * obj1 = 0 ;
14196 PyObject * obj2 = 0 ;
14197 PyObject * obj3 = 0 ;
14198 char *kwnames[] = {
14199 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
14200 };
14201
14202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_RegisterDataType",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14205 {
14206 arg2 = wxString_in_helper(obj1);
14207 if (arg2 == NULL) SWIG_fail;
e811c8ce 14208 temp2 = True;
d14a1e28 14209 }
15afbcd0
RD
14210 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellRenderer,
14211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14212 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
14213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14214 {
14215 PyThreadState* __tstate = wxPyBeginAllowThreads();
14216 (arg1)->RegisterDataType((wxString const &)*arg2,arg3,arg4);
14217
14218 wxPyEndAllowThreads(__tstate);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 Py_INCREF(Py_None); resultobj = Py_None;
14222 {
14223 if (temp2)
14224 delete arg2;
14225 }
14226 return resultobj;
14227 fail:
14228 {
14229 if (temp2)
14230 delete arg2;
14231 }
14232 return NULL;
14233}
14234
14235
14236static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
14237 PyObject *resultobj;
14238 wxGrid *arg1 = (wxGrid *) 0 ;
14239 int arg2 ;
14240 int arg3 ;
14241 wxGridCellEditor *result;
14242 PyObject * obj0 = 0 ;
994141e6
RD
14243 PyObject * obj1 = 0 ;
14244 PyObject * obj2 = 0 ;
d14a1e28
RD
14245 char *kwnames[] = {
14246 (char *) "self",(char *) "row",(char *) "col", NULL
14247 };
14248
994141e6 14249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14252 arg2 = (int) SWIG_AsInt(obj1);
14253 if (PyErr_Occurred()) SWIG_fail;
14254 arg3 = (int) SWIG_AsInt(obj2);
14255 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14256 {
14257 PyThreadState* __tstate = wxPyBeginAllowThreads();
14258 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForCell(arg2,arg3);
14259
14260 wxPyEndAllowThreads(__tstate);
14261 if (PyErr_Occurred()) SWIG_fail;
14262 }
14263 {
412d302d 14264 resultobj = wxPyMake_wxGridCellEditor(result, 0);
d14a1e28
RD
14265 }
14266 return resultobj;
14267 fail:
14268 return NULL;
14269}
14270
14271
14272static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
14273 PyObject *resultobj;
14274 wxGrid *arg1 = (wxGrid *) 0 ;
14275 int arg2 ;
14276 int arg3 ;
14277 wxGridCellRenderer *result;
14278 PyObject * obj0 = 0 ;
994141e6
RD
14279 PyObject * obj1 = 0 ;
14280 PyObject * obj2 = 0 ;
d14a1e28
RD
14281 char *kwnames[] = {
14282 (char *) "self",(char *) "row",(char *) "col", NULL
14283 };
14284
994141e6 14285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14288 arg2 = (int) SWIG_AsInt(obj1);
14289 if (PyErr_Occurred()) SWIG_fail;
14290 arg3 = (int) SWIG_AsInt(obj2);
14291 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14292 {
14293 PyThreadState* __tstate = wxPyBeginAllowThreads();
14294 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForCell(arg2,arg3);
14295
14296 wxPyEndAllowThreads(__tstate);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 {
412d302d 14300 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
d14a1e28
RD
14301 }
14302 return resultobj;
14303 fail:
14304 return NULL;
14305}
14306
14307
14308static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
14309 PyObject *resultobj;
14310 wxGrid *arg1 = (wxGrid *) 0 ;
14311 wxString *arg2 = 0 ;
14312 wxGridCellEditor *result;
e811c8ce 14313 bool temp2 = False ;
d14a1e28
RD
14314 PyObject * obj0 = 0 ;
14315 PyObject * obj1 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "self",(char *) "typeName", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultEditorForType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14323 {
14324 arg2 = wxString_in_helper(obj1);
14325 if (arg2 == NULL) SWIG_fail;
e811c8ce 14326 temp2 = True;
d14a1e28
RD
14327 }
14328 {
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForType((wxString const &)*arg2);
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 {
412d302d 14336 resultobj = wxPyMake_wxGridCellEditor(result, 0);
d14a1e28
RD
14337 }
14338 {
14339 if (temp2)
14340 delete arg2;
14341 }
14342 return resultobj;
14343 fail:
14344 {
14345 if (temp2)
14346 delete arg2;
14347 }
14348 return NULL;
14349}
14350
14351
14352static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
14353 PyObject *resultobj;
14354 wxGrid *arg1 = (wxGrid *) 0 ;
14355 wxString *arg2 = 0 ;
14356 wxGridCellRenderer *result;
e811c8ce 14357 bool temp2 = False ;
d14a1e28
RD
14358 PyObject * obj0 = 0 ;
14359 PyObject * obj1 = 0 ;
14360 char *kwnames[] = {
14361 (char *) "self",(char *) "typeName", NULL
14362 };
14363
14364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultRendererForType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14367 {
14368 arg2 = wxString_in_helper(obj1);
14369 if (arg2 == NULL) SWIG_fail;
e811c8ce 14370 temp2 = True;
d14a1e28
RD
14371 }
14372 {
14373 PyThreadState* __tstate = wxPyBeginAllowThreads();
14374 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForType((wxString const &)*arg2);
14375
14376 wxPyEndAllowThreads(__tstate);
14377 if (PyErr_Occurred()) SWIG_fail;
14378 }
14379 {
412d302d 14380 resultobj = wxPyMake_wxGridCellRenderer(result, 0);
d14a1e28
RD
14381 }
14382 {
14383 if (temp2)
14384 delete arg2;
14385 }
14386 return resultobj;
14387 fail:
14388 {
14389 if (temp2)
14390 delete arg2;
14391 }
14392 return NULL;
14393}
14394
14395
14396static PyObject *_wrap_Grid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14397 PyObject *resultobj;
14398 wxGrid *arg1 = (wxGrid *) 0 ;
14399 int arg2 ;
14400 int arg3 ;
14401 PyObject * obj0 = 0 ;
994141e6
RD
14402 PyObject * obj1 = 0 ;
14403 PyObject * obj2 = 0 ;
d14a1e28
RD
14404 char *kwnames[] = {
14405 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14406 };
14407
994141e6 14408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14411 arg2 = (int) SWIG_AsInt(obj1);
14412 if (PyErr_Occurred()) SWIG_fail;
14413 arg3 = (int) SWIG_AsInt(obj2);
14414 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 (arg1)->SetMargins(arg2,arg3);
14418
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 Py_INCREF(Py_None); resultobj = Py_None;
14423 return resultobj;
14424 fail:
14425 return NULL;
14426}
14427
14428
14429static PyObject *_wrap_Grid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14430 PyObject *resultobj;
14431 wxGrid *arg1 = (wxGrid *) 0 ;
14432 wxWindow *result;
14433 PyObject * obj0 = 0 ;
14434 char *kwnames[] = {
14435 (char *) "self", NULL
14436 };
14437
14438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14441 {
14442 PyThreadState* __tstate = wxPyBeginAllowThreads();
14443 result = (wxWindow *)(arg1)->GetGridWindow();
14444
14445 wxPyEndAllowThreads(__tstate);
14446 if (PyErr_Occurred()) SWIG_fail;
14447 }
14448 {
412d302d 14449 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
14450 }
14451 return resultobj;
14452 fail:
14453 return NULL;
14454}
14455
14456
14457static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14458 PyObject *resultobj;
14459 wxGrid *arg1 = (wxGrid *) 0 ;
14460 wxWindow *result;
14461 PyObject * obj0 = 0 ;
14462 char *kwnames[] = {
14463 (char *) "self", NULL
14464 };
14465
14466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridRowLabelWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14469 {
14470 PyThreadState* __tstate = wxPyBeginAllowThreads();
14471 result = (wxWindow *)(arg1)->GetGridRowLabelWindow();
14472
14473 wxPyEndAllowThreads(__tstate);
14474 if (PyErr_Occurred()) SWIG_fail;
14475 }
14476 {
412d302d 14477 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
14478 }
14479 return resultobj;
14480 fail:
14481 return NULL;
14482}
14483
14484
14485static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14486 PyObject *resultobj;
14487 wxGrid *arg1 = (wxGrid *) 0 ;
14488 wxWindow *result;
14489 PyObject * obj0 = 0 ;
14490 char *kwnames[] = {
14491 (char *) "self", NULL
14492 };
14493
14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridColLabelWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14497 {
14498 PyThreadState* __tstate = wxPyBeginAllowThreads();
14499 result = (wxWindow *)(arg1)->GetGridColLabelWindow();
14500
14501 wxPyEndAllowThreads(__tstate);
14502 if (PyErr_Occurred()) SWIG_fail;
14503 }
14504 {
412d302d 14505 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
14506 }
14507 return resultobj;
14508 fail:
14509 return NULL;
14510}
14511
14512
14513static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14514 PyObject *resultobj;
14515 wxGrid *arg1 = (wxGrid *) 0 ;
14516 wxWindow *result;
14517 PyObject * obj0 = 0 ;
14518 char *kwnames[] = {
14519 (char *) "self", NULL
14520 };
14521
14522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14525 {
14526 PyThreadState* __tstate = wxPyBeginAllowThreads();
14527 result = (wxWindow *)(arg1)->GetGridCornerLabelWindow();
14528
14529 wxPyEndAllowThreads(__tstate);
14530 if (PyErr_Occurred()) SWIG_fail;
14531 }
14532 {
412d302d 14533 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
14534 }
14535 return resultobj;
14536 fail:
14537 return NULL;
14538}
14539
14540
22bfe96c
RD
14541static PyObject *_wrap_Grid_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14542 PyObject *resultobj;
14543 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14544 wxVisualAttributes result;
14545 PyObject * obj0 = 0 ;
14546 char *kwnames[] = {
14547 (char *) "variant", NULL
14548 };
14549
14550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14551 if (obj0) {
14552 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14553 if (PyErr_Occurred()) SWIG_fail;
14554 }
14555 {
e3b71cb8 14556 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
14557 PyThreadState* __tstate = wxPyBeginAllowThreads();
14558 result = wxGrid::GetClassDefaultAttributes((wxWindowVariant )arg1);
14559
14560 wxPyEndAllowThreads(__tstate);
110da5b0 14561 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
14562 }
14563 {
14564 wxVisualAttributes * resultptr;
14565 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14566 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14567 }
14568 return resultobj;
14569 fail:
14570 return NULL;
14571}
14572
14573
d14a1e28
RD
14574static PyObject * Grid_swigregister(PyObject *self, PyObject *args) {
14575 PyObject *obj;
14576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14577 SWIG_TypeClientData(SWIGTYPE_p_wxGrid, obj);
14578 Py_INCREF(obj);
14579 return Py_BuildValue((char *)"");
14580}
14581static PyObject *_wrap_new_GridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14582 PyObject *resultobj;
14583 int arg1 ;
14584 wxEventType arg2 ;
14585 wxGrid *arg3 = (wxGrid *) 0 ;
14586 int arg4 = (int) -1 ;
14587 int arg5 = (int) -1 ;
14588 int arg6 = (int) -1 ;
14589 int arg7 = (int) -1 ;
e811c8ce
RD
14590 bool arg8 = (bool) True ;
14591 bool arg9 = (bool) False ;
14592 bool arg10 = (bool) False ;
14593 bool arg11 = (bool) False ;
14594 bool arg12 = (bool) False ;
d14a1e28 14595 wxGridEvent *result;
994141e6
RD
14596 PyObject * obj0 = 0 ;
14597 PyObject * obj1 = 0 ;
d14a1e28 14598 PyObject * obj2 = 0 ;
994141e6
RD
14599 PyObject * obj3 = 0 ;
14600 PyObject * obj4 = 0 ;
14601 PyObject * obj5 = 0 ;
14602 PyObject * obj6 = 0 ;
d14a1e28
RD
14603 PyObject * obj7 = 0 ;
14604 PyObject * obj8 = 0 ;
14605 PyObject * obj9 = 0 ;
14606 PyObject * obj10 = 0 ;
14607 PyObject * obj11 = 0 ;
14608 char *kwnames[] = {
14609 (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
14610 };
14611
994141e6 14612 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
14613 arg1 = (int) SWIG_AsInt(obj0);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 arg2 = (wxEventType) SWIG_AsInt(obj1);
14616 if (PyErr_Occurred()) SWIG_fail;
14617 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 14619 if (obj3) {
15afbcd0
RD
14620 arg4 = (int) SWIG_AsInt(obj3);
14621 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14622 }
14623 if (obj4) {
15afbcd0
RD
14624 arg5 = (int) SWIG_AsInt(obj4);
14625 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14626 }
14627 if (obj5) {
15afbcd0
RD
14628 arg6 = (int) SWIG_AsInt(obj5);
14629 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14630 }
14631 if (obj6) {
15afbcd0
RD
14632 arg7 = (int) SWIG_AsInt(obj6);
14633 if (PyErr_Occurred()) SWIG_fail;
994141e6 14634 }
d14a1e28 14635 if (obj7) {
15afbcd0
RD
14636 arg8 = (bool) SWIG_AsBool(obj7);
14637 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14638 }
14639 if (obj8) {
15afbcd0
RD
14640 arg9 = (bool) SWIG_AsBool(obj8);
14641 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14642 }
14643 if (obj9) {
15afbcd0
RD
14644 arg10 = (bool) SWIG_AsBool(obj9);
14645 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14646 }
14647 if (obj10) {
15afbcd0
RD
14648 arg11 = (bool) SWIG_AsBool(obj10);
14649 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14650 }
14651 if (obj11) {
15afbcd0
RD
14652 arg12 = (bool) SWIG_AsBool(obj11);
14653 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14654 }
14655 {
14656 PyThreadState* __tstate = wxPyBeginAllowThreads();
14657 result = (wxGridEvent *)new wxGridEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
14658
14659 wxPyEndAllowThreads(__tstate);
14660 if (PyErr_Occurred()) SWIG_fail;
14661 }
15afbcd0 14662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEvent, 1);
d14a1e28
RD
14663 return resultobj;
14664 fail:
14665 return NULL;
14666}
14667
14668
14669static PyObject *_wrap_GridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14670 PyObject *resultobj;
14671 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14672 int result;
14673 PyObject * obj0 = 0 ;
14674 char *kwnames[] = {
14675 (char *) "self", NULL
14676 };
14677
14678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
14679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14681 {
14682 PyThreadState* __tstate = wxPyBeginAllowThreads();
14683 result = (int)(arg1)->GetRow();
14684
14685 wxPyEndAllowThreads(__tstate);
14686 if (PyErr_Occurred()) SWIG_fail;
14687 }
15afbcd0 14688 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14689 return resultobj;
14690 fail:
14691 return NULL;
14692}
14693
14694
14695static PyObject *_wrap_GridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14696 PyObject *resultobj;
14697 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14698 int result;
14699 PyObject * obj0 = 0 ;
14700 char *kwnames[] = {
14701 (char *) "self", NULL
14702 };
14703
14704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
14705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14707 {
14708 PyThreadState* __tstate = wxPyBeginAllowThreads();
14709 result = (int)(arg1)->GetCol();
14710
14711 wxPyEndAllowThreads(__tstate);
14712 if (PyErr_Occurred()) SWIG_fail;
14713 }
15afbcd0 14714 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14715 return resultobj;
14716 fail:
14717 return NULL;
14718}
14719
14720
14721static PyObject *_wrap_GridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14722 PyObject *resultobj;
14723 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14724 wxPoint result;
14725 PyObject * obj0 = 0 ;
14726 char *kwnames[] = {
14727 (char *) "self", NULL
14728 };
14729
14730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
14731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14733 {
14734 PyThreadState* __tstate = wxPyBeginAllowThreads();
14735 result = (arg1)->GetPosition();
14736
14737 wxPyEndAllowThreads(__tstate);
14738 if (PyErr_Occurred()) SWIG_fail;
14739 }
14740 {
14741 wxPoint * resultptr;
14742 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14744 }
14745 return resultobj;
14746 fail:
14747 return NULL;
14748}
14749
14750
14751static PyObject *_wrap_GridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
14752 PyObject *resultobj;
14753 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14754 bool result;
14755 PyObject * obj0 = 0 ;
14756 char *kwnames[] = {
14757 (char *) "self", NULL
14758 };
14759
14760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_Selecting",kwnames,&obj0)) goto fail;
15afbcd0
RD
14761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14763 {
14764 PyThreadState* __tstate = wxPyBeginAllowThreads();
14765 result = (bool)(arg1)->Selecting();
14766
14767 wxPyEndAllowThreads(__tstate);
14768 if (PyErr_Occurred()) SWIG_fail;
14769 }
4f89f6a3
RD
14770 {
14771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14772 }
d14a1e28
RD
14773 return resultobj;
14774 fail:
14775 return NULL;
14776}
14777
14778
14779static PyObject *_wrap_GridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj;
14781 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14782 bool result;
14783 PyObject * obj0 = 0 ;
14784 char *kwnames[] = {
14785 (char *) "self", NULL
14786 };
14787
14788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14791 {
14792 PyThreadState* __tstate = wxPyBeginAllowThreads();
14793 result = (bool)(arg1)->ControlDown();
14794
14795 wxPyEndAllowThreads(__tstate);
14796 if (PyErr_Occurred()) SWIG_fail;
14797 }
4f89f6a3
RD
14798 {
14799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14800 }
d14a1e28
RD
14801 return resultobj;
14802 fail:
14803 return NULL;
14804}
14805
14806
14807static PyObject *_wrap_GridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14808 PyObject *resultobj;
14809 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14810 bool result;
14811 PyObject * obj0 = 0 ;
14812 char *kwnames[] = {
14813 (char *) "self", NULL
14814 };
14815
14816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14819 {
14820 PyThreadState* __tstate = wxPyBeginAllowThreads();
14821 result = (bool)(arg1)->MetaDown();
14822
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
4f89f6a3
RD
14826 {
14827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14828 }
d14a1e28
RD
14829 return resultobj;
14830 fail:
14831 return NULL;
14832}
14833
14834
14835static PyObject *_wrap_GridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14836 PyObject *resultobj;
14837 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14838 bool result;
14839 PyObject * obj0 = 0 ;
14840 char *kwnames[] = {
14841 (char *) "self", NULL
14842 };
14843
14844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14847 {
14848 PyThreadState* __tstate = wxPyBeginAllowThreads();
14849 result = (bool)(arg1)->ShiftDown();
14850
14851 wxPyEndAllowThreads(__tstate);
14852 if (PyErr_Occurred()) SWIG_fail;
14853 }
4f89f6a3
RD
14854 {
14855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14856 }
d14a1e28
RD
14857 return resultobj;
14858 fail:
14859 return NULL;
14860}
14861
14862
14863static PyObject *_wrap_GridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14864 PyObject *resultobj;
14865 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14866 bool result;
14867 PyObject * obj0 = 0 ;
14868 char *kwnames[] = {
14869 (char *) "self", NULL
14870 };
14871
14872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14875 {
14876 PyThreadState* __tstate = wxPyBeginAllowThreads();
14877 result = (bool)(arg1)->AltDown();
14878
14879 wxPyEndAllowThreads(__tstate);
14880 if (PyErr_Occurred()) SWIG_fail;
14881 }
4f89f6a3
RD
14882 {
14883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14884 }
d14a1e28
RD
14885 return resultobj;
14886 fail:
14887 return NULL;
14888}
14889
14890
14891static PyObject * GridEvent_swigregister(PyObject *self, PyObject *args) {
14892 PyObject *obj;
14893 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14894 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent, obj);
14895 Py_INCREF(obj);
14896 return Py_BuildValue((char *)"");
14897}
14898static PyObject *_wrap_new_GridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14899 PyObject *resultobj;
14900 int arg1 ;
14901 wxEventType arg2 ;
14902 wxGrid *arg3 = (wxGrid *) 0 ;
14903 int arg4 = (int) -1 ;
14904 int arg5 = (int) -1 ;
14905 int arg6 = (int) -1 ;
e811c8ce
RD
14906 bool arg7 = (bool) False ;
14907 bool arg8 = (bool) False ;
14908 bool arg9 = (bool) False ;
14909 bool arg10 = (bool) False ;
d14a1e28 14910 wxGridSizeEvent *result;
994141e6
RD
14911 PyObject * obj0 = 0 ;
14912 PyObject * obj1 = 0 ;
d14a1e28 14913 PyObject * obj2 = 0 ;
994141e6
RD
14914 PyObject * obj3 = 0 ;
14915 PyObject * obj4 = 0 ;
14916 PyObject * obj5 = 0 ;
d14a1e28
RD
14917 PyObject * obj6 = 0 ;
14918 PyObject * obj7 = 0 ;
14919 PyObject * obj8 = 0 ;
14920 PyObject * obj9 = 0 ;
14921 char *kwnames[] = {
14922 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14923 };
14924
994141e6 14925 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
14926 arg1 = (int) SWIG_AsInt(obj0);
14927 if (PyErr_Occurred()) SWIG_fail;
14928 arg2 = (wxEventType) SWIG_AsInt(obj1);
14929 if (PyErr_Occurred()) SWIG_fail;
14930 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 14932 if (obj3) {
15afbcd0
RD
14933 arg4 = (int) SWIG_AsInt(obj3);
14934 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14935 }
14936 if (obj4) {
15afbcd0
RD
14937 arg5 = (int) SWIG_AsInt(obj4);
14938 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14939 }
14940 if (obj5) {
15afbcd0
RD
14941 arg6 = (int) SWIG_AsInt(obj5);
14942 if (PyErr_Occurred()) SWIG_fail;
994141e6 14943 }
d14a1e28 14944 if (obj6) {
15afbcd0
RD
14945 arg7 = (bool) SWIG_AsBool(obj6);
14946 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14947 }
14948 if (obj7) {
15afbcd0
RD
14949 arg8 = (bool) SWIG_AsBool(obj7);
14950 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14951 }
14952 if (obj8) {
15afbcd0
RD
14953 arg9 = (bool) SWIG_AsBool(obj8);
14954 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14955 }
14956 if (obj9) {
15afbcd0
RD
14957 arg10 = (bool) SWIG_AsBool(obj9);
14958 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14959 }
14960 {
14961 PyThreadState* __tstate = wxPyBeginAllowThreads();
14962 result = (wxGridSizeEvent *)new wxGridSizeEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
14963
14964 wxPyEndAllowThreads(__tstate);
14965 if (PyErr_Occurred()) SWIG_fail;
14966 }
15afbcd0 14967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizeEvent, 1);
d14a1e28
RD
14968 return resultobj;
14969 fail:
14970 return NULL;
14971}
14972
14973
14974static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14975 PyObject *resultobj;
14976 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14977 int result;
14978 PyObject * obj0 = 0 ;
14979 char *kwnames[] = {
14980 (char *) "self", NULL
14981 };
14982
14983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
14984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14986 {
14987 PyThreadState* __tstate = wxPyBeginAllowThreads();
14988 result = (int)(arg1)->GetRowOrCol();
14989
14990 wxPyEndAllowThreads(__tstate);
14991 if (PyErr_Occurred()) SWIG_fail;
14992 }
15afbcd0 14993 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14994 return resultobj;
14995 fail:
14996 return NULL;
14997}
14998
14999
15000static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15001 PyObject *resultobj;
15002 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15003 wxPoint result;
15004 PyObject * obj0 = 0 ;
15005 char *kwnames[] = {
15006 (char *) "self", NULL
15007 };
15008
15009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
15010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15012 {
15013 PyThreadState* __tstate = wxPyBeginAllowThreads();
15014 result = (arg1)->GetPosition();
15015
15016 wxPyEndAllowThreads(__tstate);
15017 if (PyErr_Occurred()) SWIG_fail;
15018 }
15019 {
15020 wxPoint * resultptr;
15021 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 15022 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
15023 }
15024 return resultobj;
15025 fail:
15026 return NULL;
15027}
15028
15029
15030static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15031 PyObject *resultobj;
15032 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15033 bool result;
15034 PyObject * obj0 = 0 ;
15035 char *kwnames[] = {
15036 (char *) "self", NULL
15037 };
15038
15039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15042 {
15043 PyThreadState* __tstate = wxPyBeginAllowThreads();
15044 result = (bool)(arg1)->ControlDown();
15045
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
4f89f6a3
RD
15049 {
15050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15051 }
d14a1e28
RD
15052 return resultobj;
15053 fail:
15054 return NULL;
15055}
15056
15057
15058static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15059 PyObject *resultobj;
15060 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15061 bool result;
15062 PyObject * obj0 = 0 ;
15063 char *kwnames[] = {
15064 (char *) "self", NULL
15065 };
15066
15067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15070 {
15071 PyThreadState* __tstate = wxPyBeginAllowThreads();
15072 result = (bool)(arg1)->MetaDown();
15073
15074 wxPyEndAllowThreads(__tstate);
15075 if (PyErr_Occurred()) SWIG_fail;
15076 }
4f89f6a3
RD
15077 {
15078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15079 }
d14a1e28
RD
15080 return resultobj;
15081 fail:
15082 return NULL;
15083}
15084
15085
15086static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15087 PyObject *resultobj;
15088 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15089 bool result;
15090 PyObject * obj0 = 0 ;
15091 char *kwnames[] = {
15092 (char *) "self", NULL
15093 };
15094
15095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15098 {
15099 PyThreadState* __tstate = wxPyBeginAllowThreads();
15100 result = (bool)(arg1)->ShiftDown();
15101
15102 wxPyEndAllowThreads(__tstate);
15103 if (PyErr_Occurred()) SWIG_fail;
15104 }
4f89f6a3
RD
15105 {
15106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15107 }
d14a1e28
RD
15108 return resultobj;
15109 fail:
15110 return NULL;
15111}
15112
15113
15114static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15115 PyObject *resultobj;
15116 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
15117 bool result;
15118 PyObject * obj0 = 0 ;
15119 char *kwnames[] = {
15120 (char *) "self", NULL
15121 };
15122
15123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
15125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 result = (bool)(arg1)->AltDown();
15129
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
4f89f6a3
RD
15133 {
15134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15135 }
d14a1e28
RD
15136 return resultobj;
15137 fail:
15138 return NULL;
15139}
15140
15141
15142static PyObject * GridSizeEvent_swigregister(PyObject *self, PyObject *args) {
15143 PyObject *obj;
15144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15145 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent, obj);
15146 Py_INCREF(obj);
15147 return Py_BuildValue((char *)"");
15148}
15149static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15150 PyObject *resultobj;
15151 int arg1 ;
15152 wxEventType arg2 ;
15153 wxGrid *arg3 = (wxGrid *) 0 ;
15154 wxGridCellCoords *arg4 = 0 ;
15155 wxGridCellCoords *arg5 = 0 ;
e811c8ce
RD
15156 bool arg6 = (bool) True ;
15157 bool arg7 = (bool) False ;
15158 bool arg8 = (bool) False ;
15159 bool arg9 = (bool) False ;
15160 bool arg10 = (bool) False ;
d14a1e28
RD
15161 wxGridRangeSelectEvent *result;
15162 wxGridCellCoords temp4 ;
15163 wxGridCellCoords temp5 ;
994141e6
RD
15164 PyObject * obj0 = 0 ;
15165 PyObject * obj1 = 0 ;
d14a1e28
RD
15166 PyObject * obj2 = 0 ;
15167 PyObject * obj3 = 0 ;
15168 PyObject * obj4 = 0 ;
15169 PyObject * obj5 = 0 ;
15170 PyObject * obj6 = 0 ;
15171 PyObject * obj7 = 0 ;
15172 PyObject * obj8 = 0 ;
15173 PyObject * obj9 = 0 ;
15174 char *kwnames[] = {
15175 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
15176 };
15177
994141e6 15178 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
15179 arg1 = (int) SWIG_AsInt(obj0);
15180 if (PyErr_Occurred()) SWIG_fail;
15181 arg2 = (wxEventType) SWIG_AsInt(obj1);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
15184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15185 {
15186 arg4 = &temp4;
15187 if (! wxGridCellCoords_helper(obj3, &arg4)) SWIG_fail;
15188 }
15189 {
15190 arg5 = &temp5;
15191 if (! wxGridCellCoords_helper(obj4, &arg5)) SWIG_fail;
15192 }
15193 if (obj5) {
15afbcd0
RD
15194 arg6 = (bool) SWIG_AsBool(obj5);
15195 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15196 }
15197 if (obj6) {
15afbcd0
RD
15198 arg7 = (bool) SWIG_AsBool(obj6);
15199 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15200 }
15201 if (obj7) {
15afbcd0
RD
15202 arg8 = (bool) SWIG_AsBool(obj7);
15203 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15204 }
15205 if (obj8) {
15afbcd0
RD
15206 arg9 = (bool) SWIG_AsBool(obj8);
15207 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15208 }
15209 if (obj9) {
15afbcd0
RD
15210 arg10 = (bool) SWIG_AsBool(obj9);
15211 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15212 }
15213 {
15214 PyThreadState* __tstate = wxPyBeginAllowThreads();
15215 result = (wxGridRangeSelectEvent *)new wxGridRangeSelectEvent(arg1,arg2,arg3,(wxGridCellCoords const &)*arg4,(wxGridCellCoords const &)*arg5,arg6,arg7,arg8,arg9,arg10);
15216
15217 wxPyEndAllowThreads(__tstate);
15218 if (PyErr_Occurred()) SWIG_fail;
15219 }
15afbcd0 15220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridRangeSelectEvent, 1);
d14a1e28
RD
15221 return resultobj;
15222 fail:
15223 return NULL;
15224}
15225
15226
15227static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
15228 PyObject *resultobj;
15229 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15230 wxGridCellCoords result;
15231 PyObject * obj0 = 0 ;
15232 char *kwnames[] = {
15233 (char *) "self", NULL
15234 };
15235
15236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames,&obj0)) goto fail;
15afbcd0
RD
15237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15239 {
15240 PyThreadState* __tstate = wxPyBeginAllowThreads();
15241 result = (arg1)->GetTopLeftCoords();
15242
15243 wxPyEndAllowThreads(__tstate);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15246 {
15247 wxGridCellCoords * resultptr;
15248 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15afbcd0 15249 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
15250 }
15251 return resultobj;
15252 fail:
15253 return NULL;
15254}
15255
15256
15257static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
15258 PyObject *resultobj;
15259 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15260 wxGridCellCoords result;
15261 PyObject * obj0 = 0 ;
15262 char *kwnames[] = {
15263 (char *) "self", NULL
15264 };
15265
15266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames,&obj0)) goto fail;
15afbcd0
RD
15267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15269 {
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 result = (arg1)->GetBottomRightCoords();
15272
15273 wxPyEndAllowThreads(__tstate);
15274 if (PyErr_Occurred()) SWIG_fail;
15275 }
15276 {
15277 wxGridCellCoords * resultptr;
15278 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15afbcd0 15279 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
d14a1e28
RD
15280 }
15281 return resultobj;
15282 fail:
15283 return NULL;
15284}
15285
15286
15287static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15288 PyObject *resultobj;
15289 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15290 int result;
15291 PyObject * obj0 = 0 ;
15292 char *kwnames[] = {
15293 (char *) "self", NULL
15294 };
15295
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 result = (int)(arg1)->GetTopRow();
15302
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
15afbcd0 15306 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15307 return resultobj;
15308 fail:
15309 return NULL;
15310}
15311
15312
15313static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15314 PyObject *resultobj;
15315 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15316 int result;
15317 PyObject * obj0 = 0 ;
15318 char *kwnames[] = {
15319 (char *) "self", NULL
15320 };
15321
15322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 result = (int)(arg1)->GetBottomRow();
15328
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
15afbcd0 15332 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15333 return resultobj;
15334 fail:
15335 return NULL;
15336}
15337
15338
15339static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15340 PyObject *resultobj;
15341 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15342 int result;
15343 PyObject * obj0 = 0 ;
15344 char *kwnames[] = {
15345 (char *) "self", NULL
15346 };
15347
15348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
15349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15351 {
15352 PyThreadState* __tstate = wxPyBeginAllowThreads();
15353 result = (int)(arg1)->GetLeftCol();
15354
15355 wxPyEndAllowThreads(__tstate);
15356 if (PyErr_Occurred()) SWIG_fail;
15357 }
15afbcd0 15358 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15359 return resultobj;
15360 fail:
15361 return NULL;
15362}
15363
15364
15365static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15366 PyObject *resultobj;
15367 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15368 int result;
15369 PyObject * obj0 = 0 ;
15370 char *kwnames[] = {
15371 (char *) "self", NULL
15372 };
15373
15374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
15375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15377 {
15378 PyThreadState* __tstate = wxPyBeginAllowThreads();
15379 result = (int)(arg1)->GetRightCol();
15380
15381 wxPyEndAllowThreads(__tstate);
15382 if (PyErr_Occurred()) SWIG_fail;
15383 }
15afbcd0 15384 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15385 return resultobj;
15386 fail:
15387 return NULL;
15388}
15389
15390
15391static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
15392 PyObject *resultobj;
15393 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15394 bool result;
15395 PyObject * obj0 = 0 ;
15396 char *kwnames[] = {
15397 (char *) "self", NULL
15398 };
15399
15400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_Selecting",kwnames,&obj0)) goto fail;
15afbcd0
RD
15401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15403 {
15404 PyThreadState* __tstate = wxPyBeginAllowThreads();
15405 result = (bool)(arg1)->Selecting();
15406
15407 wxPyEndAllowThreads(__tstate);
15408 if (PyErr_Occurred()) SWIG_fail;
15409 }
4f89f6a3
RD
15410 {
15411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15412 }
d14a1e28
RD
15413 return resultobj;
15414 fail:
15415 return NULL;
15416}
15417
15418
15419static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15420 PyObject *resultobj;
15421 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15422 bool result;
15423 PyObject * obj0 = 0 ;
15424 char *kwnames[] = {
15425 (char *) "self", NULL
15426 };
15427
15428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15431 {
15432 PyThreadState* __tstate = wxPyBeginAllowThreads();
15433 result = (bool)(arg1)->ControlDown();
15434
15435 wxPyEndAllowThreads(__tstate);
15436 if (PyErr_Occurred()) SWIG_fail;
15437 }
4f89f6a3
RD
15438 {
15439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15440 }
d14a1e28
RD
15441 return resultobj;
15442 fail:
15443 return NULL;
15444}
15445
15446
15447static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15448 PyObject *resultobj;
15449 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15450 bool result;
15451 PyObject * obj0 = 0 ;
15452 char *kwnames[] = {
15453 (char *) "self", NULL
15454 };
15455
15456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15459 {
15460 PyThreadState* __tstate = wxPyBeginAllowThreads();
15461 result = (bool)(arg1)->MetaDown();
15462
15463 wxPyEndAllowThreads(__tstate);
15464 if (PyErr_Occurred()) SWIG_fail;
15465 }
4f89f6a3
RD
15466 {
15467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15468 }
d14a1e28
RD
15469 return resultobj;
15470 fail:
15471 return NULL;
15472}
15473
15474
15475static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15476 PyObject *resultobj;
15477 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15478 bool result;
15479 PyObject * obj0 = 0 ;
15480 char *kwnames[] = {
15481 (char *) "self", NULL
15482 };
15483
15484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15487 {
15488 PyThreadState* __tstate = wxPyBeginAllowThreads();
15489 result = (bool)(arg1)->ShiftDown();
15490
15491 wxPyEndAllowThreads(__tstate);
15492 if (PyErr_Occurred()) SWIG_fail;
15493 }
4f89f6a3
RD
15494 {
15495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15496 }
d14a1e28
RD
15497 return resultobj;
15498 fail:
15499 return NULL;
15500}
15501
15502
15503static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15504 PyObject *resultobj;
15505 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15506 bool result;
15507 PyObject * obj0 = 0 ;
15508 char *kwnames[] = {
15509 (char *) "self", NULL
15510 };
15511
15512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15515 {
15516 PyThreadState* __tstate = wxPyBeginAllowThreads();
15517 result = (bool)(arg1)->AltDown();
15518
15519 wxPyEndAllowThreads(__tstate);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 }
4f89f6a3
RD
15522 {
15523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15524 }
d14a1e28
RD
15525 return resultobj;
15526 fail:
15527 return NULL;
15528}
15529
15530
15531static PyObject * GridRangeSelectEvent_swigregister(PyObject *self, PyObject *args) {
15532 PyObject *obj;
15533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15534 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent, obj);
15535 Py_INCREF(obj);
15536 return Py_BuildValue((char *)"");
15537}
15538static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15539 PyObject *resultobj;
15540 int arg1 ;
15541 wxEventType arg2 ;
15542 wxObject *arg3 = (wxObject *) 0 ;
15543 int arg4 ;
15544 int arg5 ;
15545 wxControl *arg6 = (wxControl *) 0 ;
15546 wxGridEditorCreatedEvent *result;
994141e6
RD
15547 PyObject * obj0 = 0 ;
15548 PyObject * obj1 = 0 ;
d14a1e28 15549 PyObject * obj2 = 0 ;
994141e6
RD
15550 PyObject * obj3 = 0 ;
15551 PyObject * obj4 = 0 ;
d14a1e28
RD
15552 PyObject * obj5 = 0 ;
15553 char *kwnames[] = {
15554 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15555 };
15556
994141e6 15557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15558 arg1 = (int) SWIG_AsInt(obj0);
15559 if (PyErr_Occurred()) SWIG_fail;
15560 arg2 = (wxEventType) SWIG_AsInt(obj1);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxObject,
15563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15564 arg4 = (int) SWIG_AsInt(obj3);
15565 if (PyErr_Occurred()) SWIG_fail;
15566 arg5 = (int) SWIG_AsInt(obj4);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxControl,
15569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15570 {
15571 PyThreadState* __tstate = wxPyBeginAllowThreads();
15572 result = (wxGridEditorCreatedEvent *)new wxGridEditorCreatedEvent(arg1,arg2,arg3,arg4,arg5,arg6);
15573
15574 wxPyEndAllowThreads(__tstate);
15575 if (PyErr_Occurred()) SWIG_fail;
15576 }
15afbcd0 15577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEditorCreatedEvent, 1);
d14a1e28
RD
15578 return resultobj;
15579 fail:
15580 return NULL;
15581}
15582
15583
15584static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15585 PyObject *resultobj;
15586 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15587 int result;
15588 PyObject * obj0 = 0 ;
15589 char *kwnames[] = {
15590 (char *) "self", NULL
15591 };
15592
15593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15596 {
15597 PyThreadState* __tstate = wxPyBeginAllowThreads();
15598 result = (int)(arg1)->GetRow();
15599
15600 wxPyEndAllowThreads(__tstate);
15601 if (PyErr_Occurred()) SWIG_fail;
15602 }
15afbcd0 15603 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15604 return resultobj;
15605 fail:
15606 return NULL;
15607}
15608
15609
15610static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15611 PyObject *resultobj;
15612 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15613 int result;
15614 PyObject * obj0 = 0 ;
15615 char *kwnames[] = {
15616 (char *) "self", NULL
15617 };
15618
15619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
15620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15622 {
15623 PyThreadState* __tstate = wxPyBeginAllowThreads();
15624 result = (int)(arg1)->GetCol();
15625
15626 wxPyEndAllowThreads(__tstate);
15627 if (PyErr_Occurred()) SWIG_fail;
15628 }
15afbcd0 15629 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15630 return resultobj;
15631 fail:
15632 return NULL;
15633}
15634
15635
15636static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15637 PyObject *resultobj;
15638 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15639 wxControl *result;
15640 PyObject * obj0 = 0 ;
15641 char *kwnames[] = {
15642 (char *) "self", NULL
15643 };
15644
15645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
15646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15648 {
15649 PyThreadState* __tstate = wxPyBeginAllowThreads();
15650 result = (wxControl *)(arg1)->GetControl();
15651
15652 wxPyEndAllowThreads(__tstate);
15653 if (PyErr_Occurred()) SWIG_fail;
15654 }
15655 {
412d302d 15656 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
15657 }
15658 return resultobj;
15659 fail:
15660 return NULL;
15661}
15662
15663
15664static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15665 PyObject *resultobj;
15666 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15667 int arg2 ;
15668 PyObject * obj0 = 0 ;
994141e6 15669 PyObject * obj1 = 0 ;
d14a1e28
RD
15670 char *kwnames[] = {
15671 (char *) "self",(char *) "row", NULL
15672 };
15673
994141e6 15674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15677 arg2 = (int) SWIG_AsInt(obj1);
15678 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15679 {
15680 PyThreadState* __tstate = wxPyBeginAllowThreads();
15681 (arg1)->SetRow(arg2);
15682
15683 wxPyEndAllowThreads(__tstate);
15684 if (PyErr_Occurred()) SWIG_fail;
15685 }
15686 Py_INCREF(Py_None); resultobj = Py_None;
15687 return resultobj;
15688 fail:
15689 return NULL;
15690}
15691
15692
15693static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15694 PyObject *resultobj;
15695 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15696 int arg2 ;
15697 PyObject * obj0 = 0 ;
994141e6 15698 PyObject * obj1 = 0 ;
d14a1e28
RD
15699 char *kwnames[] = {
15700 (char *) "self",(char *) "col", NULL
15701 };
15702
994141e6 15703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15706 arg2 = (int) SWIG_AsInt(obj1);
15707 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15708 {
15709 PyThreadState* __tstate = wxPyBeginAllowThreads();
15710 (arg1)->SetCol(arg2);
15711
15712 wxPyEndAllowThreads(__tstate);
15713 if (PyErr_Occurred()) SWIG_fail;
15714 }
15715 Py_INCREF(Py_None); resultobj = Py_None;
15716 return resultobj;
15717 fail:
15718 return NULL;
15719}
15720
15721
15722static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15723 PyObject *resultobj;
15724 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15725 wxControl *arg2 = (wxControl *) 0 ;
15726 PyObject * obj0 = 0 ;
15727 PyObject * obj1 = 0 ;
15728 char *kwnames[] = {
15729 (char *) "self",(char *) "ctrl", NULL
15730 };
15731
15732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15735 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
15736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15737 {
15738 PyThreadState* __tstate = wxPyBeginAllowThreads();
15739 (arg1)->SetControl(arg2);
15740
15741 wxPyEndAllowThreads(__tstate);
15742 if (PyErr_Occurred()) SWIG_fail;
15743 }
15744 Py_INCREF(Py_None); resultobj = Py_None;
15745 return resultobj;
15746 fail:
15747 return NULL;
15748}
15749
15750
15751static PyObject * GridEditorCreatedEvent_swigregister(PyObject *self, PyObject *args) {
15752 PyObject *obj;
15753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15754 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent, obj);
15755 Py_INCREF(obj);
15756 return Py_BuildValue((char *)"");
15757}
15758static PyMethodDef SwigMethods[] = {
15759 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction) _wrap_GridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15760 { (char *)"GridCellRenderer_SetParameters", (PyCFunction) _wrap_GridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
15761 { (char *)"GridCellRenderer_IncRef", (PyCFunction) _wrap_GridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
15762 { (char *)"GridCellRenderer_DecRef", (PyCFunction) _wrap_GridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
15763 { (char *)"GridCellRenderer_Draw", (PyCFunction) _wrap_GridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
15764 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction) _wrap_GridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
15765 { (char *)"GridCellRenderer_Clone", (PyCFunction) _wrap_GridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
15766 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister, METH_VARARGS },
15767 { (char *)"new_PyGridCellRenderer", (PyCFunction) _wrap_new_PyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
15768 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_PyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15769 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_PyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15770 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister, METH_VARARGS },
15771 { (char *)"new_GridCellStringRenderer", (PyCFunction) _wrap_new_GridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
15772 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister, METH_VARARGS },
15773 { (char *)"new_GridCellNumberRenderer", (PyCFunction) _wrap_new_GridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
15774 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister, METH_VARARGS },
15775 { (char *)"new_GridCellFloatRenderer", (PyCFunction) _wrap_new_GridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
15776 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
15777 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
15778 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
15779 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
15780 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister, METH_VARARGS },
15781 { (char *)"new_GridCellBoolRenderer", (PyCFunction) _wrap_new_GridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
15782 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister, METH_VARARGS },
15783 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction) _wrap_new_GridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
15784 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister, METH_VARARGS },
15785 { (char *)"new_GridCellEnumRenderer", (PyCFunction) _wrap_new_GridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
15786 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister, METH_VARARGS },
15787 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_GridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
15788 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister, METH_VARARGS },
15789 { (char *)"GridCellEditor__setOORInfo", (PyCFunction) _wrap_GridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15790 { (char *)"GridCellEditor_IsCreated", (PyCFunction) _wrap_GridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
15791 { (char *)"GridCellEditor_GetControl", (PyCFunction) _wrap_GridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
15792 { (char *)"GridCellEditor_SetControl", (PyCFunction) _wrap_GridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
15793 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction) _wrap_GridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS },
15794 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction) _wrap_GridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS },
15795 { (char *)"GridCellEditor_SetParameters", (PyCFunction) _wrap_GridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
15796 { (char *)"GridCellEditor_IncRef", (PyCFunction) _wrap_GridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
15797 { (char *)"GridCellEditor_DecRef", (PyCFunction) _wrap_GridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
15798 { (char *)"GridCellEditor_Create", (PyCFunction) _wrap_GridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
15799 { (char *)"GridCellEditor_BeginEdit", (PyCFunction) _wrap_GridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
15800 { (char *)"GridCellEditor_EndEdit", (PyCFunction) _wrap_GridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
15801 { (char *)"GridCellEditor_Reset", (PyCFunction) _wrap_GridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
15802 { (char *)"GridCellEditor_Clone", (PyCFunction) _wrap_GridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
15803 { (char *)"GridCellEditor_SetSize", (PyCFunction) _wrap_GridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
15804 { (char *)"GridCellEditor_Show", (PyCFunction) _wrap_GridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
15805 { (char *)"GridCellEditor_PaintBackground", (PyCFunction) _wrap_GridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15806 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_GridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15807 { (char *)"GridCellEditor_StartingKey", (PyCFunction) _wrap_GridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
15808 { (char *)"GridCellEditor_StartingClick", (PyCFunction) _wrap_GridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
15809 { (char *)"GridCellEditor_HandleReturn", (PyCFunction) _wrap_GridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15810 { (char *)"GridCellEditor_Destroy", (PyCFunction) _wrap_GridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
15811 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister, METH_VARARGS },
15812 { (char *)"new_PyGridCellEditor", (PyCFunction) _wrap_new_PyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
15813 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_PyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15814 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction) _wrap_PyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
15815 { (char *)"PyGridCellEditor_base_Show", (PyCFunction) _wrap_PyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
15816 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_PyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15817 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_PyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15818 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_PyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
15819 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_PyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
15820 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_PyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15821 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction) _wrap_PyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
15822 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_PyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15823 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister, METH_VARARGS },
15824 { (char *)"new_GridCellTextEditor", (PyCFunction) _wrap_new_GridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
15825 { (char *)"GridCellTextEditor_GetValue", (PyCFunction) _wrap_GridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15826 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister, METH_VARARGS },
15827 { (char *)"new_GridCellNumberEditor", (PyCFunction) _wrap_new_GridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
15828 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction) _wrap_GridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15829 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister, METH_VARARGS },
15830 { (char *)"new_GridCellFloatEditor", (PyCFunction) _wrap_new_GridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
15831 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction) _wrap_GridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15832 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS },
15833 { (char *)"new_GridCellBoolEditor", (PyCFunction) _wrap_new_GridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
15834 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction) _wrap_GridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15835 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS },
15836 { (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
15837 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction) _wrap_GridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15838 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister, METH_VARARGS },
15839 { (char *)"new_GridCellEnumEditor", (PyCFunction) _wrap_new_GridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
15840 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction) _wrap_GridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15841 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister, METH_VARARGS },
15842 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_GridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
15843 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_GridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15844 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister, METH_VARARGS },
15845 { (char *)"GridCellAttr__setOORInfo", (PyCFunction) _wrap_GridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15846 { (char *)"new_GridCellAttr", (PyCFunction) _wrap_new_GridCellAttr, METH_VARARGS | METH_KEYWORDS },
15847 { (char *)"GridCellAttr_Clone", (PyCFunction) _wrap_GridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
15848 { (char *)"GridCellAttr_MergeWith", (PyCFunction) _wrap_GridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
15849 { (char *)"GridCellAttr_IncRef", (PyCFunction) _wrap_GridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
15850 { (char *)"GridCellAttr_DecRef", (PyCFunction) _wrap_GridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
15851 { (char *)"GridCellAttr_SetTextColour", (PyCFunction) _wrap_GridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
15852 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15853 { (char *)"GridCellAttr_SetFont", (PyCFunction) _wrap_GridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
15854 { (char *)"GridCellAttr_SetAlignment", (PyCFunction) _wrap_GridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
15855 { (char *)"GridCellAttr_SetSize", (PyCFunction) _wrap_GridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS },
15856 { (char *)"GridCellAttr_SetOverflow", (PyCFunction) _wrap_GridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS },
15857 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction) _wrap_GridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15858 { (char *)"GridCellAttr_SetRenderer", (PyCFunction) _wrap_GridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
15859 { (char *)"GridCellAttr_SetEditor", (PyCFunction) _wrap_GridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
15860 { (char *)"GridCellAttr_SetKind", (PyCFunction) _wrap_GridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
15861 { (char *)"GridCellAttr_HasTextColour", (PyCFunction) _wrap_GridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
15862 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_GridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15863 { (char *)"GridCellAttr_HasFont", (PyCFunction) _wrap_GridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
15864 { (char *)"GridCellAttr_HasAlignment", (PyCFunction) _wrap_GridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
15865 { (char *)"GridCellAttr_HasRenderer", (PyCFunction) _wrap_GridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
15866 { (char *)"GridCellAttr_HasEditor", (PyCFunction) _wrap_GridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
15867 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_GridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
15868 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction) _wrap_GridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS },
15869 { (char *)"GridCellAttr_GetTextColour", (PyCFunction) _wrap_GridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
15870 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15871 { (char *)"GridCellAttr_GetFont", (PyCFunction) _wrap_GridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
15872 { (char *)"GridCellAttr_GetAlignment", (PyCFunction) _wrap_GridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
15873 { (char *)"GridCellAttr_GetSize", (PyCFunction) _wrap_GridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS },
15874 { (char *)"GridCellAttr_GetOverflow", (PyCFunction) _wrap_GridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS },
15875 { (char *)"GridCellAttr_GetRenderer", (PyCFunction) _wrap_GridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
15876 { (char *)"GridCellAttr_GetEditor", (PyCFunction) _wrap_GridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
15877 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction) _wrap_GridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
fd2dc343 15878 { (char *)"GridCellAttr_GetKind", (PyCFunction) _wrap_GridCellAttr_GetKind, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
15879 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction) _wrap_GridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
15880 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister, METH_VARARGS },
15881 { (char *)"new_GridCellAttrProvider", (PyCFunction) _wrap_new_GridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15882 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_GridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15883 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction) _wrap_GridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
15884 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
15885 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15886 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15887 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
15888 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
15889 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister, METH_VARARGS },
15890 { (char *)"new_PyGridCellAttrProvider", (PyCFunction) _wrap_new_PyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15891 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_PyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15892 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15893 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15894 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15895 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15896 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister, METH_VARARGS },
15897 { (char *)"GridTableBase__setOORInfo", (PyCFunction) _wrap_GridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15898 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction) _wrap_GridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15899 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction) _wrap_GridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15900 { (char *)"GridTableBase_SetView", (PyCFunction) _wrap_GridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
15901 { (char *)"GridTableBase_GetView", (PyCFunction) _wrap_GridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
15902 { (char *)"GridTableBase_GetNumberRows", (PyCFunction) _wrap_GridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15903 { (char *)"GridTableBase_GetNumberCols", (PyCFunction) _wrap_GridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15904 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction) _wrap_GridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
15905 { (char *)"GridTableBase_GetValue", (PyCFunction) _wrap_GridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
15906 { (char *)"GridTableBase_SetValue", (PyCFunction) _wrap_GridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
15907 { (char *)"GridTableBase_GetTypeName", (PyCFunction) _wrap_GridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15908 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction) _wrap_GridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15909 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction) _wrap_GridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15910 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction) _wrap_GridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15911 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction) _wrap_GridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15912 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction) _wrap_GridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15913 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction) _wrap_GridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15914 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction) _wrap_GridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15915 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction) _wrap_GridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15916 { (char *)"GridTableBase_Clear", (PyCFunction) _wrap_GridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
15917 { (char *)"GridTableBase_InsertRows", (PyCFunction) _wrap_GridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
15918 { (char *)"GridTableBase_AppendRows", (PyCFunction) _wrap_GridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
15919 { (char *)"GridTableBase_DeleteRows", (PyCFunction) _wrap_GridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15920 { (char *)"GridTableBase_InsertCols", (PyCFunction) _wrap_GridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
15921 { (char *)"GridTableBase_AppendCols", (PyCFunction) _wrap_GridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
15922 { (char *)"GridTableBase_DeleteCols", (PyCFunction) _wrap_GridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15923 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction) _wrap_GridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15924 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction) _wrap_GridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15925 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction) _wrap_GridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15926 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction) _wrap_GridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15927 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction) _wrap_GridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15928 { (char *)"GridTableBase_GetAttr", (PyCFunction) _wrap_GridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
15929 { (char *)"GridTableBase_SetAttr", (PyCFunction) _wrap_GridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
15930 { (char *)"GridTableBase_SetRowAttr", (PyCFunction) _wrap_GridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15931 { (char *)"GridTableBase_SetColAttr", (PyCFunction) _wrap_GridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15932 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister, METH_VARARGS },
15933 { (char *)"new_PyGridTableBase", (PyCFunction) _wrap_new_PyGridTableBase, METH_VARARGS | METH_KEYWORDS },
15934 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_PyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15935 { (char *)"PyGridTableBase_Destroy", (PyCFunction) _wrap_PyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
15936 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_PyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15937 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15938 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15939 { (char *)"PyGridTableBase_base_Clear", (PyCFunction) _wrap_PyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
15940 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction) _wrap_PyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
15941 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction) _wrap_PyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
15942 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_PyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15943 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction) _wrap_PyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
15944 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction) _wrap_PyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
15945 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_PyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15946 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15947 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15948 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15949 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15950 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_PyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15951 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction) _wrap_PyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15952 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15953 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15954 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15955 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister, METH_VARARGS },
15956 { (char *)"new_GridStringTable", (PyCFunction) _wrap_new_GridStringTable, METH_VARARGS | METH_KEYWORDS },
15957 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister, METH_VARARGS },
15958 { (char *)"new_GridTableMessage", (PyCFunction) _wrap_new_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15959 { (char *)"delete_GridTableMessage", (PyCFunction) _wrap_delete_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15960 { (char *)"GridTableMessage_SetTableObject", (PyCFunction) _wrap_GridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
15961 { (char *)"GridTableMessage_GetTableObject", (PyCFunction) _wrap_GridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
15962 { (char *)"GridTableMessage_SetId", (PyCFunction) _wrap_GridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
15963 { (char *)"GridTableMessage_GetId", (PyCFunction) _wrap_GridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
15964 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction) _wrap_GridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
15965 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction) _wrap_GridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
15966 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction) _wrap_GridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15967 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction) _wrap_GridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15968 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister, METH_VARARGS },
15969 { (char *)"new_GridCellCoords", (PyCFunction) _wrap_new_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15970 { (char *)"delete_GridCellCoords", (PyCFunction) _wrap_delete_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15971 { (char *)"GridCellCoords_GetRow", (PyCFunction) _wrap_GridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
15972 { (char *)"GridCellCoords_SetRow", (PyCFunction) _wrap_GridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
15973 { (char *)"GridCellCoords_GetCol", (PyCFunction) _wrap_GridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
15974 { (char *)"GridCellCoords_SetCol", (PyCFunction) _wrap_GridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
15975 { (char *)"GridCellCoords_Set", (PyCFunction) _wrap_GridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
15976 { (char *)"GridCellCoords___eq__", (PyCFunction) _wrap_GridCellCoords___eq__, METH_VARARGS | METH_KEYWORDS },
15977 { (char *)"GridCellCoords___ne__", (PyCFunction) _wrap_GridCellCoords___ne__, METH_VARARGS | METH_KEYWORDS },
41e2b43e 15978 { (char *)"GridCellCoords_Get", (PyCFunction) _wrap_GridCellCoords_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
15979 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister, METH_VARARGS },
15980 { (char *)"new_Grid", (PyCFunction) _wrap_new_Grid, METH_VARARGS | METH_KEYWORDS },
1a10c483
RD
15981 { (char *)"new_PreGrid", (PyCFunction) _wrap_new_PreGrid, METH_VARARGS | METH_KEYWORDS },
15982 { (char *)"Grid_Create", (PyCFunction) _wrap_Grid_Create, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
15983 { (char *)"Grid_CreateGrid", (PyCFunction) _wrap_Grid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
15984 { (char *)"Grid_SetSelectionMode", (PyCFunction) _wrap_Grid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15985 { (char *)"Grid_GetSelectionMode", (PyCFunction) _wrap_Grid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15986 { (char *)"Grid_GetNumberRows", (PyCFunction) _wrap_Grid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15987 { (char *)"Grid_GetNumberCols", (PyCFunction) _wrap_Grid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15988 { (char *)"Grid_ProcessTableMessage", (PyCFunction) _wrap_Grid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
15989 { (char *)"Grid_GetTable", (PyCFunction) _wrap_Grid_GetTable, METH_VARARGS | METH_KEYWORDS },
15990 { (char *)"Grid_SetTable", (PyCFunction) _wrap_Grid_SetTable, METH_VARARGS | METH_KEYWORDS },
15991 { (char *)"Grid_ClearGrid", (PyCFunction) _wrap_Grid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
15992 { (char *)"Grid_InsertRows", (PyCFunction) _wrap_Grid_InsertRows, METH_VARARGS | METH_KEYWORDS },
15993 { (char *)"Grid_AppendRows", (PyCFunction) _wrap_Grid_AppendRows, METH_VARARGS | METH_KEYWORDS },
15994 { (char *)"Grid_DeleteRows", (PyCFunction) _wrap_Grid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15995 { (char *)"Grid_InsertCols", (PyCFunction) _wrap_Grid_InsertCols, METH_VARARGS | METH_KEYWORDS },
15996 { (char *)"Grid_AppendCols", (PyCFunction) _wrap_Grid_AppendCols, METH_VARARGS | METH_KEYWORDS },
15997 { (char *)"Grid_DeleteCols", (PyCFunction) _wrap_Grid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15998 { (char *)"Grid_DrawCellHighlight", (PyCFunction) _wrap_Grid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
15999 { (char *)"Grid_DrawTextRectangle", (PyCFunction) _wrap_Grid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
16000 { (char *)"Grid_GetTextBoxSize", (PyCFunction) _wrap_Grid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
16001 { (char *)"Grid_BeginBatch", (PyCFunction) _wrap_Grid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
16002 { (char *)"Grid_EndBatch", (PyCFunction) _wrap_Grid_EndBatch, METH_VARARGS | METH_KEYWORDS },
16003 { (char *)"Grid_GetBatchCount", (PyCFunction) _wrap_Grid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
16004 { (char *)"Grid_ForceRefresh", (PyCFunction) _wrap_Grid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
16005 { (char *)"Grid_IsEditable", (PyCFunction) _wrap_Grid_IsEditable, METH_VARARGS | METH_KEYWORDS },
16006 { (char *)"Grid_EnableEditing", (PyCFunction) _wrap_Grid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
16007 { (char *)"Grid_EnableCellEditControl", (PyCFunction) _wrap_Grid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
16008 { (char *)"Grid_DisableCellEditControl", (PyCFunction) _wrap_Grid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
16009 { (char *)"Grid_CanEnableCellControl", (PyCFunction) _wrap_Grid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
16010 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction) _wrap_Grid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
16011 { (char *)"Grid_IsCellEditControlShown", (PyCFunction) _wrap_Grid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
16012 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction) _wrap_Grid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
16013 { (char *)"Grid_ShowCellEditControl", (PyCFunction) _wrap_Grid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
16014 { (char *)"Grid_HideCellEditControl", (PyCFunction) _wrap_Grid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
16015 { (char *)"Grid_SaveEditControlValue", (PyCFunction) _wrap_Grid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
16016 { (char *)"Grid_XYToCell", (PyCFunction) _wrap_Grid_XYToCell, METH_VARARGS | METH_KEYWORDS },
16017 { (char *)"Grid_YToRow", (PyCFunction) _wrap_Grid_YToRow, METH_VARARGS | METH_KEYWORDS },
16018 { (char *)"Grid_XToCol", (PyCFunction) _wrap_Grid_XToCol, METH_VARARGS | METH_KEYWORDS },
16019 { (char *)"Grid_YToEdgeOfRow", (PyCFunction) _wrap_Grid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
16020 { (char *)"Grid_XToEdgeOfCol", (PyCFunction) _wrap_Grid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
16021 { (char *)"Grid_CellToRect", (PyCFunction) _wrap_Grid_CellToRect, METH_VARARGS | METH_KEYWORDS },
16022 { (char *)"Grid_GetGridCursorRow", (PyCFunction) _wrap_Grid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
16023 { (char *)"Grid_GetGridCursorCol", (PyCFunction) _wrap_Grid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
16024 { (char *)"Grid_IsVisible", (PyCFunction) _wrap_Grid_IsVisible, METH_VARARGS | METH_KEYWORDS },
16025 { (char *)"Grid_MakeCellVisible", (PyCFunction) _wrap_Grid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
16026 { (char *)"Grid_SetGridCursor", (PyCFunction) _wrap_Grid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
16027 { (char *)"Grid_MoveCursorUp", (PyCFunction) _wrap_Grid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
16028 { (char *)"Grid_MoveCursorDown", (PyCFunction) _wrap_Grid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
16029 { (char *)"Grid_MoveCursorLeft", (PyCFunction) _wrap_Grid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
16030 { (char *)"Grid_MoveCursorRight", (PyCFunction) _wrap_Grid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
16031 { (char *)"Grid_MovePageDown", (PyCFunction) _wrap_Grid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
16032 { (char *)"Grid_MovePageUp", (PyCFunction) _wrap_Grid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
16033 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction) _wrap_Grid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
16034 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction) _wrap_Grid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
16035 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction) _wrap_Grid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
16036 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction) _wrap_Grid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
16037 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction) _wrap_Grid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
16038 { (char *)"Grid_GetRowLabelSize", (PyCFunction) _wrap_Grid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
16039 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction) _wrap_Grid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
16040 { (char *)"Grid_GetColLabelSize", (PyCFunction) _wrap_Grid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
16041 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction) _wrap_Grid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
16042 { (char *)"Grid_GetLabelTextColour", (PyCFunction) _wrap_Grid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
16043 { (char *)"Grid_GetLabelFont", (PyCFunction) _wrap_Grid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
16044 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction) _wrap_Grid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
16045 { (char *)"Grid_GetColLabelAlignment", (PyCFunction) _wrap_Grid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
16046 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction) _wrap_Grid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
16047 { (char *)"Grid_GetRowLabelValue", (PyCFunction) _wrap_Grid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
16048 { (char *)"Grid_GetColLabelValue", (PyCFunction) _wrap_Grid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
16049 { (char *)"Grid_GetGridLineColour", (PyCFunction) _wrap_Grid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
16050 { (char *)"Grid_GetCellHighlightColour", (PyCFunction) _wrap_Grid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
16051 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
16052 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
16053 { (char *)"Grid_SetRowLabelSize", (PyCFunction) _wrap_Grid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
16054 { (char *)"Grid_SetColLabelSize", (PyCFunction) _wrap_Grid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
16055 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction) _wrap_Grid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
16056 { (char *)"Grid_SetLabelTextColour", (PyCFunction) _wrap_Grid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
16057 { (char *)"Grid_SetLabelFont", (PyCFunction) _wrap_Grid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
16058 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction) _wrap_Grid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
16059 { (char *)"Grid_SetColLabelAlignment", (PyCFunction) _wrap_Grid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
16060 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction) _wrap_Grid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
16061 { (char *)"Grid_SetRowLabelValue", (PyCFunction) _wrap_Grid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
16062 { (char *)"Grid_SetColLabelValue", (PyCFunction) _wrap_Grid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
16063 { (char *)"Grid_SetGridLineColour", (PyCFunction) _wrap_Grid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
16064 { (char *)"Grid_SetCellHighlightColour", (PyCFunction) _wrap_Grid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
16065 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
16066 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
16067 { (char *)"Grid_EnableDragRowSize", (PyCFunction) _wrap_Grid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
16068 { (char *)"Grid_DisableDragRowSize", (PyCFunction) _wrap_Grid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
16069 { (char *)"Grid_CanDragRowSize", (PyCFunction) _wrap_Grid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
16070 { (char *)"Grid_EnableDragColSize", (PyCFunction) _wrap_Grid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
16071 { (char *)"Grid_DisableDragColSize", (PyCFunction) _wrap_Grid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
16072 { (char *)"Grid_CanDragColSize", (PyCFunction) _wrap_Grid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
16073 { (char *)"Grid_EnableDragGridSize", (PyCFunction) _wrap_Grid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
16074 { (char *)"Grid_DisableDragGridSize", (PyCFunction) _wrap_Grid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
16075 { (char *)"Grid_CanDragGridSize", (PyCFunction) _wrap_Grid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
4cf4100f
RD
16076 { (char *)"Grid_EnableDragCell", (PyCFunction) _wrap_Grid_EnableDragCell, METH_VARARGS | METH_KEYWORDS },
16077 { (char *)"Grid_DisableDragCell", (PyCFunction) _wrap_Grid_DisableDragCell, METH_VARARGS | METH_KEYWORDS },
16078 { (char *)"Grid_CanDragCell", (PyCFunction) _wrap_Grid_CanDragCell, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
16079 { (char *)"Grid_SetAttr", (PyCFunction) _wrap_Grid_SetAttr, METH_VARARGS | METH_KEYWORDS },
16080 { (char *)"Grid_SetRowAttr", (PyCFunction) _wrap_Grid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
16081 { (char *)"Grid_SetColAttr", (PyCFunction) _wrap_Grid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
023a034e 16082 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction) _wrap_Grid_GetOrCreateCellAttr, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
16083 { (char *)"Grid_SetColFormatBool", (PyCFunction) _wrap_Grid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
16084 { (char *)"Grid_SetColFormatNumber", (PyCFunction) _wrap_Grid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
16085 { (char *)"Grid_SetColFormatFloat", (PyCFunction) _wrap_Grid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
16086 { (char *)"Grid_SetColFormatCustom", (PyCFunction) _wrap_Grid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
16087 { (char *)"Grid_EnableGridLines", (PyCFunction) _wrap_Grid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
16088 { (char *)"Grid_GridLinesEnabled", (PyCFunction) _wrap_Grid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
16089 { (char *)"Grid_GetDefaultRowSize", (PyCFunction) _wrap_Grid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
16090 { (char *)"Grid_GetRowSize", (PyCFunction) _wrap_Grid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
16091 { (char *)"Grid_GetDefaultColSize", (PyCFunction) _wrap_Grid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
16092 { (char *)"Grid_GetColSize", (PyCFunction) _wrap_Grid_GetColSize, METH_VARARGS | METH_KEYWORDS },
16093 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
16094 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction) _wrap_Grid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
16095 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction) _wrap_Grid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
16096 { (char *)"Grid_GetCellTextColour", (PyCFunction) _wrap_Grid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
16097 { (char *)"Grid_GetDefaultCellFont", (PyCFunction) _wrap_Grid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
16098 { (char *)"Grid_GetCellFont", (PyCFunction) _wrap_Grid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
16099 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction) _wrap_Grid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
16100 { (char *)"Grid_GetCellAlignment", (PyCFunction) _wrap_Grid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
16101 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction) _wrap_Grid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
16102 { (char *)"Grid_GetCellOverflow", (PyCFunction) _wrap_Grid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS },
16103 { (char *)"Grid_GetCellSize", (PyCFunction) _wrap_Grid_GetCellSize, METH_VARARGS | METH_KEYWORDS },
16104 { (char *)"Grid_SetDefaultRowSize", (PyCFunction) _wrap_Grid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
16105 { (char *)"Grid_SetRowSize", (PyCFunction) _wrap_Grid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
16106 { (char *)"Grid_SetDefaultColSize", (PyCFunction) _wrap_Grid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
16107 { (char *)"Grid_SetColSize", (PyCFunction) _wrap_Grid_SetColSize, METH_VARARGS | METH_KEYWORDS },
16108 { (char *)"Grid_AutoSizeColumn", (PyCFunction) _wrap_Grid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
16109 { (char *)"Grid_AutoSizeRow", (PyCFunction) _wrap_Grid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
16110 { (char *)"Grid_AutoSizeColumns", (PyCFunction) _wrap_Grid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
16111 { (char *)"Grid_AutoSizeRows", (PyCFunction) _wrap_Grid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
16112 { (char *)"Grid_AutoSize", (PyCFunction) _wrap_Grid_AutoSize, METH_VARARGS | METH_KEYWORDS },
16113 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction) _wrap_Grid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS },
16114 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction) _wrap_Grid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS },
16115 { (char *)"Grid_SetColMinimalWidth", (PyCFunction) _wrap_Grid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
16116 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction) _wrap_Grid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
16117 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
16118 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
16119 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
16120 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
16121 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
16122 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction) _wrap_Grid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
16123 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction) _wrap_Grid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
16124 { (char *)"Grid_SetCellTextColour", (PyCFunction) _wrap_Grid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
16125 { (char *)"Grid_SetDefaultCellFont", (PyCFunction) _wrap_Grid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
16126 { (char *)"Grid_SetCellFont", (PyCFunction) _wrap_Grid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
16127 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction) _wrap_Grid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
16128 { (char *)"Grid_SetCellAlignment", (PyCFunction) _wrap_Grid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
16129 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction) _wrap_Grid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
16130 { (char *)"Grid_SetCellOverflow", (PyCFunction) _wrap_Grid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS },
16131 { (char *)"Grid_SetCellSize", (PyCFunction) _wrap_Grid_SetCellSize, METH_VARARGS | METH_KEYWORDS },
16132 { (char *)"Grid_SetDefaultRenderer", (PyCFunction) _wrap_Grid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
16133 { (char *)"Grid_SetCellRenderer", (PyCFunction) _wrap_Grid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
16134 { (char *)"Grid_GetDefaultRenderer", (PyCFunction) _wrap_Grid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
16135 { (char *)"Grid_GetCellRenderer", (PyCFunction) _wrap_Grid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
16136 { (char *)"Grid_SetDefaultEditor", (PyCFunction) _wrap_Grid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
16137 { (char *)"Grid_SetCellEditor", (PyCFunction) _wrap_Grid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
16138 { (char *)"Grid_GetDefaultEditor", (PyCFunction) _wrap_Grid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
16139 { (char *)"Grid_GetCellEditor", (PyCFunction) _wrap_Grid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
16140 { (char *)"Grid_GetCellValue", (PyCFunction) _wrap_Grid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
16141 { (char *)"Grid_SetCellValue", (PyCFunction) _wrap_Grid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
16142 { (char *)"Grid_IsReadOnly", (PyCFunction) _wrap_Grid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
16143 { (char *)"Grid_SetReadOnly", (PyCFunction) _wrap_Grid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
16144 { (char *)"Grid_SelectRow", (PyCFunction) _wrap_Grid_SelectRow, METH_VARARGS | METH_KEYWORDS },
16145 { (char *)"Grid_SelectCol", (PyCFunction) _wrap_Grid_SelectCol, METH_VARARGS | METH_KEYWORDS },
16146 { (char *)"Grid_SelectBlock", (PyCFunction) _wrap_Grid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
16147 { (char *)"Grid_SelectAll", (PyCFunction) _wrap_Grid_SelectAll, METH_VARARGS | METH_KEYWORDS },
16148 { (char *)"Grid_IsSelection", (PyCFunction) _wrap_Grid_IsSelection, METH_VARARGS | METH_KEYWORDS },
16149 { (char *)"Grid_ClearSelection", (PyCFunction) _wrap_Grid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
16150 { (char *)"Grid_IsInSelection", (PyCFunction) _wrap_Grid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
16151 { (char *)"Grid_GetSelectedCells", (PyCFunction) _wrap_Grid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS },
16152 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_Grid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS },
16153 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_Grid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS },
16154 { (char *)"Grid_GetSelectedRows", (PyCFunction) _wrap_Grid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS },
16155 { (char *)"Grid_GetSelectedCols", (PyCFunction) _wrap_Grid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS },
16156 { (char *)"Grid_DeselectRow", (PyCFunction) _wrap_Grid_DeselectRow, METH_VARARGS | METH_KEYWORDS },
16157 { (char *)"Grid_DeselectCol", (PyCFunction) _wrap_Grid_DeselectCol, METH_VARARGS | METH_KEYWORDS },
16158 { (char *)"Grid_DeselectCell", (PyCFunction) _wrap_Grid_DeselectCell, METH_VARARGS | METH_KEYWORDS },
16159 { (char *)"Grid_BlockToDeviceRect", (PyCFunction) _wrap_Grid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
16160 { (char *)"Grid_GetSelectionBackground", (PyCFunction) _wrap_Grid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
16161 { (char *)"Grid_GetSelectionForeground", (PyCFunction) _wrap_Grid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
16162 { (char *)"Grid_SetSelectionBackground", (PyCFunction) _wrap_Grid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
16163 { (char *)"Grid_SetSelectionForeground", (PyCFunction) _wrap_Grid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
16164 { (char *)"Grid_RegisterDataType", (PyCFunction) _wrap_Grid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
16165 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction) _wrap_Grid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
16166 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction) _wrap_Grid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
16167 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction) _wrap_Grid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
16168 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction) _wrap_Grid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
16169 { (char *)"Grid_SetMargins", (PyCFunction) _wrap_Grid_SetMargins, METH_VARARGS | METH_KEYWORDS },
16170 { (char *)"Grid_GetGridWindow", (PyCFunction) _wrap_Grid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
16171 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
16172 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
16173 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
22bfe96c 16174 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction) _wrap_Grid_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
16175 { (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS },
16176 { (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS },
16177 { (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
16178 { (char *)"GridEvent_GetCol", (PyCFunction) _wrap_GridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
16179 { (char *)"GridEvent_GetPosition", (PyCFunction) _wrap_GridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
16180 { (char *)"GridEvent_Selecting", (PyCFunction) _wrap_GridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
16181 { (char *)"GridEvent_ControlDown", (PyCFunction) _wrap_GridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
16182 { (char *)"GridEvent_MetaDown", (PyCFunction) _wrap_GridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
16183 { (char *)"GridEvent_ShiftDown", (PyCFunction) _wrap_GridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
16184 { (char *)"GridEvent_AltDown", (PyCFunction) _wrap_GridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
16185 { (char *)"GridEvent_swigregister", GridEvent_swigregister, METH_VARARGS },
16186 { (char *)"new_GridSizeEvent", (PyCFunction) _wrap_new_GridSizeEvent, METH_VARARGS | METH_KEYWORDS },
16187 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_GridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
16188 { (char *)"GridSizeEvent_GetPosition", (PyCFunction) _wrap_GridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
16189 { (char *)"GridSizeEvent_ControlDown", (PyCFunction) _wrap_GridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
16190 { (char *)"GridSizeEvent_MetaDown", (PyCFunction) _wrap_GridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
16191 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction) _wrap_GridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
16192 { (char *)"GridSizeEvent_AltDown", (PyCFunction) _wrap_GridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
16193 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister, METH_VARARGS },
16194 { (char *)"new_GridRangeSelectEvent", (PyCFunction) _wrap_new_GridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
16195 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
16196 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
16197 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
16198 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
16199 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
16200 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
16201 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction) _wrap_GridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
16202 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_GridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
16203 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_GridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
16204 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_GridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
16205 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction) _wrap_GridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
16206 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister, METH_VARARGS },
16207 { (char *)"new_GridEditorCreatedEvent", (PyCFunction) _wrap_new_GridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
16208 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
16209 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
16210 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
16211 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
16212 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
16213 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
16214 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister, METH_VARARGS },
16215 { NULL, NULL }
16216};
16217
16218
16219/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16220
16221static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x) {
16222 return (void *)((wxGridCellRenderer *) ((wxPyGridCellRenderer *) x));
16223}
16224static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x) {
16225 return (void *)((wxGridCellRenderer *) ((wxGridCellStringRenderer *) x));
16226}
16227static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x) {
16228 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
16229}
16230static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x) {
16231 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
16232}
16233static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x) {
16234 return (void *)((wxGridCellRenderer *) ((wxGridCellBoolRenderer *) x));
16235}
16236static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x) {
16237 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
16238}
16239static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x) {
16240 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
16241}
16242static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x) {
16243 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
16244}
16245static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x) {
16246 return (void *)((wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
16247}
16248static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x) {
16249 return (void *)((wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
16250}
16251static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x) {
16252 return (void *)((wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
16253}
16254static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x) {
16255 return (void *)((wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
16256}
16257static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x) {
16258 return (void *)((wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
16259}
16260static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
16261 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
16262}
16263static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
16264 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
16265}
823f0cfe
RD
16266static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
16267 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16268}
d14a1e28
RD
16269static void *_p_wxGridTo_p_wxPanel(void *x) {
16270 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxGrid *) x));
16271}
16272static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
16273 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16274}
16275static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
16276 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16277}
16278static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
16279 return (void *)((wxPanel *) ((wxPyPanel *) x));
16280}
16281static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
16282 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
16283}
16284static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
16285 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
16286}
16287static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
16288 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16289}
16290static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x) {
16291 return (void *)((wxNotifyEvent *) ((wxGridSizeEvent *) x));
16292}
16293static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x) {
16294 return (void *)((wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16295}
16296static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
16297 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
16298}
16299static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x) {
16300 return (void *)((wxNotifyEvent *) ((wxGridEvent *) x));
16301}
823f0cfe
RD
16302static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
16303 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16304}
d14a1e28
RD
16305static void *_p_wxGridTo_p_wxScrolledWindow(void *x) {
16306 return (void *)((wxScrolledWindow *) ((wxGrid *) x));
16307}
16308static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
16309 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
16310}
16311static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
16312 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16313}
16314static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
16315 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16316}
16317static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
16318 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
16319}
16320static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
16321 return (void *)((wxWindow *) ((wxMenuBar *) x));
16322}
16323static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
16324 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16325}
16326static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
16327 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16328}
16329static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
16330 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16331}
16332static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
16333 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16334}
16335static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
16336 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16337}
16338static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
16339 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16340}
16341static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
16342 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16343}
16344static void *_p_wxPanelTo_p_wxWindow(void *x) {
16345 return (void *)((wxWindow *) ((wxPanel *) x));
16346}
16347static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
16348 return (void *)((wxWindow *) ((wxStatusBar *) x));
16349}
16350static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
16351 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
16352}
16353static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
16354 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
16355}
16356static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
16357 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16358}
16359static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
16360 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16361}
16362static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
16363 return (void *)((wxWindow *) ((wxPopupWindow *) x));
16364}
16365static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
16366 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
16367}
16368static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
16369 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
16370}
16371static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
16372 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
16373}
16374static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
16375 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
16376}
16377static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
16378 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
16379}
16380static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
16381 return (void *)((wxWindow *) ((wxSashWindow *) x));
16382}
823f0cfe
RD
16383static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
16384 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16385}
d14a1e28
RD
16386static void *_p_wxControlTo_p_wxWindow(void *x) {
16387 return (void *)((wxWindow *) ((wxControl *) x));
16388}
16389static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
16390 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16391}
16392static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
16393 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16394}
16395static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
16396 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16397}
16398static void *_p_wxGridTo_p_wxWindow(void *x) {
16399 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16400}
16401static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
16402 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
16403}
16404static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
16405 return (void *)((wxWindow *) ((wxPyWindow *) x));
16406}
16407static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
16408 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16409}
16410static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
16411 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16412}
16413static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
16414 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16415}
16416static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
16417 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
16418}
16419static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
16420 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16421}
16422static void *_p_wxFrameTo_p_wxWindow(void *x) {
16423 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
16424}
16425static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
16426 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16427}
16428static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
16429 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16430}
16431static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
16432 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16433}
16434static void *_p_wxDialogTo_p_wxWindow(void *x) {
16435 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
16436}
16437static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
16438 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16439}
16440static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
16441 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16442}
16443static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
16444 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16445}
16446static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
16447 return (void *)((wxControl *) ((wxControlWithItems *) x));
16448}
16449static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
16450 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
16451}
16452static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
16453 return (void *)((wxEvent *) ((wxMenuEvent *) x));
16454}
16455static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
16456 return (void *)((wxEvent *) ((wxCloseEvent *) x));
16457}
16458static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
16459 return (void *)((wxEvent *) ((wxMouseEvent *) x));
16460}
16461static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
16462 return (void *)((wxEvent *) ((wxEraseEvent *) x));
16463}
16464static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
16465 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
16466}
16467static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
16468 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16469}
16470static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
16471 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
16472}
16473static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
16474 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
16475}
16476static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
16477 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
16478}
16479static void *_p_wxPyEventTo_p_wxEvent(void *x) {
16480 return (void *)((wxEvent *) ((wxPyEvent *) x));
16481}
16482static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
16483 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
16484}
16485static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
16486 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
16487}
16488static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x) {
16489 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16490}
16491static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
16492 return (void *)((wxEvent *) ((wxIdleEvent *) x));
16493}
16494static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
16495 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
16496}
16497static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
16498 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
16499}
16500static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
16501 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
16502}
16503static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
16504 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
16505}
16506static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
16507 return (void *)((wxEvent *) ((wxActivateEvent *) x));
16508}
16509static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
16510 return (void *)((wxEvent *) ((wxSizeEvent *) x));
16511}
16512static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
16513 return (void *)((wxEvent *) ((wxMoveEvent *) x));
16514}
16515static void *_p_wxGridSizeEventTo_p_wxEvent(void *x) {
16516 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16517}
16518static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
16519 return (void *)((wxEvent *) ((wxPaintEvent *) x));
16520}
16521static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
16522 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
16523}
16524static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
16525 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
16526}
16527static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
16528 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
16529}
16530static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
16531 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
16532}
16533static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
16534 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16535}
16536static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
16537 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
16538}
16539static void *_p_wxGridEventTo_p_wxEvent(void *x) {
16540 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16541}
16542static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x) {
16543 return (void *)((wxEvent *) (wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16544}
16545static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
16546 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
16547}
16548static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
16549 return (void *)((wxEvent *) ((wxFocusEvent *) x));
16550}
16551static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
16552 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
16553}
16554static void *_p_wxSashEventTo_p_wxEvent(void *x) {
16555 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
16556}
16557static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
16558 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16559}
16560static void *_p_wxShowEventTo_p_wxEvent(void *x) {
16561 return (void *)((wxEvent *) ((wxShowEvent *) x));
16562}
16563static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
16564 return (void *)((wxEvent *) ((wxCommandEvent *) x));
16565}
16566static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
16567 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
16568}
16569static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
16570 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16571}
16572static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
16573 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
16574}
16575static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
16576 return (void *)((wxEvent *) ((wxKeyEvent *) x));
16577}
16578static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
16579 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
16580}
16581static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
16582 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
16583}
16584static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
16585 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
16586}
16587static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
16588 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16589}
16590static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
16591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16592}
16593static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
16594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16595}
16596static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
16597 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
16598}
16599static void *_p_wxSizerItemTo_p_wxObject(void *x) {
16600 return (void *)((wxObject *) ((wxSizerItem *) x));
16601}
16602static void *_p_wxScrollEventTo_p_wxObject(void *x) {
16603 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
16604}
16605static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
16606 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
16607}
16608static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
16609 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
16610}
16611static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
16612 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
16613}
16614static void *_p_wxSizerTo_p_wxObject(void *x) {
16615 return (void *)((wxObject *) ((wxSizer *) x));
16616}
16617static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
16618 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
16619}
16620static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
16621 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
16622}
16623static void *_p_wxPyPanelTo_p_wxObject(void *x) {
16624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16625}
16626static void *_p_wxEventTo_p_wxObject(void *x) {
16627 return (void *)((wxObject *) ((wxEvent *) x));
16628}
16629static void *_p_wxFontDataTo_p_wxObject(void *x) {
16630 return (void *)((wxObject *) ((wxFontData *) x));
16631}
16632static void *_p_wxPrintDataTo_p_wxObject(void *x) {
16633 return (void *)((wxObject *) ((wxPrintData *) x));
16634}
16635static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
16636 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
16637}
16638static void *_p_wxGridSizerTo_p_wxObject(void *x) {
16639 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
16640}
16641static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
16642 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
16643}
16644static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
16645 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
16646}
16647static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
16648 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
16649}
16650static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
16651 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
16652}
16653static void *_p_wxGridStringTableTo_p_wxObject(void *x) {
16654 return (void *)((wxObject *) (wxGridTableBase *) ((wxGridStringTable *) x));
16655}
16656static void *_p_wxPaintEventTo_p_wxObject(void *x) {
16657 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
16658}
16659static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
16660 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
16661}
16662static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
16663 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
16664}
16665static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
16666 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
16667}
16668static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
16669 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16670}
16671static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
16672 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
16673}
16674static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
16675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16676}
16677static void *_p_wxGridEventTo_p_wxObject(void *x) {
16678 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16679}
16680static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x) {
16681 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16682}
16683static void *_p_wxControlTo_p_wxObject(void *x) {
16684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
16685}
16686static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
16687 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
16688}
16689static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
16690 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16691}
16692static void *_p_wxFSFileTo_p_wxObject(void *x) {
16693 return (void *)((wxObject *) ((wxFSFile *) x));
16694}
16695static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
16696 return (void *)((wxObject *) ((wxFindReplaceData *) x));
16697}
16698static void *_p_wxGridTo_p_wxObject(void *x) {
16699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16700}
16701static void *_p_wxPySizerTo_p_wxObject(void *x) {
16702 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
16703}
16704static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
16705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16706}
16707static void *_p_wxColourDataTo_p_wxObject(void *x) {
16708 return (void *)((wxObject *) ((wxColourData *) x));
16709}
16710static void *_p_wxPyEventTo_p_wxObject(void *x) {
16711 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
16712}
16713static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
16714 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
16715}
16716static void *_p_wxPyWindowTo_p_wxObject(void *x) {
16717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
16718}
16719static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
16720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16721}
16722static void *_p_wxFileDialogTo_p_wxObject(void *x) {
16723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16724}
16725static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
16726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16727}
16728static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
16729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16730}
16731static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
16732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16733}
16734static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
16735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16736}
16737static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
16738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16739}
16740static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
16741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16742}
16743static void *_p_wxShowEventTo_p_wxObject(void *x) {
16744 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
16745}
16746static void *_p_wxPrinterTo_p_wxObject(void *x) {
16747 return (void *)((wxObject *) ((wxPrinter *) x));
16748}
16749static void *_p_wxMenuItemTo_p_wxObject(void *x) {
16750 return (void *)((wxObject *) ((wxMenuItem *) x));
16751}
16752static void *_p_wxIdleEventTo_p_wxObject(void *x) {
16753 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
16754}
16755static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
16756 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
16757}
16758static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
16759 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
16760}
16761static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
16762 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
16763}
16764static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
16765 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
16766}
16767static void *_p_wxSizeEventTo_p_wxObject(void *x) {
16768 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
16769}
16770static void *_p_wxMoveEventTo_p_wxObject(void *x) {
16771 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
16772}
16773static void *_p_wxActivateEventTo_p_wxObject(void *x) {
16774 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
16775}
16776static void *_p_wxGridSizeEventTo_p_wxObject(void *x) {
16777 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16778}
16779static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
16780 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
16781}
16782static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
16783 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
16784}
16785static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
16786 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
16787}
16788static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
16789 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
16790}
16791static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
16792 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
16793}
16794static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
16795 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
16796}
16797static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
16798 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
16799}
16800static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
16801 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
16802}
16803static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
16804 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
16805}
16806static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
16807 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
16808}
16809static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
16810 return (void *)((wxObject *) ((wxImageHandler *) x));
16811}
16812static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
16813 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
16814}
16815static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
16816 return (void *)((wxObject *) ((wxEvtHandler *) x));
16817}
16818static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
16819 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
16820}
16821static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x) {
16822 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16823}
16824static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
16825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16826}
16827static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
16828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16829}
16830static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
16831 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
16832}
16833static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
16834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16835}
16836static void *_p_wxImageTo_p_wxObject(void *x) {
16837 return (void *)((wxObject *) ((wxImage *) x));
16838}
16839static void *_p_wxFrameTo_p_wxObject(void *x) {
16840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16841}
16842static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
16843 return (void *)((wxObject *) ((wxPyPrintout *) x));
16844}
16845static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
16846 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
16847}
16848static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
16849 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
16850}
16851static void *_p_wxStatusBarTo_p_wxObject(void *x) {
16852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
16853}
16854static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
16855 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16856}
16857static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
16858 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16859}
16860static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
16861 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
16862}
16863static void *_p_wxKeyEventTo_p_wxObject(void *x) {
16864 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
16865}
d14a1e28
RD
16866static void *_p_wxWindowTo_p_wxObject(void *x) {
16867 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
16868}
16869static void *_p_wxMenuTo_p_wxObject(void *x) {
16870 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
16871}
16872static void *_p_wxMenuBarTo_p_wxObject(void *x) {
16873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
16874}
0df68c9f
RD
16875static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
16876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16877}
d14a1e28
RD
16878static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
16879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
16880}
16881static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
16882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
16883}
16884static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
16885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
16886}
16887static void *_p_wxSashWindowTo_p_wxObject(void *x) {
16888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
16889}
16890static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
16891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16892}
16893static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
16894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
16895}
16896static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
16897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16898}
16899static void *_p_wxTipWindowTo_p_wxObject(void *x) {
16900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16901}
16902static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
16903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16904}
16905static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
16906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
16907}
823f0cfe
RD
16908static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
16909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16910}
d14a1e28
RD
16911static void *_p_wxSashEventTo_p_wxObject(void *x) {
16912 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
16913}
16914static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
16915 return (void *)((wxObject *) ((wxPrintPreview *) x));
16916}
16917static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
16918 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
16919}
16920static void *_p_wxPanelTo_p_wxObject(void *x) {
16921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
16922}
16923static void *_p_wxDialogTo_p_wxObject(void *x) {
16924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
16925}
16926static void *_p_wxColourDialogTo_p_wxObject(void *x) {
16927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16928}
16929static void *_p_wxDirDialogTo_p_wxObject(void *x) {
16930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16931}
16932static void *_p_wxFontDialogTo_p_wxObject(void *x) {
16933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16934}
16935static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
16936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16937}
16938static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
16939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16940}
16941static void *_p_wxFileSystemTo_p_wxObject(void *x) {
16942 return (void *)((wxObject *) ((wxFileSystem *) x));
16943}
16944static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
16945 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
16946}
16947static void *_p_wxMenuEventTo_p_wxObject(void *x) {
16948 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
16949}
16950static void *_p_wxPyAppTo_p_wxObject(void *x) {
16951 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
16952}
16953static void *_p_wxCloseEventTo_p_wxObject(void *x) {
16954 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
16955}
16956static void *_p_wxMouseEventTo_p_wxObject(void *x) {
16957 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
16958}
16959static void *_p_wxEraseEventTo_p_wxObject(void *x) {
16960 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
16961}
16962static void *_p_wxGridTableBaseTo_p_wxObject(void *x) {
16963 return (void *)((wxObject *) ((wxGridTableBase *) x));
16964}
16965static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x) {
16966 return (void *)((wxObject *) (wxGridTableBase *) ((wxPyGridTableBase *) x));
16967}
16968static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
16969 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
16970}
16971static void *_p_wxCommandEventTo_p_wxObject(void *x) {
16972 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
16973}
16974static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
16975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16976}
16977static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
16978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16979}
16980static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
16981 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
16982}
16983static void *_p_wxFocusEventTo_p_wxObject(void *x) {
16984 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
16985}
16986static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
16987 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
16988}
16989static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
16990 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16991}
16992static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
16993 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
16994}
16995static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
16996 return (void *)((wxObject *) ((wxPrintDialogData *) x));
16997}
16998static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
16999 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
17000}
17001static void *_p_wxValidatorTo_p_wxObject(void *x) {
17002 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
17003}
17004static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
17005 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
17006}
17007static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
17008 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
17009}
17010static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
17011 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
17012}
17013static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
17014 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
17015}
17016static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
17017 return (void *)((wxEvtHandler *) ((wxValidator *) x));
17018}
17019static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
17020 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
17021}
17022static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
17023 return (void *)((wxEvtHandler *) ((wxMenu *) x));
17024}
17025static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
17026 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
17027}
17028static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
17029 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
17030}
17031static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
17032 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
17033}
17034static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
17035 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
17036}
17037static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
17038 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
17039}
17040static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
17041 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
17042}
17043static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
17044 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
17045}
17046static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
17047 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
17048}
17049static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
17050 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
17051}
17052static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
17053 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
17054}
17055static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
17056 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
17057}
17058static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
17059 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
17060}
17061static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
17062 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
17063}
17064static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
17065 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
17066}
17067static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
17068 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
17069}
17070static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
17071 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
17072}
17073static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
17074 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
17075}
17076static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
17077 return (void *)((wxEvtHandler *) ((wxWindow *) x));
17078}
17079static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
17080 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
17081}
17082static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
17083 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
17084}
17085static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
17086 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
17087}
823f0cfe
RD
17088static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
17089 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
17090}
d14a1e28
RD
17091static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
17092 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
17093}
17094static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
17095 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
17096}
17097static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
17098 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
17099}
17100static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
17101 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
17102}
17103static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
17104 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
17105}
17106static void *_p_wxGridTo_p_wxEvtHandler(void *x) {
17107 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
17108}
17109static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
17110 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17111}
17112static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
17113 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
17114}
17115static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
17116 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
17117}
17118static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
17119 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
17120}
17121static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
17122 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
17123}
17124static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
17125 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
17126}
17127static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
17128 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
17129}
17130static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
17131 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
17132}
17133static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
17134 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
17135}
17136static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
17137 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
17138}
17139static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
17140 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
17141}
17142static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
17143 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
17144}
17145static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
17146 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
17147}
17148static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
17149 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
17150}
17151static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
17152 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
17153}
17154static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
17155 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
17156}
17157static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x) {
17158 return (void *)((wxGridTableBase *) ((wxGridStringTable *) x));
17159}
17160static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x) {
17161 return (void *)((wxGridTableBase *) ((wxPyGridTableBase *) x));
17162}
17163static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x) {
17164 return (void *)((wxGridCellEditor *) ((wxPyGridCellEditor *) x));
17165}
17166static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x) {
17167 return (void *)((wxGridCellEditor *) ((wxGridCellTextEditor *) x));
17168}
17169static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x) {
17170 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
17171}
17172static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x) {
17173 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
17174}
17175static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x) {
17176 return (void *)((wxGridCellEditor *) ((wxGridCellBoolEditor *) x));
17177}
17178static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x) {
17179 return (void *)((wxGridCellEditor *) ((wxGridCellChoiceEditor *) x));
17180}
17181static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x) {
17182 return (void *)((wxGridCellEditor *) (wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
17183}
17184static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x) {
17185 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
17186}
17187static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x) {
17188 return (void *)((wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
17189}
17190static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x) {
17191 return (void *)((wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
17192}
17193static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x) {
17194 return (void *)((wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
17195}
17196static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
17197 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
17198}
17199static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
17200 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17201}
17202static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
17203 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
17204}
17205static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
17206 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
17207}
17208static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
17209 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
17210}
17211static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
17212 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
17213}
17214static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
17215 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
17216}
17217static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x) {
17218 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
17219}
17220static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x) {
17221 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridSizeEvent *) x));
17222}
17223static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
17224 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
17225}
17226static void *_p_wxGridEventTo_p_wxCommandEvent(void *x) {
17227 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridEvent *) x));
17228}
17229static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x) {
17230 return (void *)((wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
17231}
17232static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
17233 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
17234}
17235static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
17236 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
17237}
17238static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
17239 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
17240}
17241static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) {
17242 return (void *)((wxGridCellAttrProvider *) ((wxPyGridCellAttrProvider *) x));
17243}
17244static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) {
17245 return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
17246}
15afbcd0
RD
17247static 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}};
17248static 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}};
17249static 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}};
17250static 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}};
17251static 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}};
17252static 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}};
17253static 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}};
17254static 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}};
17255static 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}};
17256static 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}};
17257static 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}};
17258static 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}};
17259static 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}};
17260static 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 17261static 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 17262static 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 17263static 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
17264static 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}};
17265static 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}};
17266static 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}};
17267static 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
17268static 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}};
17269static 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
17270static 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}};
17271static 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}};
17272static 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 17273static 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
17274static 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}};
17275static 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}};
17276static 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}};
17277static 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 17278static 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
17279static 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}};
17280static 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}};
17281static 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}};
17282static 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}};
17283static 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}};
17284static 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}};
17285static 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}};
17286static 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}};
17287static 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}};
17288static 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}};
17289static 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}};
17290static 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}};
17291static 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}};
17292static 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}};
17293static 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}};
17294static 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}};
17295static 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}};
17296static 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}};
17297static 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}};
17298static 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}};
17299static 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
17300
17301static swig_type_info *swig_types_initial[] = {
17302_swigt__p_wxGridCellAutoWrapStringRenderer,
17303_swigt__p_wxGridCellEnumRenderer,
17304_swigt__p_wxGridCellDateTimeRenderer,
17305_swigt__p_wxGridCellBoolRenderer,
17306_swigt__p_wxGridCellFloatRenderer,
17307_swigt__p_wxGridCellNumberRenderer,
17308_swigt__p_wxPyGridCellRenderer,
17309_swigt__p_wxGridCellRenderer,
17310_swigt__p_wxGridCellStringRenderer,
17311_swigt__p_wxGridCellAttr,
17312_swigt__p_wxColour,
17313_swigt__p_wxDC,
17314_swigt__p_wxGridTableMessage,
17315_swigt__p_wxGrid,
22bfe96c 17316_swigt__p_wxVisualAttributes,
994141e6 17317_swigt__p_char,
d14a1e28
RD
17318_swigt__p_wxPanel,
17319_swigt__p_wxNotifyEvent,
17320_swigt__p_wxGridRangeSelectEvent,
17321_swigt__p_wxSize,
17322_swigt__p_wxGridCellCoords,
17323_swigt__p_wxScrolledWindow,
17324_swigt__p_wxWindow,
17325_swigt__p_wxFont,
17326_swigt__p_wxControl,
17327_swigt__p_wxEvent,
17328_swigt__p_wxObject,
17329_swigt__p_wxGridSizeEvent,
17330_swigt__p_wxRect,
17331_swigt__p_long,
17332_swigt__p_wxString,
17333_swigt__p_wxEvtHandler,
17334_swigt__p_wxPoint,
17335_swigt__p_wxGridEvent,
17336_swigt__p_wxGridEditorCreatedEvent,
17337_swigt__p_wxGridTableBase,
d14a1e28
RD
17338_swigt__p_wxGridCellNumberEditor,
17339_swigt__p_wxPyGridCellEditor,
17340_swigt__p_wxGridCellEditor,
17341_swigt__p_wxGridCellTextEditor,
994141e6 17342_swigt__p_wxGridCellFloatEditor,
d14a1e28
RD
17343_swigt__p_wxGridCellBoolEditor,
17344_swigt__p_wxPyGridTableBase,
17345_swigt__p_wxGridStringTable,
17346_swigt__p_wxArrayString,
17347_swigt__p_wxCommandEvent,
17348_swigt__p_wxGridCellAttrProvider,
17349_swigt__p_wxKeyEvent,
17350_swigt__p_wxGridCellChoiceEditor,
17351_swigt__p_wxGridCellEnumEditor,
17352_swigt__p_wxGridCellAutoWrapStringEditor,
17353_swigt__p_int,
17354_swigt__p_wxPyGridCellAttrProvider,
173550
17356};
17357
17358
17359/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17360
17361static swig_const_info swig_const_table[] = {
15afbcd0
RD
17362{ SWIG_PY_POINTER, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17363{ SWIG_PY_POINTER, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char},
17364{ SWIG_PY_POINTER, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17365{ SWIG_PY_POINTER, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char},
17366{ SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char},
17367{ SWIG_PY_POINTER, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17368{ SWIG_PY_POINTER, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17369{ SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char},
17370{ SWIG_PY_POINTER, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char},
d14a1e28
RD
17371{0}};
17372
17373#ifdef __cplusplus
17374}
17375#endif
17376
17377#ifdef __cplusplus
17378extern "C"
17379#endif
17380SWIGEXPORT(void) SWIG_init(void) {
17381 static PyObject *SWIG_globals = 0;
17382 static int typeinit = 0;
17383 PyObject *m, *d;
17384 int i;
17385 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
17386 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17387 d = PyModule_GetDict(m);
17388
17389 if (!typeinit) {
17390 for (i = 0; swig_types_initial[i]; i++) {
17391 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
17392 }
17393 typeinit = 1;
17394 }
17395 SWIG_InstallConstants(d,swig_const_table);
17396
17397 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
b2dc1044 17398 SWIG_addvarlink(SWIG_globals,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get, _wrap_DateTimeFormatStr_set);
15afbcd0
RD
17399 PyDict_SetItemString(d,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
17400 PyDict_SetItemString(d,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
17401 PyDict_SetItemString(d,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
17402 PyDict_SetItemString(d,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
17403 PyDict_SetItemString(d,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
17404 PyDict_SetItemString(d,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
17405 PyDict_SetItemString(d,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
17406 PyDict_SetItemString(d,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
17407 PyDict_SetItemString(d,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
d14a1e28
RD
17408 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set);
17409 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set);
b0f7404b
RD
17410 PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_ROWS", SWIG_FromInt((int)wxGRID_DEFAULT_NUMBER_ROWS));
17411 PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_COLS", SWIG_FromInt((int)wxGRID_DEFAULT_NUMBER_COLS));
17412 PyDict_SetItemString(d,"GRID_DEFAULT_ROW_HEIGHT", SWIG_FromInt((int)wxGRID_DEFAULT_ROW_HEIGHT));
17413 PyDict_SetItemString(d,"GRID_DEFAULT_COL_WIDTH", SWIG_FromInt((int)wxGRID_DEFAULT_COL_WIDTH));
17414 PyDict_SetItemString(d,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_FromInt((int)wxGRID_DEFAULT_COL_LABEL_HEIGHT));
17415 PyDict_SetItemString(d,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_FromInt((int)wxGRID_DEFAULT_ROW_LABEL_WIDTH));
17416 PyDict_SetItemString(d,"GRID_LABEL_EDGE_ZONE", SWIG_FromInt((int)wxGRID_LABEL_EDGE_ZONE));
17417 PyDict_SetItemString(d,"GRID_MIN_ROW_HEIGHT", SWIG_FromInt((int)wxGRID_MIN_ROW_HEIGHT));
17418 PyDict_SetItemString(d,"GRID_MIN_COL_WIDTH", SWIG_FromInt((int)wxGRID_MIN_COL_WIDTH));
17419 PyDict_SetItemString(d,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_FromInt((int)wxGRID_DEFAULT_SCROLLBAR_WIDTH));
15afbcd0
RD
17420 PyDict_SetItemString(d,"GridCellAttr_Any", SWIG_FromInt((int)wxGridCellAttr::Any));
17421 PyDict_SetItemString(d,"GridCellAttr_Default", SWIG_FromInt((int)wxGridCellAttr::Default));
17422 PyDict_SetItemString(d,"GridCellAttr_Cell", SWIG_FromInt((int)wxGridCellAttr::Cell));
17423 PyDict_SetItemString(d,"GridCellAttr_Row", SWIG_FromInt((int)wxGridCellAttr::Row));
17424 PyDict_SetItemString(d,"GridCellAttr_Col", SWIG_FromInt((int)wxGridCellAttr::Col));
17425 PyDict_SetItemString(d,"GridCellAttr_Merged", SWIG_FromInt((int)wxGridCellAttr::Merged));
17426 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
17427 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
17428 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
17429 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
17430 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED));
17431 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED));
17432 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED));
17433 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED));
17434 PyDict_SetItemString(d,"Grid_wxGridSelectCells", SWIG_FromInt((int)wxGrid::wxGridSelectCells));
17435 PyDict_SetItemString(d,"Grid_wxGridSelectRows", SWIG_FromInt((int)wxGrid::wxGridSelectRows));
17436 PyDict_SetItemString(d,"Grid_wxGridSelectColumns", SWIG_FromInt((int)wxGrid::wxGridSelectColumns));
d14a1e28
RD
17437 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));
17438 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK));
17439 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK));
17440 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK));
17441 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK));
17442 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK));
17443 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK));
17444 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK));
17445 PyDict_SetItemString(d, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE));
17446 PyDict_SetItemString(d, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE));
17447 PyDict_SetItemString(d, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT));
17448 PyDict_SetItemString(d, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE));
17449 PyDict_SetItemString(d, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL));
17450 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN));
17451 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN));
17452 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED));
4cf4100f 17453 PyDict_SetItemString(d, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG));
d14a1e28
RD
17454
17455
17456}
17457