]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/grid_wrap.cpp
Rename the grid selection mode flags
[wxWidgets.git] / wxPython / src / gtk / grid_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
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}
9d1d5697 124
d14a1e28
RD
125#endif
126
cc6dd355 127
d14a1e28
RD
128/***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
d14a1e28
RD
138#include "Python.h"
139
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144#define SWIG_PY_INT 1
145#define SWIG_PY_FLOAT 2
146#define SWIG_PY_STRING 3
147#define SWIG_PY_POINTER 4
148#define SWIG_PY_BINARY 5
149
150/* Flags for pointer conversion */
151
152#define SWIG_POINTER_EXCEPTION 0x1
153#define SWIG_POINTER_DISOWN 0x2
154
155/* Exception handling in wrappers */
156#define SWIG_fail goto fail
157
158/* Constant information structure */
159typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166} swig_const_info;
167
d14a1e28
RD
168/* Common SWIG API */
169#define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171#define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173#define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176/* Python-specific SWIG API */
177#define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179#define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
183#define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185#define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
cc6dd355
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
d14a1e28
RD
198
199
200/* Contract support */
201
9d1d5697 202#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 203
d14a1e28
RD
204#ifdef __cplusplus
205}
206#endif
207
208
209
210/* -------- TYPES TABLE (BEGIN) -------- */
211
212#define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
213#define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
214#define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
215#define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
216#define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
217#define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
218#define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
219#define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
220#define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
221#define SWIGTYPE_p_wxGridCellAttr swig_types[9]
222#define SWIGTYPE_p_wxColour swig_types[10]
223#define SWIGTYPE_p_wxDC swig_types[11]
224#define SWIGTYPE_p_wxGridTableMessage swig_types[12]
225#define SWIGTYPE_p_wxGrid swig_types[13]
226#define SWIGTYPE_p_wxPanel swig_types[14]
227#define SWIGTYPE_p_wxNotifyEvent swig_types[15]
228#define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[16]
229#define SWIGTYPE_p_wxSize swig_types[17]
230#define SWIGTYPE_p_wxGridCellCoords swig_types[18]
231#define SWIGTYPE_p_wxScrolledWindow swig_types[19]
232#define SWIGTYPE_p_wxWindow swig_types[20]
233#define SWIGTYPE_p_wxFont swig_types[21]
234#define SWIGTYPE_p_wxControl swig_types[22]
235#define SWIGTYPE_p_wxEvent swig_types[23]
236#define SWIGTYPE_p_wxObject swig_types[24]
237#define SWIGTYPE_p_wxGridSizeEvent swig_types[25]
238#define SWIGTYPE_p_wxRect swig_types[26]
239#define SWIGTYPE_p_long swig_types[27]
240#define SWIGTYPE_p_wxString swig_types[28]
241#define SWIGTYPE_p_wxEvtHandler swig_types[29]
242#define SWIGTYPE_p_wxPoint swig_types[30]
243#define SWIGTYPE_p_wxGridEvent swig_types[31]
244#define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[32]
245#define SWIGTYPE_p_wxGridTableBase swig_types[33]
246#define SWIGTYPE_p_wxGridCellFloatEditor swig_types[34]
247#define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]
248#define SWIGTYPE_p_wxPyGridCellEditor swig_types[36]
249#define SWIGTYPE_p_wxGridCellEditor swig_types[37]
250#define SWIGTYPE_p_wxGridCellTextEditor swig_types[38]
251#define SWIGTYPE_p_wxGridCellBoolEditor swig_types[39]
252#define SWIGTYPE_p_wxPyGridTableBase swig_types[40]
253#define SWIGTYPE_p_wxGridStringTable swig_types[41]
254#define SWIGTYPE_p_wxArrayString swig_types[42]
255#define SWIGTYPE_p_wxCommandEvent swig_types[43]
256#define SWIGTYPE_p_wxGridCellAttrProvider swig_types[44]
257#define SWIGTYPE_p_wxKeyEvent swig_types[45]
258#define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[46]
259#define SWIGTYPE_p_wxGridCellEnumEditor swig_types[47]
260#define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[48]
261#define SWIGTYPE_p_int swig_types[49]
262#define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[50]
263static swig_type_info *swig_types[52];
264
265/* -------- TYPES TABLE (END) -------- */
266
267
268/*-----------------------------------------------
269 @(target):= _grid.so
270 ------------------------------------------------*/
271#define SWIG_init init_grid
272
273#define SWIG_name "_grid"
274
275#include "wx/wxPython/wxPython.h"
276#include "wx/wxPython/pyclasses.h"
277#include "wx/wxPython/printfw.h"
278
279#include <wx/grid.h>
280#include <wx/generic/gridctrl.h>
281
d14a1e28 282
b2dc1044
RD
283 static const wxString wxPyEmptyString(wxEmptyString);
284 static const wxString wxPyPanelNameStr(wxPanelNameStr);
285 static const wxString wxPyDateTimeFormatStr(wxT(wxT("%c")));
d14a1e28
RD
286
287
288#define wxPyMake_TEMPLATE(TYPE) \
289PyObject* wxPyMake_##TYPE(TYPE* source) { \
290 PyObject* target = NULL; \
291 if (source) { \
292 /* Check if there is already a pointer to a Python object in the \
293 OOR data that we can use. */ \
294 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
295 if (data) { \
296 target = data->m_obj; \
297 Py_INCREF(target); \
298 } \
299 /* Otherwise make a new wrapper for it the old fashioned way and \
300 give it the OOR treatment */ \
301 if (! target) { \
e811c8ce 302 target = wxPyConstructObject(source, wxT(#TYPE), False); \
d14a1e28
RD
303 if (target) \
304 source->SetClientObject(new wxPyOORClientData(target)); \
305 } \
306 } else { /* source was NULL so return None. */ \
307 Py_INCREF(Py_None); target = Py_None; \
308 } \
309 return target; \
310} \
311
312
313wxPyMake_TEMPLATE(wxGridCellRenderer)
314wxPyMake_TEMPLATE(wxGridCellEditor)
315wxPyMake_TEMPLATE(wxGridCellAttr)
316wxPyMake_TEMPLATE(wxGridCellAttrProvider)
317wxPyMake_TEMPLATE(wxGridTableBase)
318
319
320
321#define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
322 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
323 wxGridCellAttr* rval = NULL; \
324 bool found; \
325 wxPyBeginBlockThreads(); \
326 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
327 PyObject* ro; \
328 wxGridCellAttr* ptr; \
329 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
330 if (ro) { \
331 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
332 rval = ptr; \
333 Py_DECREF(ro); \
334 } \
335 } \
336 wxPyEndBlockThreads(); \
337 if (! found) \
338 rval = PCLASS::CBNAME(a, b, c); \
339 return rval; \
340 } \
341 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
342 return PCLASS::CBNAME(a, b, c); \
343 }
344
345
346
347#define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
348 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
349 wxPyBeginBlockThreads(); \
350 bool found; \
351 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
352 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
353 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
354 Py_DECREF(obj); \
355 } \
356 wxPyEndBlockThreads(); \
357 if (! found) \
358 PCLASS::CBNAME(attr, a, b); \
359 } \
360 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
361 PCLASS::CBNAME(attr, a, b); \
362 }
363
364
365
366#define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
367 void CBNAME(wxGridCellAttr *attr, int val) { \
368 wxPyBeginBlockThreads(); \
369 bool found; \
370 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
371 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
372 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
373 Py_DECREF(obj); \
374 } \
375 wxPyEndBlockThreads(); \
376 if (! found) \
377 PCLASS::CBNAME(attr, val); \
378 } \
379 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
380 PCLASS::CBNAME(attr, val); \
381 }
382
383
384
385#define PYCALLBACK_INT__pure(CBNAME) \
386 int CBNAME() { \
387 wxPyBeginBlockThreads(); \
388 int rval = 0; \
389 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
390 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
391 wxPyEndBlockThreads(); \
392 return rval; \
393 }
394
395
396
397#define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
398 bool CBNAME(int a, int b) { \
399 wxPyBeginBlockThreads(); \
400 bool rval = 0; \
401 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
402 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
403 wxPyEndBlockThreads(); \
404 return rval; \
405 }
406
407
408#define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
409 wxString CBNAME(int a, int b) { \
410 wxPyBeginBlockThreads(); \
411 wxString rval; \
412 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
413 PyObject* ro; \
414 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
415 if (ro) { \
416 rval = Py2wxString(ro); \
417 Py_DECREF(ro); \
418 } \
419 } \
420 wxPyEndBlockThreads(); \
421 return rval; \
422 }
423
424
425#define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
426 void CBNAME(int a, int b, const wxString& c) { \
427 wxPyBeginBlockThreads(); \
428 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
429 PyObject* s = wx2PyString(c); \
430 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
431 Py_DECREF(s); \
432 } \
433 wxPyEndBlockThreads(); \
434 }
435
436
437#define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
438 wxString CBNAME(int a, int b) { \
439 bool found; \
440 wxPyBeginBlockThreads(); \
441 wxString rval; \
442 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
443 PyObject* ro; \
444 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
445 if (ro) { \
446 rval = Py2wxString(ro); \
447 Py_DECREF(ro); \
448 } \
449 } \
450 wxPyEndBlockThreads(); \
451 if (! found) \
452 rval = PCLASS::CBNAME(a, b); \
453 return rval; \
454 } \
455 wxString base_##CBNAME(int a, int b) { \
456 return PCLASS::CBNAME(a, b); \
457 }
458
459
460#define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
461 bool CBNAME(int a, int b, const wxString& c) { \
462 bool rval = 0; \
463 bool found; \
464 wxPyBeginBlockThreads(); \
465 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
466 PyObject* s = wx2PyString(c); \
467 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
468 Py_DECREF(s); \
469 } \
470 wxPyEndBlockThreads(); \
471 if (! found) \
472 rval = PCLASS::CBNAME(a,b,c); \
473 return rval; \
474 } \
475 bool base_##CBNAME(int a, int b, const wxString& c) { \
476 return PCLASS::CBNAME(a,b,c); \
477 }
478
479
480
481
482#define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
483 long CBNAME(int a, int b) { \
484 long rval; \
485 bool found; \
486 wxPyBeginBlockThreads(); \
487 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
488 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
489 wxPyEndBlockThreads(); \
490 if (! found) \
491 rval = PCLASS::CBNAME(a,b); \
492 return rval; \
493 } \
494 long base_##CBNAME(int a, int b) { \
495 return PCLASS::CBNAME(a,b); \
496 }
497
498
499
500#define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
501 bool CBNAME(int a, int b) { \
502 bool rval = 0; \
503 bool found; \
504 wxPyBeginBlockThreads(); \
505 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
506 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
507 wxPyEndBlockThreads(); \
508 if (! found) \
509 rval = PCLASS::CBNAME(a,b); \
510 return rval; \
511 } \
512 bool base_##CBNAME(int a, int b) { \
513 return PCLASS::CBNAME(a,b); \
514 }
515
516
517
518#define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
519 double CBNAME(int a, int b) { \
520 bool found; \
521 wxPyBeginBlockThreads(); \
522 double rval; \
523 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
524 PyObject* ro; \
525 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
526 if (ro) { \
527 PyObject* str = PyObject_Str(ro); \
528 rval = PyFloat_AsDouble(str); \
529 Py_DECREF(ro); Py_DECREF(str); \
530 } \
531 } \
532 wxPyEndBlockThreads(); \
533 if (! found) \
534 rval = PCLASS::CBNAME(a, b); \
535 return rval; \
536 } \
537 double base_##CBNAME(int a, int b) { \
538 return PCLASS::CBNAME(a, b); \
539 }
540
541
542
543#define PYCALLBACK__(PCLASS, CBNAME) \
544 void CBNAME() { \
545 bool found; \
546 wxPyBeginBlockThreads(); \
547 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
548 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
549 wxPyEndBlockThreads(); \
550 if (! found) \
551 PCLASS::CBNAME(); \
552 } \
553 void base_##CBNAME() { \
554 PCLASS::CBNAME(); \
555 }
556
557
558
559
560#define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
561 bool CBNAME(size_t a, size_t b) { \
562 bool rval = 0; \
563 bool found; \
564 wxPyBeginBlockThreads(); \
565 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
566 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
567 wxPyEndBlockThreads(); \
568 if (! found) \
569 rval = PCLASS::CBNAME(a,b); \
570 return rval; \
571 } \
572 bool base_##CBNAME(size_t a, size_t b) { \
573 return PCLASS::CBNAME(a,b); \
574 }
575
576
577
578#define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
579 bool CBNAME(size_t a) { \
580 bool rval = 0; \
581 bool found; \
582 wxPyBeginBlockThreads(); \
583 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
584 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
585 wxPyEndBlockThreads(); \
586 if (! found) \
587 rval = PCLASS::CBNAME(a); \
588 return rval; \
589 } \
590 bool base_##CBNAME(size_t a) { \
591 return PCLASS::CBNAME(a); \
592 }
593
594
595#define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
596 wxString CBNAME(int a) { \
597 bool found; \
598 wxPyBeginBlockThreads(); \
599 wxString rval; \
600 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
601 PyObject* ro; \
602 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
603 if (ro) { \
604 rval = Py2wxString(ro); \
605 Py_DECREF(ro); \
606 } \
607 } \
608 wxPyEndBlockThreads(); \
609 if (! found) \
610 rval = PCLASS::CBNAME(a); \
611 return rval; \
612 } \
613 wxString base_##CBNAME(int a) { \
614 return PCLASS::CBNAME(a); \
615 }
616
617
618#define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
619 void CBNAME(int a, const wxString& c) { \
620 bool found; \
621 wxPyBeginBlockThreads(); \
622 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
623 PyObject* s = wx2PyString(c); \
624 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
625 Py_DECREF(s); \
626 } \
627 wxPyEndBlockThreads(); \
628 if (! found) \
629 PCLASS::CBNAME(a,c); \
630 } \
631 void base_##CBNAME(int a, const wxString& c) { \
632 PCLASS::CBNAME(a,c); \
633 }
634
635
636
637
638#define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
639 bool CBNAME() { \
640 bool rval = 0; \
641 bool found; \
642 wxPyBeginBlockThreads(); \
643 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
644 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
645 wxPyEndBlockThreads(); \
646 if (! found) \
647 rval = PCLASS::CBNAME(); \
648 return rval; \
649 } \
650 bool base_##CBNAME() { \
651 return PCLASS::CBNAME(); \
652 }
653
654
655
656#define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
657 void CBNAME(size_t a, int b) { \
658 bool found; \
659 wxPyBeginBlockThreads(); \
660 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
661 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
662 wxPyEndBlockThreads(); \
663 if (! found) \
664 PCLASS::CBNAME(a,b); \
665 } \
666 void base_##CBNAME(size_t a, int b) { \
667 PCLASS::CBNAME(a,b); \
668 }
669
670
671
672
673#define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
674 void CBNAME(int a, int b, long c) { \
675 bool found; \
676 wxPyBeginBlockThreads(); \
677 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
678 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
679 wxPyEndBlockThreads(); \
680 if (! found) \
681 PCLASS::CBNAME(a,b,c); \
682 } \
683 void base_##CBNAME(int a, int b, long c) { \
684 PCLASS::CBNAME(a,b,c); \
685 }
686
687
688
689
690#define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
691 void CBNAME(int a, int b, double c) { \
692 bool found; \
693 wxPyBeginBlockThreads(); \
694 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
695 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
696 wxPyEndBlockThreads(); \
697 if (! found) \
698 PCLASS::CBNAME(a,b,c); \
699 } \
700 void base_##CBNAME(int a, int b, double c) { \
701 PCLASS::CBNAME(a,b,c); \
702 }
703
704
705
706#define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
707 void CBNAME(int a, int b, bool c) { \
708 bool found; \
709 wxPyBeginBlockThreads(); \
710 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
711 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
712 wxPyEndBlockThreads(); \
713 if (! found) \
714 PCLASS::CBNAME(a,b,c); \
715 } \
716 void base_##CBNAME(int a, int b, bool c) { \
717 PCLASS::CBNAME(a,b,c); \
718 }
719
720
721
722
723
724void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject *_self){
725 self->SetClientObject(new wxPyOORClientData(_self));
726 }
727
728class wxPyGridCellRenderer : public wxGridCellRenderer
729{
730public:
731 wxPyGridCellRenderer() : wxGridCellRenderer() {};
732
733 // Implement Python callback aware virtual methods
734 void Draw(wxGrid& grid, wxGridCellAttr& attr,
735 wxDC& dc, const wxRect& rect,
736 int row, int col, bool isSelected) {
737 wxPyBeginBlockThreads();
738 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
739 PyObject* go = wxPyMake_wxObject(&grid);
740 PyObject* dco = wxPyMake_wxObject(&dc);
741 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
742 PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
743
744 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro,
745 row, col, isSelected));
746 Py_DECREF(go);
747 Py_DECREF(ao);
748 Py_DECREF(dco);
749 Py_DECREF(ro);
750 }
751 wxPyEndBlockThreads();
752 }
753
754 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
755 int row, int col) {
756 wxSize rval;
757 wxPyBeginBlockThreads();
758 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
759 PyObject* ro;
760 wxSize* ptr;
761 PyObject* go = wxPyMake_wxObject(&grid);
762 PyObject* dco = wxPyMake_wxObject(&dc);
763 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
764
765 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)",
766 go, ao, dco,
767 row, col));
768 Py_DECREF(go);
769 Py_DECREF(ao);
770 Py_DECREF(dco);
771
772 if (ro) {
773 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
774 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxSize"))) {
775 rval = *ptr;
776 }
777 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
778 PyObject* o1 = PySequence_GetItem(ro, 0);
779 PyObject* o2 = PySequence_GetItem(ro, 1);
780 if (PyNumber_Check(o1) && PyNumber_Check(o2))
781 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
782 else
783 PyErr_SetString(PyExc_TypeError, errmsg);
784 Py_DECREF(o1);
785 Py_DECREF(o2);
786 }
787 else {
788 PyErr_SetString(PyExc_TypeError, errmsg);
789 }
790 Py_DECREF(ro);
791 }
792 }
793 wxPyEndBlockThreads();
794 return rval;
795 }
796
797
798 wxGridCellRenderer *Clone() const {
799 wxGridCellRenderer* rval = NULL;
800 wxPyBeginBlockThreads();
801 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
802 PyObject* ro;
803 wxGridCellRenderer* ptr;
804 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
805 if (ro) {
806 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellRenderer")))
807 rval = ptr;
808 Py_DECREF(ro);
809 }
810 }
811 wxPyEndBlockThreads();
812 return rval;
813 }
814
815 DEC_PYCALLBACK__STRING(SetParameters);
816
817 PYPRIVATE;
818};
819
820IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
821
822
823void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject *_self){
824 self->SetClientObject(new wxPyOORClientData(_self));
825 }
826
827class wxPyGridCellEditor : public wxGridCellEditor
828{
829public:
830 wxPyGridCellEditor() : wxGridCellEditor() {}
831
832 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
833 wxPyBeginBlockThreads();
834 if (wxPyCBH_findCallback(m_myInst, "Create")) {
835 PyObject* po = wxPyMake_wxObject(parent);
836 PyObject* eo = wxPyMake_wxObject(evtHandler);
837
838 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo));
839 Py_DECREF(po);
840 Py_DECREF(eo);
841 }
842 wxPyEndBlockThreads();
843 }
844
845
846 void BeginEdit(int row, int col, wxGrid* grid) {
847 wxPyBeginBlockThreads();
848 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
849 PyObject* go = wxPyMake_wxObject(grid);
850 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
851 Py_DECREF(go);
852 }
853 wxPyEndBlockThreads();
854 }
855
856
857 bool EndEdit(int row, int col, wxGrid* grid) {
e811c8ce 858 bool rv = False;
d14a1e28
RD
859 wxPyBeginBlockThreads();
860 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
861 PyObject* go = wxPyMake_wxObject(grid);
862 rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
863 Py_DECREF(go);
864 }
865 wxPyEndBlockThreads();
866 return rv;
867 }
868
869
870 wxGridCellEditor* Clone() const {
871 wxGridCellEditor* rval = NULL;
872 wxPyBeginBlockThreads();
873 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
874 PyObject* ro;
875 wxGridCellEditor* ptr;
876 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
877 if (ro) {
878 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellEditor")))
879 rval = ptr;
880 Py_DECREF(ro);
881 }
882 }
883 wxPyEndBlockThreads();
884 return rval;
885 }
886
887
888 void Show(bool show, wxGridCellAttr *attr) {
889 bool found;
890 wxPyBeginBlockThreads();
891 if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) {
892 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
893 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao));
894 Py_DECREF(ao);
895 }
896 wxPyEndBlockThreads();
897 if (! found)
898 wxGridCellEditor::Show(show, attr);
899 }
900 void base_Show(bool show, wxGridCellAttr *attr) {
901 wxGridCellEditor::Show(show, attr);
902 }
903
904
905 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
906 bool found;
907 wxPyBeginBlockThreads();
908 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) {
909 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
910 PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
911
912 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao));
913
914 Py_DECREF(ro);
915 Py_DECREF(ao);
916 }
917 wxPyEndBlockThreads();
918 if (! found)
919 wxGridCellEditor::PaintBackground(rectCell, attr);
920 }
921 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
922 wxGridCellEditor::PaintBackground(rectCell, attr);
923 }
924
925
926 DEC_PYCALLBACK___pure(Reset);
927 DEC_PYCALLBACK__constany(SetSize, wxRect);
928 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
929 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
930 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
931 DEC_PYCALLBACK__(StartingClick);
932 DEC_PYCALLBACK__(Destroy);
933 DEC_PYCALLBACK__STRING(SetParameters);
934 DEC_PYCALLBACK_STRING__constpure(GetValue);
935
936 PYPRIVATE;
937};
938
939
940IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
941IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
942IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
943IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
944IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
945IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
946IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
947IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
948IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue);
949
950
951void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject *_self){
952 self->SetClientObject(new wxPyOORClientData(_self));
953 }
954
955static PyObject* t_output_helper(PyObject* target, PyObject* o) {
956 PyObject* o2;
957 PyObject* o3;
958
959 if (!target) {
960 target = o;
961 } else if (target == Py_None) {
962 Py_DECREF(Py_None);
963 target = o;
964 } else {
965 if (!PyTuple_Check(target)) {
966 o2 = target;
967 target = PyTuple_New(1);
968 PyTuple_SetItem(target, 0, o2);
969 }
970 o3 = PyTuple_New(1);
971 PyTuple_SetItem(o3, 0, o);
972
973 o2 = target;
974 target = PySequence_Concat(o2, o3);
975 Py_DECREF(o2);
976 Py_DECREF(o3);
977 }
978 return target;
979}
980
981void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject *_self){
982 self->SetClientObject(new wxPyOORClientData(_self));
983 }
984
985class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
986{
987public:
988 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
989
990 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
991 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
992 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
993 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
994
995 PYPRIVATE;
996};
997
998void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject *_self){
999 self->SetClientObject(new wxPyOORClientData(_self));
1000 }
1001
1002class wxPyGridTableBase : public wxGridTableBase
1003{
1004public:
1005 wxPyGridTableBase() : wxGridTableBase() {}
1006
1007 PYCALLBACK_INT__pure(GetNumberRows);
1008 PYCALLBACK_INT__pure(GetNumberCols);
1009 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
1010 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
1011 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
1012 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
1013 PYCALLBACK__(wxGridTableBase, Clear);
1014 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
1015 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
1016 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
1017 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
1018 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
1019 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
1020 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
1021 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
1022 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
1023 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
1024 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
1025 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
1026 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
1027 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
1028 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
1029
1030
1031 wxString GetValue(int row, int col) {
1032 wxPyBeginBlockThreads();
1033 wxString rval;
1034 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1035 PyObject* ro;
1036 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
1037 if (ro) {
1038 rval = Py2wxString(ro);
1039 Py_DECREF(ro);
1040 }
1041 }
1042 wxPyEndBlockThreads();
1043 return rval;
1044 }
1045
1046 void SetValue(int row, int col, const wxString& val) {
1047 wxPyBeginBlockThreads();
1048 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1049 PyObject* s = wx2PyString(val);
1050 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s));
1051 Py_DECREF(s);
1052 }
1053 wxPyEndBlockThreads();
1054 }
1055
1056
1057 // Map the Get/Set methods for the standard non-string types to
1058 // the GetValue and SetValue python methods.
1059 long GetValueAsLong( int row, int col ) {
1060 long rval = 0;
1061 wxPyBeginBlockThreads();
1062 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1063 PyObject* ro;
1064 PyObject* num;
1065 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1066 if (ro && PyNumber_Check(ro)) {
1067 num = PyNumber_Int(ro);
1068 if (num) {
1069 rval = PyInt_AsLong(num);
1070 Py_DECREF(num);
1071 }
1072 Py_DECREF(ro);
1073 }
1074 }
1075 wxPyEndBlockThreads();
1076 return rval;
1077 }
1078
1079 double GetValueAsDouble( int row, int col ) {
1080 double rval = 0.0;
1081 wxPyBeginBlockThreads();
1082 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1083 PyObject* ro;
1084 PyObject* num;
1085 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1086 if (ro && PyNumber_Check(ro)) {
1087 num = PyNumber_Float(ro);
1088 if (num) {
1089 rval = PyFloat_AsDouble(num);
1090 Py_DECREF(num);
1091 }
1092 Py_DECREF(ro);
1093 }
1094 }
1095 wxPyEndBlockThreads();
1096 return rval;
1097 }
1098
1099 bool GetValueAsBool( int row, int col ) {
1100 return (bool)GetValueAsLong(row, col);
1101 }
1102
1103 void SetValueAsLong( int row, int col, long value ) {
1104 wxPyBeginBlockThreads();
1105 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1106 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
1107 }
1108 wxPyEndBlockThreads();
1109 }
1110
1111 void SetValueAsDouble( int row, int col, double value ) {
1112 wxPyBeginBlockThreads();
1113 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1114 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
1115 }
1116 wxPyEndBlockThreads();
1117 }
1118
1119 void SetValueAsBool( int row, int col, bool value ) {
1120 SetValueAsLong( row, col, (long)value );
1121 }
1122
1123
1124 PYPRIVATE;
1125};
1126
1127void wxPyGridTableBase_Destroy(wxPyGridTableBase *self){ delete self; }
1128PyObject *wxGridCellCoords_asTuple(wxGridCellCoords *self){
1129 PyObject* tup = PyTuple_New(2);
1130 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1131 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1132 return tup;
1133 }
1134
1135bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
1136
1137 // If source is an object instance then it may already be the right type
1138 if (wxPySwigInstance_Check(source)) {
1139 wxGridCellCoords* ptr;
1140 if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1141 goto error;
1142 *obj = ptr;
e811c8ce 1143 return True;
d14a1e28
RD
1144 }
1145 // otherwise a 2-tuple of integers is expected
1146 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
1147 PyObject* o1 = PySequence_GetItem(source, 0);
1148 PyObject* o2 = PySequence_GetItem(source, 1);
1149 if (!PyNumber_Check(o1) || !PyNumber_Check(o2)) {
1150 Py_DECREF(o1);
1151 Py_DECREF(o2);
1152 goto error;
1153 }
1154 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
1155 Py_DECREF(o1);
1156 Py_DECREF(o2);
e811c8ce 1157 return True;
d14a1e28
RD
1158 }
1159
1160 error:
1161 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
e811c8ce 1162 return False;
d14a1e28
RD
1163}
1164
1165
1166bool wxGridCellCoords_typecheck(PyObject* source) {
1167 void* ptr;
1168
1169 if (wxPySwigInstance_Check(source) &&
1170 wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
e811c8ce 1171 return True;
d14a1e28
RD
1172
1173 PyErr_Clear();
1174 if (PySequence_Check(source) && PySequence_Length(source) == 2)
e811c8ce 1175 return True;
d14a1e28 1176
e811c8ce 1177 return False;
d14a1e28
RD
1178}
1179
1180
1181PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray& source)
1182{
1183 PyObject* list = PyList_New(0);
1184 size_t idx;
1185 for (idx = 0; idx < source.GetCount(); idx += 1) {
1186 wxGridCellCoords& coord = source.Item(idx);
1187 PyObject* tup = PyTuple_New(2);
1188 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow()));
1189 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol()));
1190 PyList_Append(list, tup);
1191 Py_DECREF(tup);
1192 }
1193 return list;
1194}
1195
1196
1197typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
1198
1199wxGridCellCoords wxGrid_XYToCell(wxGrid *self,int x,int y){
1200 wxGridCellCoords rv;
1201 self->XYToCell(x, y, rv);
1202 return rv;
1203 }
1204#ifdef __cplusplus
1205extern "C" {
1206#endif
b2dc1044
RD
1207static int _wrap_DateTimeFormatStr_set(PyObject *_val) {
1208 PyErr_SetString(PyExc_TypeError,"Variable DateTimeFormatStr is read-only.");
1209 return 1;
1210}
1211
1212
1213static PyObject *_wrap_DateTimeFormatStr_get() {
1214 PyObject *pyobj;
1215
1216 {
1217#if wxUSE_UNICODE
1218 pyobj = PyUnicode_FromWideChar((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1219#else
1220 pyobj = PyString_FromStringAndSize((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1221#endif
1222 }
1223 return pyobj;
1224}
1225
1226
d14a1e28
RD
1227static int _wrap_GridNoCellCoords_set(PyObject *_val) {
1228 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellCoords is read-only.");
1229 return 1;
1230}
1231
1232
1233static PyObject *_wrap_GridNoCellCoords_get() {
1234 PyObject *pyobj;
1235
1236 pyobj = SWIG_NewPointerObj((void *) &wxGridNoCellCoords, SWIGTYPE_p_wxGridCellCoords, 0);
1237 return pyobj;
1238}
1239
1240
1241static int _wrap_GridNoCellRect_set(PyObject *_val) {
1242 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellRect is read-only.");
1243 return 1;
1244}
1245
1246
1247static PyObject *_wrap_GridNoCellRect_get() {
1248 PyObject *pyobj;
1249
1250 pyobj = SWIG_NewPointerObj((void *) &wxGridNoCellRect, SWIGTYPE_p_wxRect, 0);
1251 return pyobj;
1252}
1253
1254
1255static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1256 PyObject *resultobj;
1257 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1258 PyObject *arg2 = (PyObject *) 0 ;
1259 PyObject * obj0 = 0 ;
1260 PyObject * obj1 = 0 ;
1261 char *kwnames[] = {
1262 (char *) "self",(char *) "_self", NULL
1263 };
1264
1265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
1266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1267 arg2 = obj1;
1268 {
1269 PyThreadState* __tstate = wxPyBeginAllowThreads();
1270 wxGridCellRenderer__setOORInfo(arg1,arg2);
1271
1272 wxPyEndAllowThreads(__tstate);
1273 if (PyErr_Occurred()) SWIG_fail;
1274 }
1275 Py_INCREF(Py_None); resultobj = Py_None;
1276 return resultobj;
1277 fail:
1278 return NULL;
1279}
1280
1281
1282static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1283 PyObject *resultobj;
1284 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1285 wxString *arg2 = 0 ;
e811c8ce 1286 bool temp2 = False ;
d14a1e28
RD
1287 PyObject * obj0 = 0 ;
1288 PyObject * obj1 = 0 ;
1289 char *kwnames[] = {
1290 (char *) "self",(char *) "params", NULL
1291 };
1292
1293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer_SetParameters",kwnames,&obj0,&obj1)) goto fail;
1294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1295 {
1296 arg2 = wxString_in_helper(obj1);
1297 if (arg2 == NULL) SWIG_fail;
e811c8ce 1298 temp2 = True;
d14a1e28
RD
1299 }
1300 {
1301 PyThreadState* __tstate = wxPyBeginAllowThreads();
1302 (arg1)->SetParameters((wxString const &)*arg2);
1303
1304 wxPyEndAllowThreads(__tstate);
1305 if (PyErr_Occurred()) SWIG_fail;
1306 }
1307 Py_INCREF(Py_None); resultobj = Py_None;
1308 {
1309 if (temp2)
1310 delete arg2;
1311 }
1312 return resultobj;
1313 fail:
1314 {
1315 if (temp2)
1316 delete arg2;
1317 }
1318 return NULL;
1319}
1320
1321
1322static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1323 PyObject *resultobj;
1324 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1325 PyObject * obj0 = 0 ;
1326 char *kwnames[] = {
1327 (char *) "self", NULL
1328 };
1329
1330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_IncRef",kwnames,&obj0)) goto fail;
1331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1332 {
1333 PyThreadState* __tstate = wxPyBeginAllowThreads();
1334 (arg1)->IncRef();
1335
1336 wxPyEndAllowThreads(__tstate);
1337 if (PyErr_Occurred()) SWIG_fail;
1338 }
1339 Py_INCREF(Py_None); resultobj = Py_None;
1340 return resultobj;
1341 fail:
1342 return NULL;
1343}
1344
1345
1346static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1347 PyObject *resultobj;
1348 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1349 PyObject * obj0 = 0 ;
1350 char *kwnames[] = {
1351 (char *) "self", NULL
1352 };
1353
1354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_DecRef",kwnames,&obj0)) goto fail;
1355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1356 {
1357 PyThreadState* __tstate = wxPyBeginAllowThreads();
1358 (arg1)->DecRef();
1359
1360 wxPyEndAllowThreads(__tstate);
1361 if (PyErr_Occurred()) SWIG_fail;
1362 }
1363 Py_INCREF(Py_None); resultobj = Py_None;
1364 return resultobj;
1365 fail:
1366 return NULL;
1367}
1368
1369
1370static PyObject *_wrap_GridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
1371 PyObject *resultobj;
1372 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1373 wxGrid *arg2 = 0 ;
1374 wxGridCellAttr *arg3 = 0 ;
1375 wxDC *arg4 = 0 ;
1376 wxRect *arg5 = 0 ;
1377 int arg6 ;
1378 int arg7 ;
1379 bool arg8 ;
1380 wxRect temp5 ;
1381 PyObject * obj0 = 0 ;
1382 PyObject * obj1 = 0 ;
1383 PyObject * obj2 = 0 ;
1384 PyObject * obj3 = 0 ;
1385 PyObject * obj4 = 0 ;
1386 PyObject * obj7 = 0 ;
1387 char *kwnames[] = {
1388 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1389 };
1390
1391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOiiO:GridCellRenderer_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7)) goto fail;
1392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1394 if (arg2 == NULL) {
1395 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1396 }
1397 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1398 if (arg3 == NULL) {
1399 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1400 }
1401 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1402 if (arg4 == NULL) {
1403 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1404 }
1405 {
1406 arg5 = &temp5;
1407 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
1408 }
1409 arg8 = PyInt_AsLong(obj7) ? true : false;
1410 if (PyErr_Occurred()) SWIG_fail;
1411 {
1412 PyThreadState* __tstate = wxPyBeginAllowThreads();
1413 (arg1)->Draw(*arg2,*arg3,*arg4,(wxRect const &)*arg5,arg6,arg7,arg8);
1414
1415 wxPyEndAllowThreads(__tstate);
1416 if (PyErr_Occurred()) SWIG_fail;
1417 }
1418 Py_INCREF(Py_None); resultobj = Py_None;
1419 return resultobj;
1420 fail:
1421 return NULL;
1422}
1423
1424
1425static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1426 PyObject *resultobj;
1427 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1428 wxGrid *arg2 = 0 ;
1429 wxGridCellAttr *arg3 = 0 ;
1430 wxDC *arg4 = 0 ;
1431 int arg5 ;
1432 int arg6 ;
1433 wxSize result;
1434 PyObject * obj0 = 0 ;
1435 PyObject * obj1 = 0 ;
1436 PyObject * obj2 = 0 ;
1437 PyObject * obj3 = 0 ;
1438 char *kwnames[] = {
1439 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1440 };
1441
1442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOii:GridCellRenderer_GetBestSize",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6)) goto fail;
1443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1444 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1445 if (arg2 == NULL) {
1446 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1447 }
1448 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1449 if (arg3 == NULL) {
1450 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1451 }
1452 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1453 if (arg4 == NULL) {
1454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1455 }
1456 {
1457 PyThreadState* __tstate = wxPyBeginAllowThreads();
1458 result = (arg1)->GetBestSize(*arg2,*arg3,*arg4,arg5,arg6);
1459
1460 wxPyEndAllowThreads(__tstate);
1461 if (PyErr_Occurred()) SWIG_fail;
1462 }
1463 {
1464 wxSize * resultptr;
1465 resultptr = new wxSize((wxSize &) result);
1466 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1467 }
1468 return resultobj;
1469 fail:
1470 return NULL;
1471}
1472
1473
1474static PyObject *_wrap_GridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1475 PyObject *resultobj;
1476 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1477 wxGridCellRenderer *result;
1478 PyObject * obj0 = 0 ;
1479 char *kwnames[] = {
1480 (char *) "self", NULL
1481 };
1482
1483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_Clone",kwnames,&obj0)) goto fail;
1484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1485 {
1486 PyThreadState* __tstate = wxPyBeginAllowThreads();
1487 result = (wxGridCellRenderer *)((wxGridCellRenderer const *)arg1)->Clone();
1488
1489 wxPyEndAllowThreads(__tstate);
1490 if (PyErr_Occurred()) SWIG_fail;
1491 }
1492 {
1493 resultobj = wxPyMake_wxGridCellRenderer(result);
1494 }
1495 return resultobj;
1496 fail:
1497 return NULL;
1498}
1499
1500
1501static PyObject * GridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1502 PyObject *obj;
1503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1504 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer, obj);
1505 Py_INCREF(obj);
1506 return Py_BuildValue((char *)"");
1507}
1508static PyObject *_wrap_new_PyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1509 PyObject *resultobj;
1510 wxPyGridCellRenderer *result;
1511 char *kwnames[] = {
1512 NULL
1513 };
1514
1515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellRenderer",kwnames)) goto fail;
1516 {
1517 PyThreadState* __tstate = wxPyBeginAllowThreads();
1518 result = (wxPyGridCellRenderer *)new wxPyGridCellRenderer();
1519
1520 wxPyEndAllowThreads(__tstate);
1521 if (PyErr_Occurred()) SWIG_fail;
1522 }
1523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridCellRenderer, 1);
1524 return resultobj;
1525 fail:
1526 return NULL;
1527}
1528
1529
1530static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1531 PyObject *resultobj;
1532 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1533 PyObject *arg2 = (PyObject *) 0 ;
1534 PyObject *arg3 = (PyObject *) 0 ;
1535 PyObject * obj0 = 0 ;
1536 PyObject * obj1 = 0 ;
1537 PyObject * obj2 = 0 ;
1538 char *kwnames[] = {
1539 (char *) "self",(char *) "self",(char *) "_class", NULL
1540 };
1541
1542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1544 arg2 = obj1;
1545 arg3 = obj2;
1546 {
1547 PyThreadState* __tstate = wxPyBeginAllowThreads();
1548 (arg1)->_setCallbackInfo(arg2,arg3);
1549
1550 wxPyEndAllowThreads(__tstate);
1551 if (PyErr_Occurred()) SWIG_fail;
1552 }
1553 Py_INCREF(Py_None); resultobj = Py_None;
1554 return resultobj;
1555 fail:
1556 return NULL;
1557}
1558
1559
1560static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1561 PyObject *resultobj;
1562 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1563 wxString *arg2 = 0 ;
e811c8ce 1564 bool temp2 = False ;
d14a1e28
RD
1565 PyObject * obj0 = 0 ;
1566 PyObject * obj1 = 0 ;
1567 char *kwnames[] = {
1568 (char *) "self",(char *) "params", NULL
1569 };
1570
1571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
1572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1573 {
1574 arg2 = wxString_in_helper(obj1);
1575 if (arg2 == NULL) SWIG_fail;
e811c8ce 1576 temp2 = True;
d14a1e28
RD
1577 }
1578 {
1579 PyThreadState* __tstate = wxPyBeginAllowThreads();
1580 (arg1)->base_SetParameters((wxString const &)*arg2);
1581
1582 wxPyEndAllowThreads(__tstate);
1583 if (PyErr_Occurred()) SWIG_fail;
1584 }
1585 Py_INCREF(Py_None); resultobj = Py_None;
1586 {
1587 if (temp2)
1588 delete arg2;
1589 }
1590 return resultobj;
1591 fail:
1592 {
1593 if (temp2)
1594 delete arg2;
1595 }
1596 return NULL;
1597}
1598
1599
1600static PyObject * PyGridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1601 PyObject *obj;
1602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1603 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer, obj);
1604 Py_INCREF(obj);
1605 return Py_BuildValue((char *)"");
1606}
1607static PyObject *_wrap_new_GridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1608 PyObject *resultobj;
1609 wxGridCellStringRenderer *result;
1610 char *kwnames[] = {
1611 NULL
1612 };
1613
1614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellStringRenderer",kwnames)) goto fail;
1615 {
1616 PyThreadState* __tstate = wxPyBeginAllowThreads();
1617 result = (wxGridCellStringRenderer *)new wxGridCellStringRenderer();
1618
1619 wxPyEndAllowThreads(__tstate);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 }
1622 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellStringRenderer, 1);
1623 return resultobj;
1624 fail:
1625 return NULL;
1626}
1627
1628
1629static PyObject * GridCellStringRenderer_swigregister(PyObject *self, PyObject *args) {
1630 PyObject *obj;
1631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1632 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer, obj);
1633 Py_INCREF(obj);
1634 return Py_BuildValue((char *)"");
1635}
1636static PyObject *_wrap_new_GridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1637 PyObject *resultobj;
1638 wxGridCellNumberRenderer *result;
1639 char *kwnames[] = {
1640 NULL
1641 };
1642
1643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellNumberRenderer",kwnames)) goto fail;
1644 {
1645 PyThreadState* __tstate = wxPyBeginAllowThreads();
1646 result = (wxGridCellNumberRenderer *)new wxGridCellNumberRenderer();
1647
1648 wxPyEndAllowThreads(__tstate);
1649 if (PyErr_Occurred()) SWIG_fail;
1650 }
1651 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellNumberRenderer, 1);
1652 return resultobj;
1653 fail:
1654 return NULL;
1655}
1656
1657
1658static PyObject * GridCellNumberRenderer_swigregister(PyObject *self, PyObject *args) {
1659 PyObject *obj;
1660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1661 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer, obj);
1662 Py_INCREF(obj);
1663 return Py_BuildValue((char *)"");
1664}
1665static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1666 PyObject *resultobj;
1667 int arg1 = (int) -1 ;
1668 int arg2 = (int) -1 ;
1669 wxGridCellFloatRenderer *result;
1670 char *kwnames[] = {
1671 (char *) "width",(char *) "precision", NULL
1672 };
1673
1674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridCellFloatRenderer",kwnames,&arg1,&arg2)) goto fail;
1675 {
1676 PyThreadState* __tstate = wxPyBeginAllowThreads();
1677 result = (wxGridCellFloatRenderer *)new wxGridCellFloatRenderer(arg1,arg2);
1678
1679 wxPyEndAllowThreads(__tstate);
1680 if (PyErr_Occurred()) SWIG_fail;
1681 }
1682 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellFloatRenderer, 1);
1683 return resultobj;
1684 fail:
1685 return NULL;
1686}
1687
1688
1689static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1690 PyObject *resultobj;
1691 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1692 int result;
1693 PyObject * obj0 = 0 ;
1694 char *kwnames[] = {
1695 (char *) "self", NULL
1696 };
1697
1698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames,&obj0)) goto fail;
1699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1700 {
1701 PyThreadState* __tstate = wxPyBeginAllowThreads();
1702 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetWidth();
1703
1704 wxPyEndAllowThreads(__tstate);
1705 if (PyErr_Occurred()) SWIG_fail;
1706 }
1707 resultobj = PyInt_FromLong((long)result);
1708 return resultobj;
1709 fail:
1710 return NULL;
1711}
1712
1713
1714static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1715 PyObject *resultobj;
1716 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1717 int arg2 ;
1718 PyObject * obj0 = 0 ;
1719 char *kwnames[] = {
1720 (char *) "self",(char *) "width", NULL
1721 };
1722
1723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridCellFloatRenderer_SetWidth",kwnames,&obj0,&arg2)) goto fail;
1724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1725 {
1726 PyThreadState* __tstate = wxPyBeginAllowThreads();
1727 (arg1)->SetWidth(arg2);
1728
1729 wxPyEndAllowThreads(__tstate);
1730 if (PyErr_Occurred()) SWIG_fail;
1731 }
1732 Py_INCREF(Py_None); resultobj = Py_None;
1733 return resultobj;
1734 fail:
1735 return NULL;
1736}
1737
1738
1739static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1740 PyObject *resultobj;
1741 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1742 int result;
1743 PyObject * obj0 = 0 ;
1744 char *kwnames[] = {
1745 (char *) "self", NULL
1746 };
1747
1748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames,&obj0)) goto fail;
1749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1750 {
1751 PyThreadState* __tstate = wxPyBeginAllowThreads();
1752 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetPrecision();
1753
1754 wxPyEndAllowThreads(__tstate);
1755 if (PyErr_Occurred()) SWIG_fail;
1756 }
1757 resultobj = PyInt_FromLong((long)result);
1758 return resultobj;
1759 fail:
1760 return NULL;
1761}
1762
1763
1764static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1765 PyObject *resultobj;
1766 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1767 int arg2 ;
1768 PyObject * obj0 = 0 ;
1769 char *kwnames[] = {
1770 (char *) "self",(char *) "precision", NULL
1771 };
1772
1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridCellFloatRenderer_SetPrecision",kwnames,&obj0,&arg2)) goto fail;
1774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1775 {
1776 PyThreadState* __tstate = wxPyBeginAllowThreads();
1777 (arg1)->SetPrecision(arg2);
1778
1779 wxPyEndAllowThreads(__tstate);
1780 if (PyErr_Occurred()) SWIG_fail;
1781 }
1782 Py_INCREF(Py_None); resultobj = Py_None;
1783 return resultobj;
1784 fail:
1785 return NULL;
1786}
1787
1788
1789static PyObject * GridCellFloatRenderer_swigregister(PyObject *self, PyObject *args) {
1790 PyObject *obj;
1791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1792 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer, obj);
1793 Py_INCREF(obj);
1794 return Py_BuildValue((char *)"");
1795}
1796static PyObject *_wrap_new_GridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1797 PyObject *resultobj;
1798 wxGridCellBoolRenderer *result;
1799 char *kwnames[] = {
1800 NULL
1801 };
1802
1803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolRenderer",kwnames)) goto fail;
1804 {
1805 PyThreadState* __tstate = wxPyBeginAllowThreads();
1806 result = (wxGridCellBoolRenderer *)new wxGridCellBoolRenderer();
1807
1808 wxPyEndAllowThreads(__tstate);
1809 if (PyErr_Occurred()) SWIG_fail;
1810 }
1811 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellBoolRenderer, 1);
1812 return resultobj;
1813 fail:
1814 return NULL;
1815}
1816
1817
1818static PyObject * GridCellBoolRenderer_swigregister(PyObject *self, PyObject *args) {
1819 PyObject *obj;
1820 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1821 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer, obj);
1822 Py_INCREF(obj);
1823 return Py_BuildValue((char *)"");
1824}
1825static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1826 PyObject *resultobj;
1827 wxString arg1 = (wxString) wxPyDateTimeFormatStr ;
1828 wxString arg2 = (wxString) wxPyDateTimeFormatStr ;
1829 wxGridCellDateTimeRenderer *result;
d14a1e28
RD
1830 PyObject * obj0 = 0 ;
1831 PyObject * obj1 = 0 ;
1832 char *kwnames[] = {
1833 (char *) "outformat",(char *) "informat", NULL
1834 };
1835
1836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail;
1837 if (obj0) {
e811c8ce
RD
1838 {
1839 wxString* sptr = wxString_in_helper(obj0);
1840 if (sptr == NULL) SWIG_fail;
1841 arg1 = *sptr;
1842 delete sptr;
1843 }
d14a1e28
RD
1844 }
1845 if (obj1) {
e811c8ce
RD
1846 {
1847 wxString* sptr = wxString_in_helper(obj1);
1848 if (sptr == NULL) SWIG_fail;
1849 arg2 = *sptr;
1850 delete sptr;
1851 }
d14a1e28
RD
1852 }
1853 {
1854 PyThreadState* __tstate = wxPyBeginAllowThreads();
1855 result = (wxGridCellDateTimeRenderer *)new wxGridCellDateTimeRenderer(arg1,arg2);
1856
1857 wxPyEndAllowThreads(__tstate);
1858 if (PyErr_Occurred()) SWIG_fail;
1859 }
1860 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellDateTimeRenderer, 1);
1861 return resultobj;
1862 fail:
1863 return NULL;
1864}
1865
1866
1867static PyObject * GridCellDateTimeRenderer_swigregister(PyObject *self, PyObject *args) {
1868 PyObject *obj;
1869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1870 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer, obj);
1871 Py_INCREF(obj);
1872 return Py_BuildValue((char *)"");
1873}
1874static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1875 PyObject *resultobj;
1876 wxString const &arg1_defvalue = wxPyEmptyString ;
1877 wxString *arg1 = (wxString *) &arg1_defvalue ;
1878 wxGridCellEnumRenderer *result;
e811c8ce 1879 bool temp1 = False ;
d14a1e28
RD
1880 PyObject * obj0 = 0 ;
1881 char *kwnames[] = {
1882 (char *) "choices", NULL
1883 };
1884
1885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumRenderer",kwnames,&obj0)) goto fail;
1886 if (obj0) {
1887 {
1888 arg1 = wxString_in_helper(obj0);
1889 if (arg1 == NULL) SWIG_fail;
e811c8ce 1890 temp1 = True;
d14a1e28
RD
1891 }
1892 }
1893 {
1894 PyThreadState* __tstate = wxPyBeginAllowThreads();
1895 result = (wxGridCellEnumRenderer *)new wxGridCellEnumRenderer((wxString const &)*arg1);
1896
1897 wxPyEndAllowThreads(__tstate);
1898 if (PyErr_Occurred()) SWIG_fail;
1899 }
1900 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellEnumRenderer, 1);
1901 {
1902 if (temp1)
1903 delete arg1;
1904 }
1905 return resultobj;
1906 fail:
1907 {
1908 if (temp1)
1909 delete arg1;
1910 }
1911 return NULL;
1912}
1913
1914
1915static PyObject * GridCellEnumRenderer_swigregister(PyObject *self, PyObject *args) {
1916 PyObject *obj;
1917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1918 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer, obj);
1919 Py_INCREF(obj);
1920 return Py_BuildValue((char *)"");
1921}
1922static PyObject *_wrap_new_GridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1923 PyObject *resultobj;
1924 wxGridCellAutoWrapStringRenderer *result;
1925 char *kwnames[] = {
1926 NULL
1927 };
1928
1929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringRenderer",kwnames)) goto fail;
1930 {
1931 PyThreadState* __tstate = wxPyBeginAllowThreads();
1932 result = (wxGridCellAutoWrapStringRenderer *)new wxGridCellAutoWrapStringRenderer();
1933
1934 wxPyEndAllowThreads(__tstate);
1935 if (PyErr_Occurred()) SWIG_fail;
1936 }
1937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, 1);
1938 return resultobj;
1939 fail:
1940 return NULL;
1941}
1942
1943
1944static PyObject * GridCellAutoWrapStringRenderer_swigregister(PyObject *self, PyObject *args) {
1945 PyObject *obj;
1946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1947 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, obj);
1948 Py_INCREF(obj);
1949 return Py_BuildValue((char *)"");
1950}
1951static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1952 PyObject *resultobj;
1953 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
1954 PyObject *arg2 = (PyObject *) 0 ;
1955 PyObject * obj0 = 0 ;
1956 PyObject * obj1 = 0 ;
1957 char *kwnames[] = {
1958 (char *) "self",(char *) "_self", NULL
1959 };
1960
1961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
1962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1963 arg2 = obj1;
1964 {
1965 PyThreadState* __tstate = wxPyBeginAllowThreads();
1966 wxGridCellEditor__setOORInfo(arg1,arg2);
1967
1968 wxPyEndAllowThreads(__tstate);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 }
1971 Py_INCREF(Py_None); resultobj = Py_None;
1972 return resultobj;
1973 fail:
1974 return NULL;
1975}
1976
1977
1978static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1979 PyObject *resultobj;
1980 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
1981 bool result;
1982 PyObject * obj0 = 0 ;
1983 char *kwnames[] = {
1984 (char *) "self", NULL
1985 };
1986
1987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IsCreated",kwnames,&obj0)) goto fail;
1988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1989 {
1990 PyThreadState* __tstate = wxPyBeginAllowThreads();
1991 result = (bool)(arg1)->IsCreated();
1992
1993 wxPyEndAllowThreads(__tstate);
1994 if (PyErr_Occurred()) SWIG_fail;
1995 }
1996 resultobj = PyInt_FromLong((long)result);
1997 return resultobj;
1998 fail:
1999 return NULL;
2000}
2001
2002
2003static PyObject *_wrap_GridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2004 PyObject *resultobj;
2005 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2006 wxControl *result;
2007 PyObject * obj0 = 0 ;
2008 char *kwnames[] = {
2009 (char *) "self", NULL
2010 };
2011
2012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetControl",kwnames,&obj0)) goto fail;
2013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2014 {
2015 PyThreadState* __tstate = wxPyBeginAllowThreads();
2016 result = (wxControl *)(arg1)->GetControl();
2017
2018 wxPyEndAllowThreads(__tstate);
2019 if (PyErr_Occurred()) SWIG_fail;
2020 }
2021 {
2022 resultobj = wxPyMake_wxObject(result);
2023 }
2024 return resultobj;
2025 fail:
2026 return NULL;
2027}
2028
2029
2030static PyObject *_wrap_GridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2031 PyObject *resultobj;
2032 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2033 wxControl *arg2 = (wxControl *) 0 ;
2034 PyObject * obj0 = 0 ;
2035 PyObject * obj1 = 0 ;
2036 char *kwnames[] = {
2037 (char *) "self",(char *) "control", NULL
2038 };
2039
2040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetControl",kwnames,&obj0,&obj1)) goto fail;
2041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2043 {
2044 PyThreadState* __tstate = wxPyBeginAllowThreads();
2045 (arg1)->SetControl(arg2);
2046
2047 wxPyEndAllowThreads(__tstate);
2048 if (PyErr_Occurred()) SWIG_fail;
2049 }
2050 Py_INCREF(Py_None); resultobj = Py_None;
2051 return resultobj;
2052 fail:
2053 return NULL;
2054}
2055
2056
2057static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2058 PyObject *resultobj;
2059 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2060 wxGridCellAttr *result;
2061 PyObject * obj0 = 0 ;
2062 char *kwnames[] = {
2063 (char *) "self", NULL
2064 };
2065
2066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetCellAttr",kwnames,&obj0)) goto fail;
2067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2068 {
2069 PyThreadState* __tstate = wxPyBeginAllowThreads();
2070 result = (wxGridCellAttr *)(arg1)->GetCellAttr();
2071
2072 wxPyEndAllowThreads(__tstate);
2073 if (PyErr_Occurred()) SWIG_fail;
2074 }
2075 {
2076 resultobj = wxPyMake_wxGridCellAttr(result);
2077 }
2078 return resultobj;
2079 fail:
2080 return NULL;
2081}
2082
2083
2084static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2085 PyObject *resultobj;
2086 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2087 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
2088 PyObject * obj0 = 0 ;
2089 PyObject * obj1 = 0 ;
2090 char *kwnames[] = {
2091 (char *) "self",(char *) "attr", NULL
2092 };
2093
2094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetCellAttr",kwnames,&obj0,&obj1)) goto fail;
2095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2097 {
2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
2099 (arg1)->SetCellAttr(arg2);
2100
2101 wxPyEndAllowThreads(__tstate);
2102 if (PyErr_Occurred()) SWIG_fail;
2103 }
2104 Py_INCREF(Py_None); resultobj = Py_None;
2105 return resultobj;
2106 fail:
2107 return NULL;
2108}
2109
2110
2111static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2112 PyObject *resultobj;
2113 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2114 wxString *arg2 = 0 ;
e811c8ce 2115 bool temp2 = False ;
d14a1e28
RD
2116 PyObject * obj0 = 0 ;
2117 PyObject * obj1 = 0 ;
2118 char *kwnames[] = {
2119 (char *) "self",(char *) "params", NULL
2120 };
2121
2122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetParameters",kwnames,&obj0,&obj1)) goto fail;
2123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2124 {
2125 arg2 = wxString_in_helper(obj1);
2126 if (arg2 == NULL) SWIG_fail;
e811c8ce 2127 temp2 = True;
d14a1e28
RD
2128 }
2129 {
2130 PyThreadState* __tstate = wxPyBeginAllowThreads();
2131 (arg1)->SetParameters((wxString const &)*arg2);
2132
2133 wxPyEndAllowThreads(__tstate);
2134 if (PyErr_Occurred()) SWIG_fail;
2135 }
2136 Py_INCREF(Py_None); resultobj = Py_None;
2137 {
2138 if (temp2)
2139 delete arg2;
2140 }
2141 return resultobj;
2142 fail:
2143 {
2144 if (temp2)
2145 delete arg2;
2146 }
2147 return NULL;
2148}
2149
2150
2151static PyObject *_wrap_GridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2152 PyObject *resultobj;
2153 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2154 PyObject * obj0 = 0 ;
2155 char *kwnames[] = {
2156 (char *) "self", NULL
2157 };
2158
2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IncRef",kwnames,&obj0)) goto fail;
2160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2161 {
2162 PyThreadState* __tstate = wxPyBeginAllowThreads();
2163 (arg1)->IncRef();
2164
2165 wxPyEndAllowThreads(__tstate);
2166 if (PyErr_Occurred()) SWIG_fail;
2167 }
2168 Py_INCREF(Py_None); resultobj = Py_None;
2169 return resultobj;
2170 fail:
2171 return NULL;
2172}
2173
2174
2175static PyObject *_wrap_GridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2176 PyObject *resultobj;
2177 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2178 PyObject * obj0 = 0 ;
2179 char *kwnames[] = {
2180 (char *) "self", NULL
2181 };
2182
2183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_DecRef",kwnames,&obj0)) goto fail;
2184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2185 {
2186 PyThreadState* __tstate = wxPyBeginAllowThreads();
2187 (arg1)->DecRef();
2188
2189 wxPyEndAllowThreads(__tstate);
2190 if (PyErr_Occurred()) SWIG_fail;
2191 }
2192 Py_INCREF(Py_None); resultobj = Py_None;
2193 return resultobj;
2194 fail:
2195 return NULL;
2196}
2197
2198
2199static PyObject *_wrap_GridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2200 PyObject *resultobj;
2201 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2202 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2203 int arg3 ;
d14a1e28
RD
2204 wxEvtHandler *arg4 = (wxEvtHandler *) 0 ;
2205 PyObject * obj0 = 0 ;
2206 PyObject * obj1 = 0 ;
2207 PyObject * obj3 = 0 ;
2208 char *kwnames[] = {
2209 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2210 };
2211
2212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO:GridCellEditor_Create",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
2213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2215 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2216 {
2217 PyThreadState* __tstate = wxPyBeginAllowThreads();
2218 (arg1)->Create(arg2,arg3,arg4);
2219
2220 wxPyEndAllowThreads(__tstate);
2221 if (PyErr_Occurred()) SWIG_fail;
2222 }
2223 Py_INCREF(Py_None); resultobj = Py_None;
2224 return resultobj;
2225 fail:
2226 return NULL;
2227}
2228
2229
2230static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2231 PyObject *resultobj;
2232 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2233 int arg2 ;
2234 int arg3 ;
2235 wxGrid *arg4 = (wxGrid *) 0 ;
2236 PyObject * obj0 = 0 ;
2237 PyObject * obj3 = 0 ;
2238 char *kwnames[] = {
2239 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2240 };
2241
2242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridCellEditor_BeginEdit",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2244 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 (arg1)->BeginEdit(arg2,arg3,arg4);
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 Py_INCREF(Py_None); resultobj = Py_None;
2253 return resultobj;
2254 fail:
2255 return NULL;
2256}
2257
2258
2259static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2262 int arg2 ;
2263 int arg3 ;
2264 wxGrid *arg4 = (wxGrid *) 0 ;
2265 bool result;
2266 PyObject * obj0 = 0 ;
2267 PyObject * obj3 = 0 ;
2268 char *kwnames[] = {
2269 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2270 };
2271
2272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridCellEditor_EndEdit",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2274 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2275 {
2276 PyThreadState* __tstate = wxPyBeginAllowThreads();
2277 result = (bool)(arg1)->EndEdit(arg2,arg3,arg4);
2278
2279 wxPyEndAllowThreads(__tstate);
2280 if (PyErr_Occurred()) SWIG_fail;
2281 }
2282 resultobj = PyInt_FromLong((long)result);
2283 return resultobj;
2284 fail:
2285 return NULL;
2286}
2287
2288
2289static PyObject *_wrap_GridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
2290 PyObject *resultobj;
2291 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2292 PyObject * obj0 = 0 ;
2293 char *kwnames[] = {
2294 (char *) "self", NULL
2295 };
2296
2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Reset",kwnames,&obj0)) goto fail;
2298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2299 {
2300 PyThreadState* __tstate = wxPyBeginAllowThreads();
2301 (arg1)->Reset();
2302
2303 wxPyEndAllowThreads(__tstate);
2304 if (PyErr_Occurred()) SWIG_fail;
2305 }
2306 Py_INCREF(Py_None); resultobj = Py_None;
2307 return resultobj;
2308 fail:
2309 return NULL;
2310}
2311
2312
2313static PyObject *_wrap_GridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2314 PyObject *resultobj;
2315 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2316 wxGridCellEditor *result;
2317 PyObject * obj0 = 0 ;
2318 char *kwnames[] = {
2319 (char *) "self", NULL
2320 };
2321
2322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Clone",kwnames,&obj0)) goto fail;
2323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2324 {
2325 PyThreadState* __tstate = wxPyBeginAllowThreads();
2326 result = (wxGridCellEditor *)((wxGridCellEditor const *)arg1)->Clone();
2327
2328 wxPyEndAllowThreads(__tstate);
2329 if (PyErr_Occurred()) SWIG_fail;
2330 }
2331 {
2332 resultobj = wxPyMake_wxGridCellEditor(result);
2333 }
2334 return resultobj;
2335 fail:
2336 return NULL;
2337}
2338
2339
2340static PyObject *_wrap_GridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2341 PyObject *resultobj;
2342 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2343 wxRect *arg2 = 0 ;
2344 wxRect temp2 ;
2345 PyObject * obj0 = 0 ;
2346 PyObject * obj1 = 0 ;
2347 char *kwnames[] = {
2348 (char *) "self",(char *) "rect", NULL
2349 };
2350
2351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetSize",kwnames,&obj0,&obj1)) goto fail;
2352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2353 {
2354 arg2 = &temp2;
2355 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2356 }
2357 {
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 (arg1)->SetSize((wxRect const &)*arg2);
2360
2361 wxPyEndAllowThreads(__tstate);
2362 if (PyErr_Occurred()) SWIG_fail;
2363 }
2364 Py_INCREF(Py_None); resultobj = Py_None;
2365 return resultobj;
2366 fail:
2367 return NULL;
2368}
2369
2370
2371static PyObject *_wrap_GridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2372 PyObject *resultobj;
2373 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2374 bool arg2 ;
2375 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
2376 PyObject * obj0 = 0 ;
2377 PyObject * obj1 = 0 ;
2378 PyObject * obj2 = 0 ;
2379 char *kwnames[] = {
2380 (char *) "self",(char *) "show",(char *) "attr", NULL
2381 };
2382
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridCellEditor_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
2384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2385 arg2 = PyInt_AsLong(obj1) ? true : false;
2386 if (PyErr_Occurred()) SWIG_fail;
2387 if (obj2) {
2388 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2389 }
2390 {
2391 PyThreadState* __tstate = wxPyBeginAllowThreads();
2392 (arg1)->Show(arg2,arg3);
2393
2394 wxPyEndAllowThreads(__tstate);
2395 if (PyErr_Occurred()) SWIG_fail;
2396 }
2397 Py_INCREF(Py_None); resultobj = Py_None;
2398 return resultobj;
2399 fail:
2400 return NULL;
2401}
2402
2403
2404static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2405 PyObject *resultobj;
2406 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2407 wxRect *arg2 = 0 ;
2408 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
2409 wxRect temp2 ;
2410 PyObject * obj0 = 0 ;
2411 PyObject * obj1 = 0 ;
2412 PyObject * obj2 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellEditor_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2419 {
2420 arg2 = &temp2;
2421 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2422 }
2423 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2424 {
2425 PyThreadState* __tstate = wxPyBeginAllowThreads();
2426 (arg1)->PaintBackground((wxRect const &)*arg2,arg3);
2427
2428 wxPyEndAllowThreads(__tstate);
2429 if (PyErr_Occurred()) SWIG_fail;
2430 }
2431 Py_INCREF(Py_None); resultobj = Py_None;
2432 return resultobj;
2433 fail:
2434 return NULL;
2435}
2436
2437
2438static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2439 PyObject *resultobj;
2440 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2441 wxKeyEvent *arg2 = 0 ;
2442 bool result;
2443 PyObject * obj0 = 0 ;
2444 PyObject * obj1 = 0 ;
2445 char *kwnames[] = {
2446 (char *) "self",(char *) "event", NULL
2447 };
2448
2449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
2450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2451 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2452 if (arg2 == NULL) {
2453 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2454 }
2455 {
2456 PyThreadState* __tstate = wxPyBeginAllowThreads();
2457 result = (bool)(arg1)->IsAcceptedKey(*arg2);
2458
2459 wxPyEndAllowThreads(__tstate);
2460 if (PyErr_Occurred()) SWIG_fail;
2461 }
2462 resultobj = PyInt_FromLong((long)result);
2463 return resultobj;
2464 fail:
2465 return NULL;
2466}
2467
2468
2469static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2470 PyObject *resultobj;
2471 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2472 wxKeyEvent *arg2 = 0 ;
2473 PyObject * obj0 = 0 ;
2474 PyObject * obj1 = 0 ;
2475 char *kwnames[] = {
2476 (char *) "self",(char *) "event", NULL
2477 };
2478
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_StartingKey",kwnames,&obj0,&obj1)) goto fail;
2480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2482 if (arg2 == NULL) {
2483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2484 }
2485 {
2486 PyThreadState* __tstate = wxPyBeginAllowThreads();
2487 (arg1)->StartingKey(*arg2);
2488
2489 wxPyEndAllowThreads(__tstate);
2490 if (PyErr_Occurred()) SWIG_fail;
2491 }
2492 Py_INCREF(Py_None); resultobj = Py_None;
2493 return resultobj;
2494 fail:
2495 return NULL;
2496}
2497
2498
2499static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2500 PyObject *resultobj;
2501 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2502 PyObject * obj0 = 0 ;
2503 char *kwnames[] = {
2504 (char *) "self", NULL
2505 };
2506
2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_StartingClick",kwnames,&obj0)) goto fail;
2508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2509 {
2510 PyThreadState* __tstate = wxPyBeginAllowThreads();
2511 (arg1)->StartingClick();
2512
2513 wxPyEndAllowThreads(__tstate);
2514 if (PyErr_Occurred()) SWIG_fail;
2515 }
2516 Py_INCREF(Py_None); resultobj = Py_None;
2517 return resultobj;
2518 fail:
2519 return NULL;
2520}
2521
2522
2523static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2524 PyObject *resultobj;
2525 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2526 wxKeyEvent *arg2 = 0 ;
2527 PyObject * obj0 = 0 ;
2528 PyObject * obj1 = 0 ;
2529 char *kwnames[] = {
2530 (char *) "self",(char *) "event", NULL
2531 };
2532
2533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
2534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2535 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2536 if (arg2 == NULL) {
2537 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2538 }
2539 {
2540 PyThreadState* __tstate = wxPyBeginAllowThreads();
2541 (arg1)->HandleReturn(*arg2);
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_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2554 PyObject *resultobj;
2555 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2556 PyObject * obj0 = 0 ;
2557 char *kwnames[] = {
2558 (char *) "self", NULL
2559 };
2560
2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Destroy",kwnames,&obj0)) goto fail;
2562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2563 {
2564 PyThreadState* __tstate = wxPyBeginAllowThreads();
2565 (arg1)->Destroy();
2566
2567 wxPyEndAllowThreads(__tstate);
2568 if (PyErr_Occurred()) SWIG_fail;
2569 }
2570 Py_INCREF(Py_None); resultobj = Py_None;
2571 return resultobj;
2572 fail:
2573 return NULL;
2574}
2575
2576
2577static PyObject * GridCellEditor_swigregister(PyObject *self, PyObject *args) {
2578 PyObject *obj;
2579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2580 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor, obj);
2581 Py_INCREF(obj);
2582 return Py_BuildValue((char *)"");
2583}
2584static PyObject *_wrap_new_PyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2585 PyObject *resultobj;
2586 wxPyGridCellEditor *result;
2587 char *kwnames[] = {
2588 NULL
2589 };
2590
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellEditor",kwnames)) goto fail;
2592 {
2593 PyThreadState* __tstate = wxPyBeginAllowThreads();
2594 result = (wxPyGridCellEditor *)new wxPyGridCellEditor();
2595
2596 wxPyEndAllowThreads(__tstate);
2597 if (PyErr_Occurred()) SWIG_fail;
2598 }
2599 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridCellEditor, 1);
2600 return resultobj;
2601 fail:
2602 return NULL;
2603}
2604
2605
2606static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2607 PyObject *resultobj;
2608 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2609 PyObject *arg2 = (PyObject *) 0 ;
2610 PyObject *arg3 = (PyObject *) 0 ;
2611 PyObject * obj0 = 0 ;
2612 PyObject * obj1 = 0 ;
2613 PyObject * obj2 = 0 ;
2614 char *kwnames[] = {
2615 (char *) "self",(char *) "self",(char *) "_class", NULL
2616 };
2617
2618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2620 arg2 = obj1;
2621 arg3 = obj2;
2622 {
2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
2624 (arg1)->_setCallbackInfo(arg2,arg3);
2625
2626 wxPyEndAllowThreads(__tstate);
2627 if (PyErr_Occurred()) SWIG_fail;
2628 }
2629 Py_INCREF(Py_None); resultobj = Py_None;
2630 return resultobj;
2631 fail:
2632 return NULL;
2633}
2634
2635
2636static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2637 PyObject *resultobj;
2638 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2639 wxRect *arg2 = 0 ;
2640 wxRect temp2 ;
2641 PyObject * obj0 = 0 ;
2642 PyObject * obj1 = 0 ;
2643 char *kwnames[] = {
2644 (char *) "self",(char *) "rect", NULL
2645 };
2646
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames,&obj0,&obj1)) goto fail;
2648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2649 {
2650 arg2 = &temp2;
2651 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2652 }
2653 {
2654 PyThreadState* __tstate = wxPyBeginAllowThreads();
2655 (arg1)->base_SetSize((wxRect const &)*arg2);
2656
2657 wxPyEndAllowThreads(__tstate);
2658 if (PyErr_Occurred()) SWIG_fail;
2659 }
2660 Py_INCREF(Py_None); resultobj = Py_None;
2661 return resultobj;
2662 fail:
2663 return NULL;
2664}
2665
2666
2667static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2668 PyObject *resultobj;
2669 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2670 bool arg2 ;
2671 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
2672 PyObject * obj0 = 0 ;
2673 PyObject * obj1 = 0 ;
2674 PyObject * obj2 = 0 ;
2675 char *kwnames[] = {
2676 (char *) "self",(char *) "show",(char *) "attr", NULL
2677 };
2678
2679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
2680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2681 arg2 = PyInt_AsLong(obj1) ? true : false;
2682 if (PyErr_Occurred()) SWIG_fail;
2683 if (obj2) {
2684 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2685 }
2686 {
2687 PyThreadState* __tstate = wxPyBeginAllowThreads();
2688 (arg1)->base_Show(arg2,arg3);
2689
2690 wxPyEndAllowThreads(__tstate);
2691 if (PyErr_Occurred()) SWIG_fail;
2692 }
2693 Py_INCREF(Py_None); resultobj = Py_None;
2694 return resultobj;
2695 fail:
2696 return NULL;
2697}
2698
2699
2700static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2701 PyObject *resultobj;
2702 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2703 wxRect *arg2 = 0 ;
2704 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
2705 wxRect temp2 ;
2706 PyObject * obj0 = 0 ;
2707 PyObject * obj1 = 0 ;
2708 PyObject * obj2 = 0 ;
2709 char *kwnames[] = {
2710 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2711 };
2712
2713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2715 {
2716 arg2 = &temp2;
2717 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2718 }
2719 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2720 {
2721 PyThreadState* __tstate = wxPyBeginAllowThreads();
2722 (arg1)->base_PaintBackground((wxRect const &)*arg2,arg3);
2723
2724 wxPyEndAllowThreads(__tstate);
2725 if (PyErr_Occurred()) SWIG_fail;
2726 }
2727 Py_INCREF(Py_None); resultobj = Py_None;
2728 return resultobj;
2729 fail:
2730 return NULL;
2731}
2732
2733
2734static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2735 PyObject *resultobj;
2736 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2737 wxKeyEvent *arg2 = 0 ;
2738 bool result;
2739 PyObject * obj0 = 0 ;
2740 PyObject * obj1 = 0 ;
2741 char *kwnames[] = {
2742 (char *) "self",(char *) "event", NULL
2743 };
2744
2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
2746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2747 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2748 if (arg2 == NULL) {
2749 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2750 }
2751 {
2752 PyThreadState* __tstate = wxPyBeginAllowThreads();
2753 result = (bool)(arg1)->base_IsAcceptedKey(*arg2);
2754
2755 wxPyEndAllowThreads(__tstate);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 }
2758 resultobj = PyInt_FromLong((long)result);
2759 return resultobj;
2760 fail:
2761 return NULL;
2762}
2763
2764
2765static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2766 PyObject *resultobj;
2767 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2768 wxKeyEvent *arg2 = 0 ;
2769 PyObject * obj0 = 0 ;
2770 PyObject * obj1 = 0 ;
2771 char *kwnames[] = {
2772 (char *) "self",(char *) "event", NULL
2773 };
2774
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames,&obj0,&obj1)) goto fail;
2776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2778 if (arg2 == NULL) {
2779 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2780 }
2781 {
2782 PyThreadState* __tstate = wxPyBeginAllowThreads();
2783 (arg1)->base_StartingKey(*arg2);
2784
2785 wxPyEndAllowThreads(__tstate);
2786 if (PyErr_Occurred()) SWIG_fail;
2787 }
2788 Py_INCREF(Py_None); resultobj = Py_None;
2789 return resultobj;
2790 fail:
2791 return NULL;
2792}
2793
2794
2795static PyObject *_wrap_PyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2796 PyObject *resultobj;
2797 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2798 PyObject * obj0 = 0 ;
2799 char *kwnames[] = {
2800 (char *) "self", NULL
2801 };
2802
2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames,&obj0)) goto fail;
2804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2805 {
2806 PyThreadState* __tstate = wxPyBeginAllowThreads();
2807 (arg1)->base_StartingClick();
2808
2809 wxPyEndAllowThreads(__tstate);
2810 if (PyErr_Occurred()) SWIG_fail;
2811 }
2812 Py_INCREF(Py_None); resultobj = Py_None;
2813 return resultobj;
2814 fail:
2815 return NULL;
2816}
2817
2818
2819static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2820 PyObject *resultobj;
2821 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2822 wxKeyEvent *arg2 = 0 ;
2823 PyObject * obj0 = 0 ;
2824 PyObject * obj1 = 0 ;
2825 char *kwnames[] = {
2826 (char *) "self",(char *) "event", NULL
2827 };
2828
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
2830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2831 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2832 if (arg2 == NULL) {
2833 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2834 }
2835 {
2836 PyThreadState* __tstate = wxPyBeginAllowThreads();
2837 (arg1)->base_HandleReturn(*arg2);
2838
2839 wxPyEndAllowThreads(__tstate);
2840 if (PyErr_Occurred()) SWIG_fail;
2841 }
2842 Py_INCREF(Py_None); resultobj = Py_None;
2843 return resultobj;
2844 fail:
2845 return NULL;
2846}
2847
2848
2849static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2850 PyObject *resultobj;
2851 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2852 PyObject * obj0 = 0 ;
2853 char *kwnames[] = {
2854 (char *) "self", NULL
2855 };
2856
2857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_Destroy",kwnames,&obj0)) goto fail;
2858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2859 {
2860 PyThreadState* __tstate = wxPyBeginAllowThreads();
2861 (arg1)->base_Destroy();
2862
2863 wxPyEndAllowThreads(__tstate);
2864 if (PyErr_Occurred()) SWIG_fail;
2865 }
2866 Py_INCREF(Py_None); resultobj = Py_None;
2867 return resultobj;
2868 fail:
2869 return NULL;
2870}
2871
2872
2873static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2874 PyObject *resultobj;
2875 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2876 wxString *arg2 = 0 ;
e811c8ce 2877 bool temp2 = False ;
d14a1e28
RD
2878 PyObject * obj0 = 0 ;
2879 PyObject * obj1 = 0 ;
2880 char *kwnames[] = {
2881 (char *) "self",(char *) "params", NULL
2882 };
2883
2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
2885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2886 {
2887 arg2 = wxString_in_helper(obj1);
2888 if (arg2 == NULL) SWIG_fail;
e811c8ce 2889 temp2 = True;
d14a1e28
RD
2890 }
2891 {
2892 PyThreadState* __tstate = wxPyBeginAllowThreads();
2893 (arg1)->base_SetParameters((wxString const &)*arg2);
2894
2895 wxPyEndAllowThreads(__tstate);
2896 if (PyErr_Occurred()) SWIG_fail;
2897 }
2898 Py_INCREF(Py_None); resultobj = Py_None;
2899 {
2900 if (temp2)
2901 delete arg2;
2902 }
2903 return resultobj;
2904 fail:
2905 {
2906 if (temp2)
2907 delete arg2;
2908 }
2909 return NULL;
2910}
2911
2912
2913static PyObject * PyGridCellEditor_swigregister(PyObject *self, PyObject *args) {
2914 PyObject *obj;
2915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2916 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor, obj);
2917 Py_INCREF(obj);
2918 return Py_BuildValue((char *)"");
2919}
2920static PyObject *_wrap_new_GridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2921 PyObject *resultobj;
2922 wxGridCellTextEditor *result;
2923 char *kwnames[] = {
2924 NULL
2925 };
2926
2927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellTextEditor",kwnames)) goto fail;
2928 {
2929 PyThreadState* __tstate = wxPyBeginAllowThreads();
2930 result = (wxGridCellTextEditor *)new wxGridCellTextEditor();
2931
2932 wxPyEndAllowThreads(__tstate);
2933 if (PyErr_Occurred()) SWIG_fail;
2934 }
2935 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellTextEditor, 1);
2936 return resultobj;
2937 fail:
2938 return NULL;
2939}
2940
2941
2942static PyObject *_wrap_GridCellTextEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2943 PyObject *resultobj;
2944 wxGridCellTextEditor *arg1 = (wxGridCellTextEditor *) 0 ;
2945 wxString result;
2946 PyObject * obj0 = 0 ;
2947 char *kwnames[] = {
2948 (char *) "self", NULL
2949 };
2950
2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellTextEditor_GetValue",kwnames,&obj0)) goto fail;
2952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellTextEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2953 {
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
2955 result = (arg1)->GetValue();
2956
2957 wxPyEndAllowThreads(__tstate);
2958 if (PyErr_Occurred()) SWIG_fail;
2959 }
2960 {
2961#if wxUSE_UNICODE
2962 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2963#else
2964 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2965#endif
2966 }
2967 return resultobj;
2968 fail:
2969 return NULL;
2970}
2971
2972
2973static PyObject * GridCellTextEditor_swigregister(PyObject *self, PyObject *args) {
2974 PyObject *obj;
2975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2976 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor, obj);
2977 Py_INCREF(obj);
2978 return Py_BuildValue((char *)"");
2979}
2980static PyObject *_wrap_new_GridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2981 PyObject *resultobj;
2982 int arg1 = (int) -1 ;
2983 int arg2 = (int) -1 ;
2984 wxGridCellNumberEditor *result;
2985 char *kwnames[] = {
2986 (char *) "min",(char *) "max", NULL
2987 };
2988
2989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridCellNumberEditor",kwnames,&arg1,&arg2)) goto fail;
2990 {
2991 PyThreadState* __tstate = wxPyBeginAllowThreads();
2992 result = (wxGridCellNumberEditor *)new wxGridCellNumberEditor(arg1,arg2);
2993
2994 wxPyEndAllowThreads(__tstate);
2995 if (PyErr_Occurred()) SWIG_fail;
2996 }
2997 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellNumberEditor, 1);
2998 return resultobj;
2999 fail:
3000 return NULL;
3001}
3002
3003
3004static PyObject *_wrap_GridCellNumberEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3005 PyObject *resultobj;
3006 wxGridCellNumberEditor *arg1 = (wxGridCellNumberEditor *) 0 ;
3007 wxString result;
3008 PyObject * obj0 = 0 ;
3009 char *kwnames[] = {
3010 (char *) "self", NULL
3011 };
3012
3013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellNumberEditor_GetValue",kwnames,&obj0)) goto fail;
3014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellNumberEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3015 {
3016 PyThreadState* __tstate = wxPyBeginAllowThreads();
3017 result = (arg1)->GetValue();
3018
3019 wxPyEndAllowThreads(__tstate);
3020 if (PyErr_Occurred()) SWIG_fail;
3021 }
3022 {
3023#if wxUSE_UNICODE
3024 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3025#else
3026 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3027#endif
3028 }
3029 return resultobj;
3030 fail:
3031 return NULL;
3032}
3033
3034
3035static PyObject * GridCellNumberEditor_swigregister(PyObject *self, PyObject *args) {
3036 PyObject *obj;
3037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3038 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor, obj);
3039 Py_INCREF(obj);
3040 return Py_BuildValue((char *)"");
3041}
3042static PyObject *_wrap_new_GridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3043 PyObject *resultobj;
3044 wxGridCellFloatEditor *result;
3045 char *kwnames[] = {
3046 NULL
3047 };
3048
3049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellFloatEditor",kwnames)) goto fail;
3050 {
3051 PyThreadState* __tstate = wxPyBeginAllowThreads();
3052 result = (wxGridCellFloatEditor *)new wxGridCellFloatEditor();
3053
3054 wxPyEndAllowThreads(__tstate);
3055 if (PyErr_Occurred()) SWIG_fail;
3056 }
3057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellFloatEditor, 1);
3058 return resultobj;
3059 fail:
3060 return NULL;
3061}
3062
3063
3064static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3065 PyObject *resultobj;
3066 wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ;
3067 wxString result;
3068 PyObject * obj0 = 0 ;
3069 char *kwnames[] = {
3070 (char *) "self", NULL
3071 };
3072
3073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatEditor_GetValue",kwnames,&obj0)) goto fail;
3074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3075 {
3076 PyThreadState* __tstate = wxPyBeginAllowThreads();
3077 result = (arg1)->GetValue();
3078
3079 wxPyEndAllowThreads(__tstate);
3080 if (PyErr_Occurred()) SWIG_fail;
3081 }
3082 {
3083#if wxUSE_UNICODE
3084 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3085#else
3086 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3087#endif
3088 }
3089 return resultobj;
3090 fail:
3091 return NULL;
3092}
3093
3094
3095static PyObject * GridCellFloatEditor_swigregister(PyObject *self, PyObject *args) {
3096 PyObject *obj;
3097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3098 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor, obj);
3099 Py_INCREF(obj);
3100 return Py_BuildValue((char *)"");
3101}
3102static PyObject *_wrap_new_GridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3103 PyObject *resultobj;
3104 wxGridCellBoolEditor *result;
3105 char *kwnames[] = {
3106 NULL
3107 };
3108
3109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolEditor",kwnames)) goto fail;
3110 {
3111 PyThreadState* __tstate = wxPyBeginAllowThreads();
3112 result = (wxGridCellBoolEditor *)new wxGridCellBoolEditor();
3113
3114 wxPyEndAllowThreads(__tstate);
3115 if (PyErr_Occurred()) SWIG_fail;
3116 }
3117 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellBoolEditor, 1);
3118 return resultobj;
3119 fail:
3120 return NULL;
3121}
3122
3123
3124static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3125 PyObject *resultobj;
3126 wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ;
3127 wxString result;
3128 PyObject * obj0 = 0 ;
3129 char *kwnames[] = {
3130 (char *) "self", NULL
3131 };
3132
3133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellBoolEditor_GetValue",kwnames,&obj0)) goto fail;
3134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellBoolEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3135 {
3136 PyThreadState* __tstate = wxPyBeginAllowThreads();
3137 result = (arg1)->GetValue();
3138
3139 wxPyEndAllowThreads(__tstate);
3140 if (PyErr_Occurred()) SWIG_fail;
3141 }
3142 {
3143#if wxUSE_UNICODE
3144 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3145#else
3146 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3147#endif
3148 }
3149 return resultobj;
3150 fail:
3151 return NULL;
3152}
3153
3154
3155static PyObject * GridCellBoolEditor_swigregister(PyObject *self, PyObject *args) {
3156 PyObject *obj;
3157 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3158 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor, obj);
3159 Py_INCREF(obj);
3160 return Py_BuildValue((char *)"");
3161}
3162static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3163 PyObject *resultobj;
3164 int arg1 = (int) 0 ;
3165 wxString *arg2 = (wxString *) NULL ;
e811c8ce 3166 bool arg3 = (bool) False ;
d14a1e28 3167 wxGridCellChoiceEditor *result;
7722248d 3168 PyObject * obj0 = 0 ;
d14a1e28 3169 PyObject * obj1 = 0 ;
d14a1e28 3170 char *kwnames[] = {
7722248d 3171 (char *) "choices",(char *) "allowOthers", NULL
d14a1e28
RD
3172 };
3173
7722248d
RD
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellChoiceEditor",kwnames,&obj0,&obj1)) goto fail;
3175 if (obj0) {
3176 {
3177 arg1 = PyList_Size(obj0);
3178 arg2 = wxString_LIST_helper(obj0);
3179 if (arg2 == NULL) SWIG_fail;
3180 }
d14a1e28 3181 }
7722248d
RD
3182 if (obj1) {
3183 arg3 = PyInt_AsLong(obj1) ? true : false;
d14a1e28
RD
3184 if (PyErr_Occurred()) SWIG_fail;
3185 }
3186 {
3187 PyThreadState* __tstate = wxPyBeginAllowThreads();
3188 result = (wxGridCellChoiceEditor *)new wxGridCellChoiceEditor(arg1,(wxString const *)arg2,arg3);
3189
3190 wxPyEndAllowThreads(__tstate);
3191 if (PyErr_Occurred()) SWIG_fail;
3192 }
3193 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellChoiceEditor, 1);
7722248d
RD
3194 {
3195 if (arg2) delete [] arg2;
3196 }
d14a1e28
RD
3197 return resultobj;
3198 fail:
7722248d
RD
3199 {
3200 if (arg2) delete [] arg2;
3201 }
d14a1e28
RD
3202 return NULL;
3203}
3204
3205
3206static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3207 PyObject *resultobj;
3208 wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ;
3209 wxString result;
3210 PyObject * obj0 = 0 ;
3211 char *kwnames[] = {
3212 (char *) "self", NULL
3213 };
3214
3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellChoiceEditor_GetValue",kwnames,&obj0)) goto fail;
3216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellChoiceEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3217 {
3218 PyThreadState* __tstate = wxPyBeginAllowThreads();
3219 result = (arg1)->GetValue();
3220
3221 wxPyEndAllowThreads(__tstate);
3222 if (PyErr_Occurred()) SWIG_fail;
3223 }
3224 {
3225#if wxUSE_UNICODE
3226 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3227#else
3228 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3229#endif
3230 }
3231 return resultobj;
3232 fail:
3233 return NULL;
3234}
3235
3236
3237static PyObject * GridCellChoiceEditor_swigregister(PyObject *self, PyObject *args) {
3238 PyObject *obj;
3239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3240 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor, obj);
3241 Py_INCREF(obj);
3242 return Py_BuildValue((char *)"");
3243}
3244static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3245 PyObject *resultobj;
3246 wxString const &arg1_defvalue = wxPyEmptyString ;
3247 wxString *arg1 = (wxString *) &arg1_defvalue ;
3248 wxGridCellEnumEditor *result;
e811c8ce 3249 bool temp1 = False ;
d14a1e28
RD
3250 PyObject * obj0 = 0 ;
3251 char *kwnames[] = {
3252 (char *) "choices", NULL
3253 };
3254
3255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumEditor",kwnames,&obj0)) goto fail;
3256 if (obj0) {
3257 {
3258 arg1 = wxString_in_helper(obj0);
3259 if (arg1 == NULL) SWIG_fail;
e811c8ce 3260 temp1 = True;
d14a1e28
RD
3261 }
3262 }
3263 {
3264 PyThreadState* __tstate = wxPyBeginAllowThreads();
3265 result = (wxGridCellEnumEditor *)new wxGridCellEnumEditor((wxString const &)*arg1);
3266
3267 wxPyEndAllowThreads(__tstate);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 }
3270 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellEnumEditor, 1);
3271 {
3272 if (temp1)
3273 delete arg1;
3274 }
3275 return resultobj;
3276 fail:
3277 {
3278 if (temp1)
3279 delete arg1;
3280 }
3281 return NULL;
3282}
3283
3284
3285static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3286 PyObject *resultobj;
3287 wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ;
3288 wxString result;
3289 PyObject * obj0 = 0 ;
3290 char *kwnames[] = {
3291 (char *) "self", NULL
3292 };
3293
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEnumEditor_GetValue",kwnames,&obj0)) goto fail;
3295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEnumEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3296 {
3297 PyThreadState* __tstate = wxPyBeginAllowThreads();
3298 result = (arg1)->GetValue();
3299
3300 wxPyEndAllowThreads(__tstate);
3301 if (PyErr_Occurred()) SWIG_fail;
3302 }
3303 {
3304#if wxUSE_UNICODE
3305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3306#else
3307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3308#endif
3309 }
3310 return resultobj;
3311 fail:
3312 return NULL;
3313}
3314
3315
3316static PyObject * GridCellEnumEditor_swigregister(PyObject *self, PyObject *args) {
3317 PyObject *obj;
3318 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3319 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor, obj);
3320 Py_INCREF(obj);
3321 return Py_BuildValue((char *)"");
3322}
3323static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3324 PyObject *resultobj;
3325 wxGridCellAutoWrapStringEditor *result;
3326 char *kwnames[] = {
3327 NULL
3328 };
3329
3330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringEditor",kwnames)) goto fail;
3331 {
3332 PyThreadState* __tstate = wxPyBeginAllowThreads();
3333 result = (wxGridCellAutoWrapStringEditor *)new wxGridCellAutoWrapStringEditor();
3334
3335 wxPyEndAllowThreads(__tstate);
3336 if (PyErr_Occurred()) SWIG_fail;
3337 }
3338 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellAutoWrapStringEditor, 1);
3339 return resultobj;
3340 fail:
3341 return NULL;
3342}
3343
3344
3345static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3346 PyObject *resultobj;
3347 wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ;
3348 wxString result;
3349 PyObject * obj0 = 0 ;
3350 char *kwnames[] = {
3351 (char *) "self", NULL
3352 };
3353
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames,&obj0)) goto fail;
3355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAutoWrapStringEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3356 {
3357 PyThreadState* __tstate = wxPyBeginAllowThreads();
3358 result = (arg1)->GetValue();
3359
3360 wxPyEndAllowThreads(__tstate);
3361 if (PyErr_Occurred()) SWIG_fail;
3362 }
3363 {
3364#if wxUSE_UNICODE
3365 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3366#else
3367 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3368#endif
3369 }
3370 return resultobj;
3371 fail:
3372 return NULL;
3373}
3374
3375
3376static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *self, PyObject *args) {
3377 PyObject *obj;
3378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3379 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor, obj);
3380 Py_INCREF(obj);
3381 return Py_BuildValue((char *)"");
3382}
3383static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3384 PyObject *resultobj;
3385 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3386 PyObject *arg2 = (PyObject *) 0 ;
3387 PyObject * obj0 = 0 ;
3388 PyObject * obj1 = 0 ;
3389 char *kwnames[] = {
3390 (char *) "self",(char *) "_self", NULL
3391 };
3392
3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
3394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3395 arg2 = obj1;
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
3398 wxGridCellAttr__setOORInfo(arg1,arg2);
3399
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 Py_INCREF(Py_None); resultobj = Py_None;
3404 return resultobj;
3405 fail:
3406 return NULL;
3407}
3408
3409
3410static PyObject *_wrap_new_GridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3411 PyObject *resultobj;
3412 wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ;
3413 wxGridCellAttr *result;
3414 PyObject * obj0 = 0 ;
3415 char *kwnames[] = {
3416 (char *) "attrDefault", NULL
3417 };
3418
3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellAttr",kwnames,&obj0)) goto fail;
3420 if (obj0) {
3421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3422 }
3423 {
3424 PyThreadState* __tstate = wxPyBeginAllowThreads();
3425 result = (wxGridCellAttr *)new wxGridCellAttr(arg1);
3426
3427 wxPyEndAllowThreads(__tstate);
3428 if (PyErr_Occurred()) SWIG_fail;
3429 }
3430 {
3431 resultobj = wxPyMake_wxGridCellAttr(result);
3432 }
3433 return resultobj;
3434 fail:
3435 return NULL;
3436}
3437
3438
3439static PyObject *_wrap_GridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3440 PyObject *resultobj;
3441 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3442 wxGridCellAttr *result;
3443 PyObject * obj0 = 0 ;
3444 char *kwnames[] = {
3445 (char *) "self", NULL
3446 };
3447
3448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_Clone",kwnames,&obj0)) goto fail;
3449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3450 {
3451 PyThreadState* __tstate = wxPyBeginAllowThreads();
3452 result = (wxGridCellAttr *)((wxGridCellAttr const *)arg1)->Clone();
3453
3454 wxPyEndAllowThreads(__tstate);
3455 if (PyErr_Occurred()) SWIG_fail;
3456 }
3457 {
3458 resultobj = wxPyMake_wxGridCellAttr(result);
3459 }
3460 return resultobj;
3461 fail:
3462 return NULL;
3463}
3464
3465
3466static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3467 PyObject *resultobj;
3468 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3469 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
3470 PyObject * obj0 = 0 ;
3471 PyObject * obj1 = 0 ;
3472 char *kwnames[] = {
3473 (char *) "self",(char *) "mergefrom", NULL
3474 };
3475
3476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_MergeWith",kwnames,&obj0,&obj1)) goto fail;
3477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3478 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3479 {
3480 PyThreadState* __tstate = wxPyBeginAllowThreads();
3481 (arg1)->MergeWith(arg2);
3482
3483 wxPyEndAllowThreads(__tstate);
3484 if (PyErr_Occurred()) SWIG_fail;
3485 }
3486 Py_INCREF(Py_None); resultobj = Py_None;
3487 return resultobj;
3488 fail:
3489 return NULL;
3490}
3491
3492
3493static PyObject *_wrap_GridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3494 PyObject *resultobj;
3495 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3496 PyObject * obj0 = 0 ;
3497 char *kwnames[] = {
3498 (char *) "self", NULL
3499 };
3500
3501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IncRef",kwnames,&obj0)) goto fail;
3502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
3505 (arg1)->IncRef();
3506
3507 wxPyEndAllowThreads(__tstate);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 Py_INCREF(Py_None); resultobj = Py_None;
3511 return resultobj;
3512 fail:
3513 return NULL;
3514}
3515
3516
3517static PyObject *_wrap_GridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3518 PyObject *resultobj;
3519 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3520 PyObject * obj0 = 0 ;
3521 char *kwnames[] = {
3522 (char *) "self", NULL
3523 };
3524
3525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_DecRef",kwnames,&obj0)) goto fail;
3526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3527 {
3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
3529 (arg1)->DecRef();
3530
3531 wxPyEndAllowThreads(__tstate);
3532 if (PyErr_Occurred()) SWIG_fail;
3533 }
3534 Py_INCREF(Py_None); resultobj = Py_None;
3535 return resultobj;
3536 fail:
3537 return NULL;
3538}
3539
3540
3541static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3542 PyObject *resultobj;
3543 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3544 wxColour *arg2 = 0 ;
3545 wxColour temp2 ;
3546 PyObject * obj0 = 0 ;
3547 PyObject * obj1 = 0 ;
3548 char *kwnames[] = {
3549 (char *) "self",(char *) "colText", NULL
3550 };
3551
3552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
3553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3554 {
3555 arg2 = &temp2;
3556 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3557 }
3558 {
3559 PyThreadState* __tstate = wxPyBeginAllowThreads();
3560 (arg1)->SetTextColour((wxColour const &)*arg2);
3561
3562 wxPyEndAllowThreads(__tstate);
3563 if (PyErr_Occurred()) SWIG_fail;
3564 }
3565 Py_INCREF(Py_None); resultobj = Py_None;
3566 return resultobj;
3567 fail:
3568 return NULL;
3569}
3570
3571
3572static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3573 PyObject *resultobj;
3574 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3575 wxColour *arg2 = 0 ;
3576 wxColour temp2 ;
3577 PyObject * obj0 = 0 ;
3578 PyObject * obj1 = 0 ;
3579 char *kwnames[] = {
3580 (char *) "self",(char *) "colBack", NULL
3581 };
3582
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
3584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3585 {
3586 arg2 = &temp2;
3587 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3588 }
3589 {
3590 PyThreadState* __tstate = wxPyBeginAllowThreads();
3591 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
3592
3593 wxPyEndAllowThreads(__tstate);
3594 if (PyErr_Occurred()) SWIG_fail;
3595 }
3596 Py_INCREF(Py_None); resultobj = Py_None;
3597 return resultobj;
3598 fail:
3599 return NULL;
3600}
3601
3602
3603static PyObject *_wrap_GridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3604 PyObject *resultobj;
3605 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3606 wxFont *arg2 = 0 ;
3607 PyObject * obj0 = 0 ;
3608 PyObject * obj1 = 0 ;
3609 char *kwnames[] = {
3610 (char *) "self",(char *) "font", NULL
3611 };
3612
3613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
3614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3616 if (arg2 == NULL) {
3617 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3618 }
3619 {
3620 PyThreadState* __tstate = wxPyBeginAllowThreads();
3621 (arg1)->SetFont((wxFont const &)*arg2);
3622
3623 wxPyEndAllowThreads(__tstate);
3624 if (PyErr_Occurred()) SWIG_fail;
3625 }
3626 Py_INCREF(Py_None); resultobj = Py_None;
3627 return resultobj;
3628 fail:
3629 return NULL;
3630}
3631
3632
3633static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3634 PyObject *resultobj;
3635 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3636 int arg2 ;
3637 int arg3 ;
3638 PyObject * obj0 = 0 ;
3639 char *kwnames[] = {
3640 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
3641 };
3642
3643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridCellAttr_SetAlignment",kwnames,&obj0,&arg2,&arg3)) goto fail;
3644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3645 {
3646 PyThreadState* __tstate = wxPyBeginAllowThreads();
3647 (arg1)->SetAlignment(arg2,arg3);
3648
3649 wxPyEndAllowThreads(__tstate);
3650 if (PyErr_Occurred()) SWIG_fail;
3651 }
3652 Py_INCREF(Py_None); resultobj = Py_None;
3653 return resultobj;
3654 fail:
3655 return NULL;
3656}
3657
3658
3659static PyObject *_wrap_GridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3660 PyObject *resultobj;
3661 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3662 int arg2 ;
3663 int arg3 ;
3664 PyObject * obj0 = 0 ;
3665 char *kwnames[] = {
3666 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
3667 };
3668
3669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridCellAttr_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
3670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3671 {
3672 PyThreadState* __tstate = wxPyBeginAllowThreads();
3673 (arg1)->SetSize(arg2,arg3);
3674
3675 wxPyEndAllowThreads(__tstate);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 }
3678 Py_INCREF(Py_None); resultobj = Py_None;
3679 return resultobj;
3680 fail:
3681 return NULL;
3682}
3683
3684
3685static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
3686 PyObject *resultobj;
3687 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
e811c8ce 3688 bool arg2 = (bool) True ;
d14a1e28
RD
3689 PyObject * obj0 = 0 ;
3690 PyObject * obj1 = 0 ;
3691 char *kwnames[] = {
3692 (char *) "self",(char *) "allow", NULL
3693 };
3694
3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetOverflow",kwnames,&obj0,&obj1)) goto fail;
3696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3697 if (obj1) {
3698 arg2 = PyInt_AsLong(obj1) ? true : false;
3699 if (PyErr_Occurred()) SWIG_fail;
3700 }
3701 {
3702 PyThreadState* __tstate = wxPyBeginAllowThreads();
3703 (arg1)->SetOverflow(arg2);
3704
3705 wxPyEndAllowThreads(__tstate);
3706 if (PyErr_Occurred()) SWIG_fail;
3707 }
3708 Py_INCREF(Py_None); resultobj = Py_None;
3709 return resultobj;
3710 fail:
3711 return NULL;
3712}
3713
3714
3715static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj;
3717 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
e811c8ce 3718 bool arg2 = (bool) True ;
d14a1e28
RD
3719 PyObject * obj0 = 0 ;
3720 PyObject * obj1 = 0 ;
3721 char *kwnames[] = {
3722 (char *) "self",(char *) "isReadOnly", NULL
3723 };
3724
3725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
3726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3727 if (obj1) {
3728 arg2 = PyInt_AsLong(obj1) ? true : false;
3729 if (PyErr_Occurred()) SWIG_fail;
3730 }
3731 {
3732 PyThreadState* __tstate = wxPyBeginAllowThreads();
3733 (arg1)->SetReadOnly(arg2);
3734
3735 wxPyEndAllowThreads(__tstate);
3736 if (PyErr_Occurred()) SWIG_fail;
3737 }
3738 Py_INCREF(Py_None); resultobj = Py_None;
3739 return resultobj;
3740 fail:
3741 return NULL;
3742}
3743
3744
3745static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3746 PyObject *resultobj;
3747 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3748 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
3749 PyObject * obj0 = 0 ;
3750 PyObject * obj1 = 0 ;
3751 char *kwnames[] = {
3752 (char *) "self",(char *) "renderer", NULL
3753 };
3754
3755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetRenderer",kwnames,&obj0,&obj1)) goto fail;
3756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3757 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3758 {
3759 PyThreadState* __tstate = wxPyBeginAllowThreads();
3760 (arg1)->SetRenderer(arg2);
3761
3762 wxPyEndAllowThreads(__tstate);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 }
3765 Py_INCREF(Py_None); resultobj = Py_None;
3766 return resultobj;
3767 fail:
3768 return NULL;
3769}
3770
3771
3772static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3773 PyObject *resultobj;
3774 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3775 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
3776 PyObject * obj0 = 0 ;
3777 PyObject * obj1 = 0 ;
3778 char *kwnames[] = {
3779 (char *) "self",(char *) "editor", NULL
3780 };
3781
3782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetEditor",kwnames,&obj0,&obj1)) goto fail;
3783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3785 {
3786 PyThreadState* __tstate = wxPyBeginAllowThreads();
3787 (arg1)->SetEditor(arg2);
3788
3789 wxPyEndAllowThreads(__tstate);
3790 if (PyErr_Occurred()) SWIG_fail;
3791 }
3792 Py_INCREF(Py_None); resultobj = Py_None;
3793 return resultobj;
3794 fail:
3795 return NULL;
3796}
3797
3798
3799static PyObject *_wrap_GridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
3800 PyObject *resultobj;
3801 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3802 int arg2 ;
3803 PyObject * obj0 = 0 ;
3804 char *kwnames[] = {
3805 (char *) "self",(char *) "kind", NULL
3806 };
3807
3808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridCellAttr_SetKind",kwnames,&obj0,&arg2)) goto fail;
3809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3810 {
3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
3812 (arg1)->SetKind((wxGridCellAttr::wxAttrKind )arg2);
3813
3814 wxPyEndAllowThreads(__tstate);
3815 if (PyErr_Occurred()) SWIG_fail;
3816 }
3817 Py_INCREF(Py_None); resultobj = Py_None;
3818 return resultobj;
3819 fail:
3820 return NULL;
3821}
3822
3823
3824static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3825 PyObject *resultobj;
3826 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3827 bool result;
3828 PyObject * obj0 = 0 ;
3829 char *kwnames[] = {
3830 (char *) "self", NULL
3831 };
3832
3833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasTextColour",kwnames,&obj0)) goto fail;
3834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3835 {
3836 PyThreadState* __tstate = wxPyBeginAllowThreads();
3837 result = (bool)((wxGridCellAttr const *)arg1)->HasTextColour();
3838
3839 wxPyEndAllowThreads(__tstate);
3840 if (PyErr_Occurred()) SWIG_fail;
3841 }
3842 resultobj = PyInt_FromLong((long)result);
3843 return resultobj;
3844 fail:
3845 return NULL;
3846}
3847
3848
3849static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3850 PyObject *resultobj;
3851 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3852 bool result;
3853 PyObject * obj0 = 0 ;
3854 char *kwnames[] = {
3855 (char *) "self", NULL
3856 };
3857
3858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
3859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3860 {
3861 PyThreadState* __tstate = wxPyBeginAllowThreads();
3862 result = (bool)((wxGridCellAttr const *)arg1)->HasBackgroundColour();
3863
3864 wxPyEndAllowThreads(__tstate);
3865 if (PyErr_Occurred()) SWIG_fail;
3866 }
3867 resultobj = PyInt_FromLong((long)result);
3868 return resultobj;
3869 fail:
3870 return NULL;
3871}
3872
3873
3874static PyObject *_wrap_GridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3875 PyObject *resultobj;
3876 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3877 bool result;
3878 PyObject * obj0 = 0 ;
3879 char *kwnames[] = {
3880 (char *) "self", NULL
3881 };
3882
3883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasFont",kwnames,&obj0)) goto fail;
3884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3885 {
3886 PyThreadState* __tstate = wxPyBeginAllowThreads();
3887 result = (bool)((wxGridCellAttr const *)arg1)->HasFont();
3888
3889 wxPyEndAllowThreads(__tstate);
3890 if (PyErr_Occurred()) SWIG_fail;
3891 }
3892 resultobj = PyInt_FromLong((long)result);
3893 return resultobj;
3894 fail:
3895 return NULL;
3896}
3897
3898
3899static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3900 PyObject *resultobj;
3901 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3902 bool result;
3903 PyObject * obj0 = 0 ;
3904 char *kwnames[] = {
3905 (char *) "self", NULL
3906 };
3907
3908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasAlignment",kwnames,&obj0)) goto fail;
3909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3910 {
3911 PyThreadState* __tstate = wxPyBeginAllowThreads();
3912 result = (bool)((wxGridCellAttr const *)arg1)->HasAlignment();
3913
3914 wxPyEndAllowThreads(__tstate);
3915 if (PyErr_Occurred()) SWIG_fail;
3916 }
3917 resultobj = PyInt_FromLong((long)result);
3918 return resultobj;
3919 fail:
3920 return NULL;
3921}
3922
3923
3924static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3925 PyObject *resultobj;
3926 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3927 bool result;
3928 PyObject * obj0 = 0 ;
3929 char *kwnames[] = {
3930 (char *) "self", NULL
3931 };
3932
3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasRenderer",kwnames,&obj0)) goto fail;
3934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3935 {
3936 PyThreadState* __tstate = wxPyBeginAllowThreads();
3937 result = (bool)((wxGridCellAttr const *)arg1)->HasRenderer();
3938
3939 wxPyEndAllowThreads(__tstate);
3940 if (PyErr_Occurred()) SWIG_fail;
3941 }
3942 resultobj = PyInt_FromLong((long)result);
3943 return resultobj;
3944 fail:
3945 return NULL;
3946}
3947
3948
3949static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3950 PyObject *resultobj;
3951 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3952 bool result;
3953 PyObject * obj0 = 0 ;
3954 char *kwnames[] = {
3955 (char *) "self", NULL
3956 };
3957
3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasEditor",kwnames,&obj0)) goto fail;
3959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3960 {
3961 PyThreadState* __tstate = wxPyBeginAllowThreads();
3962 result = (bool)((wxGridCellAttr const *)arg1)->HasEditor();
3963
3964 wxPyEndAllowThreads(__tstate);
3965 if (PyErr_Occurred()) SWIG_fail;
3966 }
3967 resultobj = PyInt_FromLong((long)result);
3968 return resultobj;
3969 fail:
3970 return NULL;
3971}
3972
3973
3974static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3975 PyObject *resultobj;
3976 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3977 bool result;
3978 PyObject * obj0 = 0 ;
3979 char *kwnames[] = {
3980 (char *) "self", NULL
3981 };
3982
3983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames,&obj0)) goto fail;
3984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3985 {
3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
3987 result = (bool)((wxGridCellAttr const *)arg1)->HasReadWriteMode();
3988
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 resultobj = PyInt_FromLong((long)result);
3993 return resultobj;
3994 fail:
3995 return NULL;
3996}
3997
3998
3999static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4000 PyObject *resultobj;
4001 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4002 bool result;
4003 PyObject * obj0 = 0 ;
4004 char *kwnames[] = {
4005 (char *) "self", NULL
4006 };
4007
4008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasOverflowMode",kwnames,&obj0)) goto fail;
4009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4010 {
4011 PyThreadState* __tstate = wxPyBeginAllowThreads();
4012 result = (bool)((wxGridCellAttr const *)arg1)->HasOverflowMode();
4013
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 resultobj = PyInt_FromLong((long)result);
4018 return resultobj;
4019 fail:
4020 return NULL;
4021}
4022
4023
4024static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4025 PyObject *resultobj;
4026 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4027 wxColour result;
4028 PyObject * obj0 = 0 ;
4029 char *kwnames[] = {
4030 (char *) "self", NULL
4031 };
4032
4033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetTextColour",kwnames,&obj0)) goto fail;
4034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4035 {
4036 PyThreadState* __tstate = wxPyBeginAllowThreads();
4037 result = ((wxGridCellAttr const *)arg1)->GetTextColour();
4038
4039 wxPyEndAllowThreads(__tstate);
4040 if (PyErr_Occurred()) SWIG_fail;
4041 }
4042 {
4043 wxColour * resultptr;
4044 resultptr = new wxColour((wxColour &) result);
4045 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4046 }
4047 return resultobj;
4048 fail:
4049 return NULL;
4050}
4051
4052
4053static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4054 PyObject *resultobj;
4055 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4056 wxColour result;
4057 PyObject * obj0 = 0 ;
4058 char *kwnames[] = {
4059 (char *) "self", NULL
4060 };
4061
4062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
4063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4064 {
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
4066 result = ((wxGridCellAttr const *)arg1)->GetBackgroundColour();
4067
4068 wxPyEndAllowThreads(__tstate);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 }
4071 {
4072 wxColour * resultptr;
4073 resultptr = new wxColour((wxColour &) result);
4074 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4075 }
4076 return resultobj;
4077 fail:
4078 return NULL;
4079}
4080
4081
4082static PyObject *_wrap_GridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4083 PyObject *resultobj;
4084 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4085 wxFont result;
4086 PyObject * obj0 = 0 ;
4087 char *kwnames[] = {
4088 (char *) "self", NULL
4089 };
4090
4091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetFont",kwnames,&obj0)) goto fail;
4092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4093 {
4094 PyThreadState* __tstate = wxPyBeginAllowThreads();
4095 result = ((wxGridCellAttr const *)arg1)->GetFont();
4096
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 {
4101 wxFont * resultptr;
4102 resultptr = new wxFont((wxFont &) result);
4103 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
4104 }
4105 return resultobj;
4106 fail:
4107 return NULL;
4108}
4109
4110
4111static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4112 PyObject *resultobj;
4113 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4114 int *arg2 = (int *) 0 ;
4115 int *arg3 = (int *) 0 ;
4116 int temp2 ;
4117 int temp3 ;
4118 PyObject * obj0 = 0 ;
4119 char *kwnames[] = {
4120 (char *) "self", NULL
4121 };
4122
4123 arg2 = &temp2;
4124 arg3 = &temp3;
4125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetAlignment",kwnames,&obj0)) goto fail;
4126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4127 {
4128 PyThreadState* __tstate = wxPyBeginAllowThreads();
4129 ((wxGridCellAttr const *)arg1)->GetAlignment(arg2,arg3);
4130
4131 wxPyEndAllowThreads(__tstate);
4132 if (PyErr_Occurred()) SWIG_fail;
4133 }
4134 Py_INCREF(Py_None); resultobj = Py_None;
4135 {
4136 PyObject *o = PyInt_FromLong((long) (*arg2));
4137 resultobj = t_output_helper(resultobj,o);
4138 }
4139 {
4140 PyObject *o = PyInt_FromLong((long) (*arg3));
4141 resultobj = t_output_helper(resultobj,o);
4142 }
4143 return resultobj;
4144 fail:
4145 return NULL;
4146}
4147
4148
4149static PyObject *_wrap_GridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4150 PyObject *resultobj;
4151 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4152 int *arg2 = (int *) 0 ;
4153 int *arg3 = (int *) 0 ;
4154 int temp2 ;
4155 int temp3 ;
4156 PyObject * obj0 = 0 ;
4157 char *kwnames[] = {
4158 (char *) "self", NULL
4159 };
4160
4161 arg2 = &temp2;
4162 arg3 = &temp3;
4163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetSize",kwnames,&obj0)) goto fail;
4164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4165 {
4166 PyThreadState* __tstate = wxPyBeginAllowThreads();
4167 ((wxGridCellAttr const *)arg1)->GetSize(arg2,arg3);
4168
4169 wxPyEndAllowThreads(__tstate);
4170 if (PyErr_Occurred()) SWIG_fail;
4171 }
4172 Py_INCREF(Py_None); resultobj = Py_None;
4173 {
4174 PyObject *o = PyInt_FromLong((long) (*arg2));
4175 resultobj = t_output_helper(resultobj,o);
4176 }
4177 {
4178 PyObject *o = PyInt_FromLong((long) (*arg3));
4179 resultobj = t_output_helper(resultobj,o);
4180 }
4181 return resultobj;
4182 fail:
4183 return NULL;
4184}
4185
4186
4187static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4188 PyObject *resultobj;
4189 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4190 bool result;
4191 PyObject * obj0 = 0 ;
4192 char *kwnames[] = {
4193 (char *) "self", NULL
4194 };
4195
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetOverflow",kwnames,&obj0)) goto fail;
4197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4198 {
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 result = (bool)((wxGridCellAttr const *)arg1)->GetOverflow();
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 resultobj = PyInt_FromLong((long)result);
4206 return resultobj;
4207 fail:
4208 return NULL;
4209}
4210
4211
4212static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4213 PyObject *resultobj;
4214 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4215 wxGrid *arg2 = (wxGrid *) 0 ;
4216 int arg3 ;
4217 int arg4 ;
4218 wxGridCellRenderer *result;
4219 PyObject * obj0 = 0 ;
4220 PyObject * obj1 = 0 ;
4221 char *kwnames[] = {
4222 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4223 };
4224
4225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:GridCellAttr_GetRenderer",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
4226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4227 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4228 {
4229 PyThreadState* __tstate = wxPyBeginAllowThreads();
4230 result = (wxGridCellRenderer *)((wxGridCellAttr const *)arg1)->GetRenderer(arg2,arg3,arg4);
4231
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 }
4235 {
4236 resultobj = wxPyMake_wxGridCellRenderer(result);
4237 }
4238 return resultobj;
4239 fail:
4240 return NULL;
4241}
4242
4243
4244static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4245 PyObject *resultobj;
4246 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4247 wxGrid *arg2 = (wxGrid *) 0 ;
4248 int arg3 ;
4249 int arg4 ;
4250 wxGridCellEditor *result;
4251 PyObject * obj0 = 0 ;
4252 PyObject * obj1 = 0 ;
4253 char *kwnames[] = {
4254 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4255 };
4256
4257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:GridCellAttr_GetEditor",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
4258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4260 {
4261 PyThreadState* __tstate = wxPyBeginAllowThreads();
4262 result = (wxGridCellEditor *)((wxGridCellAttr const *)arg1)->GetEditor(arg2,arg3,arg4);
4263
4264 wxPyEndAllowThreads(__tstate);
4265 if (PyErr_Occurred()) SWIG_fail;
4266 }
4267 {
4268 resultobj = wxPyMake_wxGridCellEditor(result);
4269 }
4270 return resultobj;
4271 fail:
4272 return NULL;
4273}
4274
4275
4276static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4277 PyObject *resultobj;
4278 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4279 bool result;
4280 PyObject * obj0 = 0 ;
4281 char *kwnames[] = {
4282 (char *) "self", NULL
4283 };
4284
4285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IsReadOnly",kwnames,&obj0)) goto fail;
4286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4287 {
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 result = (bool)((wxGridCellAttr const *)arg1)->IsReadOnly();
4290
4291 wxPyEndAllowThreads(__tstate);
4292 if (PyErr_Occurred()) SWIG_fail;
4293 }
4294 resultobj = PyInt_FromLong((long)result);
4295 return resultobj;
4296 fail:
4297 return NULL;
4298}
4299
4300
4301static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4302 PyObject *resultobj;
4303 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4304 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4305 PyObject * obj0 = 0 ;
4306 PyObject * obj1 = 0 ;
4307 char *kwnames[] = {
4308 (char *) "self",(char *) "defAttr", NULL
4309 };
4310
4311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetDefAttr",kwnames,&obj0,&obj1)) goto fail;
4312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4314 {
4315 PyThreadState* __tstate = wxPyBeginAllowThreads();
4316 (arg1)->SetDefAttr(arg2);
4317
4318 wxPyEndAllowThreads(__tstate);
4319 if (PyErr_Occurred()) SWIG_fail;
4320 }
4321 Py_INCREF(Py_None); resultobj = Py_None;
4322 return resultobj;
4323 fail:
4324 return NULL;
4325}
4326
4327
4328static PyObject * GridCellAttr_swigregister(PyObject *self, PyObject *args) {
4329 PyObject *obj;
4330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4331 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr, obj);
4332 Py_INCREF(obj);
4333 return Py_BuildValue((char *)"");
4334}
4335static PyObject *_wrap_new_GridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj;
4337 wxGridCellAttrProvider *result;
4338 char *kwnames[] = {
4339 NULL
4340 };
4341
4342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAttrProvider",kwnames)) goto fail;
4343 {
4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
4345 result = (wxGridCellAttrProvider *)new wxGridCellAttrProvider();
4346
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4350 {
4351 resultobj = wxPyMake_wxGridCellAttrProvider(result);
4352 }
4353 return resultobj;
4354 fail:
4355 return NULL;
4356}
4357
4358
4359static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4360 PyObject *resultobj;
4361 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4362 PyObject *arg2 = (PyObject *) 0 ;
4363 PyObject * obj0 = 0 ;
4364 PyObject * obj1 = 0 ;
4365 char *kwnames[] = {
4366 (char *) "self",(char *) "_self", NULL
4367 };
4368
4369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
4370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4371 arg2 = obj1;
4372 {
4373 PyThreadState* __tstate = wxPyBeginAllowThreads();
4374 wxGridCellAttrProvider__setOORInfo(arg1,arg2);
4375
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 Py_INCREF(Py_None); resultobj = Py_None;
4380 return resultobj;
4381 fail:
4382 return NULL;
4383}
4384
4385
4386static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj;
4388 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4389 int arg2 ;
4390 int arg3 ;
4391 int arg4 ;
4392 wxGridCellAttr *result;
4393 PyObject * obj0 = 0 ;
4394 char *kwnames[] = {
4395 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4396 };
4397
4398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:GridCellAttrProvider_GetAttr",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
4399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4400 {
4401 PyThreadState* __tstate = wxPyBeginAllowThreads();
4402 result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
4403
4404 wxPyEndAllowThreads(__tstate);
4405 if (PyErr_Occurred()) SWIG_fail;
4406 }
4407 {
4408 resultobj = wxPyMake_wxGridCellAttr(result);
4409 }
4410 return resultobj;
4411 fail:
4412 return NULL;
4413}
4414
4415
4416static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4417 PyObject *resultobj;
4418 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4419 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4420 int arg3 ;
4421 int arg4 ;
4422 PyObject * obj0 = 0 ;
4423 PyObject * obj1 = 0 ;
4424 char *kwnames[] = {
4425 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4426 };
4427
4428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:GridCellAttrProvider_SetAttr",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
4429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4430 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4431 {
4432 PyThreadState* __tstate = wxPyBeginAllowThreads();
4433 (arg1)->SetAttr(arg2,arg3,arg4);
4434
4435 wxPyEndAllowThreads(__tstate);
4436 if (PyErr_Occurred()) SWIG_fail;
4437 }
4438 Py_INCREF(Py_None); resultobj = Py_None;
4439 return resultobj;
4440 fail:
4441 return NULL;
4442}
4443
4444
4445static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4446 PyObject *resultobj;
4447 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4448 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4449 int arg3 ;
4450 PyObject * obj0 = 0 ;
4451 PyObject * obj1 = 0 ;
4452 char *kwnames[] = {
4453 (char *) "self",(char *) "attr",(char *) "row", NULL
4454 };
4455
4456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridCellAttrProvider_SetRowAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
4457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4458 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4459 {
4460 PyThreadState* __tstate = wxPyBeginAllowThreads();
4461 (arg1)->SetRowAttr(arg2,arg3);
4462
4463 wxPyEndAllowThreads(__tstate);
4464 if (PyErr_Occurred()) SWIG_fail;
4465 }
4466 Py_INCREF(Py_None); resultobj = Py_None;
4467 return resultobj;
4468 fail:
4469 return NULL;
4470}
4471
4472
4473static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4474 PyObject *resultobj;
4475 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4476 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4477 int arg3 ;
4478 PyObject * obj0 = 0 ;
4479 PyObject * obj1 = 0 ;
4480 char *kwnames[] = {
4481 (char *) "self",(char *) "attr",(char *) "col", NULL
4482 };
4483
4484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridCellAttrProvider_SetColAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
4485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4486 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 (arg1)->SetColAttr(arg2,arg3);
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 Py_INCREF(Py_None); resultobj = Py_None;
4495 return resultobj;
4496 fail:
4497 return NULL;
4498}
4499
4500
4501static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj;
4503 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4504 size_t arg2 ;
4505 int arg3 ;
4506 PyObject * obj0 = 0 ;
4507 PyObject * obj1 = 0 ;
4508 char *kwnames[] = {
4509 (char *) "self",(char *) "pos",(char *) "numRows", NULL
4510 };
4511
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridCellAttrProvider_UpdateAttrRows",kwnames,&obj0,&obj1,&arg3)) goto fail;
4513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4514 arg2 = (size_t) PyInt_AsLong(obj1);
4515 if (PyErr_Occurred()) SWIG_fail;
4516 {
4517 PyThreadState* __tstate = wxPyBeginAllowThreads();
4518 (arg1)->UpdateAttrRows(arg2,arg3);
4519
4520 wxPyEndAllowThreads(__tstate);
4521 if (PyErr_Occurred()) SWIG_fail;
4522 }
4523 Py_INCREF(Py_None); resultobj = Py_None;
4524 return resultobj;
4525 fail:
4526 return NULL;
4527}
4528
4529
4530static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4531 PyObject *resultobj;
4532 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4533 size_t arg2 ;
4534 int arg3 ;
4535 PyObject * obj0 = 0 ;
4536 PyObject * obj1 = 0 ;
4537 char *kwnames[] = {
4538 (char *) "self",(char *) "pos",(char *) "numCols", NULL
4539 };
4540
4541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridCellAttrProvider_UpdateAttrCols",kwnames,&obj0,&obj1,&arg3)) goto fail;
4542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4543 arg2 = (size_t) PyInt_AsLong(obj1);
4544 if (PyErr_Occurred()) SWIG_fail;
4545 {
4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
4547 (arg1)->UpdateAttrCols(arg2,arg3);
4548
4549 wxPyEndAllowThreads(__tstate);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
4552 Py_INCREF(Py_None); resultobj = Py_None;
4553 return resultobj;
4554 fail:
4555 return NULL;
4556}
4557
4558
4559static PyObject * GridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
4560 PyObject *obj;
4561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4562 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider, obj);
4563 Py_INCREF(obj);
4564 return Py_BuildValue((char *)"");
4565}
4566static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4567 PyObject *resultobj;
4568 wxPyGridCellAttrProvider *result;
4569 char *kwnames[] = {
4570 NULL
4571 };
4572
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellAttrProvider",kwnames)) goto fail;
4574 {
4575 PyThreadState* __tstate = wxPyBeginAllowThreads();
4576 result = (wxPyGridCellAttrProvider *)new wxPyGridCellAttrProvider();
4577
4578 wxPyEndAllowThreads(__tstate);
4579 if (PyErr_Occurred()) SWIG_fail;
4580 }
4581 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridCellAttrProvider, 1);
4582 return resultobj;
4583 fail:
4584 return NULL;
4585}
4586
4587
4588static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4589 PyObject *resultobj;
4590 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
4591 PyObject *arg2 = (PyObject *) 0 ;
4592 PyObject *arg3 = (PyObject *) 0 ;
4593 PyObject * obj0 = 0 ;
4594 PyObject * obj1 = 0 ;
4595 PyObject * obj2 = 0 ;
4596 char *kwnames[] = {
4597 (char *) "self",(char *) "self",(char *) "_class", NULL
4598 };
4599
4600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
4601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4602 arg2 = obj1;
4603 arg3 = obj2;
4604 {
4605 PyThreadState* __tstate = wxPyBeginAllowThreads();
4606 (arg1)->_setCallbackInfo(arg2,arg3);
4607
4608 wxPyEndAllowThreads(__tstate);
4609 if (PyErr_Occurred()) SWIG_fail;
4610 }
4611 Py_INCREF(Py_None); resultobj = Py_None;
4612 return resultobj;
4613 fail:
4614 return NULL;
4615}
4616
4617
4618static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4619 PyObject *resultobj;
4620 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
4621 int arg2 ;
4622 int arg3 ;
4623 int arg4 ;
4624 wxGridCellAttr *result;
4625 PyObject * obj0 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:PyGridCellAttrProvider_base_GetAttr",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
4631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4632 {
4633 PyThreadState* __tstate = wxPyBeginAllowThreads();
4634 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
4635
4636 wxPyEndAllowThreads(__tstate);
4637 if (PyErr_Occurred()) SWIG_fail;
4638 }
4639 {
4640 resultobj = wxPyMake_wxGridCellAttr(result);
4641 }
4642 return resultobj;
4643 fail:
4644 return NULL;
4645}
4646
4647
4648static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4649 PyObject *resultobj;
4650 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
4651 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4652 int arg3 ;
4653 int arg4 ;
4654 PyObject * obj0 = 0 ;
4655 PyObject * obj1 = 0 ;
4656 char *kwnames[] = {
4657 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4658 };
4659
4660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:PyGridCellAttrProvider_base_SetAttr",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
4661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4663 {
4664 PyThreadState* __tstate = wxPyBeginAllowThreads();
4665 (arg1)->base_SetAttr(arg2,arg3,arg4);
4666
4667 wxPyEndAllowThreads(__tstate);
4668 if (PyErr_Occurred()) SWIG_fail;
4669 }
4670 Py_INCREF(Py_None); resultobj = Py_None;
4671 return resultobj;
4672 fail:
4673 return NULL;
4674}
4675
4676
4677static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4678 PyObject *resultobj;
4679 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
4680 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4681 int arg3 ;
4682 PyObject * obj0 = 0 ;
4683 PyObject * obj1 = 0 ;
4684 char *kwnames[] = {
4685 (char *) "self",(char *) "attr",(char *) "row", NULL
4686 };
4687
4688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:PyGridCellAttrProvider_base_SetRowAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
4689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4690 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4691 {
4692 PyThreadState* __tstate = wxPyBeginAllowThreads();
4693 (arg1)->base_SetRowAttr(arg2,arg3);
4694
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 Py_INCREF(Py_None); resultobj = Py_None;
4699 return resultobj;
4700 fail:
4701 return NULL;
4702}
4703
4704
4705static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4706 PyObject *resultobj;
4707 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
4708 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4709 int arg3 ;
4710 PyObject * obj0 = 0 ;
4711 PyObject * obj1 = 0 ;
4712 char *kwnames[] = {
4713 (char *) "self",(char *) "attr",(char *) "col", NULL
4714 };
4715
4716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:PyGridCellAttrProvider_base_SetColAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
4717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4718 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4719 {
4720 PyThreadState* __tstate = wxPyBeginAllowThreads();
4721 (arg1)->base_SetColAttr(arg2,arg3);
4722
4723 wxPyEndAllowThreads(__tstate);
4724 if (PyErr_Occurred()) SWIG_fail;
4725 }
4726 Py_INCREF(Py_None); resultobj = Py_None;
4727 return resultobj;
4728 fail:
4729 return NULL;
4730}
4731
4732
4733static PyObject * PyGridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
4734 PyObject *obj;
4735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4736 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider, obj);
4737 Py_INCREF(obj);
4738 return Py_BuildValue((char *)"");
4739}
4740static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4741 PyObject *resultobj;
4742 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4743 PyObject *arg2 = (PyObject *) 0 ;
4744 PyObject * obj0 = 0 ;
4745 PyObject * obj1 = 0 ;
4746 char *kwnames[] = {
4747 (char *) "self",(char *) "_self", NULL
4748 };
4749
4750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
4751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4752 arg2 = obj1;
4753 {
4754 PyThreadState* __tstate = wxPyBeginAllowThreads();
4755 wxGridTableBase__setOORInfo(arg1,arg2);
4756
4757 wxPyEndAllowThreads(__tstate);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4760 Py_INCREF(Py_None); resultobj = Py_None;
4761 return resultobj;
4762 fail:
4763 return NULL;
4764}
4765
4766
4767static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4768 PyObject *resultobj;
4769 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4770 wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ;
4771 PyObject * obj0 = 0 ;
4772 PyObject * obj1 = 0 ;
4773 char *kwnames[] = {
4774 (char *) "self",(char *) "attrProvider", NULL
4775 };
4776
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetAttrProvider",kwnames,&obj0,&obj1)) goto fail;
4778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4779 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4780 {
4781 PyThreadState* __tstate = wxPyBeginAllowThreads();
4782 (arg1)->SetAttrProvider(arg2);
4783
4784 wxPyEndAllowThreads(__tstate);
4785 if (PyErr_Occurred()) SWIG_fail;
4786 }
4787 Py_INCREF(Py_None); resultobj = Py_None;
4788 return resultobj;
4789 fail:
4790 return NULL;
4791}
4792
4793
4794static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4795 PyObject *resultobj;
4796 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4797 wxGridCellAttrProvider *result;
4798 PyObject * obj0 = 0 ;
4799 char *kwnames[] = {
4800 (char *) "self", NULL
4801 };
4802
4803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetAttrProvider",kwnames,&obj0)) goto fail;
4804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 result = (wxGridCellAttrProvider *)((wxGridTableBase const *)arg1)->GetAttrProvider();
4808
4809 wxPyEndAllowThreads(__tstate);
4810 if (PyErr_Occurred()) SWIG_fail;
4811 }
4812 {
4813 resultobj = wxPyMake_wxGridCellAttrProvider(result);
4814 }
4815 return resultobj;
4816 fail:
4817 return NULL;
4818}
4819
4820
4821static PyObject *_wrap_GridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4822 PyObject *resultobj;
4823 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4824 wxGrid *arg2 = (wxGrid *) 0 ;
4825 PyObject * obj0 = 0 ;
4826 PyObject * obj1 = 0 ;
4827 char *kwnames[] = {
4828 (char *) "self",(char *) "grid", NULL
4829 };
4830
4831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetView",kwnames,&obj0,&obj1)) goto fail;
4832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4833 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4834 {
4835 PyThreadState* __tstate = wxPyBeginAllowThreads();
4836 (arg1)->SetView(arg2);
4837
4838 wxPyEndAllowThreads(__tstate);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 }
4841 Py_INCREF(Py_None); resultobj = Py_None;
4842 return resultobj;
4843 fail:
4844 return NULL;
4845}
4846
4847
4848static PyObject *_wrap_GridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4849 PyObject *resultobj;
4850 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4851 wxGrid *result;
4852 PyObject * obj0 = 0 ;
4853 char *kwnames[] = {
4854 (char *) "self", NULL
4855 };
4856
4857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetView",kwnames,&obj0)) goto fail;
4858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4859 {
4860 PyThreadState* __tstate = wxPyBeginAllowThreads();
4861 result = (wxGrid *)((wxGridTableBase const *)arg1)->GetView();
4862
4863 wxPyEndAllowThreads(__tstate);
4864 if (PyErr_Occurred()) SWIG_fail;
4865 }
4866 {
4867 resultobj = wxPyMake_wxObject(result);
4868 }
4869 return resultobj;
4870 fail:
4871 return NULL;
4872}
4873
4874
4875static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4876 PyObject *resultobj;
4877 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4878 int result;
4879 PyObject * obj0 = 0 ;
4880 char *kwnames[] = {
4881 (char *) "self", NULL
4882 };
4883
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberRows",kwnames,&obj0)) goto fail;
4885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 result = (int)(arg1)->GetNumberRows();
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 resultobj = PyInt_FromLong((long)result);
4894 return resultobj;
4895 fail:
4896 return NULL;
4897}
4898
4899
4900static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4901 PyObject *resultobj;
4902 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4903 int result;
4904 PyObject * obj0 = 0 ;
4905 char *kwnames[] = {
4906 (char *) "self", NULL
4907 };
4908
4909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberCols",kwnames,&obj0)) goto fail;
4910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4911 {
4912 PyThreadState* __tstate = wxPyBeginAllowThreads();
4913 result = (int)(arg1)->GetNumberCols();
4914
4915 wxPyEndAllowThreads(__tstate);
4916 if (PyErr_Occurred()) SWIG_fail;
4917 }
4918 resultobj = PyInt_FromLong((long)result);
4919 return resultobj;
4920 fail:
4921 return NULL;
4922}
4923
4924
4925static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4926 PyObject *resultobj;
4927 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4928 int arg2 ;
4929 int arg3 ;
4930 bool result;
4931 PyObject * obj0 = 0 ;
4932 char *kwnames[] = {
4933 (char *) "self",(char *) "row",(char *) "col", NULL
4934 };
4935
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_IsEmptyCell",kwnames,&obj0,&arg2,&arg3)) goto fail;
4937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 result = (bool)(arg1)->IsEmptyCell(arg2,arg3);
4941
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 resultobj = PyInt_FromLong((long)result);
4946 return resultobj;
4947 fail:
4948 return NULL;
4949}
4950
4951
4952static PyObject *_wrap_GridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4953 PyObject *resultobj;
4954 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4955 int arg2 ;
4956 int arg3 ;
4957 wxString result;
4958 PyObject * obj0 = 0 ;
4959 char *kwnames[] = {
4960 (char *) "self",(char *) "row",(char *) "col", NULL
4961 };
4962
4963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_GetValue",kwnames,&obj0,&arg2,&arg3)) goto fail;
4964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4965 {
4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
4967 result = (arg1)->GetValue(arg2,arg3);
4968
4969 wxPyEndAllowThreads(__tstate);
4970 if (PyErr_Occurred()) SWIG_fail;
4971 }
4972 {
4973#if wxUSE_UNICODE
4974 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4975#else
4976 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4977#endif
4978 }
4979 return resultobj;
4980 fail:
4981 return NULL;
4982}
4983
4984
4985static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4986 PyObject *resultobj;
4987 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4988 int arg2 ;
4989 int arg3 ;
4990 wxString *arg4 = 0 ;
e811c8ce 4991 bool temp4 = False ;
d14a1e28
RD
4992 PyObject * obj0 = 0 ;
4993 PyObject * obj3 = 0 ;
4994 char *kwnames[] = {
4995 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
4996 };
4997
4998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridTableBase_SetValue",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5000 {
5001 arg4 = wxString_in_helper(obj3);
5002 if (arg4 == NULL) SWIG_fail;
e811c8ce 5003 temp4 = True;
d14a1e28
RD
5004 }
5005 {
5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
5007 (arg1)->SetValue(arg2,arg3,(wxString const &)*arg4);
5008
5009 wxPyEndAllowThreads(__tstate);
5010 if (PyErr_Occurred()) SWIG_fail;
5011 }
5012 Py_INCREF(Py_None); resultobj = Py_None;
5013 {
5014 if (temp4)
5015 delete arg4;
5016 }
5017 return resultobj;
5018 fail:
5019 {
5020 if (temp4)
5021 delete arg4;
5022 }
5023 return NULL;
5024}
5025
5026
5027static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5028 PyObject *resultobj;
5029 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5030 int arg2 ;
5031 int arg3 ;
5032 wxString result;
5033 PyObject * obj0 = 0 ;
5034 char *kwnames[] = {
5035 (char *) "self",(char *) "row",(char *) "col", NULL
5036 };
5037
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_GetTypeName",kwnames,&obj0,&arg2,&arg3)) goto fail;
5039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5040 {
5041 PyThreadState* __tstate = wxPyBeginAllowThreads();
5042 result = (arg1)->GetTypeName(arg2,arg3);
5043
5044 wxPyEndAllowThreads(__tstate);
5045 if (PyErr_Occurred()) SWIG_fail;
5046 }
5047 {
5048#if wxUSE_UNICODE
5049 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5050#else
5051 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5052#endif
5053 }
5054 return resultobj;
5055 fail:
5056 return NULL;
5057}
5058
5059
5060static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5061 PyObject *resultobj;
5062 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5063 int arg2 ;
5064 int arg3 ;
5065 wxString *arg4 = 0 ;
5066 bool result;
e811c8ce 5067 bool temp4 = False ;
d14a1e28
RD
5068 PyObject * obj0 = 0 ;
5069 PyObject * obj3 = 0 ;
5070 char *kwnames[] = {
5071 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5072 };
5073
5074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridTableBase_CanGetValueAs",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
5075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5076 {
5077 arg4 = wxString_in_helper(obj3);
5078 if (arg4 == NULL) SWIG_fail;
e811c8ce 5079 temp4 = True;
d14a1e28
RD
5080 }
5081 {
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 result = (bool)(arg1)->CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
5084
5085 wxPyEndAllowThreads(__tstate);
5086 if (PyErr_Occurred()) SWIG_fail;
5087 }
5088 resultobj = PyInt_FromLong((long)result);
5089 {
5090 if (temp4)
5091 delete arg4;
5092 }
5093 return resultobj;
5094 fail:
5095 {
5096 if (temp4)
5097 delete arg4;
5098 }
5099 return NULL;
5100}
5101
5102
5103static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5104 PyObject *resultobj;
5105 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5106 int arg2 ;
5107 int arg3 ;
5108 wxString *arg4 = 0 ;
5109 bool result;
e811c8ce 5110 bool temp4 = False ;
d14a1e28
RD
5111 PyObject * obj0 = 0 ;
5112 PyObject * obj3 = 0 ;
5113 char *kwnames[] = {
5114 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5115 };
5116
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridTableBase_CanSetValueAs",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
5118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5119 {
5120 arg4 = wxString_in_helper(obj3);
5121 if (arg4 == NULL) SWIG_fail;
e811c8ce 5122 temp4 = True;
d14a1e28
RD
5123 }
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 result = (bool)(arg1)->CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
5127
5128 wxPyEndAllowThreads(__tstate);
5129 if (PyErr_Occurred()) SWIG_fail;
5130 }
5131 resultobj = PyInt_FromLong((long)result);
5132 {
5133 if (temp4)
5134 delete arg4;
5135 }
5136 return resultobj;
5137 fail:
5138 {
5139 if (temp4)
5140 delete arg4;
5141 }
5142 return NULL;
5143}
5144
5145
5146static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5147 PyObject *resultobj;
5148 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5149 int arg2 ;
5150 int arg3 ;
5151 long result;
5152 PyObject * obj0 = 0 ;
5153 char *kwnames[] = {
5154 (char *) "self",(char *) "row",(char *) "col", NULL
5155 };
5156
5157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_GetValueAsLong",kwnames,&obj0,&arg2,&arg3)) goto fail;
5158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5159 {
5160 PyThreadState* __tstate = wxPyBeginAllowThreads();
5161 result = (long)(arg1)->GetValueAsLong(arg2,arg3);
5162
5163 wxPyEndAllowThreads(__tstate);
5164 if (PyErr_Occurred()) SWIG_fail;
5165 }
5166 resultobj = PyInt_FromLong((long)result);
5167 return resultobj;
5168 fail:
5169 return NULL;
5170}
5171
5172
5173static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5174 PyObject *resultobj;
5175 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5176 int arg2 ;
5177 int arg3 ;
5178 double result;
5179 PyObject * obj0 = 0 ;
5180 char *kwnames[] = {
5181 (char *) "self",(char *) "row",(char *) "col", NULL
5182 };
5183
5184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_GetValueAsDouble",kwnames,&obj0,&arg2,&arg3)) goto fail;
5185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5186 {
5187 PyThreadState* __tstate = wxPyBeginAllowThreads();
5188 result = (double)(arg1)->GetValueAsDouble(arg2,arg3);
5189
5190 wxPyEndAllowThreads(__tstate);
5191 if (PyErr_Occurred()) SWIG_fail;
5192 }
5193 resultobj = PyFloat_FromDouble(result);
5194 return resultobj;
5195 fail:
5196 return NULL;
5197}
5198
5199
5200static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5201 PyObject *resultobj;
5202 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5203 int arg2 ;
5204 int arg3 ;
5205 bool result;
5206 PyObject * obj0 = 0 ;
5207 char *kwnames[] = {
5208 (char *) "self",(char *) "row",(char *) "col", NULL
5209 };
5210
5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_GetValueAsBool",kwnames,&obj0,&arg2,&arg3)) goto fail;
5212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5213 {
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 result = (bool)(arg1)->GetValueAsBool(arg2,arg3);
5216
5217 wxPyEndAllowThreads(__tstate);
5218 if (PyErr_Occurred()) SWIG_fail;
5219 }
5220 resultobj = PyInt_FromLong((long)result);
5221 return resultobj;
5222 fail:
5223 return NULL;
5224}
5225
5226
5227static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5228 PyObject *resultobj;
5229 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5230 int arg2 ;
5231 int arg3 ;
5232 long arg4 ;
5233 PyObject * obj0 = 0 ;
5234 char *kwnames[] = {
5235 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5236 };
5237
5238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:GridTableBase_SetValueAsLong",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5240 {
5241 PyThreadState* __tstate = wxPyBeginAllowThreads();
5242 (arg1)->SetValueAsLong(arg2,arg3,arg4);
5243
5244 wxPyEndAllowThreads(__tstate);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 }
5247 Py_INCREF(Py_None); resultobj = Py_None;
5248 return resultobj;
5249 fail:
5250 return NULL;
5251}
5252
5253
5254static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5255 PyObject *resultobj;
5256 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5257 int arg2 ;
5258 int arg3 ;
5259 double arg4 ;
5260 PyObject * obj0 = 0 ;
5261 char *kwnames[] = {
5262 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5263 };
5264
5265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiid:GridTableBase_SetValueAsDouble",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 (arg1)->SetValueAsDouble(arg2,arg3,arg4);
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 Py_INCREF(Py_None); resultobj = Py_None;
5275 return resultobj;
5276 fail:
5277 return NULL;
5278}
5279
5280
5281static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5284 int arg2 ;
5285 int arg3 ;
5286 bool arg4 ;
5287 PyObject * obj0 = 0 ;
5288 PyObject * obj3 = 0 ;
5289 char *kwnames[] = {
5290 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5291 };
5292
5293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridTableBase_SetValueAsBool",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
5294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5295 arg4 = PyInt_AsLong(obj3) ? true : false;
5296 if (PyErr_Occurred()) SWIG_fail;
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
5299 (arg1)->SetValueAsBool(arg2,arg3,arg4);
5300
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
5304 Py_INCREF(Py_None); resultobj = Py_None;
5305 return resultobj;
5306 fail:
5307 return NULL;
5308}
5309
5310
5311static PyObject *_wrap_GridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5312 PyObject *resultobj;
5313 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5314 PyObject * obj0 = 0 ;
5315 char *kwnames[] = {
5316 (char *) "self", NULL
5317 };
5318
5319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_Clear",kwnames,&obj0)) goto fail;
5320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5321 {
5322 PyThreadState* __tstate = wxPyBeginAllowThreads();
5323 (arg1)->Clear();
5324
5325 wxPyEndAllowThreads(__tstate);
5326 if (PyErr_Occurred()) SWIG_fail;
5327 }
5328 Py_INCREF(Py_None); resultobj = Py_None;
5329 return resultobj;
5330 fail:
5331 return NULL;
5332}
5333
5334
5335static PyObject *_wrap_GridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5336 PyObject *resultobj;
5337 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5338 size_t arg2 = (size_t) 0 ;
5339 size_t arg3 = (size_t) 1 ;
5340 bool result;
5341 PyObject * obj0 = 0 ;
5342 PyObject * obj1 = 0 ;
5343 PyObject * obj2 = 0 ;
5344 char *kwnames[] = {
5345 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5346 };
5347
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
5349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5350 if (obj1) {
5351 arg2 = (size_t) PyInt_AsLong(obj1);
5352 if (PyErr_Occurred()) SWIG_fail;
5353 }
5354 if (obj2) {
5355 arg3 = (size_t) PyInt_AsLong(obj2);
5356 if (PyErr_Occurred()) SWIG_fail;
5357 }
5358 {
5359 PyThreadState* __tstate = wxPyBeginAllowThreads();
5360 result = (bool)(arg1)->InsertRows(arg2,arg3);
5361
5362 wxPyEndAllowThreads(__tstate);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 }
5365 resultobj = PyInt_FromLong((long)result);
5366 return resultobj;
5367 fail:
5368 return NULL;
5369}
5370
5371
5372static PyObject *_wrap_GridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5373 PyObject *resultobj;
5374 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5375 size_t arg2 = (size_t) 1 ;
5376 bool result;
5377 PyObject * obj0 = 0 ;
5378 PyObject * obj1 = 0 ;
5379 char *kwnames[] = {
5380 (char *) "self",(char *) "numRows", NULL
5381 };
5382
5383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendRows",kwnames,&obj0,&obj1)) goto fail;
5384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5385 if (obj1) {
5386 arg2 = (size_t) PyInt_AsLong(obj1);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 }
5389 {
5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
5391 result = (bool)(arg1)->AppendRows(arg2);
5392
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
5396 resultobj = PyInt_FromLong((long)result);
5397 return resultobj;
5398 fail:
5399 return NULL;
5400}
5401
5402
5403static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5404 PyObject *resultobj;
5405 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5406 size_t arg2 = (size_t) 0 ;
5407 size_t arg3 = (size_t) 1 ;
5408 bool result;
5409 PyObject * obj0 = 0 ;
5410 PyObject * obj1 = 0 ;
5411 PyObject * obj2 = 0 ;
5412 char *kwnames[] = {
5413 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5414 };
5415
5416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
5417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5418 if (obj1) {
5419 arg2 = (size_t) PyInt_AsLong(obj1);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
5422 if (obj2) {
5423 arg3 = (size_t) PyInt_AsLong(obj2);
5424 if (PyErr_Occurred()) SWIG_fail;
5425 }
5426 {
5427 PyThreadState* __tstate = wxPyBeginAllowThreads();
5428 result = (bool)(arg1)->DeleteRows(arg2,arg3);
5429
5430 wxPyEndAllowThreads(__tstate);
5431 if (PyErr_Occurred()) SWIG_fail;
5432 }
5433 resultobj = PyInt_FromLong((long)result);
5434 return resultobj;
5435 fail:
5436 return NULL;
5437}
5438
5439
5440static PyObject *_wrap_GridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5441 PyObject *resultobj;
5442 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5443 size_t arg2 = (size_t) 0 ;
5444 size_t arg3 = (size_t) 1 ;
5445 bool result;
5446 PyObject * obj0 = 0 ;
5447 PyObject * obj1 = 0 ;
5448 PyObject * obj2 = 0 ;
5449 char *kwnames[] = {
5450 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5451 };
5452
5453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
5454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5455 if (obj1) {
5456 arg2 = (size_t) PyInt_AsLong(obj1);
5457 if (PyErr_Occurred()) SWIG_fail;
5458 }
5459 if (obj2) {
5460 arg3 = (size_t) PyInt_AsLong(obj2);
5461 if (PyErr_Occurred()) SWIG_fail;
5462 }
5463 {
5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
5465 result = (bool)(arg1)->InsertCols(arg2,arg3);
5466
5467 wxPyEndAllowThreads(__tstate);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 resultobj = PyInt_FromLong((long)result);
5471 return resultobj;
5472 fail:
5473 return NULL;
5474}
5475
5476
5477static PyObject *_wrap_GridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5478 PyObject *resultobj;
5479 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5480 size_t arg2 = (size_t) 1 ;
5481 bool result;
5482 PyObject * obj0 = 0 ;
5483 PyObject * obj1 = 0 ;
5484 char *kwnames[] = {
5485 (char *) "self",(char *) "numCols", NULL
5486 };
5487
5488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendCols",kwnames,&obj0,&obj1)) goto fail;
5489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5490 if (obj1) {
5491 arg2 = (size_t) PyInt_AsLong(obj1);
5492 if (PyErr_Occurred()) SWIG_fail;
5493 }
5494 {
5495 PyThreadState* __tstate = wxPyBeginAllowThreads();
5496 result = (bool)(arg1)->AppendCols(arg2);
5497
5498 wxPyEndAllowThreads(__tstate);
5499 if (PyErr_Occurred()) SWIG_fail;
5500 }
5501 resultobj = PyInt_FromLong((long)result);
5502 return resultobj;
5503 fail:
5504 return NULL;
5505}
5506
5507
5508static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5509 PyObject *resultobj;
5510 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5511 size_t arg2 = (size_t) 0 ;
5512 size_t arg3 = (size_t) 1 ;
5513 bool result;
5514 PyObject * obj0 = 0 ;
5515 PyObject * obj1 = 0 ;
5516 PyObject * obj2 = 0 ;
5517 char *kwnames[] = {
5518 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5519 };
5520
5521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
5522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5523 if (obj1) {
5524 arg2 = (size_t) PyInt_AsLong(obj1);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 }
5527 if (obj2) {
5528 arg3 = (size_t) PyInt_AsLong(obj2);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
5531 {
5532 PyThreadState* __tstate = wxPyBeginAllowThreads();
5533 result = (bool)(arg1)->DeleteCols(arg2,arg3);
5534
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) SWIG_fail;
5537 }
5538 resultobj = PyInt_FromLong((long)result);
5539 return resultobj;
5540 fail:
5541 return NULL;
5542}
5543
5544
5545static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5546 PyObject *resultobj;
5547 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5548 int arg2 ;
5549 wxString result;
5550 PyObject * obj0 = 0 ;
5551 char *kwnames[] = {
5552 (char *) "self",(char *) "row", NULL
5553 };
5554
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridTableBase_GetRowLabelValue",kwnames,&obj0,&arg2)) goto fail;
5556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 result = (arg1)->GetRowLabelValue(arg2);
5560
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 {
5565#if wxUSE_UNICODE
5566 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5567#else
5568 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5569#endif
5570 }
5571 return resultobj;
5572 fail:
5573 return NULL;
5574}
5575
5576
5577static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5578 PyObject *resultobj;
5579 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5580 int arg2 ;
5581 wxString result;
5582 PyObject * obj0 = 0 ;
5583 char *kwnames[] = {
5584 (char *) "self",(char *) "col", NULL
5585 };
5586
5587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridTableBase_GetColLabelValue",kwnames,&obj0,&arg2)) goto fail;
5588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5589 {
5590 PyThreadState* __tstate = wxPyBeginAllowThreads();
5591 result = (arg1)->GetColLabelValue(arg2);
5592
5593 wxPyEndAllowThreads(__tstate);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 }
5596 {
5597#if wxUSE_UNICODE
5598 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5599#else
5600 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5601#endif
5602 }
5603 return resultobj;
5604 fail:
5605 return NULL;
5606}
5607
5608
5609static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5610 PyObject *resultobj;
5611 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5612 int arg2 ;
5613 wxString *arg3 = 0 ;
e811c8ce 5614 bool temp3 = False ;
d14a1e28
RD
5615 PyObject * obj0 = 0 ;
5616 PyObject * obj2 = 0 ;
5617 char *kwnames[] = {
5618 (char *) "self",(char *) "row",(char *) "value", NULL
5619 };
5620
5621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:GridTableBase_SetRowLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail;
5622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5623 {
5624 arg3 = wxString_in_helper(obj2);
5625 if (arg3 == NULL) SWIG_fail;
e811c8ce 5626 temp3 = True;
d14a1e28
RD
5627 }
5628 {
5629 PyThreadState* __tstate = wxPyBeginAllowThreads();
5630 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
5631
5632 wxPyEndAllowThreads(__tstate);
5633 if (PyErr_Occurred()) SWIG_fail;
5634 }
5635 Py_INCREF(Py_None); resultobj = Py_None;
5636 {
5637 if (temp3)
5638 delete arg3;
5639 }
5640 return resultobj;
5641 fail:
5642 {
5643 if (temp3)
5644 delete arg3;
5645 }
5646 return NULL;
5647}
5648
5649
5650static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5651 PyObject *resultobj;
5652 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5653 int arg2 ;
5654 wxString *arg3 = 0 ;
e811c8ce 5655 bool temp3 = False ;
d14a1e28
RD
5656 PyObject * obj0 = 0 ;
5657 PyObject * obj2 = 0 ;
5658 char *kwnames[] = {
5659 (char *) "self",(char *) "col",(char *) "value", NULL
5660 };
5661
5662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:GridTableBase_SetColLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail;
5663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5664 {
5665 arg3 = wxString_in_helper(obj2);
5666 if (arg3 == NULL) SWIG_fail;
e811c8ce 5667 temp3 = True;
d14a1e28
RD
5668 }
5669 {
5670 PyThreadState* __tstate = wxPyBeginAllowThreads();
5671 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
5672
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 Py_INCREF(Py_None); resultobj = Py_None;
5677 {
5678 if (temp3)
5679 delete arg3;
5680 }
5681 return resultobj;
5682 fail:
5683 {
5684 if (temp3)
5685 delete arg3;
5686 }
5687 return NULL;
5688}
5689
5690
5691static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5692 PyObject *resultobj;
5693 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5694 bool result;
5695 PyObject * obj0 = 0 ;
5696 char *kwnames[] = {
5697 (char *) "self", NULL
5698 };
5699
5700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_CanHaveAttributes",kwnames,&obj0)) goto fail;
5701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5702 {
5703 PyThreadState* __tstate = wxPyBeginAllowThreads();
5704 result = (bool)(arg1)->CanHaveAttributes();
5705
5706 wxPyEndAllowThreads(__tstate);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
5709 resultobj = PyInt_FromLong((long)result);
5710 return resultobj;
5711 fail:
5712 return NULL;
5713}
5714
5715
5716static PyObject *_wrap_GridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5717 PyObject *resultobj;
5718 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5719 int arg2 ;
5720 int arg3 ;
5721 int arg4 ;
5722 wxGridCellAttr *result;
5723 PyObject * obj0 = 0 ;
5724 char *kwnames[] = {
5725 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5726 };
5727
5728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:GridTableBase_GetAttr",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5730 {
5731 PyThreadState* __tstate = wxPyBeginAllowThreads();
5732 result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
5733
5734 wxPyEndAllowThreads(__tstate);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 }
5737 {
5738 resultobj = wxPyMake_wxGridCellAttr(result);
5739 }
5740 return resultobj;
5741 fail:
5742 return NULL;
5743}
5744
5745
5746static PyObject *_wrap_GridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj;
5748 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5749 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5750 int arg3 ;
5751 int arg4 ;
5752 PyObject * obj0 = 0 ;
5753 PyObject * obj1 = 0 ;
5754 char *kwnames[] = {
5755 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5756 };
5757
5758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:GridTableBase_SetAttr",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
5759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5761 {
5762 PyThreadState* __tstate = wxPyBeginAllowThreads();
5763 (arg1)->SetAttr(arg2,arg3,arg4);
5764
5765 wxPyEndAllowThreads(__tstate);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
5768 Py_INCREF(Py_None); resultobj = Py_None;
5769 return resultobj;
5770 fail:
5771 return NULL;
5772}
5773
5774
5775static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5776 PyObject *resultobj;
5777 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5778 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5779 int arg3 ;
5780 PyObject * obj0 = 0 ;
5781 PyObject * obj1 = 0 ;
5782 char *kwnames[] = {
5783 (char *) "self",(char *) "attr",(char *) "row", NULL
5784 };
5785
5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridTableBase_SetRowAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
5787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 (arg1)->SetRowAttr(arg2,arg3);
5792
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 Py_INCREF(Py_None); resultobj = Py_None;
5797 return resultobj;
5798 fail:
5799 return NULL;
5800}
5801
5802
5803static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5804 PyObject *resultobj;
5805 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5806 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5807 int arg3 ;
5808 PyObject * obj0 = 0 ;
5809 PyObject * obj1 = 0 ;
5810 char *kwnames[] = {
5811 (char *) "self",(char *) "attr",(char *) "col", NULL
5812 };
5813
5814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridTableBase_SetColAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
5815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5816 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5817 {
5818 PyThreadState* __tstate = wxPyBeginAllowThreads();
5819 (arg1)->SetColAttr(arg2,arg3);
5820
5821 wxPyEndAllowThreads(__tstate);
5822 if (PyErr_Occurred()) SWIG_fail;
5823 }
5824 Py_INCREF(Py_None); resultobj = Py_None;
5825 return resultobj;
5826 fail:
5827 return NULL;
5828}
5829
5830
5831static PyObject * GridTableBase_swigregister(PyObject *self, PyObject *args) {
5832 PyObject *obj;
5833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5834 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase, obj);
5835 Py_INCREF(obj);
5836 return Py_BuildValue((char *)"");
5837}
5838static PyObject *_wrap_new_PyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj;
5840 wxPyGridTableBase *result;
5841 char *kwnames[] = {
5842 NULL
5843 };
5844
5845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridTableBase",kwnames)) goto fail;
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 result = (wxPyGridTableBase *)new wxPyGridTableBase();
5849
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridTableBase, 1);
5854 return resultobj;
5855 fail:
5856 return NULL;
5857}
5858
5859
5860static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5861 PyObject *resultobj;
5862 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
5863 PyObject *arg2 = (PyObject *) 0 ;
5864 PyObject *arg3 = (PyObject *) 0 ;
5865 PyObject * obj0 = 0 ;
5866 PyObject * obj1 = 0 ;
5867 PyObject * obj2 = 0 ;
5868 char *kwnames[] = {
5869 (char *) "self",(char *) "self",(char *) "_class", NULL
5870 };
5871
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5874 arg2 = obj1;
5875 arg3 = obj2;
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 (arg1)->_setCallbackInfo(arg2,arg3);
5879
5880 wxPyEndAllowThreads(__tstate);
5881 if (PyErr_Occurred()) SWIG_fail;
5882 }
5883 Py_INCREF(Py_None); resultobj = Py_None;
5884 return resultobj;
5885 fail:
5886 return NULL;
5887}
5888
5889
5890static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5891 PyObject *resultobj;
5892 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
5893 PyObject * obj0 = 0 ;
5894 char *kwnames[] = {
5895 (char *) "self", NULL
5896 };
5897
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_Destroy",kwnames,&obj0)) goto fail;
5899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5900 {
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 wxPyGridTableBase_Destroy(arg1);
5903
5904 wxPyEndAllowThreads(__tstate);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 }
5907 Py_INCREF(Py_None); resultobj = Py_None;
5908 return resultobj;
5909 fail:
5910 return NULL;
5911}
5912
5913
5914static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5915 PyObject *resultobj;
5916 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
5917 int arg2 ;
5918 int arg3 ;
5919 wxString result;
5920 PyObject * obj0 = 0 ;
5921 char *kwnames[] = {
5922 (char *) "self",(char *) "row",(char *) "col", NULL
5923 };
5924
5925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyGridTableBase_base_GetTypeName",kwnames,&obj0,&arg2,&arg3)) goto fail;
5926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5927 {
5928 PyThreadState* __tstate = wxPyBeginAllowThreads();
5929 result = (arg1)->base_GetTypeName(arg2,arg3);
5930
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 {
5935#if wxUSE_UNICODE
5936 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5937#else
5938 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5939#endif
5940 }
5941 return resultobj;
5942 fail:
5943 return NULL;
5944}
5945
5946
5947static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5948 PyObject *resultobj;
5949 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
5950 int arg2 ;
5951 int arg3 ;
5952 wxString *arg4 = 0 ;
5953 bool result;
e811c8ce 5954 bool temp4 = False ;
d14a1e28
RD
5955 PyObject * obj0 = 0 ;
5956 PyObject * obj3 = 0 ;
5957 char *kwnames[] = {
5958 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5959 };
5960
5961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:PyGridTableBase_base_CanGetValueAs",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
5962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5963 {
5964 arg4 = wxString_in_helper(obj3);
5965 if (arg4 == NULL) SWIG_fail;
e811c8ce 5966 temp4 = True;
d14a1e28
RD
5967 }
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 result = (bool)(arg1)->base_CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
5971
5972 wxPyEndAllowThreads(__tstate);
5973 if (PyErr_Occurred()) SWIG_fail;
5974 }
5975 resultobj = PyInt_FromLong((long)result);
5976 {
5977 if (temp4)
5978 delete arg4;
5979 }
5980 return resultobj;
5981 fail:
5982 {
5983 if (temp4)
5984 delete arg4;
5985 }
5986 return NULL;
5987}
5988
5989
5990static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5991 PyObject *resultobj;
5992 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
5993 int arg2 ;
5994 int arg3 ;
5995 wxString *arg4 = 0 ;
5996 bool result;
e811c8ce 5997 bool temp4 = False ;
d14a1e28
RD
5998 PyObject * obj0 = 0 ;
5999 PyObject * obj3 = 0 ;
6000 char *kwnames[] = {
6001 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6002 };
6003
6004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:PyGridTableBase_base_CanSetValueAs",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6006 {
6007 arg4 = wxString_in_helper(obj3);
6008 if (arg4 == NULL) SWIG_fail;
e811c8ce 6009 temp4 = True;
d14a1e28
RD
6010 }
6011 {
6012 PyThreadState* __tstate = wxPyBeginAllowThreads();
6013 result = (bool)(arg1)->base_CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
6014
6015 wxPyEndAllowThreads(__tstate);
6016 if (PyErr_Occurred()) SWIG_fail;
6017 }
6018 resultobj = PyInt_FromLong((long)result);
6019 {
6020 if (temp4)
6021 delete arg4;
6022 }
6023 return resultobj;
6024 fail:
6025 {
6026 if (temp4)
6027 delete arg4;
6028 }
6029 return NULL;
6030}
6031
6032
6033static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6034 PyObject *resultobj;
6035 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6036 PyObject * obj0 = 0 ;
6037 char *kwnames[] = {
6038 (char *) "self", NULL
6039 };
6040
6041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_Clear",kwnames,&obj0)) goto fail;
6042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 (arg1)->base_Clear();
6046
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 Py_INCREF(Py_None); resultobj = Py_None;
6051 return resultobj;
6052 fail:
6053 return NULL;
6054}
6055
6056
6057static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6058 PyObject *resultobj;
6059 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6060 size_t arg2 = (size_t) 0 ;
6061 size_t arg3 = (size_t) 1 ;
6062 bool result;
6063 PyObject * obj0 = 0 ;
6064 PyObject * obj1 = 0 ;
6065 PyObject * obj2 = 0 ;
6066 char *kwnames[] = {
6067 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6068 };
6069
6070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6072 if (obj1) {
6073 arg2 = (size_t) PyInt_AsLong(obj1);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 if (obj2) {
6077 arg3 = (size_t) PyInt_AsLong(obj2);
6078 if (PyErr_Occurred()) SWIG_fail;
6079 }
6080 {
6081 PyThreadState* __tstate = wxPyBeginAllowThreads();
6082 result = (bool)(arg1)->base_InsertRows(arg2,arg3);
6083
6084 wxPyEndAllowThreads(__tstate);
6085 if (PyErr_Occurred()) SWIG_fail;
6086 }
6087 resultobj = PyInt_FromLong((long)result);
6088 return resultobj;
6089 fail:
6090 return NULL;
6091}
6092
6093
6094static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6095 PyObject *resultobj;
6096 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6097 size_t arg2 = (size_t) 1 ;
6098 bool result;
6099 PyObject * obj0 = 0 ;
6100 PyObject * obj1 = 0 ;
6101 char *kwnames[] = {
6102 (char *) "self",(char *) "numRows", NULL
6103 };
6104
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames,&obj0,&obj1)) goto fail;
6106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6107 if (obj1) {
6108 arg2 = (size_t) PyInt_AsLong(obj1);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 }
6111 {
6112 PyThreadState* __tstate = wxPyBeginAllowThreads();
6113 result = (bool)(arg1)->base_AppendRows(arg2);
6114
6115 wxPyEndAllowThreads(__tstate);
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
6118 resultobj = PyInt_FromLong((long)result);
6119 return resultobj;
6120 fail:
6121 return NULL;
6122}
6123
6124
6125static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6126 PyObject *resultobj;
6127 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6128 size_t arg2 = (size_t) 0 ;
6129 size_t arg3 = (size_t) 1 ;
6130 bool result;
6131 PyObject * obj0 = 0 ;
6132 PyObject * obj1 = 0 ;
6133 PyObject * obj2 = 0 ;
6134 char *kwnames[] = {
6135 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6136 };
6137
6138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6140 if (obj1) {
6141 arg2 = (size_t) PyInt_AsLong(obj1);
6142 if (PyErr_Occurred()) SWIG_fail;
6143 }
6144 if (obj2) {
6145 arg3 = (size_t) PyInt_AsLong(obj2);
6146 if (PyErr_Occurred()) SWIG_fail;
6147 }
6148 {
6149 PyThreadState* __tstate = wxPyBeginAllowThreads();
6150 result = (bool)(arg1)->base_DeleteRows(arg2,arg3);
6151
6152 wxPyEndAllowThreads(__tstate);
6153 if (PyErr_Occurred()) SWIG_fail;
6154 }
6155 resultobj = PyInt_FromLong((long)result);
6156 return resultobj;
6157 fail:
6158 return NULL;
6159}
6160
6161
6162static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6163 PyObject *resultobj;
6164 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6165 size_t arg2 = (size_t) 0 ;
6166 size_t arg3 = (size_t) 1 ;
6167 bool result;
6168 PyObject * obj0 = 0 ;
6169 PyObject * obj1 = 0 ;
6170 PyObject * obj2 = 0 ;
6171 char *kwnames[] = {
6172 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6173 };
6174
6175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
6176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6177 if (obj1) {
6178 arg2 = (size_t) PyInt_AsLong(obj1);
6179 if (PyErr_Occurred()) SWIG_fail;
6180 }
6181 if (obj2) {
6182 arg3 = (size_t) PyInt_AsLong(obj2);
6183 if (PyErr_Occurred()) SWIG_fail;
6184 }
6185 {
6186 PyThreadState* __tstate = wxPyBeginAllowThreads();
6187 result = (bool)(arg1)->base_InsertCols(arg2,arg3);
6188
6189 wxPyEndAllowThreads(__tstate);
6190 if (PyErr_Occurred()) SWIG_fail;
6191 }
6192 resultobj = PyInt_FromLong((long)result);
6193 return resultobj;
6194 fail:
6195 return NULL;
6196}
6197
6198
6199static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6200 PyObject *resultobj;
6201 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6202 size_t arg2 = (size_t) 1 ;
6203 bool result;
6204 PyObject * obj0 = 0 ;
6205 PyObject * obj1 = 0 ;
6206 char *kwnames[] = {
6207 (char *) "self",(char *) "numCols", NULL
6208 };
6209
6210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames,&obj0,&obj1)) goto fail;
6211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6212 if (obj1) {
6213 arg2 = (size_t) PyInt_AsLong(obj1);
6214 if (PyErr_Occurred()) SWIG_fail;
6215 }
6216 {
6217 PyThreadState* __tstate = wxPyBeginAllowThreads();
6218 result = (bool)(arg1)->base_AppendCols(arg2);
6219
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 }
6223 resultobj = PyInt_FromLong((long)result);
6224 return resultobj;
6225 fail:
6226 return NULL;
6227}
6228
6229
6230static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6231 PyObject *resultobj;
6232 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6233 size_t arg2 = (size_t) 0 ;
6234 size_t arg3 = (size_t) 1 ;
6235 bool result;
6236 PyObject * obj0 = 0 ;
6237 PyObject * obj1 = 0 ;
6238 PyObject * obj2 = 0 ;
6239 char *kwnames[] = {
6240 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6241 };
6242
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
6244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6245 if (obj1) {
6246 arg2 = (size_t) PyInt_AsLong(obj1);
6247 if (PyErr_Occurred()) SWIG_fail;
6248 }
6249 if (obj2) {
6250 arg3 = (size_t) PyInt_AsLong(obj2);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
6253 {
6254 PyThreadState* __tstate = wxPyBeginAllowThreads();
6255 result = (bool)(arg1)->base_DeleteCols(arg2,arg3);
6256
6257 wxPyEndAllowThreads(__tstate);
6258 if (PyErr_Occurred()) SWIG_fail;
6259 }
6260 resultobj = PyInt_FromLong((long)result);
6261 return resultobj;
6262 fail:
6263 return NULL;
6264}
6265
6266
6267static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6268 PyObject *resultobj;
6269 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6270 int arg2 ;
6271 wxString result;
6272 PyObject * obj0 = 0 ;
6273 char *kwnames[] = {
6274 (char *) "self",(char *) "row", NULL
6275 };
6276
6277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyGridTableBase_base_GetRowLabelValue",kwnames,&obj0,&arg2)) goto fail;
6278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6279 {
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 result = (arg1)->base_GetRowLabelValue(arg2);
6282
6283 wxPyEndAllowThreads(__tstate);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 }
6286 {
6287#if wxUSE_UNICODE
6288 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6289#else
6290 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6291#endif
6292 }
6293 return resultobj;
6294 fail:
6295 return NULL;
6296}
6297
6298
6299static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6300 PyObject *resultobj;
6301 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6302 int arg2 ;
6303 wxString result;
6304 PyObject * obj0 = 0 ;
6305 char *kwnames[] = {
6306 (char *) "self",(char *) "col", NULL
6307 };
6308
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyGridTableBase_base_GetColLabelValue",kwnames,&obj0,&arg2)) goto fail;
6310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6311 {
6312 PyThreadState* __tstate = wxPyBeginAllowThreads();
6313 result = (arg1)->base_GetColLabelValue(arg2);
6314
6315 wxPyEndAllowThreads(__tstate);
6316 if (PyErr_Occurred()) SWIG_fail;
6317 }
6318 {
6319#if wxUSE_UNICODE
6320 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6321#else
6322 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6323#endif
6324 }
6325 return resultobj;
6326 fail:
6327 return NULL;
6328}
6329
6330
6331static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6332 PyObject *resultobj;
6333 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6334 int arg2 ;
6335 wxString *arg3 = 0 ;
e811c8ce 6336 bool temp3 = False ;
d14a1e28
RD
6337 PyObject * obj0 = 0 ;
6338 PyObject * obj2 = 0 ;
6339 char *kwnames[] = {
6340 (char *) "self",(char *) "row",(char *) "value", NULL
6341 };
6342
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyGridTableBase_base_SetRowLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail;
6344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6345 {
6346 arg3 = wxString_in_helper(obj2);
6347 if (arg3 == NULL) SWIG_fail;
e811c8ce 6348 temp3 = True;
d14a1e28
RD
6349 }
6350 {
6351 PyThreadState* __tstate = wxPyBeginAllowThreads();
6352 (arg1)->base_SetRowLabelValue(arg2,(wxString const &)*arg3);
6353
6354 wxPyEndAllowThreads(__tstate);
6355 if (PyErr_Occurred()) SWIG_fail;
6356 }
6357 Py_INCREF(Py_None); resultobj = Py_None;
6358 {
6359 if (temp3)
6360 delete arg3;
6361 }
6362 return resultobj;
6363 fail:
6364 {
6365 if (temp3)
6366 delete arg3;
6367 }
6368 return NULL;
6369}
6370
6371
6372static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6373 PyObject *resultobj;
6374 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6375 int arg2 ;
6376 wxString *arg3 = 0 ;
e811c8ce 6377 bool temp3 = False ;
d14a1e28
RD
6378 PyObject * obj0 = 0 ;
6379 PyObject * obj2 = 0 ;
6380 char *kwnames[] = {
6381 (char *) "self",(char *) "col",(char *) "value", NULL
6382 };
6383
6384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyGridTableBase_base_SetColLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail;
6385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6386 {
6387 arg3 = wxString_in_helper(obj2);
6388 if (arg3 == NULL) SWIG_fail;
e811c8ce 6389 temp3 = True;
d14a1e28
RD
6390 }
6391 {
6392 PyThreadState* __tstate = wxPyBeginAllowThreads();
6393 (arg1)->base_SetColLabelValue(arg2,(wxString const &)*arg3);
6394
6395 wxPyEndAllowThreads(__tstate);
6396 if (PyErr_Occurred()) SWIG_fail;
6397 }
6398 Py_INCREF(Py_None); resultobj = Py_None;
6399 {
6400 if (temp3)
6401 delete arg3;
6402 }
6403 return resultobj;
6404 fail:
6405 {
6406 if (temp3)
6407 delete arg3;
6408 }
6409 return NULL;
6410}
6411
6412
6413static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6414 PyObject *resultobj;
6415 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6416 bool result;
6417 PyObject * obj0 = 0 ;
6418 char *kwnames[] = {
6419 (char *) "self", NULL
6420 };
6421
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames,&obj0)) goto fail;
6423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 result = (bool)(arg1)->base_CanHaveAttributes();
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
6431 resultobj = PyInt_FromLong((long)result);
6432 return resultobj;
6433 fail:
6434 return NULL;
6435}
6436
6437
6438static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6441 int arg2 ;
6442 int arg3 ;
6443 int arg4 ;
6444 wxGridCellAttr *result;
6445 PyObject * obj0 = 0 ;
6446 char *kwnames[] = {
6447 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6448 };
6449
6450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:PyGridTableBase_base_GetAttr",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6452 {
6453 PyThreadState* __tstate = wxPyBeginAllowThreads();
6454 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
6455
6456 wxPyEndAllowThreads(__tstate);
6457 if (PyErr_Occurred()) SWIG_fail;
6458 }
6459 {
6460 resultobj = wxPyMake_wxGridCellAttr(result);
6461 }
6462 return resultobj;
6463 fail:
6464 return NULL;
6465}
6466
6467
6468static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6469 PyObject *resultobj;
6470 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6471 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6472 int arg3 ;
6473 int arg4 ;
6474 PyObject * obj0 = 0 ;
6475 PyObject * obj1 = 0 ;
6476 char *kwnames[] = {
6477 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6478 };
6479
6480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:PyGridTableBase_base_SetAttr",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
6481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6482 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6483 {
6484 PyThreadState* __tstate = wxPyBeginAllowThreads();
6485 (arg1)->base_SetAttr(arg2,arg3,arg4);
6486
6487 wxPyEndAllowThreads(__tstate);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
6490 Py_INCREF(Py_None); resultobj = Py_None;
6491 return resultobj;
6492 fail:
6493 return NULL;
6494}
6495
6496
6497static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6498 PyObject *resultobj;
6499 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6500 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6501 int arg3 ;
6502 PyObject * obj0 = 0 ;
6503 PyObject * obj1 = 0 ;
6504 char *kwnames[] = {
6505 (char *) "self",(char *) "attr",(char *) "row", NULL
6506 };
6507
6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:PyGridTableBase_base_SetRowAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
6509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6511 {
6512 PyThreadState* __tstate = wxPyBeginAllowThreads();
6513 (arg1)->base_SetRowAttr(arg2,arg3);
6514
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 }
6518 Py_INCREF(Py_None); resultobj = Py_None;
6519 return resultobj;
6520 fail:
6521 return NULL;
6522}
6523
6524
6525static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6526 PyObject *resultobj;
6527 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6528 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6529 int arg3 ;
6530 PyObject * obj0 = 0 ;
6531 PyObject * obj1 = 0 ;
6532 char *kwnames[] = {
6533 (char *) "self",(char *) "attr",(char *) "col", NULL
6534 };
6535
6536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:PyGridTableBase_base_SetColAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
6537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6539 {
6540 PyThreadState* __tstate = wxPyBeginAllowThreads();
6541 (arg1)->base_SetColAttr(arg2,arg3);
6542
6543 wxPyEndAllowThreads(__tstate);
6544 if (PyErr_Occurred()) SWIG_fail;
6545 }
6546 Py_INCREF(Py_None); resultobj = Py_None;
6547 return resultobj;
6548 fail:
6549 return NULL;
6550}
6551
6552
6553static PyObject * PyGridTableBase_swigregister(PyObject *self, PyObject *args) {
6554 PyObject *obj;
6555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6556 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase, obj);
6557 Py_INCREF(obj);
6558 return Py_BuildValue((char *)"");
6559}
6560static PyObject *_wrap_new_GridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6561 PyObject *resultobj;
6562 int arg1 = (int) 0 ;
6563 int arg2 = (int) 0 ;
6564 wxGridStringTable *result;
6565 char *kwnames[] = {
6566 (char *) "numRows",(char *) "numCols", NULL
6567 };
6568
6569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridStringTable",kwnames,&arg1,&arg2)) goto fail;
6570 {
6571 PyThreadState* __tstate = wxPyBeginAllowThreads();
6572 result = (wxGridStringTable *)new wxGridStringTable(arg1,arg2);
6573
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridStringTable, 1);
6578 return resultobj;
6579 fail:
6580 return NULL;
6581}
6582
6583
6584static PyObject * GridStringTable_swigregister(PyObject *self, PyObject *args) {
6585 PyObject *obj;
6586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6587 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable, obj);
6588 Py_INCREF(obj);
6589 return Py_BuildValue((char *)"");
6590}
6591static PyObject *_wrap_new_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6592 PyObject *resultobj;
6593 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6594 int arg2 ;
6595 int arg3 = (int) -1 ;
6596 int arg4 = (int) -1 ;
6597 wxGridTableMessage *result;
6598 PyObject * obj0 = 0 ;
6599 char *kwnames[] = {
6600 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
6601 };
6602
6603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:new_GridTableMessage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 result = (wxGridTableMessage *)new wxGridTableMessage(arg1,arg2,arg3,arg4);
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridTableMessage, 1);
6613 return resultobj;
6614 fail:
6615 return NULL;
6616}
6617
6618
6619static PyObject *_wrap_delete_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6620 PyObject *resultobj;
6621 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6622 PyObject * obj0 = 0 ;
6623 char *kwnames[] = {
6624 (char *) "self", NULL
6625 };
6626
6627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridTableMessage",kwnames,&obj0)) goto fail;
6628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
6631 delete arg1;
6632
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 Py_INCREF(Py_None); resultobj = Py_None;
6637 return resultobj;
6638 fail:
6639 return NULL;
6640}
6641
6642
6643static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6644 PyObject *resultobj;
6645 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6646 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
6647 PyObject * obj0 = 0 ;
6648 PyObject * obj1 = 0 ;
6649 char *kwnames[] = {
6650 (char *) "self",(char *) "table", NULL
6651 };
6652
6653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetTableObject",kwnames,&obj0,&obj1)) goto fail;
6654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6655 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 (arg1)->SetTableObject(arg2);
6659
6660 wxPyEndAllowThreads(__tstate);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 }
6663 Py_INCREF(Py_None); resultobj = Py_None;
6664 return resultobj;
6665 fail:
6666 return NULL;
6667}
6668
6669
6670static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6671 PyObject *resultobj;
6672 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6673 wxGridTableBase *result;
6674 PyObject * obj0 = 0 ;
6675 char *kwnames[] = {
6676 (char *) "self", NULL
6677 };
6678
6679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetTableObject",kwnames,&obj0)) goto fail;
6680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6681 {
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 result = (wxGridTableBase *)((wxGridTableMessage const *)arg1)->GetTableObject();
6684
6685 wxPyEndAllowThreads(__tstate);
6686 if (PyErr_Occurred()) SWIG_fail;
6687 }
6688 {
6689 resultobj = wxPyMake_wxGridTableBase(result);
6690 }
6691 return resultobj;
6692 fail:
6693 return NULL;
6694}
6695
6696
6697static PyObject *_wrap_GridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6698 PyObject *resultobj;
6699 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6700 int arg2 ;
6701 PyObject * obj0 = 0 ;
6702 char *kwnames[] = {
6703 (char *) "self",(char *) "id", NULL
6704 };
6705
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridTableMessage_SetId",kwnames,&obj0,&arg2)) goto fail;
6707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6708 {
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6710 (arg1)->SetId(arg2);
6711
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 Py_INCREF(Py_None); resultobj = Py_None;
6716 return resultobj;
6717 fail:
6718 return NULL;
6719}
6720
6721
6722static PyObject *_wrap_GridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6723 PyObject *resultobj;
6724 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6725 int result;
6726 PyObject * obj0 = 0 ;
6727 char *kwnames[] = {
6728 (char *) "self", NULL
6729 };
6730
6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetId",kwnames,&obj0)) goto fail;
6732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6733 {
6734 PyThreadState* __tstate = wxPyBeginAllowThreads();
6735 result = (int)(arg1)->GetId();
6736
6737 wxPyEndAllowThreads(__tstate);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 resultobj = PyInt_FromLong((long)result);
6741 return resultobj;
6742 fail:
6743 return NULL;
6744}
6745
6746
6747static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6748 PyObject *resultobj;
6749 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6750 int arg2 ;
6751 PyObject * obj0 = 0 ;
6752 char *kwnames[] = {
6753 (char *) "self",(char *) "comInt1", NULL
6754 };
6755
6756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridTableMessage_SetCommandInt",kwnames,&obj0,&arg2)) goto fail;
6757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6758 {
6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
6760 (arg1)->SetCommandInt(arg2);
6761
6762 wxPyEndAllowThreads(__tstate);
6763 if (PyErr_Occurred()) SWIG_fail;
6764 }
6765 Py_INCREF(Py_None); resultobj = Py_None;
6766 return resultobj;
6767 fail:
6768 return NULL;
6769}
6770
6771
6772static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6773 PyObject *resultobj;
6774 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6775 int result;
6776 PyObject * obj0 = 0 ;
6777 char *kwnames[] = {
6778 (char *) "self", NULL
6779 };
6780
6781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt",kwnames,&obj0)) goto fail;
6782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 result = (int)(arg1)->GetCommandInt();
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 resultobj = PyInt_FromLong((long)result);
6791 return resultobj;
6792 fail:
6793 return NULL;
6794}
6795
6796
6797static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6798 PyObject *resultobj;
6799 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6800 int arg2 ;
6801 PyObject * obj0 = 0 ;
6802 char *kwnames[] = {
6803 (char *) "self",(char *) "comInt2", NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridTableMessage_SetCommandInt2",kwnames,&obj0,&arg2)) goto fail;
6807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 (arg1)->SetCommandInt2(arg2);
6811
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 Py_INCREF(Py_None); resultobj = Py_None;
6816 return resultobj;
6817 fail:
6818 return NULL;
6819}
6820
6821
6822static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6823 PyObject *resultobj;
6824 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6825 int result;
6826 PyObject * obj0 = 0 ;
6827 char *kwnames[] = {
6828 (char *) "self", NULL
6829 };
6830
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt2",kwnames,&obj0)) goto fail;
6832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 result = (int)(arg1)->GetCommandInt2();
6836
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 resultobj = PyInt_FromLong((long)result);
6841 return resultobj;
6842 fail:
6843 return NULL;
6844}
6845
6846
6847static PyObject * GridTableMessage_swigregister(PyObject *self, PyObject *args) {
6848 PyObject *obj;
6849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6850 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage, obj);
6851 Py_INCREF(obj);
6852 return Py_BuildValue((char *)"");
6853}
6854static PyObject *_wrap_new_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj;
6856 int arg1 = (int) -1 ;
6857 int arg2 = (int) -1 ;
6858 wxGridCellCoords *result;
6859 char *kwnames[] = {
6860 (char *) "r",(char *) "c", NULL
6861 };
6862
6863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridCellCoords",kwnames,&arg1,&arg2)) goto fail;
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 result = (wxGridCellCoords *)new wxGridCellCoords(arg1,arg2);
6867
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellCoords, 1);
6872 return resultobj;
6873 fail:
6874 return NULL;
6875}
6876
6877
6878static PyObject *_wrap_delete_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj;
6880 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
6881 PyObject * obj0 = 0 ;
6882 char *kwnames[] = {
6883 (char *) "self", NULL
6884 };
6885
6886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridCellCoords",kwnames,&obj0)) goto fail;
6887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6888 {
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 delete arg1;
6891
6892 wxPyEndAllowThreads(__tstate);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 Py_INCREF(Py_None); resultobj = Py_None;
6896 return resultobj;
6897 fail:
6898 return NULL;
6899}
6900
6901
6902static PyObject *_wrap_GridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6903 PyObject *resultobj;
6904 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
6905 int result;
6906 PyObject * obj0 = 0 ;
6907 char *kwnames[] = {
6908 (char *) "self", NULL
6909 };
6910
6911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetRow",kwnames,&obj0)) goto fail;
6912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6913 {
6914 PyThreadState* __tstate = wxPyBeginAllowThreads();
6915 result = (int)((wxGridCellCoords const *)arg1)->GetRow();
6916
6917 wxPyEndAllowThreads(__tstate);
6918 if (PyErr_Occurred()) SWIG_fail;
6919 }
6920 resultobj = PyInt_FromLong((long)result);
6921 return resultobj;
6922 fail:
6923 return NULL;
6924}
6925
6926
6927static PyObject *_wrap_GridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6928 PyObject *resultobj;
6929 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
6930 int arg2 ;
6931 PyObject * obj0 = 0 ;
6932 char *kwnames[] = {
6933 (char *) "self",(char *) "n", NULL
6934 };
6935
6936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridCellCoords_SetRow",kwnames,&obj0,&arg2)) goto fail;
6937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6938 {
6939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6940 (arg1)->SetRow(arg2);
6941
6942 wxPyEndAllowThreads(__tstate);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 }
6945 Py_INCREF(Py_None); resultobj = Py_None;
6946 return resultobj;
6947 fail:
6948 return NULL;
6949}
6950
6951
6952static PyObject *_wrap_GridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6953 PyObject *resultobj;
6954 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
6955 int result;
6956 PyObject * obj0 = 0 ;
6957 char *kwnames[] = {
6958 (char *) "self", NULL
6959 };
6960
6961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetCol",kwnames,&obj0)) goto fail;
6962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6963 {
6964 PyThreadState* __tstate = wxPyBeginAllowThreads();
6965 result = (int)((wxGridCellCoords const *)arg1)->GetCol();
6966
6967 wxPyEndAllowThreads(__tstate);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 }
6970 resultobj = PyInt_FromLong((long)result);
6971 return resultobj;
6972 fail:
6973 return NULL;
6974}
6975
6976
6977static PyObject *_wrap_GridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6978 PyObject *resultobj;
6979 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
6980 int arg2 ;
6981 PyObject * obj0 = 0 ;
6982 char *kwnames[] = {
6983 (char *) "self",(char *) "n", NULL
6984 };
6985
6986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridCellCoords_SetCol",kwnames,&obj0,&arg2)) goto fail;
6987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6988 {
6989 PyThreadState* __tstate = wxPyBeginAllowThreads();
6990 (arg1)->SetCol(arg2);
6991
6992 wxPyEndAllowThreads(__tstate);
6993 if (PyErr_Occurred()) SWIG_fail;
6994 }
6995 Py_INCREF(Py_None); resultobj = Py_None;
6996 return resultobj;
6997 fail:
6998 return NULL;
6999}
7000
7001
7002static PyObject *_wrap_GridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7003 PyObject *resultobj;
7004 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7005 int arg2 ;
7006 int arg3 ;
7007 PyObject * obj0 = 0 ;
7008 char *kwnames[] = {
7009 (char *) "self",(char *) "row",(char *) "col", NULL
7010 };
7011
7012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridCellCoords_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
7013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7014 {
7015 PyThreadState* __tstate = wxPyBeginAllowThreads();
7016 (arg1)->Set(arg2,arg3);
7017
7018 wxPyEndAllowThreads(__tstate);
7019 if (PyErr_Occurred()) SWIG_fail;
7020 }
7021 Py_INCREF(Py_None); resultobj = Py_None;
7022 return resultobj;
7023 fail:
7024 return NULL;
7025}
7026
7027
7028static PyObject *_wrap_GridCellCoords___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
7029 PyObject *resultobj;
7030 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7031 wxGridCellCoords *arg2 = 0 ;
7032 bool result;
7033 PyObject * obj0 = 0 ;
7034 PyObject * obj1 = 0 ;
7035 char *kwnames[] = {
7036 (char *) "self",(char *) "other", NULL
7037 };
7038
7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___eq__",kwnames,&obj0,&obj1)) goto fail;
7040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7041 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7042 if (arg2 == NULL) {
7043 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7044 }
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 result = (bool)((wxGridCellCoords const *)arg1)->operator ==((wxGridCellCoords const &)*arg2);
7048
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 resultobj = PyInt_FromLong((long)result);
7053 return resultobj;
7054 fail:
7055 return NULL;
7056}
7057
7058
7059static PyObject *_wrap_GridCellCoords___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
7060 PyObject *resultobj;
7061 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7062 wxGridCellCoords *arg2 = 0 ;
7063 bool result;
7064 PyObject * obj0 = 0 ;
7065 PyObject * obj1 = 0 ;
7066 char *kwnames[] = {
7067 (char *) "self",(char *) "other", NULL
7068 };
7069
7070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___ne__",kwnames,&obj0,&obj1)) goto fail;
7071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7073 if (arg2 == NULL) {
7074 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7075 }
7076 {
7077 PyThreadState* __tstate = wxPyBeginAllowThreads();
7078 result = (bool)((wxGridCellCoords const *)arg1)->operator !=((wxGridCellCoords const &)*arg2);
7079
7080 wxPyEndAllowThreads(__tstate);
7081 if (PyErr_Occurred()) SWIG_fail;
7082 }
7083 resultobj = PyInt_FromLong((long)result);
7084 return resultobj;
7085 fail:
7086 return NULL;
7087}
7088
7089
7090static PyObject *_wrap_GridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
7091 PyObject *resultobj;
7092 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7093 PyObject *result;
7094 PyObject * obj0 = 0 ;
7095 char *kwnames[] = {
7096 (char *) "self", NULL
7097 };
7098
7099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_asTuple",kwnames,&obj0)) goto fail;
7100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 result = (PyObject *)wxGridCellCoords_asTuple(arg1);
7104
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
7108 resultobj = result;
7109 return resultobj;
7110 fail:
7111 return NULL;
7112}
7113
7114
7115static PyObject * GridCellCoords_swigregister(PyObject *self, PyObject *args) {
7116 PyObject *obj;
7117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7118 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords, obj);
7119 Py_INCREF(obj);
7120 return Py_BuildValue((char *)"");
7121}
7122static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj;
7124 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 7125 int arg2 ;
d14a1e28
RD
7126 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7127 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7128 wxSize const &arg4_defvalue = wxDefaultSize ;
7129 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7130 long arg5 = (long) wxWANTS_CHARS ;
7131 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7132 wxString *arg6 = (wxString *) &arg6_defvalue ;
7133 wxGrid *result;
7134 wxPoint temp3 ;
7135 wxSize temp4 ;
e811c8ce 7136 bool temp6 = False ;
d14a1e28
RD
7137 PyObject * obj0 = 0 ;
7138 PyObject * obj2 = 0 ;
7139 PyObject * obj3 = 0 ;
7140 PyObject * obj5 = 0 ;
7141 char *kwnames[] = {
7142 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7143 };
7144
7145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Grid",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7147 if (obj2) {
7148 {
7149 arg3 = &temp3;
7150 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7151 }
7152 }
7153 if (obj3) {
7154 {
7155 arg4 = &temp4;
7156 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7157 }
7158 }
7159 if (obj5) {
7160 {
7161 arg6 = wxString_in_helper(obj5);
7162 if (arg6 == NULL) SWIG_fail;
e811c8ce 7163 temp6 = True;
d14a1e28
RD
7164 }
7165 }
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 result = (wxGrid *)new wxGrid(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7169
7170 wxPyEndAllowThreads(__tstate);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 {
7174 resultobj = wxPyMake_wxObject(result);
7175 }
7176 {
7177 if (temp6)
7178 delete arg6;
7179 }
7180 return resultobj;
7181 fail:
7182 {
7183 if (temp6)
7184 delete arg6;
7185 }
7186 return NULL;
7187}
7188
7189
7190static PyObject *_wrap_Grid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj;
7192 wxGrid *arg1 = (wxGrid *) 0 ;
7193 int arg2 ;
7194 int arg3 ;
7195 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
7196 bool result;
7197 PyObject * obj0 = 0 ;
7198 char *kwnames[] = {
7199 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
7200 };
7201
7202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:Grid_CreateGrid",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
7203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7204 {
7205 PyThreadState* __tstate = wxPyBeginAllowThreads();
7206 result = (bool)(arg1)->CreateGrid(arg2,arg3,arg4);
7207
7208 wxPyEndAllowThreads(__tstate);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 }
7211 resultobj = PyInt_FromLong((long)result);
7212 return resultobj;
7213 fail:
7214 return NULL;
7215}
7216
7217
7218static PyObject *_wrap_Grid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7219 PyObject *resultobj;
7220 wxGrid *arg1 = (wxGrid *) 0 ;
7221 WXGRIDSELECTIONMODES arg2 ;
7222 PyObject * obj0 = 0 ;
7223 char *kwnames[] = {
7224 (char *) "self",(char *) "selmode", NULL
7225 };
7226
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetSelectionMode",kwnames,&obj0,&arg2)) goto fail;
7228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7229 {
7230 PyThreadState* __tstate = wxPyBeginAllowThreads();
7231 (arg1)->SetSelectionMode(arg2);
7232
7233 wxPyEndAllowThreads(__tstate);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
7236 Py_INCREF(Py_None); resultobj = Py_None;
7237 return resultobj;
7238 fail:
7239 return NULL;
7240}
7241
7242
7243static PyObject *_wrap_Grid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7244 PyObject *resultobj;
7245 wxGrid *arg1 = (wxGrid *) 0 ;
7246 WXGRIDSELECTIONMODES result;
7247 PyObject * obj0 = 0 ;
7248 char *kwnames[] = {
7249 (char *) "self", NULL
7250 };
7251
7252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionMode",kwnames,&obj0)) goto fail;
7253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7254 {
7255 PyThreadState* __tstate = wxPyBeginAllowThreads();
7256 result = (WXGRIDSELECTIONMODES)(arg1)->GetSelectionMode();
7257
7258 wxPyEndAllowThreads(__tstate);
7259 if (PyErr_Occurred()) SWIG_fail;
7260 }
7261 resultobj = PyInt_FromLong((long)result);
7262 return resultobj;
7263 fail:
7264 return NULL;
7265}
7266
7267
7268static PyObject *_wrap_Grid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7269 PyObject *resultobj;
7270 wxGrid *arg1 = (wxGrid *) 0 ;
7271 int result;
7272 PyObject * obj0 = 0 ;
7273 char *kwnames[] = {
7274 (char *) "self", NULL
7275 };
7276
7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberRows",kwnames,&obj0)) goto fail;
7278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7279 {
7280 PyThreadState* __tstate = wxPyBeginAllowThreads();
7281 result = (int)(arg1)->GetNumberRows();
7282
7283 wxPyEndAllowThreads(__tstate);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 }
7286 resultobj = PyInt_FromLong((long)result);
7287 return resultobj;
7288 fail:
7289 return NULL;
7290}
7291
7292
7293static PyObject *_wrap_Grid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7294 PyObject *resultobj;
7295 wxGrid *arg1 = (wxGrid *) 0 ;
7296 int result;
7297 PyObject * obj0 = 0 ;
7298 char *kwnames[] = {
7299 (char *) "self", NULL
7300 };
7301
7302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberCols",kwnames,&obj0)) goto fail;
7303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7304 {
7305 PyThreadState* __tstate = wxPyBeginAllowThreads();
7306 result = (int)(arg1)->GetNumberCols();
7307
7308 wxPyEndAllowThreads(__tstate);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
7311 resultobj = PyInt_FromLong((long)result);
7312 return resultobj;
7313 fail:
7314 return NULL;
7315}
7316
7317
7318static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj;
7320 wxGrid *arg1 = (wxGrid *) 0 ;
7321 wxGridTableMessage *arg2 = 0 ;
7322 bool result;
7323 PyObject * obj0 = 0 ;
7324 PyObject * obj1 = 0 ;
7325 char *kwnames[] = {
7326 (char *) "self","arg2", NULL
7327 };
7328
7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_ProcessTableMessage",kwnames,&obj0,&obj1)) goto fail;
7330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7331 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7332 if (arg2 == NULL) {
7333 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7334 }
7335 {
7336 PyThreadState* __tstate = wxPyBeginAllowThreads();
7337 result = (bool)(arg1)->ProcessTableMessage(*arg2);
7338
7339 wxPyEndAllowThreads(__tstate);
7340 if (PyErr_Occurred()) SWIG_fail;
7341 }
7342 resultobj = PyInt_FromLong((long)result);
7343 return resultobj;
7344 fail:
7345 return NULL;
7346}
7347
7348
7349static PyObject *_wrap_Grid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7350 PyObject *resultobj;
7351 wxGrid *arg1 = (wxGrid *) 0 ;
7352 wxGridTableBase *result;
7353 PyObject * obj0 = 0 ;
7354 char *kwnames[] = {
7355 (char *) "self", NULL
7356 };
7357
7358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetTable",kwnames,&obj0)) goto fail;
7359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7360 {
7361 PyThreadState* __tstate = wxPyBeginAllowThreads();
7362 result = (wxGridTableBase *)((wxGrid const *)arg1)->GetTable();
7363
7364 wxPyEndAllowThreads(__tstate);
7365 if (PyErr_Occurred()) SWIG_fail;
7366 }
7367 {
7368 resultobj = wxPyMake_wxGridTableBase(result);
7369 }
7370 return resultobj;
7371 fail:
7372 return NULL;
7373}
7374
7375
7376static PyObject *_wrap_Grid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 wxGrid *arg1 = (wxGrid *) 0 ;
7379 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
e811c8ce 7380 bool arg3 = (bool) False ;
d14a1e28
RD
7381 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
7382 bool result;
7383 PyObject * obj0 = 0 ;
7384 PyObject * obj1 = 0 ;
7385 PyObject * obj2 = 0 ;
7386 char *kwnames[] = {
7387 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
7388 };
7389
7390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|Oi:Grid_SetTable",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
7391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7392 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7393 if (obj2) {
7394 arg3 = PyInt_AsLong(obj2) ? true : false;
7395 if (PyErr_Occurred()) SWIG_fail;
7396 }
7397 {
7398 PyThreadState* __tstate = wxPyBeginAllowThreads();
7399 result = (bool)(arg1)->SetTable(arg2,arg3,arg4);
7400
7401 wxPyEndAllowThreads(__tstate);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 resultobj = PyInt_FromLong((long)result);
7405 return resultobj;
7406 fail:
7407 return NULL;
7408}
7409
7410
7411static PyObject *_wrap_Grid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7412 PyObject *resultobj;
7413 wxGrid *arg1 = (wxGrid *) 0 ;
7414 PyObject * obj0 = 0 ;
7415 char *kwnames[] = {
7416 (char *) "self", NULL
7417 };
7418
7419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearGrid",kwnames,&obj0)) goto fail;
7420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7421 {
7422 PyThreadState* __tstate = wxPyBeginAllowThreads();
7423 (arg1)->ClearGrid();
7424
7425 wxPyEndAllowThreads(__tstate);
7426 if (PyErr_Occurred()) SWIG_fail;
7427 }
7428 Py_INCREF(Py_None); resultobj = Py_None;
7429 return resultobj;
7430 fail:
7431 return NULL;
7432}
7433
7434
7435static PyObject *_wrap_Grid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7436 PyObject *resultobj;
7437 wxGrid *arg1 = (wxGrid *) 0 ;
7438 int arg2 = (int) 0 ;
7439 int arg3 = (int) 1 ;
e811c8ce 7440 bool arg4 = (bool) True ;
d14a1e28
RD
7441 bool result;
7442 PyObject * obj0 = 0 ;
7443 PyObject * obj3 = 0 ;
7444 char *kwnames[] = {
7445 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
7446 };
7447
7448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiO:Grid_InsertRows",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7450 if (obj3) {
7451 arg4 = PyInt_AsLong(obj3) ? true : false;
7452 if (PyErr_Occurred()) SWIG_fail;
7453 }
7454 {
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 result = (bool)(arg1)->InsertRows(arg2,arg3,arg4);
7457
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 resultobj = PyInt_FromLong((long)result);
7462 return resultobj;
7463 fail:
7464 return NULL;
7465}
7466
7467
7468static PyObject *_wrap_Grid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7469 PyObject *resultobj;
7470 wxGrid *arg1 = (wxGrid *) 0 ;
7471 int arg2 = (int) 1 ;
e811c8ce 7472 bool arg3 = (bool) True ;
d14a1e28
RD
7473 bool result;
7474 PyObject * obj0 = 0 ;
7475 PyObject * obj2 = 0 ;
7476 char *kwnames[] = {
7477 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
7478 };
7479
7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Grid_AppendRows",kwnames,&obj0,&arg2,&obj2)) goto fail;
7481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7482 if (obj2) {
7483 arg3 = PyInt_AsLong(obj2) ? true : false;
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
7486 {
7487 PyThreadState* __tstate = wxPyBeginAllowThreads();
7488 result = (bool)(arg1)->AppendRows(arg2,arg3);
7489
7490 wxPyEndAllowThreads(__tstate);
7491 if (PyErr_Occurred()) SWIG_fail;
7492 }
7493 resultobj = PyInt_FromLong((long)result);
7494 return resultobj;
7495 fail:
7496 return NULL;
7497}
7498
7499
7500static PyObject *_wrap_Grid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7501 PyObject *resultobj;
7502 wxGrid *arg1 = (wxGrid *) 0 ;
7503 int arg2 = (int) 0 ;
7504 int arg3 = (int) 1 ;
e811c8ce 7505 bool arg4 = (bool) True ;
d14a1e28
RD
7506 bool result;
7507 PyObject * obj0 = 0 ;
7508 PyObject * obj3 = 0 ;
7509 char *kwnames[] = {
7510 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
7511 };
7512
7513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiO:Grid_DeleteRows",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7515 if (obj3) {
7516 arg4 = PyInt_AsLong(obj3) ? true : false;
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 {
7520 PyThreadState* __tstate = wxPyBeginAllowThreads();
7521 result = (bool)(arg1)->DeleteRows(arg2,arg3,arg4);
7522
7523 wxPyEndAllowThreads(__tstate);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 }
7526 resultobj = PyInt_FromLong((long)result);
7527 return resultobj;
7528 fail:
7529 return NULL;
7530}
7531
7532
7533static PyObject *_wrap_Grid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7534 PyObject *resultobj;
7535 wxGrid *arg1 = (wxGrid *) 0 ;
7536 int arg2 = (int) 0 ;
7537 int arg3 = (int) 1 ;
e811c8ce 7538 bool arg4 = (bool) True ;
d14a1e28
RD
7539 bool result;
7540 PyObject * obj0 = 0 ;
7541 PyObject * obj3 = 0 ;
7542 char *kwnames[] = {
7543 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
7544 };
7545
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiO:Grid_InsertCols",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7548 if (obj3) {
7549 arg4 = PyInt_AsLong(obj3) ? true : false;
7550 if (PyErr_Occurred()) SWIG_fail;
7551 }
7552 {
7553 PyThreadState* __tstate = wxPyBeginAllowThreads();
7554 result = (bool)(arg1)->InsertCols(arg2,arg3,arg4);
7555
7556 wxPyEndAllowThreads(__tstate);
7557 if (PyErr_Occurred()) SWIG_fail;
7558 }
7559 resultobj = PyInt_FromLong((long)result);
7560 return resultobj;
7561 fail:
7562 return NULL;
7563}
7564
7565
7566static PyObject *_wrap_Grid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj;
7568 wxGrid *arg1 = (wxGrid *) 0 ;
7569 int arg2 = (int) 1 ;
e811c8ce 7570 bool arg3 = (bool) True ;
d14a1e28
RD
7571 bool result;
7572 PyObject * obj0 = 0 ;
7573 PyObject * obj2 = 0 ;
7574 char *kwnames[] = {
7575 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
7576 };
7577
7578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Grid_AppendCols",kwnames,&obj0,&arg2,&obj2)) goto fail;
7579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7580 if (obj2) {
7581 arg3 = PyInt_AsLong(obj2) ? true : false;
7582 if (PyErr_Occurred()) SWIG_fail;
7583 }
7584 {
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 result = (bool)(arg1)->AppendCols(arg2,arg3);
7587
7588 wxPyEndAllowThreads(__tstate);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 }
7591 resultobj = PyInt_FromLong((long)result);
7592 return resultobj;
7593 fail:
7594 return NULL;
7595}
7596
7597
7598static PyObject *_wrap_Grid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7599 PyObject *resultobj;
7600 wxGrid *arg1 = (wxGrid *) 0 ;
7601 int arg2 = (int) 0 ;
7602 int arg3 = (int) 1 ;
e811c8ce 7603 bool arg4 = (bool) True ;
d14a1e28
RD
7604 bool result;
7605 PyObject * obj0 = 0 ;
7606 PyObject * obj3 = 0 ;
7607 char *kwnames[] = {
7608 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
7609 };
7610
7611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiO:Grid_DeleteCols",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7613 if (obj3) {
7614 arg4 = PyInt_AsLong(obj3) ? true : false;
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 {
7618 PyThreadState* __tstate = wxPyBeginAllowThreads();
7619 result = (bool)(arg1)->DeleteCols(arg2,arg3,arg4);
7620
7621 wxPyEndAllowThreads(__tstate);
7622 if (PyErr_Occurred()) SWIG_fail;
7623 }
7624 resultobj = PyInt_FromLong((long)result);
7625 return resultobj;
7626 fail:
7627 return NULL;
7628}
7629
7630
7631static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7632 PyObject *resultobj;
7633 wxGrid *arg1 = (wxGrid *) 0 ;
7634 wxDC *arg2 = 0 ;
7635 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
7636 PyObject * obj0 = 0 ;
7637 PyObject * obj1 = 0 ;
7638 PyObject * obj2 = 0 ;
7639 char *kwnames[] = {
7640 (char *) "self",(char *) "dc",(char *) "attr", NULL
7641 };
7642
7643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DrawCellHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
7644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7646 if (arg2 == NULL) {
7647 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7648 }
7649 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7650 {
7651 PyThreadState* __tstate = wxPyBeginAllowThreads();
7652 (arg1)->DrawCellHighlight(*arg2,(wxGridCellAttr const *)arg3);
7653
7654 wxPyEndAllowThreads(__tstate);
7655 if (PyErr_Occurred()) SWIG_fail;
7656 }
7657 Py_INCREF(Py_None); resultobj = Py_None;
7658 return resultobj;
7659 fail:
7660 return NULL;
7661}
7662
7663
7664static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7665 PyObject *resultobj;
7666 wxGrid *arg1 = (wxGrid *) 0 ;
7667 wxDC *arg2 = 0 ;
7668 wxString *arg3 = 0 ;
7669 wxRect *arg4 = 0 ;
7670 int arg5 = (int) wxLEFT ;
7671 int arg6 = (int) wxTOP ;
7672 int arg7 = (int) wxHORIZONTAL ;
e811c8ce 7673 bool temp3 = False ;
d14a1e28
RD
7674 wxRect temp4 ;
7675 PyObject * obj0 = 0 ;
7676 PyObject * obj1 = 0 ;
7677 PyObject * obj2 = 0 ;
7678 PyObject * obj3 = 0 ;
7679 char *kwnames[] = {
7680 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
7681 };
7682
7683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iii:Grid_DrawTextRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&arg7)) goto fail;
7684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7686 if (arg2 == NULL) {
7687 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7688 }
7689 {
7690 arg3 = wxString_in_helper(obj2);
7691 if (arg3 == NULL) SWIG_fail;
e811c8ce 7692 temp3 = True;
d14a1e28
RD
7693 }
7694 {
7695 arg4 = &temp4;
7696 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
7697 }
7698 {
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 (arg1)->DrawTextRectangle(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
7701
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 Py_INCREF(Py_None); resultobj = Py_None;
7706 {
7707 if (temp3)
7708 delete arg3;
7709 }
7710 return resultobj;
7711 fail:
7712 {
7713 if (temp3)
7714 delete arg3;
7715 }
7716 return NULL;
7717}
7718
7719
7720static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7721 PyObject *resultobj;
7722 wxGrid *arg1 = (wxGrid *) 0 ;
7723 wxDC *arg2 = 0 ;
7724 wxArrayString *arg3 = 0 ;
7725 long *arg4 = (long *) 0 ;
7726 long *arg5 = (long *) 0 ;
7727 long temp4 ;
7728 long temp5 ;
7729 PyObject * obj0 = 0 ;
7730 PyObject * obj1 = 0 ;
7731 PyObject * obj2 = 0 ;
7732 char *kwnames[] = {
7733 (char *) "self",(char *) "dc",(char *) "lines", NULL
7734 };
7735
7736 arg4 = &temp4;
7737 arg5 = &temp5;
7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetTextBoxSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
7739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7741 if (arg2 == NULL) {
7742 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7743 }
7744 {
7745 if (! PySequence_Check(obj2)) {
7746 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7747 SWIG_fail;
7748 }
7749 arg3 = new wxArrayString;
7750 int i, len=PySequence_Length(obj2);
7751 for (i=0; i<len; i++) {
7752 PyObject* item = PySequence_GetItem(obj2, i);
7753#if wxUSE_UNICODE
7754 PyObject* str = PyObject_Unicode(item);
7755#else
7756 PyObject* str = PyObject_Str(item);
7757#endif
7758 arg3->Add(Py2wxString(str));
7759 Py_DECREF(item);
7760 Py_DECREF(str);
7761 }
7762 }
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 (arg1)->GetTextBoxSize(*arg2,*arg3,arg4,arg5);
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 Py_INCREF(Py_None); resultobj = Py_None;
7771 {
7772 PyObject *o = PyInt_FromLong((long) (*arg4));
7773 resultobj = t_output_helper(resultobj,o);
7774 }
7775 {
7776 PyObject *o = PyInt_FromLong((long) (*arg5));
7777 resultobj = t_output_helper(resultobj,o);
7778 }
7779 {
7780 if (arg3) delete arg3;
7781 }
7782 return resultobj;
7783 fail:
7784 {
7785 if (arg3) delete arg3;
7786 }
7787 return NULL;
7788}
7789
7790
7791static PyObject *_wrap_Grid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7792 PyObject *resultobj;
7793 wxGrid *arg1 = (wxGrid *) 0 ;
7794 PyObject * obj0 = 0 ;
7795 char *kwnames[] = {
7796 (char *) "self", NULL
7797 };
7798
7799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_BeginBatch",kwnames,&obj0)) goto fail;
7800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 (arg1)->BeginBatch();
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 Py_INCREF(Py_None); resultobj = Py_None;
7809 return resultobj;
7810 fail:
7811 return NULL;
7812}
7813
7814
7815static PyObject *_wrap_Grid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7816 PyObject *resultobj;
7817 wxGrid *arg1 = (wxGrid *) 0 ;
7818 PyObject * obj0 = 0 ;
7819 char *kwnames[] = {
7820 (char *) "self", NULL
7821 };
7822
7823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_EndBatch",kwnames,&obj0)) goto fail;
7824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7825 {
7826 PyThreadState* __tstate = wxPyBeginAllowThreads();
7827 (arg1)->EndBatch();
7828
7829 wxPyEndAllowThreads(__tstate);
7830 if (PyErr_Occurred()) SWIG_fail;
7831 }
7832 Py_INCREF(Py_None); resultobj = Py_None;
7833 return resultobj;
7834 fail:
7835 return NULL;
7836}
7837
7838
7839static PyObject *_wrap_Grid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7840 PyObject *resultobj;
7841 wxGrid *arg1 = (wxGrid *) 0 ;
7842 int result;
7843 PyObject * obj0 = 0 ;
7844 char *kwnames[] = {
7845 (char *) "self", NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetBatchCount",kwnames,&obj0)) goto fail;
7849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 result = (int)(arg1)->GetBatchCount();
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 resultobj = PyInt_FromLong((long)result);
7858 return resultobj;
7859 fail:
7860 return NULL;
7861}
7862
7863
7864static PyObject *_wrap_Grid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj;
7866 wxGrid *arg1 = (wxGrid *) 0 ;
7867 PyObject * obj0 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "self", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ForceRefresh",kwnames,&obj0)) goto fail;
7873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7874 {
7875 PyThreadState* __tstate = wxPyBeginAllowThreads();
7876 (arg1)->ForceRefresh();
7877
7878 wxPyEndAllowThreads(__tstate);
7879 if (PyErr_Occurred()) SWIG_fail;
7880 }
7881 Py_INCREF(Py_None); resultobj = Py_None;
7882 return resultobj;
7883 fail:
7884 return NULL;
7885}
7886
7887
7888static PyObject *_wrap_Grid_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
7889 PyObject *resultobj;
7890 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 7891 bool arg2 = (bool) True ;
d14a1e28
RD
7892 wxRect *arg3 = (wxRect *) NULL ;
7893 PyObject * obj0 = 0 ;
7894 PyObject * obj1 = 0 ;
7895 PyObject * obj2 = 0 ;
7896 char *kwnames[] = {
7897 (char *) "self",(char *) "eraseb",(char *) "rect", NULL
7898 };
7899
7900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
7901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7902 if (obj1) {
7903 arg2 = PyInt_AsLong(obj1) ? true : false;
7904 if (PyErr_Occurred()) SWIG_fail;
7905 }
7906 if (obj2) {
7907 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7908 }
7909 {
7910 PyThreadState* __tstate = wxPyBeginAllowThreads();
7911 (arg1)->Refresh(arg2,(wxRect const *)arg3);
7912
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
7916 Py_INCREF(Py_None); resultobj = Py_None;
7917 return resultobj;
7918 fail:
7919 return NULL;
7920}
7921
7922
7923static PyObject *_wrap_Grid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj;
7925 wxGrid *arg1 = (wxGrid *) 0 ;
7926 bool result;
7927 PyObject * obj0 = 0 ;
7928 char *kwnames[] = {
7929 (char *) "self", NULL
7930 };
7931
7932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsEditable",kwnames,&obj0)) goto fail;
7933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7934 {
7935 PyThreadState* __tstate = wxPyBeginAllowThreads();
7936 result = (bool)(arg1)->IsEditable();
7937
7938 wxPyEndAllowThreads(__tstate);
7939 if (PyErr_Occurred()) SWIG_fail;
7940 }
7941 resultobj = PyInt_FromLong((long)result);
7942 return resultobj;
7943 fail:
7944 return NULL;
7945}
7946
7947
7948static PyObject *_wrap_Grid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
7949 PyObject *resultobj;
7950 wxGrid *arg1 = (wxGrid *) 0 ;
7951 bool arg2 ;
7952 PyObject * obj0 = 0 ;
7953 PyObject * obj1 = 0 ;
7954 char *kwnames[] = {
7955 (char *) "self",(char *) "edit", NULL
7956 };
7957
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_EnableEditing",kwnames,&obj0,&obj1)) goto fail;
7959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7960 arg2 = PyInt_AsLong(obj1) ? true : false;
7961 if (PyErr_Occurred()) SWIG_fail;
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 (arg1)->EnableEditing(arg2);
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 Py_INCREF(Py_None); resultobj = Py_None;
7970 return resultobj;
7971 fail:
7972 return NULL;
7973}
7974
7975
7976static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj;
7978 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 7979 bool arg2 = (bool) True ;
d14a1e28
RD
7980 PyObject * obj0 = 0 ;
7981 PyObject * obj1 = 0 ;
7982 char *kwnames[] = {
7983 (char *) "self",(char *) "enable", NULL
7984 };
7985
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableCellEditControl",kwnames,&obj0,&obj1)) goto fail;
7987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7988 if (obj1) {
7989 arg2 = PyInt_AsLong(obj1) ? true : false;
7990 if (PyErr_Occurred()) SWIG_fail;
7991 }
7992 {
7993 PyThreadState* __tstate = wxPyBeginAllowThreads();
7994 (arg1)->EnableCellEditControl(arg2);
7995
7996 wxPyEndAllowThreads(__tstate);
7997 if (PyErr_Occurred()) SWIG_fail;
7998 }
7999 Py_INCREF(Py_None); resultobj = Py_None;
8000 return resultobj;
8001 fail:
8002 return NULL;
8003}
8004
8005
8006static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8007 PyObject *resultobj;
8008 wxGrid *arg1 = (wxGrid *) 0 ;
8009 PyObject * obj0 = 0 ;
8010 char *kwnames[] = {
8011 (char *) "self", NULL
8012 };
8013
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableCellEditControl",kwnames,&obj0)) goto fail;
8015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8016 {
8017 PyThreadState* __tstate = wxPyBeginAllowThreads();
8018 (arg1)->DisableCellEditControl();
8019
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 Py_INCREF(Py_None); resultobj = Py_None;
8024 return resultobj;
8025 fail:
8026 return NULL;
8027}
8028
8029
8030static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8031 PyObject *resultobj;
8032 wxGrid *arg1 = (wxGrid *) 0 ;
8033 bool result;
8034 PyObject * obj0 = 0 ;
8035 char *kwnames[] = {
8036 (char *) "self", NULL
8037 };
8038
8039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanEnableCellControl",kwnames,&obj0)) goto fail;
8040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8041 {
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 result = (bool)((wxGrid const *)arg1)->CanEnableCellControl();
8044
8045 wxPyEndAllowThreads(__tstate);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 }
8048 resultobj = PyInt_FromLong((long)result);
8049 return resultobj;
8050 fail:
8051 return NULL;
8052}
8053
8054
8055static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8056 PyObject *resultobj;
8057 wxGrid *arg1 = (wxGrid *) 0 ;
8058 bool result;
8059 PyObject * obj0 = 0 ;
8060 char *kwnames[] = {
8061 (char *) "self", NULL
8062 };
8063
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlEnabled",kwnames,&obj0)) goto fail;
8065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8066 {
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 result = (bool)((wxGrid const *)arg1)->IsCellEditControlEnabled();
8069
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
8073 resultobj = PyInt_FromLong((long)result);
8074 return resultobj;
8075 fail:
8076 return NULL;
8077}
8078
8079
8080static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj;
8082 wxGrid *arg1 = (wxGrid *) 0 ;
8083 bool result;
8084 PyObject * obj0 = 0 ;
8085 char *kwnames[] = {
8086 (char *) "self", NULL
8087 };
8088
8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlShown",kwnames,&obj0)) goto fail;
8090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 result = (bool)((wxGrid const *)arg1)->IsCellEditControlShown();
8094
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
8098 resultobj = PyInt_FromLong((long)result);
8099 return resultobj;
8100 fail:
8101 return NULL;
8102}
8103
8104
8105static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
8106 PyObject *resultobj;
8107 wxGrid *arg1 = (wxGrid *) 0 ;
8108 bool result;
8109 PyObject * obj0 = 0 ;
8110 char *kwnames[] = {
8111 (char *) "self", NULL
8112 };
8113
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames,&obj0)) goto fail;
8115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8116 {
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
8118 result = (bool)((wxGrid const *)arg1)->IsCurrentCellReadOnly();
8119
8120 wxPyEndAllowThreads(__tstate);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 }
8123 resultobj = PyInt_FromLong((long)result);
8124 return resultobj;
8125 fail:
8126 return NULL;
8127}
8128
8129
8130static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8131 PyObject *resultobj;
8132 wxGrid *arg1 = (wxGrid *) 0 ;
8133 PyObject * obj0 = 0 ;
8134 char *kwnames[] = {
8135 (char *) "self", NULL
8136 };
8137
8138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ShowCellEditControl",kwnames,&obj0)) goto fail;
8139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8140 {
8141 PyThreadState* __tstate = wxPyBeginAllowThreads();
8142 (arg1)->ShowCellEditControl();
8143
8144 wxPyEndAllowThreads(__tstate);
8145 if (PyErr_Occurred()) SWIG_fail;
8146 }
8147 Py_INCREF(Py_None); resultobj = Py_None;
8148 return resultobj;
8149 fail:
8150 return NULL;
8151}
8152
8153
8154static PyObject *_wrap_Grid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8155 PyObject *resultobj;
8156 wxGrid *arg1 = (wxGrid *) 0 ;
8157 PyObject * obj0 = 0 ;
8158 char *kwnames[] = {
8159 (char *) "self", NULL
8160 };
8161
8162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_HideCellEditControl",kwnames,&obj0)) goto fail;
8163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8164 {
8165 PyThreadState* __tstate = wxPyBeginAllowThreads();
8166 (arg1)->HideCellEditControl();
8167
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
8171 Py_INCREF(Py_None); resultobj = Py_None;
8172 return resultobj;
8173 fail:
8174 return NULL;
8175}
8176
8177
8178static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8179 PyObject *resultobj;
8180 wxGrid *arg1 = (wxGrid *) 0 ;
8181 PyObject * obj0 = 0 ;
8182 char *kwnames[] = {
8183 (char *) "self", NULL
8184 };
8185
8186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SaveEditControlValue",kwnames,&obj0)) goto fail;
8187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8188 {
8189 PyThreadState* __tstate = wxPyBeginAllowThreads();
8190 (arg1)->SaveEditControlValue();
8191
8192 wxPyEndAllowThreads(__tstate);
8193 if (PyErr_Occurred()) SWIG_fail;
8194 }
8195 Py_INCREF(Py_None); resultobj = Py_None;
8196 return resultobj;
8197 fail:
8198 return NULL;
8199}
8200
8201
8202static PyObject *_wrap_Grid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8203 PyObject *resultobj;
8204 wxGrid *arg1 = (wxGrid *) 0 ;
8205 int arg2 ;
8206 int arg3 ;
8207 wxGridCellCoords result;
8208 PyObject * obj0 = 0 ;
8209 char *kwnames[] = {
8210 (char *) "self",(char *) "x",(char *) "y", NULL
8211 };
8212
8213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_XYToCell",kwnames,&obj0,&arg2,&arg3)) goto fail;
8214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8215 {
8216 PyThreadState* __tstate = wxPyBeginAllowThreads();
8217 result = wxGrid_XYToCell(arg1,arg2,arg3);
8218
8219 wxPyEndAllowThreads(__tstate);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 {
8223 wxGridCellCoords * resultptr;
8224 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
8225 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGridCellCoords, 1);
8226 }
8227 return resultobj;
8228 fail:
8229 return NULL;
8230}
8231
8232
8233static PyObject *_wrap_Grid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8234 PyObject *resultobj;
8235 wxGrid *arg1 = (wxGrid *) 0 ;
8236 int arg2 ;
8237 int result;
8238 PyObject * obj0 = 0 ;
8239 char *kwnames[] = {
8240 (char *) "self",(char *) "y", NULL
8241 };
8242
8243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_YToRow",kwnames,&obj0,&arg2)) goto fail;
8244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8245 {
8246 PyThreadState* __tstate = wxPyBeginAllowThreads();
8247 result = (int)(arg1)->YToRow(arg2);
8248
8249 wxPyEndAllowThreads(__tstate);
8250 if (PyErr_Occurred()) SWIG_fail;
8251 }
8252 resultobj = PyInt_FromLong((long)result);
8253 return resultobj;
8254 fail:
8255 return NULL;
8256}
8257
8258
8259static PyObject *_wrap_Grid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8260 PyObject *resultobj;
8261 wxGrid *arg1 = (wxGrid *) 0 ;
8262 int arg2 ;
8263 int result;
8264 PyObject * obj0 = 0 ;
8265 char *kwnames[] = {
8266 (char *) "self",(char *) "x", NULL
8267 };
8268
8269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_XToCol",kwnames,&obj0,&arg2)) goto fail;
8270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8271 {
8272 PyThreadState* __tstate = wxPyBeginAllowThreads();
8273 result = (int)(arg1)->XToCol(arg2);
8274
8275 wxPyEndAllowThreads(__tstate);
8276 if (PyErr_Occurred()) SWIG_fail;
8277 }
8278 resultobj = PyInt_FromLong((long)result);
8279 return resultobj;
8280 fail:
8281 return NULL;
8282}
8283
8284
8285static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8286 PyObject *resultobj;
8287 wxGrid *arg1 = (wxGrid *) 0 ;
8288 int arg2 ;
8289 int result;
8290 PyObject * obj0 = 0 ;
8291 char *kwnames[] = {
8292 (char *) "self",(char *) "y", NULL
8293 };
8294
8295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_YToEdgeOfRow",kwnames,&obj0,&arg2)) goto fail;
8296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8297 {
8298 PyThreadState* __tstate = wxPyBeginAllowThreads();
8299 result = (int)(arg1)->YToEdgeOfRow(arg2);
8300
8301 wxPyEndAllowThreads(__tstate);
8302 if (PyErr_Occurred()) SWIG_fail;
8303 }
8304 resultobj = PyInt_FromLong((long)result);
8305 return resultobj;
8306 fail:
8307 return NULL;
8308}
8309
8310
8311static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8312 PyObject *resultobj;
8313 wxGrid *arg1 = (wxGrid *) 0 ;
8314 int arg2 ;
8315 int result;
8316 PyObject * obj0 = 0 ;
8317 char *kwnames[] = {
8318 (char *) "self",(char *) "x", NULL
8319 };
8320
8321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_XToEdgeOfCol",kwnames,&obj0,&arg2)) goto fail;
8322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8323 {
8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
8325 result = (int)(arg1)->XToEdgeOfCol(arg2);
8326
8327 wxPyEndAllowThreads(__tstate);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
8330 resultobj = PyInt_FromLong((long)result);
8331 return resultobj;
8332 fail:
8333 return NULL;
8334}
8335
8336
8337static PyObject *_wrap_Grid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8338 PyObject *resultobj;
8339 wxGrid *arg1 = (wxGrid *) 0 ;
8340 int arg2 ;
8341 int arg3 ;
8342 wxRect result;
8343 PyObject * obj0 = 0 ;
8344 char *kwnames[] = {
8345 (char *) "self",(char *) "row",(char *) "col", NULL
8346 };
8347
8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_CellToRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
8349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8350 {
8351 PyThreadState* __tstate = wxPyBeginAllowThreads();
8352 result = (arg1)->CellToRect(arg2,arg3);
8353
8354 wxPyEndAllowThreads(__tstate);
8355 if (PyErr_Occurred()) SWIG_fail;
8356 }
8357 {
8358 wxRect * resultptr;
8359 resultptr = new wxRect((wxRect &) result);
8360 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
8361 }
8362 return resultobj;
8363 fail:
8364 return NULL;
8365}
8366
8367
8368static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8369 PyObject *resultobj;
8370 wxGrid *arg1 = (wxGrid *) 0 ;
8371 int result;
8372 PyObject * obj0 = 0 ;
8373 char *kwnames[] = {
8374 (char *) "self", NULL
8375 };
8376
8377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorRow",kwnames,&obj0)) goto fail;
8378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8379 {
8380 PyThreadState* __tstate = wxPyBeginAllowThreads();
8381 result = (int)(arg1)->GetGridCursorRow();
8382
8383 wxPyEndAllowThreads(__tstate);
8384 if (PyErr_Occurred()) SWIG_fail;
8385 }
8386 resultobj = PyInt_FromLong((long)result);
8387 return resultobj;
8388 fail:
8389 return NULL;
8390}
8391
8392
8393static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8394 PyObject *resultobj;
8395 wxGrid *arg1 = (wxGrid *) 0 ;
8396 int result;
8397 PyObject * obj0 = 0 ;
8398 char *kwnames[] = {
8399 (char *) "self", NULL
8400 };
8401
8402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorCol",kwnames,&obj0)) goto fail;
8403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8404 {
8405 PyThreadState* __tstate = wxPyBeginAllowThreads();
8406 result = (int)(arg1)->GetGridCursorCol();
8407
8408 wxPyEndAllowThreads(__tstate);
8409 if (PyErr_Occurred()) SWIG_fail;
8410 }
8411 resultobj = PyInt_FromLong((long)result);
8412 return resultobj;
8413 fail:
8414 return NULL;
8415}
8416
8417
8418static PyObject *_wrap_Grid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8419 PyObject *resultobj;
8420 wxGrid *arg1 = (wxGrid *) 0 ;
8421 int arg2 ;
8422 int arg3 ;
e811c8ce 8423 bool arg4 = (bool) True ;
d14a1e28
RD
8424 bool result;
8425 PyObject * obj0 = 0 ;
8426 PyObject * obj3 = 0 ;
8427 char *kwnames[] = {
8428 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
8429 };
8430
8431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Grid_IsVisible",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
8432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8433 if (obj3) {
8434 arg4 = PyInt_AsLong(obj3) ? true : false;
8435 if (PyErr_Occurred()) SWIG_fail;
8436 }
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 result = (bool)(arg1)->IsVisible(arg2,arg3,arg4);
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 resultobj = PyInt_FromLong((long)result);
8445 return resultobj;
8446 fail:
8447 return NULL;
8448}
8449
8450
8451static PyObject *_wrap_Grid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8452 PyObject *resultobj;
8453 wxGrid *arg1 = (wxGrid *) 0 ;
8454 int arg2 ;
8455 int arg3 ;
8456 PyObject * obj0 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "self",(char *) "row",(char *) "col", NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_MakeCellVisible",kwnames,&obj0,&arg2,&arg3)) goto fail;
8462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8463 {
8464 PyThreadState* __tstate = wxPyBeginAllowThreads();
8465 (arg1)->MakeCellVisible(arg2,arg3);
8466
8467 wxPyEndAllowThreads(__tstate);
8468 if (PyErr_Occurred()) SWIG_fail;
8469 }
8470 Py_INCREF(Py_None); resultobj = Py_None;
8471 return resultobj;
8472 fail:
8473 return NULL;
8474}
8475
8476
8477static PyObject *_wrap_Grid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8478 PyObject *resultobj;
8479 wxGrid *arg1 = (wxGrid *) 0 ;
8480 int arg2 ;
8481 int arg3 ;
8482 PyObject * obj0 = 0 ;
8483 char *kwnames[] = {
8484 (char *) "self",(char *) "row",(char *) "col", NULL
8485 };
8486
8487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetGridCursor",kwnames,&obj0,&arg2,&arg3)) goto fail;
8488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8489 {
8490 PyThreadState* __tstate = wxPyBeginAllowThreads();
8491 (arg1)->SetGridCursor(arg2,arg3);
8492
8493 wxPyEndAllowThreads(__tstate);
8494 if (PyErr_Occurred()) SWIG_fail;
8495 }
8496 Py_INCREF(Py_None); resultobj = Py_None;
8497 return resultobj;
8498 fail:
8499 return NULL;
8500}
8501
8502
8503static PyObject *_wrap_Grid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8504 PyObject *resultobj;
8505 wxGrid *arg1 = (wxGrid *) 0 ;
8506 bool arg2 ;
8507 bool result;
8508 PyObject * obj0 = 0 ;
8509 PyObject * obj1 = 0 ;
8510 char *kwnames[] = {
8511 (char *) "self",(char *) "expandSelection", NULL
8512 };
8513
8514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUp",kwnames,&obj0,&obj1)) goto fail;
8515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8516 arg2 = PyInt_AsLong(obj1) ? true : false;
8517 if (PyErr_Occurred()) SWIG_fail;
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 result = (bool)(arg1)->MoveCursorUp(arg2);
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
8525 resultobj = PyInt_FromLong((long)result);
8526 return resultobj;
8527 fail:
8528 return NULL;
8529}
8530
8531
8532static PyObject *_wrap_Grid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8533 PyObject *resultobj;
8534 wxGrid *arg1 = (wxGrid *) 0 ;
8535 bool arg2 ;
8536 bool result;
8537 PyObject * obj0 = 0 ;
8538 PyObject * obj1 = 0 ;
8539 char *kwnames[] = {
8540 (char *) "self",(char *) "expandSelection", NULL
8541 };
8542
8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDown",kwnames,&obj0,&obj1)) goto fail;
8544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8545 arg2 = PyInt_AsLong(obj1) ? true : false;
8546 if (PyErr_Occurred()) SWIG_fail;
8547 {
8548 PyThreadState* __tstate = wxPyBeginAllowThreads();
8549 result = (bool)(arg1)->MoveCursorDown(arg2);
8550
8551 wxPyEndAllowThreads(__tstate);
8552 if (PyErr_Occurred()) SWIG_fail;
8553 }
8554 resultobj = PyInt_FromLong((long)result);
8555 return resultobj;
8556 fail:
8557 return NULL;
8558}
8559
8560
8561static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8562 PyObject *resultobj;
8563 wxGrid *arg1 = (wxGrid *) 0 ;
8564 bool arg2 ;
8565 bool result;
8566 PyObject * obj0 = 0 ;
8567 PyObject * obj1 = 0 ;
8568 char *kwnames[] = {
8569 (char *) "self",(char *) "expandSelection", NULL
8570 };
8571
8572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeft",kwnames,&obj0,&obj1)) goto fail;
8573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8574 arg2 = PyInt_AsLong(obj1) ? true : false;
8575 if (PyErr_Occurred()) SWIG_fail;
8576 {
8577 PyThreadState* __tstate = wxPyBeginAllowThreads();
8578 result = (bool)(arg1)->MoveCursorLeft(arg2);
8579
8580 wxPyEndAllowThreads(__tstate);
8581 if (PyErr_Occurred()) SWIG_fail;
8582 }
8583 resultobj = PyInt_FromLong((long)result);
8584 return resultobj;
8585 fail:
8586 return NULL;
8587}
8588
8589
8590static PyObject *_wrap_Grid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8591 PyObject *resultobj;
8592 wxGrid *arg1 = (wxGrid *) 0 ;
8593 bool arg2 ;
8594 bool result;
8595 PyObject * obj0 = 0 ;
8596 PyObject * obj1 = 0 ;
8597 char *kwnames[] = {
8598 (char *) "self",(char *) "expandSelection", NULL
8599 };
8600
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRight",kwnames,&obj0,&obj1)) goto fail;
8602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8603 arg2 = PyInt_AsLong(obj1) ? true : false;
8604 if (PyErr_Occurred()) SWIG_fail;
8605 {
8606 PyThreadState* __tstate = wxPyBeginAllowThreads();
8607 result = (bool)(arg1)->MoveCursorRight(arg2);
8608
8609 wxPyEndAllowThreads(__tstate);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 resultobj = PyInt_FromLong((long)result);
8613 return resultobj;
8614 fail:
8615 return NULL;
8616}
8617
8618
8619static PyObject *_wrap_Grid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8620 PyObject *resultobj;
8621 wxGrid *arg1 = (wxGrid *) 0 ;
8622 bool result;
8623 PyObject * obj0 = 0 ;
8624 char *kwnames[] = {
8625 (char *) "self", NULL
8626 };
8627
8628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageDown",kwnames,&obj0)) goto fail;
8629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8630 {
8631 PyThreadState* __tstate = wxPyBeginAllowThreads();
8632 result = (bool)(arg1)->MovePageDown();
8633
8634 wxPyEndAllowThreads(__tstate);
8635 if (PyErr_Occurred()) SWIG_fail;
8636 }
8637 resultobj = PyInt_FromLong((long)result);
8638 return resultobj;
8639 fail:
8640 return NULL;
8641}
8642
8643
8644static PyObject *_wrap_Grid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8645 PyObject *resultobj;
8646 wxGrid *arg1 = (wxGrid *) 0 ;
8647 bool result;
8648 PyObject * obj0 = 0 ;
8649 char *kwnames[] = {
8650 (char *) "self", NULL
8651 };
8652
8653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageUp",kwnames,&obj0)) goto fail;
8654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8655 {
8656 PyThreadState* __tstate = wxPyBeginAllowThreads();
8657 result = (bool)(arg1)->MovePageUp();
8658
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 resultobj = PyInt_FromLong((long)result);
8663 return resultobj;
8664 fail:
8665 return NULL;
8666}
8667
8668
8669static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8670 PyObject *resultobj;
8671 wxGrid *arg1 = (wxGrid *) 0 ;
8672 bool arg2 ;
8673 bool result;
8674 PyObject * obj0 = 0 ;
8675 PyObject * obj1 = 0 ;
8676 char *kwnames[] = {
8677 (char *) "self",(char *) "expandSelection", NULL
8678 };
8679
8680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUpBlock",kwnames,&obj0,&obj1)) goto fail;
8681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8682 arg2 = PyInt_AsLong(obj1) ? true : false;
8683 if (PyErr_Occurred()) SWIG_fail;
8684 {
8685 PyThreadState* __tstate = wxPyBeginAllowThreads();
8686 result = (bool)(arg1)->MoveCursorUpBlock(arg2);
8687
8688 wxPyEndAllowThreads(__tstate);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 }
8691 resultobj = PyInt_FromLong((long)result);
8692 return resultobj;
8693 fail:
8694 return NULL;
8695}
8696
8697
8698static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8699 PyObject *resultobj;
8700 wxGrid *arg1 = (wxGrid *) 0 ;
8701 bool arg2 ;
8702 bool result;
8703 PyObject * obj0 = 0 ;
8704 PyObject * obj1 = 0 ;
8705 char *kwnames[] = {
8706 (char *) "self",(char *) "expandSelection", NULL
8707 };
8708
8709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDownBlock",kwnames,&obj0,&obj1)) goto fail;
8710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8711 arg2 = PyInt_AsLong(obj1) ? true : false;
8712 if (PyErr_Occurred()) SWIG_fail;
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 result = (bool)(arg1)->MoveCursorDownBlock(arg2);
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 resultobj = PyInt_FromLong((long)result);
8721 return resultobj;
8722 fail:
8723 return NULL;
8724}
8725
8726
8727static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj;
8729 wxGrid *arg1 = (wxGrid *) 0 ;
8730 bool arg2 ;
8731 bool result;
8732 PyObject * obj0 = 0 ;
8733 PyObject * obj1 = 0 ;
8734 char *kwnames[] = {
8735 (char *) "self",(char *) "expandSelection", NULL
8736 };
8737
8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames,&obj0,&obj1)) goto fail;
8739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8740 arg2 = PyInt_AsLong(obj1) ? true : false;
8741 if (PyErr_Occurred()) SWIG_fail;
8742 {
8743 PyThreadState* __tstate = wxPyBeginAllowThreads();
8744 result = (bool)(arg1)->MoveCursorLeftBlock(arg2);
8745
8746 wxPyEndAllowThreads(__tstate);
8747 if (PyErr_Occurred()) SWIG_fail;
8748 }
8749 resultobj = PyInt_FromLong((long)result);
8750 return resultobj;
8751 fail:
8752 return NULL;
8753}
8754
8755
8756static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8757 PyObject *resultobj;
8758 wxGrid *arg1 = (wxGrid *) 0 ;
8759 bool arg2 ;
8760 bool result;
8761 PyObject * obj0 = 0 ;
8762 PyObject * obj1 = 0 ;
8763 char *kwnames[] = {
8764 (char *) "self",(char *) "expandSelection", NULL
8765 };
8766
8767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRightBlock",kwnames,&obj0,&obj1)) goto fail;
8768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8769 arg2 = PyInt_AsLong(obj1) ? true : false;
8770 if (PyErr_Occurred()) SWIG_fail;
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 result = (bool)(arg1)->MoveCursorRightBlock(arg2);
8774
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 resultobj = PyInt_FromLong((long)result);
8779 return resultobj;
8780 fail:
8781 return NULL;
8782}
8783
8784
8785static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8786 PyObject *resultobj;
8787 wxGrid *arg1 = (wxGrid *) 0 ;
8788 int result;
8789 PyObject * obj0 = 0 ;
8790 char *kwnames[] = {
8791 (char *) "self", NULL
8792 };
8793
8794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames,&obj0)) goto fail;
8795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8796 {
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 result = (int)(arg1)->GetDefaultRowLabelSize();
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 resultobj = PyInt_FromLong((long)result);
8804 return resultobj;
8805 fail:
8806 return NULL;
8807}
8808
8809
8810static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxGrid *arg1 = (wxGrid *) 0 ;
8813 int result;
8814 PyObject * obj0 = 0 ;
8815 char *kwnames[] = {
8816 (char *) "self", NULL
8817 };
8818
8819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelSize",kwnames,&obj0)) goto fail;
8820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8821 {
8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
8823 result = (int)(arg1)->GetRowLabelSize();
8824
8825 wxPyEndAllowThreads(__tstate);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
8828 resultobj = PyInt_FromLong((long)result);
8829 return resultobj;
8830 fail:
8831 return NULL;
8832}
8833
8834
8835static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8836 PyObject *resultobj;
8837 wxGrid *arg1 = (wxGrid *) 0 ;
8838 int result;
8839 PyObject * obj0 = 0 ;
8840 char *kwnames[] = {
8841 (char *) "self", NULL
8842 };
8843
8844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColLabelSize",kwnames,&obj0)) goto fail;
8845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8846 {
8847 PyThreadState* __tstate = wxPyBeginAllowThreads();
8848 result = (int)(arg1)->GetDefaultColLabelSize();
8849
8850 wxPyEndAllowThreads(__tstate);
8851 if (PyErr_Occurred()) SWIG_fail;
8852 }
8853 resultobj = PyInt_FromLong((long)result);
8854 return resultobj;
8855 fail:
8856 return NULL;
8857}
8858
8859
8860static PyObject *_wrap_Grid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8861 PyObject *resultobj;
8862 wxGrid *arg1 = (wxGrid *) 0 ;
8863 int result;
8864 PyObject * obj0 = 0 ;
8865 char *kwnames[] = {
8866 (char *) "self", NULL
8867 };
8868
8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelSize",kwnames,&obj0)) goto fail;
8870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8871 {
8872 PyThreadState* __tstate = wxPyBeginAllowThreads();
8873 result = (int)(arg1)->GetColLabelSize();
8874
8875 wxPyEndAllowThreads(__tstate);
8876 if (PyErr_Occurred()) SWIG_fail;
8877 }
8878 resultobj = PyInt_FromLong((long)result);
8879 return resultobj;
8880 fail:
8881 return NULL;
8882}
8883
8884
8885static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8886 PyObject *resultobj;
8887 wxGrid *arg1 = (wxGrid *) 0 ;
8888 wxColour result;
8889 PyObject * obj0 = 0 ;
8890 char *kwnames[] = {
8891 (char *) "self", NULL
8892 };
8893
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelBackgroundColour",kwnames,&obj0)) goto fail;
8895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8896 {
8897 PyThreadState* __tstate = wxPyBeginAllowThreads();
8898 result = (arg1)->GetLabelBackgroundColour();
8899
8900 wxPyEndAllowThreads(__tstate);
8901 if (PyErr_Occurred()) SWIG_fail;
8902 }
8903 {
8904 wxColour * resultptr;
8905 resultptr = new wxColour((wxColour &) result);
8906 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
8907 }
8908 return resultobj;
8909 fail:
8910 return NULL;
8911}
8912
8913
8914static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8915 PyObject *resultobj;
8916 wxGrid *arg1 = (wxGrid *) 0 ;
8917 wxColour result;
8918 PyObject * obj0 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "self", NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelTextColour",kwnames,&obj0)) goto fail;
8924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8925 {
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 result = (arg1)->GetLabelTextColour();
8928
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
8932 {
8933 wxColour * resultptr;
8934 resultptr = new wxColour((wxColour &) result);
8935 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
8936 }
8937 return resultobj;
8938 fail:
8939 return NULL;
8940}
8941
8942
8943static PyObject *_wrap_Grid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj;
8945 wxGrid *arg1 = (wxGrid *) 0 ;
8946 wxFont result;
8947 PyObject * obj0 = 0 ;
8948 char *kwnames[] = {
8949 (char *) "self", NULL
8950 };
8951
8952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelFont",kwnames,&obj0)) goto fail;
8953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8954 {
8955 PyThreadState* __tstate = wxPyBeginAllowThreads();
8956 result = (arg1)->GetLabelFont();
8957
8958 wxPyEndAllowThreads(__tstate);
8959 if (PyErr_Occurred()) SWIG_fail;
8960 }
8961 {
8962 wxFont * resultptr;
8963 resultptr = new wxFont((wxFont &) result);
8964 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
8965 }
8966 return resultobj;
8967 fail:
8968 return NULL;
8969}
8970
8971
8972static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8973 PyObject *resultobj;
8974 wxGrid *arg1 = (wxGrid *) 0 ;
8975 int *arg2 = (int *) 0 ;
8976 int *arg3 = (int *) 0 ;
8977 int temp2 ;
8978 int temp3 ;
8979 PyObject * obj0 = 0 ;
8980 char *kwnames[] = {
8981 (char *) "self", NULL
8982 };
8983
8984 arg2 = &temp2;
8985 arg3 = &temp3;
8986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelAlignment",kwnames,&obj0)) goto fail;
8987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
8990 (arg1)->GetRowLabelAlignment(arg2,arg3);
8991
8992 wxPyEndAllowThreads(__tstate);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 Py_INCREF(Py_None); resultobj = Py_None;
8996 {
8997 PyObject *o = PyInt_FromLong((long) (*arg2));
8998 resultobj = t_output_helper(resultobj,o);
8999 }
9000 {
9001 PyObject *o = PyInt_FromLong((long) (*arg3));
9002 resultobj = t_output_helper(resultobj,o);
9003 }
9004 return resultobj;
9005 fail:
9006 return NULL;
9007}
9008
9009
9010static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9011 PyObject *resultobj;
9012 wxGrid *arg1 = (wxGrid *) 0 ;
9013 int *arg2 = (int *) 0 ;
9014 int *arg3 = (int *) 0 ;
9015 int temp2 ;
9016 int temp3 ;
9017 PyObject * obj0 = 0 ;
9018 char *kwnames[] = {
9019 (char *) "self", NULL
9020 };
9021
9022 arg2 = &temp2;
9023 arg3 = &temp3;
9024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelAlignment",kwnames,&obj0)) goto fail;
9025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 (arg1)->GetColLabelAlignment(arg2,arg3);
9029
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 Py_INCREF(Py_None); resultobj = Py_None;
9034 {
9035 PyObject *o = PyInt_FromLong((long) (*arg2));
9036 resultobj = t_output_helper(resultobj,o);
9037 }
9038 {
9039 PyObject *o = PyInt_FromLong((long) (*arg3));
9040 resultobj = t_output_helper(resultobj,o);
9041 }
9042 return resultobj;
9043 fail:
9044 return NULL;
9045}
9046
9047
9048static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
9049 PyObject *resultobj;
9050 wxGrid *arg1 = (wxGrid *) 0 ;
9051 int result;
9052 PyObject * obj0 = 0 ;
9053 char *kwnames[] = {
9054 (char *) "self", NULL
9055 };
9056
9057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelTextOrientation",kwnames,&obj0)) goto fail;
9058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9059 {
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 result = (int)(arg1)->GetColLabelTextOrientation();
9062
9063 wxPyEndAllowThreads(__tstate);
9064 if (PyErr_Occurred()) SWIG_fail;
9065 }
9066 resultobj = PyInt_FromLong((long)result);
9067 return resultobj;
9068 fail:
9069 return NULL;
9070}
9071
9072
9073static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9074 PyObject *resultobj;
9075 wxGrid *arg1 = (wxGrid *) 0 ;
9076 int arg2 ;
9077 wxString result;
9078 PyObject * obj0 = 0 ;
9079 char *kwnames[] = {
9080 (char *) "self",(char *) "row", NULL
9081 };
9082
9083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_GetRowLabelValue",kwnames,&obj0,&arg2)) goto fail;
9084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9085 {
9086 PyThreadState* __tstate = wxPyBeginAllowThreads();
9087 result = (arg1)->GetRowLabelValue(arg2);
9088
9089 wxPyEndAllowThreads(__tstate);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 }
9092 {
9093#if wxUSE_UNICODE
9094 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9095#else
9096 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9097#endif
9098 }
9099 return resultobj;
9100 fail:
9101 return NULL;
9102}
9103
9104
9105static PyObject *_wrap_Grid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9106 PyObject *resultobj;
9107 wxGrid *arg1 = (wxGrid *) 0 ;
9108 int arg2 ;
9109 wxString result;
9110 PyObject * obj0 = 0 ;
9111 char *kwnames[] = {
9112 (char *) "self",(char *) "col", NULL
9113 };
9114
9115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_GetColLabelValue",kwnames,&obj0,&arg2)) goto fail;
9116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9117 {
9118 PyThreadState* __tstate = wxPyBeginAllowThreads();
9119 result = (arg1)->GetColLabelValue(arg2);
9120
9121 wxPyEndAllowThreads(__tstate);
9122 if (PyErr_Occurred()) SWIG_fail;
9123 }
9124 {
9125#if wxUSE_UNICODE
9126 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9127#else
9128 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9129#endif
9130 }
9131 return resultobj;
9132 fail:
9133 return NULL;
9134}
9135
9136
9137static PyObject *_wrap_Grid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9138 PyObject *resultobj;
9139 wxGrid *arg1 = (wxGrid *) 0 ;
9140 wxColour result;
9141 PyObject * obj0 = 0 ;
9142 char *kwnames[] = {
9143 (char *) "self", NULL
9144 };
9145
9146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridLineColour",kwnames,&obj0)) goto fail;
9147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9148 {
9149 PyThreadState* __tstate = wxPyBeginAllowThreads();
9150 result = (arg1)->GetGridLineColour();
9151
9152 wxPyEndAllowThreads(__tstate);
9153 if (PyErr_Occurred()) SWIG_fail;
9154 }
9155 {
9156 wxColour * resultptr;
9157 resultptr = new wxColour((wxColour &) result);
9158 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9159 }
9160 return resultobj;
9161 fail:
9162 return NULL;
9163}
9164
9165
9166static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9167 PyObject *resultobj;
9168 wxGrid *arg1 = (wxGrid *) 0 ;
9169 wxColour result;
9170 PyObject * obj0 = 0 ;
9171 char *kwnames[] = {
9172 (char *) "self", NULL
9173 };
9174
9175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightColour",kwnames,&obj0)) goto fail;
9176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9177 {
9178 PyThreadState* __tstate = wxPyBeginAllowThreads();
9179 result = (arg1)->GetCellHighlightColour();
9180
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
9184 {
9185 wxColour * resultptr;
9186 resultptr = new wxColour((wxColour &) result);
9187 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9188 }
9189 return resultobj;
9190 fail:
9191 return NULL;
9192}
9193
9194
9195static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9196 PyObject *resultobj;
9197 wxGrid *arg1 = (wxGrid *) 0 ;
9198 int result;
9199 PyObject * obj0 = 0 ;
9200 char *kwnames[] = {
9201 (char *) "self", NULL
9202 };
9203
9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames,&obj0)) goto fail;
9205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9206 {
9207 PyThreadState* __tstate = wxPyBeginAllowThreads();
9208 result = (int)(arg1)->GetCellHighlightPenWidth();
9209
9210 wxPyEndAllowThreads(__tstate);
9211 if (PyErr_Occurred()) SWIG_fail;
9212 }
9213 resultobj = PyInt_FromLong((long)result);
9214 return resultobj;
9215 fail:
9216 return NULL;
9217}
9218
9219
9220static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9221 PyObject *resultobj;
9222 wxGrid *arg1 = (wxGrid *) 0 ;
9223 int result;
9224 PyObject * obj0 = 0 ;
9225 char *kwnames[] = {
9226 (char *) "self", NULL
9227 };
9228
9229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames,&obj0)) goto fail;
9230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9231 {
9232 PyThreadState* __tstate = wxPyBeginAllowThreads();
9233 result = (int)(arg1)->GetCellHighlightROPenWidth();
9234
9235 wxPyEndAllowThreads(__tstate);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 }
9238 resultobj = PyInt_FromLong((long)result);
9239 return resultobj;
9240 fail:
9241 return NULL;
9242}
9243
9244
9245static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9246 PyObject *resultobj;
9247 wxGrid *arg1 = (wxGrid *) 0 ;
9248 int arg2 ;
9249 PyObject * obj0 = 0 ;
9250 char *kwnames[] = {
9251 (char *) "self",(char *) "width", NULL
9252 };
9253
9254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetRowLabelSize",kwnames,&obj0,&arg2)) goto fail;
9255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9256 {
9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
9258 (arg1)->SetRowLabelSize(arg2);
9259
9260 wxPyEndAllowThreads(__tstate);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 }
9263 Py_INCREF(Py_None); resultobj = Py_None;
9264 return resultobj;
9265 fail:
9266 return NULL;
9267}
9268
9269
9270static PyObject *_wrap_Grid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9271 PyObject *resultobj;
9272 wxGrid *arg1 = (wxGrid *) 0 ;
9273 int arg2 ;
9274 PyObject * obj0 = 0 ;
9275 char *kwnames[] = {
9276 (char *) "self",(char *) "height", NULL
9277 };
9278
9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetColLabelSize",kwnames,&obj0,&arg2)) goto fail;
9280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 (arg1)->SetColLabelSize(arg2);
9284
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
9288 Py_INCREF(Py_None); resultobj = Py_None;
9289 return resultobj;
9290 fail:
9291 return NULL;
9292}
9293
9294
9295static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9296 PyObject *resultobj;
9297 wxGrid *arg1 = (wxGrid *) 0 ;
9298 wxColour *arg2 = 0 ;
9299 wxColour temp2 ;
9300 PyObject * obj0 = 0 ;
9301 PyObject * obj1 = 0 ;
9302 char *kwnames[] = {
9303 (char *) "self","arg2", NULL
9304 };
9305
9306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
9307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9308 {
9309 arg2 = &temp2;
9310 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9311 }
9312 {
9313 PyThreadState* __tstate = wxPyBeginAllowThreads();
9314 (arg1)->SetLabelBackgroundColour((wxColour const &)*arg2);
9315
9316 wxPyEndAllowThreads(__tstate);
9317 if (PyErr_Occurred()) SWIG_fail;
9318 }
9319 Py_INCREF(Py_None); resultobj = Py_None;
9320 return resultobj;
9321 fail:
9322 return NULL;
9323}
9324
9325
9326static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9327 PyObject *resultobj;
9328 wxGrid *arg1 = (wxGrid *) 0 ;
9329 wxColour *arg2 = 0 ;
9330 wxColour temp2 ;
9331 PyObject * obj0 = 0 ;
9332 PyObject * obj1 = 0 ;
9333 char *kwnames[] = {
9334 (char *) "self","arg2", NULL
9335 };
9336
9337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelTextColour",kwnames,&obj0,&obj1)) goto fail;
9338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9339 {
9340 arg2 = &temp2;
9341 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9342 }
9343 {
9344 PyThreadState* __tstate = wxPyBeginAllowThreads();
9345 (arg1)->SetLabelTextColour((wxColour const &)*arg2);
9346
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 Py_INCREF(Py_None); resultobj = Py_None;
9351 return resultobj;
9352 fail:
9353 return NULL;
9354}
9355
9356
9357static PyObject *_wrap_Grid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9358 PyObject *resultobj;
9359 wxGrid *arg1 = (wxGrid *) 0 ;
9360 wxFont *arg2 = 0 ;
9361 PyObject * obj0 = 0 ;
9362 PyObject * obj1 = 0 ;
9363 char *kwnames[] = {
9364 (char *) "self","arg2", NULL
9365 };
9366
9367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelFont",kwnames,&obj0,&obj1)) goto fail;
9368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9370 if (arg2 == NULL) {
9371 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9372 }
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 (arg1)->SetLabelFont((wxFont const &)*arg2);
9376
9377 wxPyEndAllowThreads(__tstate);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
9380 Py_INCREF(Py_None); resultobj = Py_None;
9381 return resultobj;
9382 fail:
9383 return NULL;
9384}
9385
9386
9387static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9388 PyObject *resultobj;
9389 wxGrid *arg1 = (wxGrid *) 0 ;
9390 int arg2 ;
9391 int arg3 ;
9392 PyObject * obj0 = 0 ;
9393 char *kwnames[] = {
9394 (char *) "self",(char *) "horiz",(char *) "vert", NULL
9395 };
9396
9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetRowLabelAlignment",kwnames,&obj0,&arg2,&arg3)) goto fail;
9398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9399 {
9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
9401 (arg1)->SetRowLabelAlignment(arg2,arg3);
9402
9403 wxPyEndAllowThreads(__tstate);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 }
9406 Py_INCREF(Py_None); resultobj = Py_None;
9407 return resultobj;
9408 fail:
9409 return NULL;
9410}
9411
9412
9413static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9414 PyObject *resultobj;
9415 wxGrid *arg1 = (wxGrid *) 0 ;
9416 int arg2 ;
9417 int arg3 ;
9418 PyObject * obj0 = 0 ;
9419 char *kwnames[] = {
9420 (char *) "self",(char *) "horiz",(char *) "vert", NULL
9421 };
9422
9423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetColLabelAlignment",kwnames,&obj0,&arg2,&arg3)) goto fail;
9424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9425 {
9426 PyThreadState* __tstate = wxPyBeginAllowThreads();
9427 (arg1)->SetColLabelAlignment(arg2,arg3);
9428
9429 wxPyEndAllowThreads(__tstate);
9430 if (PyErr_Occurred()) SWIG_fail;
9431 }
9432 Py_INCREF(Py_None); resultobj = Py_None;
9433 return resultobj;
9434 fail:
9435 return NULL;
9436}
9437
9438
9439static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
9440 PyObject *resultobj;
9441 wxGrid *arg1 = (wxGrid *) 0 ;
9442 int arg2 ;
9443 PyObject * obj0 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "self",(char *) "textOrientation", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetColLabelTextOrientation",kwnames,&obj0,&arg2)) goto fail;
9449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 (arg1)->SetColLabelTextOrientation(arg2);
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 Py_INCREF(Py_None); resultobj = Py_None;
9458 return resultobj;
9459 fail:
9460 return NULL;
9461}
9462
9463
9464static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj;
9466 wxGrid *arg1 = (wxGrid *) 0 ;
9467 int arg2 ;
9468 wxString *arg3 = 0 ;
e811c8ce 9469 bool temp3 = False ;
d14a1e28
RD
9470 PyObject * obj0 = 0 ;
9471 PyObject * obj2 = 0 ;
9472 char *kwnames[] = {
9473 (char *) "self",(char *) "row","arg3", NULL
9474 };
9475
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Grid_SetRowLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail;
9477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9478 {
9479 arg3 = wxString_in_helper(obj2);
9480 if (arg3 == NULL) SWIG_fail;
e811c8ce 9481 temp3 = True;
d14a1e28
RD
9482 }
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
9486
9487 wxPyEndAllowThreads(__tstate);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 }
9490 Py_INCREF(Py_None); resultobj = Py_None;
9491 {
9492 if (temp3)
9493 delete arg3;
9494 }
9495 return resultobj;
9496 fail:
9497 {
9498 if (temp3)
9499 delete arg3;
9500 }
9501 return NULL;
9502}
9503
9504
9505static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9506 PyObject *resultobj;
9507 wxGrid *arg1 = (wxGrid *) 0 ;
9508 int arg2 ;
9509 wxString *arg3 = 0 ;
e811c8ce 9510 bool temp3 = False ;
d14a1e28
RD
9511 PyObject * obj0 = 0 ;
9512 PyObject * obj2 = 0 ;
9513 char *kwnames[] = {
9514 (char *) "self",(char *) "col","arg3", NULL
9515 };
9516
9517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Grid_SetColLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail;
9518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9519 {
9520 arg3 = wxString_in_helper(obj2);
9521 if (arg3 == NULL) SWIG_fail;
e811c8ce 9522 temp3 = True;
d14a1e28
RD
9523 }
9524 {
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
9527
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
9531 Py_INCREF(Py_None); resultobj = Py_None;
9532 {
9533 if (temp3)
9534 delete arg3;
9535 }
9536 return resultobj;
9537 fail:
9538 {
9539 if (temp3)
9540 delete arg3;
9541 }
9542 return NULL;
9543}
9544
9545
9546static PyObject *_wrap_Grid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9547 PyObject *resultobj;
9548 wxGrid *arg1 = (wxGrid *) 0 ;
9549 wxColour *arg2 = 0 ;
9550 wxColour temp2 ;
9551 PyObject * obj0 = 0 ;
9552 PyObject * obj1 = 0 ;
9553 char *kwnames[] = {
9554 (char *) "self","arg2", NULL
9555 };
9556
9557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetGridLineColour",kwnames,&obj0,&obj1)) goto fail;
9558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9559 {
9560 arg2 = &temp2;
9561 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9562 }
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9565 (arg1)->SetGridLineColour((wxColour const &)*arg2);
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
9570 Py_INCREF(Py_None); resultobj = Py_None;
9571 return resultobj;
9572 fail:
9573 return NULL;
9574}
9575
9576
9577static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9578 PyObject *resultobj;
9579 wxGrid *arg1 = (wxGrid *) 0 ;
9580 wxColour *arg2 = 0 ;
9581 wxColour temp2 ;
9582 PyObject * obj0 = 0 ;
9583 PyObject * obj1 = 0 ;
9584 char *kwnames[] = {
9585 (char *) "self","arg2", NULL
9586 };
9587
9588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightColour",kwnames,&obj0,&obj1)) goto fail;
9589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9590 {
9591 arg2 = &temp2;
9592 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9593 }
9594 {
9595 PyThreadState* __tstate = wxPyBeginAllowThreads();
9596 (arg1)->SetCellHighlightColour((wxColour const &)*arg2);
9597
9598 wxPyEndAllowThreads(__tstate);
9599 if (PyErr_Occurred()) SWIG_fail;
9600 }
9601 Py_INCREF(Py_None); resultobj = Py_None;
9602 return resultobj;
9603 fail:
9604 return NULL;
9605}
9606
9607
9608static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9609 PyObject *resultobj;
9610 wxGrid *arg1 = (wxGrid *) 0 ;
9611 int arg2 ;
9612 PyObject * obj0 = 0 ;
9613 char *kwnames[] = {
9614 (char *) "self",(char *) "width", NULL
9615 };
9616
9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetCellHighlightPenWidth",kwnames,&obj0,&arg2)) goto fail;
9618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9619 {
9620 PyThreadState* __tstate = wxPyBeginAllowThreads();
9621 (arg1)->SetCellHighlightPenWidth(arg2);
9622
9623 wxPyEndAllowThreads(__tstate);
9624 if (PyErr_Occurred()) SWIG_fail;
9625 }
9626 Py_INCREF(Py_None); resultobj = Py_None;
9627 return resultobj;
9628 fail:
9629 return NULL;
9630}
9631
9632
9633static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9634 PyObject *resultobj;
9635 wxGrid *arg1 = (wxGrid *) 0 ;
9636 int arg2 ;
9637 PyObject * obj0 = 0 ;
9638 char *kwnames[] = {
9639 (char *) "self",(char *) "width", NULL
9640 };
9641
9642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetCellHighlightROPenWidth",kwnames,&obj0,&arg2)) goto fail;
9643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9644 {
9645 PyThreadState* __tstate = wxPyBeginAllowThreads();
9646 (arg1)->SetCellHighlightROPenWidth(arg2);
9647
9648 wxPyEndAllowThreads(__tstate);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 }
9651 Py_INCREF(Py_None); resultobj = Py_None;
9652 return resultobj;
9653 fail:
9654 return NULL;
9655}
9656
9657
9658static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9659 PyObject *resultobj;
9660 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 9661 bool arg2 = (bool) True ;
d14a1e28
RD
9662 PyObject * obj0 = 0 ;
9663 PyObject * obj1 = 0 ;
9664 char *kwnames[] = {
9665 (char *) "self",(char *) "enable", NULL
9666 };
9667
9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragRowSize",kwnames,&obj0,&obj1)) goto fail;
9669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9670 if (obj1) {
9671 arg2 = PyInt_AsLong(obj1) ? true : false;
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 (arg1)->EnableDragRowSize(arg2);
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 Py_INCREF(Py_None); resultobj = Py_None;
9682 return resultobj;
9683 fail:
9684 return NULL;
9685}
9686
9687
9688static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9689 PyObject *resultobj;
9690 wxGrid *arg1 = (wxGrid *) 0 ;
9691 PyObject * obj0 = 0 ;
9692 char *kwnames[] = {
9693 (char *) "self", NULL
9694 };
9695
9696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragRowSize",kwnames,&obj0)) goto fail;
9697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9698 {
9699 PyThreadState* __tstate = wxPyBeginAllowThreads();
9700 (arg1)->DisableDragRowSize();
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_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9713 PyObject *resultobj;
9714 wxGrid *arg1 = (wxGrid *) 0 ;
9715 bool result;
9716 PyObject * obj0 = 0 ;
9717 char *kwnames[] = {
9718 (char *) "self", NULL
9719 };
9720
9721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragRowSize",kwnames,&obj0)) goto fail;
9722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9723 {
9724 PyThreadState* __tstate = wxPyBeginAllowThreads();
9725 result = (bool)(arg1)->CanDragRowSize();
9726
9727 wxPyEndAllowThreads(__tstate);
9728 if (PyErr_Occurred()) SWIG_fail;
9729 }
9730 resultobj = PyInt_FromLong((long)result);
9731 return resultobj;
9732 fail:
9733 return NULL;
9734}
9735
9736
9737static PyObject *_wrap_Grid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9738 PyObject *resultobj;
9739 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 9740 bool arg2 = (bool) True ;
d14a1e28
RD
9741 PyObject * obj0 = 0 ;
9742 PyObject * obj1 = 0 ;
9743 char *kwnames[] = {
9744 (char *) "self",(char *) "enable", NULL
9745 };
9746
9747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragColSize",kwnames,&obj0,&obj1)) goto fail;
9748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9749 if (obj1) {
9750 arg2 = PyInt_AsLong(obj1) ? true : false;
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 (arg1)->EnableDragColSize(arg2);
9756
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 Py_INCREF(Py_None); resultobj = Py_None;
9761 return resultobj;
9762 fail:
9763 return NULL;
9764}
9765
9766
9767static PyObject *_wrap_Grid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9768 PyObject *resultobj;
9769 wxGrid *arg1 = (wxGrid *) 0 ;
9770 PyObject * obj0 = 0 ;
9771 char *kwnames[] = {
9772 (char *) "self", NULL
9773 };
9774
9775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragColSize",kwnames,&obj0)) goto fail;
9776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9777 {
9778 PyThreadState* __tstate = wxPyBeginAllowThreads();
9779 (arg1)->DisableDragColSize();
9780
9781 wxPyEndAllowThreads(__tstate);
9782 if (PyErr_Occurred()) SWIG_fail;
9783 }
9784 Py_INCREF(Py_None); resultobj = Py_None;
9785 return resultobj;
9786 fail:
9787 return NULL;
9788}
9789
9790
9791static PyObject *_wrap_Grid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9792 PyObject *resultobj;
9793 wxGrid *arg1 = (wxGrid *) 0 ;
9794 bool result;
9795 PyObject * obj0 = 0 ;
9796 char *kwnames[] = {
9797 (char *) "self", NULL
9798 };
9799
9800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragColSize",kwnames,&obj0)) goto fail;
9801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9802 {
9803 PyThreadState* __tstate = wxPyBeginAllowThreads();
9804 result = (bool)(arg1)->CanDragColSize();
9805
9806 wxPyEndAllowThreads(__tstate);
9807 if (PyErr_Occurred()) SWIG_fail;
9808 }
9809 resultobj = PyInt_FromLong((long)result);
9810 return resultobj;
9811 fail:
9812 return NULL;
9813}
9814
9815
9816static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9817 PyObject *resultobj;
9818 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 9819 bool arg2 = (bool) True ;
d14a1e28
RD
9820 PyObject * obj0 = 0 ;
9821 PyObject * obj1 = 0 ;
9822 char *kwnames[] = {
9823 (char *) "self",(char *) "enable", NULL
9824 };
9825
9826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragGridSize",kwnames,&obj0,&obj1)) goto fail;
9827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9828 if (obj1) {
9829 arg2 = PyInt_AsLong(obj1) ? true : false;
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 {
9833 PyThreadState* __tstate = wxPyBeginAllowThreads();
9834 (arg1)->EnableDragGridSize(arg2);
9835
9836 wxPyEndAllowThreads(__tstate);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
9839 Py_INCREF(Py_None); resultobj = Py_None;
9840 return resultobj;
9841 fail:
9842 return NULL;
9843}
9844
9845
9846static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9847 PyObject *resultobj;
9848 wxGrid *arg1 = (wxGrid *) 0 ;
9849 PyObject * obj0 = 0 ;
9850 char *kwnames[] = {
9851 (char *) "self", NULL
9852 };
9853
9854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragGridSize",kwnames,&obj0)) goto fail;
9855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9856 {
9857 PyThreadState* __tstate = wxPyBeginAllowThreads();
9858 (arg1)->DisableDragGridSize();
9859
9860 wxPyEndAllowThreads(__tstate);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 Py_INCREF(Py_None); resultobj = Py_None;
9864 return resultobj;
9865 fail:
9866 return NULL;
9867}
9868
9869
9870static PyObject *_wrap_Grid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9871 PyObject *resultobj;
9872 wxGrid *arg1 = (wxGrid *) 0 ;
9873 bool result;
9874 PyObject * obj0 = 0 ;
9875 char *kwnames[] = {
9876 (char *) "self", NULL
9877 };
9878
9879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragGridSize",kwnames,&obj0)) goto fail;
9880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 result = (bool)(arg1)->CanDragGridSize();
9884
9885 wxPyEndAllowThreads(__tstate);
9886 if (PyErr_Occurred()) SWIG_fail;
9887 }
9888 resultobj = PyInt_FromLong((long)result);
9889 return resultobj;
9890 fail:
9891 return NULL;
9892}
9893
9894
9895static PyObject *_wrap_Grid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9896 PyObject *resultobj;
9897 wxGrid *arg1 = (wxGrid *) 0 ;
9898 int arg2 ;
9899 int arg3 ;
9900 wxGridCellAttr *arg4 = (wxGridCellAttr *) 0 ;
9901 PyObject * obj0 = 0 ;
9902 PyObject * obj3 = 0 ;
9903 char *kwnames[] = {
9904 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
9905 };
9906
9907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetAttr",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
9908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9909 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9910 {
9911 PyThreadState* __tstate = wxPyBeginAllowThreads();
9912 (arg1)->SetAttr(arg2,arg3,arg4);
9913
9914 wxPyEndAllowThreads(__tstate);
9915 if (PyErr_Occurred()) SWIG_fail;
9916 }
9917 Py_INCREF(Py_None); resultobj = Py_None;
9918 return resultobj;
9919 fail:
9920 return NULL;
9921}
9922
9923
9924static PyObject *_wrap_Grid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9925 PyObject *resultobj;
9926 wxGrid *arg1 = (wxGrid *) 0 ;
9927 int arg2 ;
9928 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
9929 PyObject * obj0 = 0 ;
9930 PyObject * obj2 = 0 ;
9931 char *kwnames[] = {
9932 (char *) "self",(char *) "row",(char *) "attr", NULL
9933 };
9934
9935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Grid_SetRowAttr",kwnames,&obj0,&arg2,&obj2)) goto fail;
9936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9937 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9938 {
9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
9940 (arg1)->SetRowAttr(arg2,arg3);
9941
9942 wxPyEndAllowThreads(__tstate);
9943 if (PyErr_Occurred()) SWIG_fail;
9944 }
9945 Py_INCREF(Py_None); resultobj = Py_None;
9946 return resultobj;
9947 fail:
9948 return NULL;
9949}
9950
9951
9952static PyObject *_wrap_Grid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9953 PyObject *resultobj;
9954 wxGrid *arg1 = (wxGrid *) 0 ;
9955 int arg2 ;
9956 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
9957 PyObject * obj0 = 0 ;
9958 PyObject * obj2 = 0 ;
9959 char *kwnames[] = {
9960 (char *) "self",(char *) "col",(char *) "attr", NULL
9961 };
9962
9963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Grid_SetColAttr",kwnames,&obj0,&arg2,&obj2)) goto fail;
9964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9965 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9966 {
9967 PyThreadState* __tstate = wxPyBeginAllowThreads();
9968 (arg1)->SetColAttr(arg2,arg3);
9969
9970 wxPyEndAllowThreads(__tstate);
9971 if (PyErr_Occurred()) SWIG_fail;
9972 }
9973 Py_INCREF(Py_None); resultobj = Py_None;
9974 return resultobj;
9975 fail:
9976 return NULL;
9977}
9978
9979
9980static PyObject *_wrap_Grid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
9981 PyObject *resultobj;
9982 wxGrid *arg1 = (wxGrid *) 0 ;
9983 int arg2 ;
9984 PyObject * obj0 = 0 ;
9985 char *kwnames[] = {
9986 (char *) "self",(char *) "col", NULL
9987 };
9988
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetColFormatBool",kwnames,&obj0,&arg2)) goto fail;
9990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 (arg1)->SetColFormatBool(arg2);
9994
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 }
9998 Py_INCREF(Py_None); resultobj = Py_None;
9999 return resultobj;
10000 fail:
10001 return NULL;
10002}
10003
10004
10005static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
10006 PyObject *resultobj;
10007 wxGrid *arg1 = (wxGrid *) 0 ;
10008 int arg2 ;
10009 PyObject * obj0 = 0 ;
10010 char *kwnames[] = {
10011 (char *) "self",(char *) "col", NULL
10012 };
10013
10014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetColFormatNumber",kwnames,&obj0,&arg2)) goto fail;
10015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10016 {
10017 PyThreadState* __tstate = wxPyBeginAllowThreads();
10018 (arg1)->SetColFormatNumber(arg2);
10019
10020 wxPyEndAllowThreads(__tstate);
10021 if (PyErr_Occurred()) SWIG_fail;
10022 }
10023 Py_INCREF(Py_None); resultobj = Py_None;
10024 return resultobj;
10025 fail:
10026 return NULL;
10027}
10028
10029
10030static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
10031 PyObject *resultobj;
10032 wxGrid *arg1 = (wxGrid *) 0 ;
10033 int arg2 ;
10034 int arg3 = (int) -1 ;
10035 int arg4 = (int) -1 ;
10036 PyObject * obj0 = 0 ;
10037 char *kwnames[] = {
10038 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
10039 };
10040
10041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:Grid_SetColFormatFloat",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10043 {
10044 PyThreadState* __tstate = wxPyBeginAllowThreads();
10045 (arg1)->SetColFormatFloat(arg2,arg3,arg4);
10046
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) SWIG_fail;
10049 }
10050 Py_INCREF(Py_None); resultobj = Py_None;
10051 return resultobj;
10052 fail:
10053 return NULL;
10054}
10055
10056
10057static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
10058 PyObject *resultobj;
10059 wxGrid *arg1 = (wxGrid *) 0 ;
10060 int arg2 ;
10061 wxString *arg3 = 0 ;
e811c8ce 10062 bool temp3 = False ;
d14a1e28
RD
10063 PyObject * obj0 = 0 ;
10064 PyObject * obj2 = 0 ;
10065 char *kwnames[] = {
10066 (char *) "self",(char *) "col",(char *) "typeName", NULL
10067 };
10068
10069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Grid_SetColFormatCustom",kwnames,&obj0,&arg2,&obj2)) goto fail;
10070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10071 {
10072 arg3 = wxString_in_helper(obj2);
10073 if (arg3 == NULL) SWIG_fail;
e811c8ce 10074 temp3 = True;
d14a1e28
RD
10075 }
10076 {
10077 PyThreadState* __tstate = wxPyBeginAllowThreads();
10078 (arg1)->SetColFormatCustom(arg2,(wxString const &)*arg3);
10079
10080 wxPyEndAllowThreads(__tstate);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
10083 Py_INCREF(Py_None); resultobj = Py_None;
10084 {
10085 if (temp3)
10086 delete arg3;
10087 }
10088 return resultobj;
10089 fail:
10090 {
10091 if (temp3)
10092 delete arg3;
10093 }
10094 return NULL;
10095}
10096
10097
10098static PyObject *_wrap_Grid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10099 PyObject *resultobj;
10100 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 10101 bool arg2 = (bool) True ;
d14a1e28
RD
10102 PyObject * obj0 = 0 ;
10103 PyObject * obj1 = 0 ;
10104 char *kwnames[] = {
10105 (char *) "self",(char *) "enable", NULL
10106 };
10107
10108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableGridLines",kwnames,&obj0,&obj1)) goto fail;
10109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10110 if (obj1) {
10111 arg2 = PyInt_AsLong(obj1) ? true : false;
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 {
10115 PyThreadState* __tstate = wxPyBeginAllowThreads();
10116 (arg1)->EnableGridLines(arg2);
10117
10118 wxPyEndAllowThreads(__tstate);
10119 if (PyErr_Occurred()) SWIG_fail;
10120 }
10121 Py_INCREF(Py_None); resultobj = Py_None;
10122 return resultobj;
10123 fail:
10124 return NULL;
10125}
10126
10127
10128static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10129 PyObject *resultobj;
10130 wxGrid *arg1 = (wxGrid *) 0 ;
10131 bool result;
10132 PyObject * obj0 = 0 ;
10133 char *kwnames[] = {
10134 (char *) "self", NULL
10135 };
10136
10137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GridLinesEnabled",kwnames,&obj0)) goto fail;
10138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10139 {
10140 PyThreadState* __tstate = wxPyBeginAllowThreads();
10141 result = (bool)(arg1)->GridLinesEnabled();
10142
10143 wxPyEndAllowThreads(__tstate);
10144 if (PyErr_Occurred()) SWIG_fail;
10145 }
10146 resultobj = PyInt_FromLong((long)result);
10147 return resultobj;
10148 fail:
10149 return NULL;
10150}
10151
10152
10153static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10154 PyObject *resultobj;
10155 wxGrid *arg1 = (wxGrid *) 0 ;
10156 int result;
10157 PyObject * obj0 = 0 ;
10158 char *kwnames[] = {
10159 (char *) "self", NULL
10160 };
10161
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowSize",kwnames,&obj0)) goto fail;
10163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10164 {
10165 PyThreadState* __tstate = wxPyBeginAllowThreads();
10166 result = (int)(arg1)->GetDefaultRowSize();
10167
10168 wxPyEndAllowThreads(__tstate);
10169 if (PyErr_Occurred()) SWIG_fail;
10170 }
10171 resultobj = PyInt_FromLong((long)result);
10172 return resultobj;
10173 fail:
10174 return NULL;
10175}
10176
10177
10178static PyObject *_wrap_Grid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10179 PyObject *resultobj;
10180 wxGrid *arg1 = (wxGrid *) 0 ;
10181 int arg2 ;
10182 int result;
10183 PyObject * obj0 = 0 ;
10184 char *kwnames[] = {
10185 (char *) "self",(char *) "row", NULL
10186 };
10187
10188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_GetRowSize",kwnames,&obj0,&arg2)) goto fail;
10189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10190 {
10191 PyThreadState* __tstate = wxPyBeginAllowThreads();
10192 result = (int)(arg1)->GetRowSize(arg2);
10193
10194 wxPyEndAllowThreads(__tstate);
10195 if (PyErr_Occurred()) SWIG_fail;
10196 }
10197 resultobj = PyInt_FromLong((long)result);
10198 return resultobj;
10199 fail:
10200 return NULL;
10201}
10202
10203
10204static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10205 PyObject *resultobj;
10206 wxGrid *arg1 = (wxGrid *) 0 ;
10207 int result;
10208 PyObject * obj0 = 0 ;
10209 char *kwnames[] = {
10210 (char *) "self", NULL
10211 };
10212
10213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColSize",kwnames,&obj0)) goto fail;
10214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 result = (int)(arg1)->GetDefaultColSize();
10218
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 resultobj = PyInt_FromLong((long)result);
10223 return resultobj;
10224 fail:
10225 return NULL;
10226}
10227
10228
10229static PyObject *_wrap_Grid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj;
10231 wxGrid *arg1 = (wxGrid *) 0 ;
10232 int arg2 ;
10233 int result;
10234 PyObject * obj0 = 0 ;
10235 char *kwnames[] = {
10236 (char *) "self",(char *) "col", NULL
10237 };
10238
10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_GetColSize",kwnames,&obj0,&arg2)) goto fail;
10240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10241 {
10242 PyThreadState* __tstate = wxPyBeginAllowThreads();
10243 result = (int)(arg1)->GetColSize(arg2);
10244
10245 wxPyEndAllowThreads(__tstate);
10246 if (PyErr_Occurred()) SWIG_fail;
10247 }
10248 resultobj = PyInt_FromLong((long)result);
10249 return resultobj;
10250 fail:
10251 return NULL;
10252}
10253
10254
10255static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10256 PyObject *resultobj;
10257 wxGrid *arg1 = (wxGrid *) 0 ;
10258 wxColour result;
10259 PyObject * obj0 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self", NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames,&obj0)) goto fail;
10265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 result = (arg1)->GetDefaultCellBackgroundColour();
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 {
10274 wxColour * resultptr;
10275 resultptr = new wxColour((wxColour &) result);
10276 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10277 }
10278 return resultobj;
10279 fail:
10280 return NULL;
10281}
10282
10283
10284static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10285 PyObject *resultobj;
10286 wxGrid *arg1 = (wxGrid *) 0 ;
10287 int arg2 ;
10288 int arg3 ;
10289 wxColour result;
10290 PyObject * obj0 = 0 ;
10291 char *kwnames[] = {
10292 (char *) "self",(char *) "row",(char *) "col", NULL
10293 };
10294
10295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellBackgroundColour",kwnames,&obj0,&arg2,&arg3)) goto fail;
10296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10297 {
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
10299 result = (arg1)->GetCellBackgroundColour(arg2,arg3);
10300
10301 wxPyEndAllowThreads(__tstate);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 }
10304 {
10305 wxColour * resultptr;
10306 resultptr = new wxColour((wxColour &) result);
10307 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10308 }
10309 return resultobj;
10310 fail:
10311 return NULL;
10312}
10313
10314
10315static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10316 PyObject *resultobj;
10317 wxGrid *arg1 = (wxGrid *) 0 ;
10318 wxColour result;
10319 PyObject * obj0 = 0 ;
10320 char *kwnames[] = {
10321 (char *) "self", NULL
10322 };
10323
10324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellTextColour",kwnames,&obj0)) goto fail;
10325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10326 {
10327 PyThreadState* __tstate = wxPyBeginAllowThreads();
10328 result = (arg1)->GetDefaultCellTextColour();
10329
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 {
10334 wxColour * resultptr;
10335 resultptr = new wxColour((wxColour &) result);
10336 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10337 }
10338 return resultobj;
10339 fail:
10340 return NULL;
10341}
10342
10343
10344static PyObject *_wrap_Grid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10345 PyObject *resultobj;
10346 wxGrid *arg1 = (wxGrid *) 0 ;
10347 int arg2 ;
10348 int arg3 ;
10349 wxColour result;
10350 PyObject * obj0 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self",(char *) "row",(char *) "col", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellTextColour",kwnames,&obj0,&arg2,&arg3)) goto fail;
10356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10357 {
10358 PyThreadState* __tstate = wxPyBeginAllowThreads();
10359 result = (arg1)->GetCellTextColour(arg2,arg3);
10360
10361 wxPyEndAllowThreads(__tstate);
10362 if (PyErr_Occurred()) SWIG_fail;
10363 }
10364 {
10365 wxColour * resultptr;
10366 resultptr = new wxColour((wxColour &) result);
10367 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10368 }
10369 return resultobj;
10370 fail:
10371 return NULL;
10372}
10373
10374
10375static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10376 PyObject *resultobj;
10377 wxGrid *arg1 = (wxGrid *) 0 ;
10378 wxFont result;
10379 PyObject * obj0 = 0 ;
10380 char *kwnames[] = {
10381 (char *) "self", NULL
10382 };
10383
10384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellFont",kwnames,&obj0)) goto fail;
10385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10386 {
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 result = (arg1)->GetDefaultCellFont();
10389
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 {
10394 wxFont * resultptr;
10395 resultptr = new wxFont((wxFont &) result);
10396 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
10397 }
10398 return resultobj;
10399 fail:
10400 return NULL;
10401}
10402
10403
10404static PyObject *_wrap_Grid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10405 PyObject *resultobj;
10406 wxGrid *arg1 = (wxGrid *) 0 ;
10407 int arg2 ;
10408 int arg3 ;
10409 wxFont result;
10410 PyObject * obj0 = 0 ;
10411 char *kwnames[] = {
10412 (char *) "self",(char *) "row",(char *) "col", NULL
10413 };
10414
10415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellFont",kwnames,&obj0,&arg2,&arg3)) goto fail;
10416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10417 {
10418 PyThreadState* __tstate = wxPyBeginAllowThreads();
10419 result = (arg1)->GetCellFont(arg2,arg3);
10420
10421 wxPyEndAllowThreads(__tstate);
10422 if (PyErr_Occurred()) SWIG_fail;
10423 }
10424 {
10425 wxFont * resultptr;
10426 resultptr = new wxFont((wxFont &) result);
10427 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
10428 }
10429 return resultobj;
10430 fail:
10431 return NULL;
10432}
10433
10434
10435static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10436 PyObject *resultobj;
10437 wxGrid *arg1 = (wxGrid *) 0 ;
10438 int *arg2 = (int *) 0 ;
10439 int *arg3 = (int *) 0 ;
10440 int temp2 ;
10441 int temp3 ;
10442 PyObject * obj0 = 0 ;
10443 char *kwnames[] = {
10444 (char *) "self", NULL
10445 };
10446
10447 arg2 = &temp2;
10448 arg3 = &temp3;
10449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellAlignment",kwnames,&obj0)) goto fail;
10450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10451 {
10452 PyThreadState* __tstate = wxPyBeginAllowThreads();
10453 (arg1)->GetDefaultCellAlignment(arg2,arg3);
10454
10455 wxPyEndAllowThreads(__tstate);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 }
10458 Py_INCREF(Py_None); resultobj = Py_None;
10459 {
10460 PyObject *o = PyInt_FromLong((long) (*arg2));
10461 resultobj = t_output_helper(resultobj,o);
10462 }
10463 {
10464 PyObject *o = PyInt_FromLong((long) (*arg3));
10465 resultobj = t_output_helper(resultobj,o);
10466 }
10467 return resultobj;
10468 fail:
10469 return NULL;
10470}
10471
10472
10473static PyObject *_wrap_Grid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10474 PyObject *resultobj;
10475 wxGrid *arg1 = (wxGrid *) 0 ;
10476 int arg2 ;
10477 int arg3 ;
10478 int *arg4 = (int *) 0 ;
10479 int *arg5 = (int *) 0 ;
10480 int temp4 ;
10481 int temp5 ;
10482 PyObject * obj0 = 0 ;
10483 char *kwnames[] = {
10484 (char *) "self",(char *) "row",(char *) "col", NULL
10485 };
10486
10487 arg4 = &temp4;
10488 arg5 = &temp5;
10489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellAlignment",kwnames,&obj0,&arg2,&arg3)) goto fail;
10490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 (arg1)->GetCellAlignment(arg2,arg3,arg4,arg5);
10494
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 Py_INCREF(Py_None); resultobj = Py_None;
10499 {
10500 PyObject *o = PyInt_FromLong((long) (*arg4));
10501 resultobj = t_output_helper(resultobj,o);
10502 }
10503 {
10504 PyObject *o = PyInt_FromLong((long) (*arg5));
10505 resultobj = t_output_helper(resultobj,o);
10506 }
10507 return resultobj;
10508 fail:
10509 return NULL;
10510}
10511
10512
10513static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
10514 PyObject *resultobj;
10515 wxGrid *arg1 = (wxGrid *) 0 ;
10516 bool result;
10517 PyObject * obj0 = 0 ;
10518 char *kwnames[] = {
10519 (char *) "self", NULL
10520 };
10521
10522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellOverflow",kwnames,&obj0)) goto fail;
10523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 result = (bool)(arg1)->GetDefaultCellOverflow();
10527
10528 wxPyEndAllowThreads(__tstate);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
10531 resultobj = PyInt_FromLong((long)result);
10532 return resultobj;
10533 fail:
10534 return NULL;
10535}
10536
10537
10538static PyObject *_wrap_Grid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
10539 PyObject *resultobj;
10540 wxGrid *arg1 = (wxGrid *) 0 ;
10541 int arg2 ;
10542 int arg3 ;
10543 bool result;
10544 PyObject * obj0 = 0 ;
10545 char *kwnames[] = {
10546 (char *) "self",(char *) "row",(char *) "col", NULL
10547 };
10548
10549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellOverflow",kwnames,&obj0,&arg2,&arg3)) goto fail;
10550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 result = (bool)(arg1)->GetCellOverflow(arg2,arg3);
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 resultobj = PyInt_FromLong((long)result);
10559 return resultobj;
10560 fail:
10561 return NULL;
10562}
10563
10564
10565static PyObject *_wrap_Grid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10566 PyObject *resultobj;
10567 wxGrid *arg1 = (wxGrid *) 0 ;
10568 int arg2 ;
10569 int arg3 ;
10570 int *arg4 = (int *) 0 ;
10571 int *arg5 = (int *) 0 ;
10572 int temp4 ;
10573 int temp5 ;
10574 PyObject * obj0 = 0 ;
10575 char *kwnames[] = {
10576 (char *) "self",(char *) "row",(char *) "col", NULL
10577 };
10578
10579 arg4 = &temp4;
10580 arg5 = &temp5;
10581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10583 {
10584 PyThreadState* __tstate = wxPyBeginAllowThreads();
10585 (arg1)->GetCellSize(arg2,arg3,arg4,arg5);
10586
10587 wxPyEndAllowThreads(__tstate);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
10590 Py_INCREF(Py_None); resultobj = Py_None;
10591 {
10592 PyObject *o = PyInt_FromLong((long) (*arg4));
10593 resultobj = t_output_helper(resultobj,o);
10594 }
10595 {
10596 PyObject *o = PyInt_FromLong((long) (*arg5));
10597 resultobj = t_output_helper(resultobj,o);
10598 }
10599 return resultobj;
10600 fail:
10601 return NULL;
10602}
10603
10604
10605static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10606 PyObject *resultobj;
10607 wxGrid *arg1 = (wxGrid *) 0 ;
10608 int arg2 ;
e811c8ce 10609 bool arg3 = (bool) False ;
d14a1e28
RD
10610 PyObject * obj0 = 0 ;
10611 PyObject * obj2 = 0 ;
10612 char *kwnames[] = {
10613 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
10614 };
10615
10616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_SetDefaultRowSize",kwnames,&obj0,&arg2,&obj2)) goto fail;
10617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10618 if (obj2) {
10619 arg3 = PyInt_AsLong(obj2) ? true : false;
10620 if (PyErr_Occurred()) SWIG_fail;
10621 }
10622 {
10623 PyThreadState* __tstate = wxPyBeginAllowThreads();
10624 (arg1)->SetDefaultRowSize(arg2,arg3);
10625
10626 wxPyEndAllowThreads(__tstate);
10627 if (PyErr_Occurred()) SWIG_fail;
10628 }
10629 Py_INCREF(Py_None); resultobj = Py_None;
10630 return resultobj;
10631 fail:
10632 return NULL;
10633}
10634
10635
10636static PyObject *_wrap_Grid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10637 PyObject *resultobj;
10638 wxGrid *arg1 = (wxGrid *) 0 ;
10639 int arg2 ;
10640 int arg3 ;
10641 PyObject * obj0 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self",(char *) "row",(char *) "height", NULL
10644 };
10645
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetRowSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 (arg1)->SetRowSize(arg2,arg3);
10651
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 Py_INCREF(Py_None); resultobj = Py_None;
10656 return resultobj;
10657 fail:
10658 return NULL;
10659}
10660
10661
10662static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj;
10664 wxGrid *arg1 = (wxGrid *) 0 ;
10665 int arg2 ;
e811c8ce 10666 bool arg3 = (bool) False ;
d14a1e28
RD
10667 PyObject * obj0 = 0 ;
10668 PyObject * obj2 = 0 ;
10669 char *kwnames[] = {
10670 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
10671 };
10672
10673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_SetDefaultColSize",kwnames,&obj0,&arg2,&obj2)) goto fail;
10674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10675 if (obj2) {
10676 arg3 = PyInt_AsLong(obj2) ? true : false;
10677 if (PyErr_Occurred()) SWIG_fail;
10678 }
10679 {
10680 PyThreadState* __tstate = wxPyBeginAllowThreads();
10681 (arg1)->SetDefaultColSize(arg2,arg3);
10682
10683 wxPyEndAllowThreads(__tstate);
10684 if (PyErr_Occurred()) SWIG_fail;
10685 }
10686 Py_INCREF(Py_None); resultobj = Py_None;
10687 return resultobj;
10688 fail:
10689 return NULL;
10690}
10691
10692
10693static PyObject *_wrap_Grid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10694 PyObject *resultobj;
10695 wxGrid *arg1 = (wxGrid *) 0 ;
10696 int arg2 ;
10697 int arg3 ;
10698 PyObject * obj0 = 0 ;
10699 char *kwnames[] = {
10700 (char *) "self",(char *) "col",(char *) "width", NULL
10701 };
10702
10703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetColSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10705 {
10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
10707 (arg1)->SetColSize(arg2,arg3);
10708
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 Py_INCREF(Py_None); resultobj = Py_None;
10713 return resultobj;
10714 fail:
10715 return NULL;
10716}
10717
10718
10719static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10720 PyObject *resultobj;
10721 wxGrid *arg1 = (wxGrid *) 0 ;
10722 int arg2 ;
e811c8ce 10723 bool arg3 = (bool) True ;
d14a1e28
RD
10724 PyObject * obj0 = 0 ;
10725 PyObject * obj2 = 0 ;
10726 char *kwnames[] = {
10727 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
10728 };
10729
10730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_AutoSizeColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
10731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10732 if (obj2) {
10733 arg3 = PyInt_AsLong(obj2) ? true : false;
10734 if (PyErr_Occurred()) SWIG_fail;
10735 }
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 (arg1)->AutoSizeColumn(arg2,arg3);
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 Py_INCREF(Py_None); resultobj = Py_None;
10744 return resultobj;
10745 fail:
10746 return NULL;
10747}
10748
10749
10750static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10751 PyObject *resultobj;
10752 wxGrid *arg1 = (wxGrid *) 0 ;
10753 int arg2 ;
e811c8ce 10754 bool arg3 = (bool) True ;
d14a1e28
RD
10755 PyObject * obj0 = 0 ;
10756 PyObject * obj2 = 0 ;
10757 char *kwnames[] = {
10758 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
10759 };
10760
10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_AutoSizeRow",kwnames,&obj0,&arg2,&obj2)) goto fail;
10762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10763 if (obj2) {
10764 arg3 = PyInt_AsLong(obj2) ? true : false;
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 {
10768 PyThreadState* __tstate = wxPyBeginAllowThreads();
10769 (arg1)->AutoSizeRow(arg2,arg3);
10770
10771 wxPyEndAllowThreads(__tstate);
10772 if (PyErr_Occurred()) SWIG_fail;
10773 }
10774 Py_INCREF(Py_None); resultobj = Py_None;
10775 return resultobj;
10776 fail:
10777 return NULL;
10778}
10779
10780
10781static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10782 PyObject *resultobj;
10783 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 10784 bool arg2 = (bool) True ;
d14a1e28
RD
10785 PyObject * obj0 = 0 ;
10786 PyObject * obj1 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "self",(char *) "setAsMin", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeColumns",kwnames,&obj0,&obj1)) goto fail;
10792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10793 if (obj1) {
10794 arg2 = PyInt_AsLong(obj1) ? true : false;
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 {
10798 PyThreadState* __tstate = wxPyBeginAllowThreads();
10799 (arg1)->AutoSizeColumns(arg2);
10800
10801 wxPyEndAllowThreads(__tstate);
10802 if (PyErr_Occurred()) SWIG_fail;
10803 }
10804 Py_INCREF(Py_None); resultobj = Py_None;
10805 return resultobj;
10806 fail:
10807 return NULL;
10808}
10809
10810
10811static PyObject *_wrap_Grid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
10812 PyObject *resultobj;
10813 wxGrid *arg1 = (wxGrid *) 0 ;
e811c8ce 10814 bool arg2 = (bool) True ;
d14a1e28
RD
10815 PyObject * obj0 = 0 ;
10816 PyObject * obj1 = 0 ;
10817 char *kwnames[] = {
10818 (char *) "self",(char *) "setAsMin", NULL
10819 };
10820
10821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeRows",kwnames,&obj0,&obj1)) goto fail;
10822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10823 if (obj1) {
10824 arg2 = PyInt_AsLong(obj1) ? true : false;
10825 if (PyErr_Occurred()) SWIG_fail;
10826 }
10827 {
10828 PyThreadState* __tstate = wxPyBeginAllowThreads();
10829 (arg1)->AutoSizeRows(arg2);
10830
10831 wxPyEndAllowThreads(__tstate);
10832 if (PyErr_Occurred()) SWIG_fail;
10833 }
10834 Py_INCREF(Py_None); resultobj = Py_None;
10835 return resultobj;
10836 fail:
10837 return NULL;
10838}
10839
10840
10841static PyObject *_wrap_Grid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10842 PyObject *resultobj;
10843 wxGrid *arg1 = (wxGrid *) 0 ;
10844 PyObject * obj0 = 0 ;
10845 char *kwnames[] = {
10846 (char *) "self", NULL
10847 };
10848
10849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_AutoSize",kwnames,&obj0)) goto fail;
10850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10851 {
10852 PyThreadState* __tstate = wxPyBeginAllowThreads();
10853 (arg1)->AutoSize();
10854
10855 wxPyEndAllowThreads(__tstate);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 Py_INCREF(Py_None); resultobj = Py_None;
10859 return resultobj;
10860 fail:
10861 return NULL;
10862}
10863
10864
10865static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10866 PyObject *resultobj;
10867 wxGrid *arg1 = (wxGrid *) 0 ;
10868 int arg2 ;
10869 PyObject * obj0 = 0 ;
10870 char *kwnames[] = {
10871 (char *) "self",(char *) "row", NULL
10872 };
10873
10874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_AutoSizeRowLabelSize",kwnames,&obj0,&arg2)) goto fail;
10875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10876 {
10877 PyThreadState* __tstate = wxPyBeginAllowThreads();
10878 (arg1)->AutoSizeRowLabelSize(arg2);
10879
10880 wxPyEndAllowThreads(__tstate);
10881 if (PyErr_Occurred()) SWIG_fail;
10882 }
10883 Py_INCREF(Py_None); resultobj = Py_None;
10884 return resultobj;
10885 fail:
10886 return NULL;
10887}
10888
10889
10890static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10891 PyObject *resultobj;
10892 wxGrid *arg1 = (wxGrid *) 0 ;
10893 int arg2 ;
10894 PyObject * obj0 = 0 ;
10895 char *kwnames[] = {
10896 (char *) "self",(char *) "col", NULL
10897 };
10898
10899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_AutoSizeColLabelSize",kwnames,&obj0,&arg2)) goto fail;
10900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 (arg1)->AutoSizeColLabelSize(arg2);
10904
10905 wxPyEndAllowThreads(__tstate);
10906 if (PyErr_Occurred()) SWIG_fail;
10907 }
10908 Py_INCREF(Py_None); resultobj = Py_None;
10909 return resultobj;
10910 fail:
10911 return NULL;
10912}
10913
10914
10915static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10916 PyObject *resultobj;
10917 wxGrid *arg1 = (wxGrid *) 0 ;
10918 int arg2 ;
10919 int arg3 ;
10920 PyObject * obj0 = 0 ;
10921 char *kwnames[] = {
10922 (char *) "self",(char *) "col",(char *) "width", NULL
10923 };
10924
10925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetColMinimalWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
10926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10927 {
10928 PyThreadState* __tstate = wxPyBeginAllowThreads();
10929 (arg1)->SetColMinimalWidth(arg2,arg3);
10930
10931 wxPyEndAllowThreads(__tstate);
10932 if (PyErr_Occurred()) SWIG_fail;
10933 }
10934 Py_INCREF(Py_None); resultobj = Py_None;
10935 return resultobj;
10936 fail:
10937 return NULL;
10938}
10939
10940
10941static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10942 PyObject *resultobj;
10943 wxGrid *arg1 = (wxGrid *) 0 ;
10944 int arg2 ;
10945 int arg3 ;
10946 PyObject * obj0 = 0 ;
10947 char *kwnames[] = {
10948 (char *) "self",(char *) "row",(char *) "width", NULL
10949 };
10950
10951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetRowMinimalHeight",kwnames,&obj0,&arg2,&arg3)) goto fail;
10952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10953 {
10954 PyThreadState* __tstate = wxPyBeginAllowThreads();
10955 (arg1)->SetRowMinimalHeight(arg2,arg3);
10956
10957 wxPyEndAllowThreads(__tstate);
10958 if (PyErr_Occurred()) SWIG_fail;
10959 }
10960 Py_INCREF(Py_None); resultobj = Py_None;
10961 return resultobj;
10962 fail:
10963 return NULL;
10964}
10965
10966
10967static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10968 PyObject *resultobj;
10969 wxGrid *arg1 = (wxGrid *) 0 ;
10970 int arg2 ;
10971 PyObject * obj0 = 0 ;
10972 char *kwnames[] = {
10973 (char *) "self",(char *) "width", NULL
10974 };
10975
10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetColMinimalAcceptableWidth",kwnames,&obj0,&arg2)) goto fail;
10977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10978 {
10979 PyThreadState* __tstate = wxPyBeginAllowThreads();
10980 (arg1)->SetColMinimalAcceptableWidth(arg2);
10981
10982 wxPyEndAllowThreads(__tstate);
10983 if (PyErr_Occurred()) SWIG_fail;
10984 }
10985 Py_INCREF(Py_None); resultobj = Py_None;
10986 return resultobj;
10987 fail:
10988 return NULL;
10989}
10990
10991
10992static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10993 PyObject *resultobj;
10994 wxGrid *arg1 = (wxGrid *) 0 ;
10995 int arg2 ;
10996 PyObject * obj0 = 0 ;
10997 char *kwnames[] = {
10998 (char *) "self",(char *) "width", NULL
10999 };
11000
11001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetRowMinimalAcceptableHeight",kwnames,&obj0,&arg2)) goto fail;
11002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11003 {
11004 PyThreadState* __tstate = wxPyBeginAllowThreads();
11005 (arg1)->SetRowMinimalAcceptableHeight(arg2);
11006
11007 wxPyEndAllowThreads(__tstate);
11008 if (PyErr_Occurred()) SWIG_fail;
11009 }
11010 Py_INCREF(Py_None); resultobj = Py_None;
11011 return resultobj;
11012 fail:
11013 return NULL;
11014}
11015
11016
11017static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11018 PyObject *resultobj;
11019 wxGrid *arg1 = (wxGrid *) 0 ;
11020 int result;
11021 PyObject * obj0 = 0 ;
11022 char *kwnames[] = {
11023 (char *) "self", NULL
11024 };
11025
11026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames,&obj0)) goto fail;
11027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 result = (int)((wxGrid const *)arg1)->GetColMinimalAcceptableWidth();
11031
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 resultobj = PyInt_FromLong((long)result);
11036 return resultobj;
11037 fail:
11038 return NULL;
11039}
11040
11041
11042static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
11043 PyObject *resultobj;
11044 wxGrid *arg1 = (wxGrid *) 0 ;
11045 int result;
11046 PyObject * obj0 = 0 ;
11047 char *kwnames[] = {
11048 (char *) "self", NULL
11049 };
11050
11051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames,&obj0)) goto fail;
11052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11053 {
11054 PyThreadState* __tstate = wxPyBeginAllowThreads();
11055 result = (int)((wxGrid const *)arg1)->GetRowMinimalAcceptableHeight();
11056
11057 wxPyEndAllowThreads(__tstate);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 }
11060 resultobj = PyInt_FromLong((long)result);
11061 return resultobj;
11062 fail:
11063 return NULL;
11064}
11065
11066
11067static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11068 PyObject *resultobj;
11069 wxGrid *arg1 = (wxGrid *) 0 ;
11070 wxColour *arg2 = 0 ;
11071 wxColour temp2 ;
11072 PyObject * obj0 = 0 ;
11073 PyObject * obj1 = 0 ;
11074 char *kwnames[] = {
11075 (char *) "self","arg2", NULL
11076 };
11077
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
11079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11080 {
11081 arg2 = &temp2;
11082 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11083 }
11084 {
11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
11086 (arg1)->SetDefaultCellBackgroundColour((wxColour const &)*arg2);
11087
11088 wxPyEndAllowThreads(__tstate);
11089 if (PyErr_Occurred()) SWIG_fail;
11090 }
11091 Py_INCREF(Py_None); resultobj = Py_None;
11092 return resultobj;
11093 fail:
11094 return NULL;
11095}
11096
11097
11098static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11099 PyObject *resultobj;
11100 wxGrid *arg1 = (wxGrid *) 0 ;
11101 int arg2 ;
11102 int arg3 ;
11103 wxColour *arg4 = 0 ;
11104 wxColour temp4 ;
11105 PyObject * obj0 = 0 ;
11106 PyObject * obj3 = 0 ;
11107 char *kwnames[] = {
11108 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11109 };
11110
11111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellBackgroundColour",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11113 {
11114 arg4 = &temp4;
11115 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
11116 }
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 (arg1)->SetCellBackgroundColour(arg2,arg3,(wxColour const &)*arg4);
11120
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
11124 Py_INCREF(Py_None); resultobj = Py_None;
11125 return resultobj;
11126 fail:
11127 return NULL;
11128}
11129
11130
11131static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11132 PyObject *resultobj;
11133 wxGrid *arg1 = (wxGrid *) 0 ;
11134 wxColour *arg2 = 0 ;
11135 wxColour temp2 ;
11136 PyObject * obj0 = 0 ;
11137 PyObject * obj1 = 0 ;
11138 char *kwnames[] = {
11139 (char *) "self","arg2", NULL
11140 };
11141
11142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames,&obj0,&obj1)) goto fail;
11143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11144 {
11145 arg2 = &temp2;
11146 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11147 }
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
11150 (arg1)->SetDefaultCellTextColour((wxColour const &)*arg2);
11151
11152 wxPyEndAllowThreads(__tstate);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 Py_INCREF(Py_None); resultobj = Py_None;
11156 return resultobj;
11157 fail:
11158 return NULL;
11159}
11160
11161
11162static PyObject *_wrap_Grid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11163 PyObject *resultobj;
11164 wxGrid *arg1 = (wxGrid *) 0 ;
11165 int arg2 ;
11166 int arg3 ;
11167 wxColour *arg4 = 0 ;
11168 wxColour temp4 ;
11169 PyObject * obj0 = 0 ;
11170 PyObject * obj3 = 0 ;
11171 char *kwnames[] = {
11172 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11173 };
11174
11175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellTextColour",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11177 {
11178 arg4 = &temp4;
11179 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
11180 }
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 (arg1)->SetCellTextColour(arg2,arg3,(wxColour const &)*arg4);
11184
11185 wxPyEndAllowThreads(__tstate);
11186 if (PyErr_Occurred()) SWIG_fail;
11187 }
11188 Py_INCREF(Py_None); resultobj = Py_None;
11189 return resultobj;
11190 fail:
11191 return NULL;
11192}
11193
11194
11195static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11196 PyObject *resultobj;
11197 wxGrid *arg1 = (wxGrid *) 0 ;
11198 wxFont *arg2 = 0 ;
11199 PyObject * obj0 = 0 ;
11200 PyObject * obj1 = 0 ;
11201 char *kwnames[] = {
11202 (char *) "self","arg2", NULL
11203 };
11204
11205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellFont",kwnames,&obj0,&obj1)) goto fail;
11206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11207 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11208 if (arg2 == NULL) {
11209 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11210 }
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 (arg1)->SetDefaultCellFont((wxFont const &)*arg2);
11214
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 Py_INCREF(Py_None); resultobj = Py_None;
11219 return resultobj;
11220 fail:
11221 return NULL;
11222}
11223
11224
11225static PyObject *_wrap_Grid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11226 PyObject *resultobj;
11227 wxGrid *arg1 = (wxGrid *) 0 ;
11228 int arg2 ;
11229 int arg3 ;
11230 wxFont *arg4 = 0 ;
11231 PyObject * obj0 = 0 ;
11232 PyObject * obj3 = 0 ;
11233 char *kwnames[] = {
11234 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11235 };
11236
11237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellFont",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11239 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11240 if (arg4 == NULL) {
11241 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11242 }
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 (arg1)->SetCellFont(arg2,arg3,(wxFont const &)*arg4);
11246
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 Py_INCREF(Py_None); resultobj = Py_None;
11251 return resultobj;
11252 fail:
11253 return NULL;
11254}
11255
11256
11257static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11258 PyObject *resultobj;
11259 wxGrid *arg1 = (wxGrid *) 0 ;
11260 int arg2 ;
11261 int arg3 ;
11262 PyObject * obj0 = 0 ;
11263 char *kwnames[] = {
11264 (char *) "self",(char *) "horiz",(char *) "vert", NULL
11265 };
11266
11267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetDefaultCellAlignment",kwnames,&obj0,&arg2,&arg3)) goto fail;
11268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11269 {
11270 PyThreadState* __tstate = wxPyBeginAllowThreads();
11271 (arg1)->SetDefaultCellAlignment(arg2,arg3);
11272
11273 wxPyEndAllowThreads(__tstate);
11274 if (PyErr_Occurred()) SWIG_fail;
11275 }
11276 Py_INCREF(Py_None); resultobj = Py_None;
11277 return resultobj;
11278 fail:
11279 return NULL;
11280}
11281
11282
11283static PyObject *_wrap_Grid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11284 PyObject *resultobj;
11285 wxGrid *arg1 = (wxGrid *) 0 ;
11286 int arg2 ;
11287 int arg3 ;
11288 int arg4 ;
11289 int arg5 ;
11290 PyObject * obj0 = 0 ;
11291 char *kwnames[] = {
11292 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
11293 };
11294
11295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:Grid_SetCellAlignment",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11297 {
11298 PyThreadState* __tstate = wxPyBeginAllowThreads();
11299 (arg1)->SetCellAlignment(arg2,arg3,arg4,arg5);
11300
11301 wxPyEndAllowThreads(__tstate);
11302 if (PyErr_Occurred()) SWIG_fail;
11303 }
11304 Py_INCREF(Py_None); resultobj = Py_None;
11305 return resultobj;
11306 fail:
11307 return NULL;
11308}
11309
11310
11311static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11312 PyObject *resultobj;
11313 wxGrid *arg1 = (wxGrid *) 0 ;
11314 bool arg2 ;
11315 PyObject * obj0 = 0 ;
11316 PyObject * obj1 = 0 ;
11317 char *kwnames[] = {
11318 (char *) "self",(char *) "allow", NULL
11319 };
11320
11321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames,&obj0,&obj1)) goto fail;
11322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11323 arg2 = PyInt_AsLong(obj1) ? true : false;
11324 if (PyErr_Occurred()) SWIG_fail;
11325 {
11326 PyThreadState* __tstate = wxPyBeginAllowThreads();
11327 (arg1)->SetDefaultCellOverflow(arg2);
11328
11329 wxPyEndAllowThreads(__tstate);
11330 if (PyErr_Occurred()) SWIG_fail;
11331 }
11332 Py_INCREF(Py_None); resultobj = Py_None;
11333 return resultobj;
11334 fail:
11335 return NULL;
11336}
11337
11338
11339static PyObject *_wrap_Grid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11340 PyObject *resultobj;
11341 wxGrid *arg1 = (wxGrid *) 0 ;
11342 int arg2 ;
11343 int arg3 ;
11344 bool arg4 ;
11345 PyObject * obj0 = 0 ;
11346 PyObject * obj3 = 0 ;
11347 char *kwnames[] = {
11348 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
11349 };
11350
11351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellOverflow",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11353 arg4 = PyInt_AsLong(obj3) ? true : false;
11354 if (PyErr_Occurred()) SWIG_fail;
11355 {
11356 PyThreadState* __tstate = wxPyBeginAllowThreads();
11357 (arg1)->SetCellOverflow(arg2,arg3,arg4);
11358
11359 wxPyEndAllowThreads(__tstate);
11360 if (PyErr_Occurred()) SWIG_fail;
11361 }
11362 Py_INCREF(Py_None); resultobj = Py_None;
11363 return resultobj;
11364 fail:
11365 return NULL;
11366}
11367
11368
11369static PyObject *_wrap_Grid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11370 PyObject *resultobj;
11371 wxGrid *arg1 = (wxGrid *) 0 ;
11372 int arg2 ;
11373 int arg3 ;
11374 int arg4 ;
11375 int arg5 ;
11376 PyObject * obj0 = 0 ;
11377 char *kwnames[] = {
11378 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
11379 };
11380
11381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:Grid_SetCellSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 (arg1)->SetCellSize(arg2,arg3,arg4,arg5);
11386
11387 wxPyEndAllowThreads(__tstate);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
11390 Py_INCREF(Py_None); resultobj = Py_None;
11391 return resultobj;
11392 fail:
11393 return NULL;
11394}
11395
11396
11397static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11398 PyObject *resultobj;
11399 wxGrid *arg1 = (wxGrid *) 0 ;
11400 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
11401 PyObject * obj0 = 0 ;
11402 PyObject * obj1 = 0 ;
11403 char *kwnames[] = {
11404 (char *) "self",(char *) "renderer", NULL
11405 };
11406
11407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultRenderer",kwnames,&obj0,&obj1)) goto fail;
11408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11409 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
11412 (arg1)->SetDefaultRenderer(arg2);
11413
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 Py_INCREF(Py_None); resultobj = Py_None;
11418 return resultobj;
11419 fail:
11420 return NULL;
11421}
11422
11423
11424static PyObject *_wrap_Grid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11425 PyObject *resultobj;
11426 wxGrid *arg1 = (wxGrid *) 0 ;
11427 int arg2 ;
11428 int arg3 ;
11429 wxGridCellRenderer *arg4 = (wxGridCellRenderer *) 0 ;
11430 PyObject * obj0 = 0 ;
11431 PyObject * obj3 = 0 ;
11432 char *kwnames[] = {
11433 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
11434 };
11435
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellRenderer",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11438 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11439 {
11440 PyThreadState* __tstate = wxPyBeginAllowThreads();
11441 (arg1)->SetCellRenderer(arg2,arg3,arg4);
11442
11443 wxPyEndAllowThreads(__tstate);
11444 if (PyErr_Occurred()) SWIG_fail;
11445 }
11446 Py_INCREF(Py_None); resultobj = Py_None;
11447 return resultobj;
11448 fail:
11449 return NULL;
11450}
11451
11452
11453static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11454 PyObject *resultobj;
11455 wxGrid *arg1 = (wxGrid *) 0 ;
11456 wxGridCellRenderer *result;
11457 PyObject * obj0 = 0 ;
11458 char *kwnames[] = {
11459 (char *) "self", NULL
11460 };
11461
11462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRenderer",kwnames,&obj0)) goto fail;
11463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11464 {
11465 PyThreadState* __tstate = wxPyBeginAllowThreads();
11466 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRenderer();
11467
11468 wxPyEndAllowThreads(__tstate);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 {
11472 resultobj = wxPyMake_wxGridCellRenderer(result);
11473 }
11474 return resultobj;
11475 fail:
11476 return NULL;
11477}
11478
11479
11480static PyObject *_wrap_Grid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11481 PyObject *resultobj;
11482 wxGrid *arg1 = (wxGrid *) 0 ;
11483 int arg2 ;
11484 int arg3 ;
11485 wxGridCellRenderer *result;
11486 PyObject * obj0 = 0 ;
11487 char *kwnames[] = {
11488 (char *) "self",(char *) "row",(char *) "col", NULL
11489 };
11490
11491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellRenderer",kwnames,&obj0,&arg2,&arg3)) goto fail;
11492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11493 {
11494 PyThreadState* __tstate = wxPyBeginAllowThreads();
11495 result = (wxGridCellRenderer *)(arg1)->GetCellRenderer(arg2,arg3);
11496
11497 wxPyEndAllowThreads(__tstate);
11498 if (PyErr_Occurred()) SWIG_fail;
11499 }
11500 {
11501 resultobj = wxPyMake_wxGridCellRenderer(result);
11502 }
11503 return resultobj;
11504 fail:
11505 return NULL;
11506}
11507
11508
11509static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11510 PyObject *resultobj;
11511 wxGrid *arg1 = (wxGrid *) 0 ;
11512 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
11513 PyObject * obj0 = 0 ;
11514 PyObject * obj1 = 0 ;
11515 char *kwnames[] = {
11516 (char *) "self",(char *) "editor", NULL
11517 };
11518
11519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultEditor",kwnames,&obj0,&obj1)) goto fail;
11520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11521 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11522 {
11523 PyThreadState* __tstate = wxPyBeginAllowThreads();
11524 (arg1)->SetDefaultEditor(arg2);
11525
11526 wxPyEndAllowThreads(__tstate);
11527 if (PyErr_Occurred()) SWIG_fail;
11528 }
11529 Py_INCREF(Py_None); resultobj = Py_None;
11530 return resultobj;
11531 fail:
11532 return NULL;
11533}
11534
11535
11536static PyObject *_wrap_Grid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11537 PyObject *resultobj;
11538 wxGrid *arg1 = (wxGrid *) 0 ;
11539 int arg2 ;
11540 int arg3 ;
11541 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
11542 PyObject * obj0 = 0 ;
11543 PyObject * obj3 = 0 ;
11544 char *kwnames[] = {
11545 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
11546 };
11547
11548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellEditor",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11550 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11551 {
11552 PyThreadState* __tstate = wxPyBeginAllowThreads();
11553 (arg1)->SetCellEditor(arg2,arg3,arg4);
11554
11555 wxPyEndAllowThreads(__tstate);
11556 if (PyErr_Occurred()) SWIG_fail;
11557 }
11558 Py_INCREF(Py_None); resultobj = Py_None;
11559 return resultobj;
11560 fail:
11561 return NULL;
11562}
11563
11564
11565static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11566 PyObject *resultobj;
11567 wxGrid *arg1 = (wxGrid *) 0 ;
11568 wxGridCellEditor *result;
11569 PyObject * obj0 = 0 ;
11570 char *kwnames[] = {
11571 (char *) "self", NULL
11572 };
11573
11574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultEditor",kwnames,&obj0)) goto fail;
11575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditor();
11579
11580 wxPyEndAllowThreads(__tstate);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
11583 {
11584 resultobj = wxPyMake_wxGridCellEditor(result);
11585 }
11586 return resultobj;
11587 fail:
11588 return NULL;
11589}
11590
11591
11592static PyObject *_wrap_Grid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11593 PyObject *resultobj;
11594 wxGrid *arg1 = (wxGrid *) 0 ;
11595 int arg2 ;
11596 int arg3 ;
11597 wxGridCellEditor *result;
11598 PyObject * obj0 = 0 ;
11599 char *kwnames[] = {
11600 (char *) "self",(char *) "row",(char *) "col", NULL
11601 };
11602
11603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellEditor",kwnames,&obj0,&arg2,&arg3)) goto fail;
11604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11605 {
11606 PyThreadState* __tstate = wxPyBeginAllowThreads();
11607 result = (wxGridCellEditor *)(arg1)->GetCellEditor(arg2,arg3);
11608
11609 wxPyEndAllowThreads(__tstate);
11610 if (PyErr_Occurred()) SWIG_fail;
11611 }
11612 {
11613 resultobj = wxPyMake_wxGridCellEditor(result);
11614 }
11615 return resultobj;
11616 fail:
11617 return NULL;
11618}
11619
11620
11621static PyObject *_wrap_Grid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11622 PyObject *resultobj;
11623 wxGrid *arg1 = (wxGrid *) 0 ;
11624 int arg2 ;
11625 int arg3 ;
11626 wxString result;
11627 PyObject * obj0 = 0 ;
11628 char *kwnames[] = {
11629 (char *) "self",(char *) "row",(char *) "col", NULL
11630 };
11631
11632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellValue",kwnames,&obj0,&arg2,&arg3)) goto fail;
11633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11634 {
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 result = (arg1)->GetCellValue(arg2,arg3);
11637
11638 wxPyEndAllowThreads(__tstate);
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
11641 {
11642#if wxUSE_UNICODE
11643 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11644#else
11645 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11646#endif
11647 }
11648 return resultobj;
11649 fail:
11650 return NULL;
11651}
11652
11653
11654static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11655 PyObject *resultobj;
11656 wxGrid *arg1 = (wxGrid *) 0 ;
11657 int arg2 ;
11658 int arg3 ;
11659 wxString *arg4 = 0 ;
e811c8ce 11660 bool temp4 = False ;
d14a1e28
RD
11661 PyObject * obj0 = 0 ;
11662 PyObject * obj3 = 0 ;
11663 char *kwnames[] = {
11664 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
11665 };
11666
11667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellValue",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11669 {
11670 arg4 = wxString_in_helper(obj3);
11671 if (arg4 == NULL) SWIG_fail;
e811c8ce 11672 temp4 = True;
d14a1e28
RD
11673 }
11674 {
11675 PyThreadState* __tstate = wxPyBeginAllowThreads();
11676 (arg1)->SetCellValue(arg2,arg3,(wxString const &)*arg4);
11677
11678 wxPyEndAllowThreads(__tstate);
11679 if (PyErr_Occurred()) SWIG_fail;
11680 }
11681 Py_INCREF(Py_None); resultobj = Py_None;
11682 {
11683 if (temp4)
11684 delete arg4;
11685 }
11686 return resultobj;
11687 fail:
11688 {
11689 if (temp4)
11690 delete arg4;
11691 }
11692 return NULL;
11693}
11694
11695
11696static PyObject *_wrap_Grid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11697 PyObject *resultobj;
11698 wxGrid *arg1 = (wxGrid *) 0 ;
11699 int arg2 ;
11700 int arg3 ;
11701 bool result;
11702 PyObject * obj0 = 0 ;
11703 char *kwnames[] = {
11704 (char *) "self",(char *) "row",(char *) "col", NULL
11705 };
11706
11707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_IsReadOnly",kwnames,&obj0,&arg2,&arg3)) goto fail;
11708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11709 {
11710 PyThreadState* __tstate = wxPyBeginAllowThreads();
11711 result = (bool)((wxGrid const *)arg1)->IsReadOnly(arg2,arg3);
11712
11713 wxPyEndAllowThreads(__tstate);
11714 if (PyErr_Occurred()) SWIG_fail;
11715 }
11716 resultobj = PyInt_FromLong((long)result);
11717 return resultobj;
11718 fail:
11719 return NULL;
11720}
11721
11722
11723static PyObject *_wrap_Grid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11724 PyObject *resultobj;
11725 wxGrid *arg1 = (wxGrid *) 0 ;
11726 int arg2 ;
11727 int arg3 ;
e811c8ce 11728 bool arg4 = (bool) True ;
d14a1e28
RD
11729 PyObject * obj0 = 0 ;
11730 PyObject * obj3 = 0 ;
11731 char *kwnames[] = {
11732 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
11733 };
11734
11735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Grid_SetReadOnly",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11737 if (obj3) {
11738 arg4 = PyInt_AsLong(obj3) ? true : false;
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
11741 {
11742 PyThreadState* __tstate = wxPyBeginAllowThreads();
11743 (arg1)->SetReadOnly(arg2,arg3,arg4);
11744
11745 wxPyEndAllowThreads(__tstate);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 Py_INCREF(Py_None); resultobj = Py_None;
11749 return resultobj;
11750 fail:
11751 return NULL;
11752}
11753
11754
11755static PyObject *_wrap_Grid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11756 PyObject *resultobj;
11757 wxGrid *arg1 = (wxGrid *) 0 ;
11758 int arg2 ;
e811c8ce 11759 bool arg3 = (bool) False ;
d14a1e28
RD
11760 PyObject * obj0 = 0 ;
11761 PyObject * obj2 = 0 ;
11762 char *kwnames[] = {
11763 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
11764 };
11765
11766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_SelectRow",kwnames,&obj0,&arg2,&obj2)) goto fail;
11767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11768 if (obj2) {
11769 arg3 = PyInt_AsLong(obj2) ? true : false;
11770 if (PyErr_Occurred()) SWIG_fail;
11771 }
11772 {
11773 PyThreadState* __tstate = wxPyBeginAllowThreads();
11774 (arg1)->SelectRow(arg2,arg3);
11775
11776 wxPyEndAllowThreads(__tstate);
11777 if (PyErr_Occurred()) SWIG_fail;
11778 }
11779 Py_INCREF(Py_None); resultobj = Py_None;
11780 return resultobj;
11781 fail:
11782 return NULL;
11783}
11784
11785
11786static PyObject *_wrap_Grid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11787 PyObject *resultobj;
11788 wxGrid *arg1 = (wxGrid *) 0 ;
11789 int arg2 ;
e811c8ce 11790 bool arg3 = (bool) False ;
d14a1e28
RD
11791 PyObject * obj0 = 0 ;
11792 PyObject * obj2 = 0 ;
11793 char *kwnames[] = {
11794 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
11795 };
11796
11797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_SelectCol",kwnames,&obj0,&arg2,&obj2)) goto fail;
11798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11799 if (obj2) {
11800 arg3 = PyInt_AsLong(obj2) ? true : false;
11801 if (PyErr_Occurred()) SWIG_fail;
11802 }
11803 {
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 (arg1)->SelectCol(arg2,arg3);
11806
11807 wxPyEndAllowThreads(__tstate);
11808 if (PyErr_Occurred()) SWIG_fail;
11809 }
11810 Py_INCREF(Py_None); resultobj = Py_None;
11811 return resultobj;
11812 fail:
11813 return NULL;
11814}
11815
11816
11817static PyObject *_wrap_Grid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11818 PyObject *resultobj;
11819 wxGrid *arg1 = (wxGrid *) 0 ;
11820 int arg2 ;
11821 int arg3 ;
11822 int arg4 ;
11823 int arg5 ;
e811c8ce 11824 bool arg6 = (bool) False ;
d14a1e28
RD
11825 PyObject * obj0 = 0 ;
11826 PyObject * obj5 = 0 ;
11827 char *kwnames[] = {
11828 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
11829 };
11830
11831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:Grid_SelectBlock",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
11832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11833 if (obj5) {
11834 arg6 = PyInt_AsLong(obj5) ? true : false;
11835 if (PyErr_Occurred()) SWIG_fail;
11836 }
11837 {
11838 PyThreadState* __tstate = wxPyBeginAllowThreads();
11839 (arg1)->SelectBlock(arg2,arg3,arg4,arg5,arg6);
11840
11841 wxPyEndAllowThreads(__tstate);
11842 if (PyErr_Occurred()) SWIG_fail;
11843 }
11844 Py_INCREF(Py_None); resultobj = Py_None;
11845 return resultobj;
11846 fail:
11847 return NULL;
11848}
11849
11850
11851static PyObject *_wrap_Grid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
11852 PyObject *resultobj;
11853 wxGrid *arg1 = (wxGrid *) 0 ;
11854 PyObject * obj0 = 0 ;
11855 char *kwnames[] = {
11856 (char *) "self", NULL
11857 };
11858
11859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SelectAll",kwnames,&obj0)) goto fail;
11860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11861 {
11862 PyThreadState* __tstate = wxPyBeginAllowThreads();
11863 (arg1)->SelectAll();
11864
11865 wxPyEndAllowThreads(__tstate);
11866 if (PyErr_Occurred()) SWIG_fail;
11867 }
11868 Py_INCREF(Py_None); resultobj = Py_None;
11869 return resultobj;
11870 fail:
11871 return NULL;
11872}
11873
11874
11875static PyObject *_wrap_Grid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11876 PyObject *resultobj;
11877 wxGrid *arg1 = (wxGrid *) 0 ;
11878 bool result;
11879 PyObject * obj0 = 0 ;
11880 char *kwnames[] = {
11881 (char *) "self", NULL
11882 };
11883
11884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsSelection",kwnames,&obj0)) goto fail;
11885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11886 {
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 result = (bool)(arg1)->IsSelection();
11889
11890 wxPyEndAllowThreads(__tstate);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 }
11893 resultobj = PyInt_FromLong((long)result);
11894 return resultobj;
11895 fail:
11896 return NULL;
11897}
11898
11899
11900static PyObject *_wrap_Grid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11901 PyObject *resultobj;
11902 wxGrid *arg1 = (wxGrid *) 0 ;
11903 PyObject * obj0 = 0 ;
11904 char *kwnames[] = {
11905 (char *) "self", NULL
11906 };
11907
11908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearSelection",kwnames,&obj0)) goto fail;
11909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11910 {
11911 PyThreadState* __tstate = wxPyBeginAllowThreads();
11912 (arg1)->ClearSelection();
11913
11914 wxPyEndAllowThreads(__tstate);
11915 if (PyErr_Occurred()) SWIG_fail;
11916 }
11917 Py_INCREF(Py_None); resultobj = Py_None;
11918 return resultobj;
11919 fail:
11920 return NULL;
11921}
11922
11923
11924static PyObject *_wrap_Grid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11925 PyObject *resultobj;
11926 wxGrid *arg1 = (wxGrid *) 0 ;
11927 int arg2 ;
11928 int arg3 ;
11929 bool result;
11930 PyObject * obj0 = 0 ;
11931 char *kwnames[] = {
11932 (char *) "self",(char *) "row",(char *) "col", NULL
11933 };
11934
11935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_IsInSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
11936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11937 {
11938 PyThreadState* __tstate = wxPyBeginAllowThreads();
11939 result = (bool)(arg1)->IsInSelection(arg2,arg3);
11940
11941 wxPyEndAllowThreads(__tstate);
11942 if (PyErr_Occurred()) SWIG_fail;
11943 }
11944 resultobj = PyInt_FromLong((long)result);
11945 return resultobj;
11946 fail:
11947 return NULL;
11948}
11949
11950
11951static PyObject *_wrap_Grid_GetSelectedCells(PyObject *self, PyObject *args, PyObject *kwargs) {
11952 PyObject *resultobj;
11953 wxGrid *arg1 = (wxGrid *) 0 ;
11954 wxGridCellCoordsArray result;
11955 PyObject * obj0 = 0 ;
11956 char *kwnames[] = {
11957 (char *) "self", NULL
11958 };
11959
11960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCells",kwnames,&obj0)) goto fail;
11961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11962 {
11963 PyThreadState* __tstate = wxPyBeginAllowThreads();
11964 result = ((wxGrid const *)arg1)->GetSelectedCells();
11965
11966 wxPyEndAllowThreads(__tstate);
11967 if (PyErr_Occurred()) SWIG_fail;
11968 }
11969 {
11970 resultobj = wxGridCellCoordsArray_helper(result);
11971 }
11972 return resultobj;
11973 fail:
11974 return NULL;
11975}
11976
11977
11978static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11979 PyObject *resultobj;
11980 wxGrid *arg1 = (wxGrid *) 0 ;
11981 wxGridCellCoordsArray result;
11982 PyObject * obj0 = 0 ;
11983 char *kwnames[] = {
11984 (char *) "self", NULL
11985 };
11986
11987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames,&obj0)) goto fail;
11988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 result = ((wxGrid const *)arg1)->GetSelectionBlockTopLeft();
11992
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) SWIG_fail;
11995 }
11996 {
11997 resultobj = wxGridCellCoordsArray_helper(result);
11998 }
11999 return resultobj;
12000 fail:
12001 return NULL;
12002}
12003
12004
12005static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12006 PyObject *resultobj;
12007 wxGrid *arg1 = (wxGrid *) 0 ;
12008 wxGridCellCoordsArray result;
12009 PyObject * obj0 = 0 ;
12010 char *kwnames[] = {
12011 (char *) "self", NULL
12012 };
12013
12014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames,&obj0)) goto fail;
12015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12016 {
12017 PyThreadState* __tstate = wxPyBeginAllowThreads();
12018 result = ((wxGrid const *)arg1)->GetSelectionBlockBottomRight();
12019
12020 wxPyEndAllowThreads(__tstate);
12021 if (PyErr_Occurred()) SWIG_fail;
12022 }
12023 {
12024 resultobj = wxGridCellCoordsArray_helper(result);
12025 }
12026 return resultobj;
12027 fail:
12028 return NULL;
12029}
12030
12031
12032static PyObject *_wrap_Grid_GetSelectedRows(PyObject *self, PyObject *args, PyObject *kwargs) {
12033 PyObject *resultobj;
12034 wxGrid *arg1 = (wxGrid *) 0 ;
12035 wxArrayInt result;
12036 PyObject * obj0 = 0 ;
12037 char *kwnames[] = {
12038 (char *) "self", NULL
12039 };
12040
12041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedRows",kwnames,&obj0)) goto fail;
12042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12043 {
12044 PyThreadState* __tstate = wxPyBeginAllowThreads();
12045 result = ((wxGrid const *)arg1)->GetSelectedRows();
12046
12047 wxPyEndAllowThreads(__tstate);
12048 if (PyErr_Occurred()) SWIG_fail;
12049 }
12050 {
12051 resultobj = PyList_New(0);
12052 size_t idx;
12053 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
12054 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
12055 PyList_Append(resultobj, val);
12056 Py_DECREF(val);
12057 }
12058 }
12059 return resultobj;
12060 fail:
12061 return NULL;
12062}
12063
12064
12065static PyObject *_wrap_Grid_GetSelectedCols(PyObject *self, PyObject *args, PyObject *kwargs) {
12066 PyObject *resultobj;
12067 wxGrid *arg1 = (wxGrid *) 0 ;
12068 wxArrayInt result;
12069 PyObject * obj0 = 0 ;
12070 char *kwnames[] = {
12071 (char *) "self", NULL
12072 };
12073
12074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCols",kwnames,&obj0)) goto fail;
12075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 result = ((wxGrid const *)arg1)->GetSelectedCols();
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 {
12084 resultobj = PyList_New(0);
12085 size_t idx;
12086 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
12087 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
12088 PyList_Append(resultobj, val);
12089 Py_DECREF(val);
12090 }
12091 }
12092 return resultobj;
12093 fail:
12094 return NULL;
12095}
12096
12097
12098static PyObject *_wrap_Grid_DeselectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12099 PyObject *resultobj;
12100 wxGrid *arg1 = (wxGrid *) 0 ;
12101 int arg2 ;
12102 PyObject * obj0 = 0 ;
12103 char *kwnames[] = {
12104 (char *) "self",(char *) "row", NULL
12105 };
12106
12107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_DeselectRow",kwnames,&obj0,&arg2)) goto fail;
12108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12109 {
12110 PyThreadState* __tstate = wxPyBeginAllowThreads();
12111 (arg1)->DeselectRow(arg2);
12112
12113 wxPyEndAllowThreads(__tstate);
12114 if (PyErr_Occurred()) SWIG_fail;
12115 }
12116 Py_INCREF(Py_None); resultobj = Py_None;
12117 return resultobj;
12118 fail:
12119 return NULL;
12120}
12121
12122
12123static PyObject *_wrap_Grid_DeselectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12124 PyObject *resultobj;
12125 wxGrid *arg1 = (wxGrid *) 0 ;
12126 int arg2 ;
12127 PyObject * obj0 = 0 ;
12128 char *kwnames[] = {
12129 (char *) "self",(char *) "col", NULL
12130 };
12131
12132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_DeselectCol",kwnames,&obj0,&arg2)) goto fail;
12133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12134 {
12135 PyThreadState* __tstate = wxPyBeginAllowThreads();
12136 (arg1)->DeselectCol(arg2);
12137
12138 wxPyEndAllowThreads(__tstate);
12139 if (PyErr_Occurred()) SWIG_fail;
12140 }
12141 Py_INCREF(Py_None); resultobj = Py_None;
12142 return resultobj;
12143 fail:
12144 return NULL;
12145}
12146
12147
12148static PyObject *_wrap_Grid_DeselectCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12149 PyObject *resultobj;
12150 wxGrid *arg1 = (wxGrid *) 0 ;
12151 int arg2 ;
12152 int arg3 ;
12153 PyObject * obj0 = 0 ;
12154 char *kwnames[] = {
12155 (char *) "self",(char *) "row",(char *) "col", NULL
12156 };
12157
12158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_DeselectCell",kwnames,&obj0,&arg2,&arg3)) goto fail;
12159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12160 {
12161 PyThreadState* __tstate = wxPyBeginAllowThreads();
12162 (arg1)->DeselectCell(arg2,arg3);
12163
12164 wxPyEndAllowThreads(__tstate);
12165 if (PyErr_Occurred()) SWIG_fail;
12166 }
12167 Py_INCREF(Py_None); resultobj = Py_None;
12168 return resultobj;
12169 fail:
12170 return NULL;
12171}
12172
12173
12174static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12175 PyObject *resultobj;
12176 wxGrid *arg1 = (wxGrid *) 0 ;
12177 wxGridCellCoords *arg2 = 0 ;
12178 wxGridCellCoords *arg3 = 0 ;
12179 wxRect result;
12180 wxGridCellCoords temp2 ;
12181 wxGridCellCoords temp3 ;
12182 PyObject * obj0 = 0 ;
12183 PyObject * obj1 = 0 ;
12184 PyObject * obj2 = 0 ;
12185 char *kwnames[] = {
12186 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
12187 };
12188
12189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_BlockToDeviceRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
12190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12191 {
12192 arg2 = &temp2;
12193 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
12194 }
12195 {
12196 arg3 = &temp3;
12197 if (! wxGridCellCoords_helper(obj2, &arg3)) SWIG_fail;
12198 }
12199 {
12200 PyThreadState* __tstate = wxPyBeginAllowThreads();
12201 result = (arg1)->BlockToDeviceRect((wxGridCellCoords const &)*arg2,(wxGridCellCoords const &)*arg3);
12202
12203 wxPyEndAllowThreads(__tstate);
12204 if (PyErr_Occurred()) SWIG_fail;
12205 }
12206 {
12207 wxRect * resultptr;
12208 resultptr = new wxRect((wxRect &) result);
12209 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
12210 }
12211 return resultobj;
12212 fail:
12213 return NULL;
12214}
12215
12216
12217static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12218 PyObject *resultobj;
12219 wxGrid *arg1 = (wxGrid *) 0 ;
12220 wxColour result;
12221 PyObject * obj0 = 0 ;
12222 char *kwnames[] = {
12223 (char *) "self", NULL
12224 };
12225
12226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBackground",kwnames,&obj0)) goto fail;
12227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12228 {
12229 PyThreadState* __tstate = wxPyBeginAllowThreads();
12230 result = ((wxGrid const *)arg1)->GetSelectionBackground();
12231
12232 wxPyEndAllowThreads(__tstate);
12233 if (PyErr_Occurred()) SWIG_fail;
12234 }
12235 {
12236 wxColour * resultptr;
12237 resultptr = new wxColour((wxColour &) result);
12238 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
12239 }
12240 return resultobj;
12241 fail:
12242 return NULL;
12243}
12244
12245
12246static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12247 PyObject *resultobj;
12248 wxGrid *arg1 = (wxGrid *) 0 ;
12249 wxColour result;
12250 PyObject * obj0 = 0 ;
12251 char *kwnames[] = {
12252 (char *) "self", NULL
12253 };
12254
12255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionForeground",kwnames,&obj0)) goto fail;
12256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12257 {
12258 PyThreadState* __tstate = wxPyBeginAllowThreads();
12259 result = ((wxGrid const *)arg1)->GetSelectionForeground();
12260
12261 wxPyEndAllowThreads(__tstate);
12262 if (PyErr_Occurred()) SWIG_fail;
12263 }
12264 {
12265 wxColour * resultptr;
12266 resultptr = new wxColour((wxColour &) result);
12267 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
12268 }
12269 return resultobj;
12270 fail:
12271 return NULL;
12272}
12273
12274
12275static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12276 PyObject *resultobj;
12277 wxGrid *arg1 = (wxGrid *) 0 ;
12278 wxColour *arg2 = 0 ;
12279 wxColour temp2 ;
12280 PyObject * obj0 = 0 ;
12281 PyObject * obj1 = 0 ;
12282 char *kwnames[] = {
12283 (char *) "self",(char *) "c", NULL
12284 };
12285
12286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12288 {
12289 arg2 = &temp2;
12290 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12291 }
12292 {
12293 PyThreadState* __tstate = wxPyBeginAllowThreads();
12294 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12295
12296 wxPyEndAllowThreads(__tstate);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 }
12299 Py_INCREF(Py_None); resultobj = Py_None;
12300 return resultobj;
12301 fail:
12302 return NULL;
12303}
12304
12305
12306static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12307 PyObject *resultobj;
12308 wxGrid *arg1 = (wxGrid *) 0 ;
12309 wxColour *arg2 = 0 ;
12310 wxColour temp2 ;
12311 PyObject * obj0 = 0 ;
12312 PyObject * obj1 = 0 ;
12313 char *kwnames[] = {
12314 (char *) "self",(char *) "c", NULL
12315 };
12316
12317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionForeground",kwnames,&obj0,&obj1)) goto fail;
12318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12319 {
12320 arg2 = &temp2;
12321 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12322 }
12323 {
12324 PyThreadState* __tstate = wxPyBeginAllowThreads();
12325 (arg1)->SetSelectionForeground((wxColour const &)*arg2);
12326
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 }
12330 Py_INCREF(Py_None); resultobj = Py_None;
12331 return resultobj;
12332 fail:
12333 return NULL;
12334}
12335
12336
12337static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
12338 PyObject *resultobj;
12339 wxGrid *arg1 = (wxGrid *) 0 ;
12340 wxString *arg2 = 0 ;
12341 wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
12342 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
e811c8ce 12343 bool temp2 = False ;
d14a1e28
RD
12344 PyObject * obj0 = 0 ;
12345 PyObject * obj1 = 0 ;
12346 PyObject * obj2 = 0 ;
12347 PyObject * obj3 = 0 ;
12348 char *kwnames[] = {
12349 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
12350 };
12351
12352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_RegisterDataType",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12354 {
12355 arg2 = wxString_in_helper(obj1);
12356 if (arg2 == NULL) SWIG_fail;
e811c8ce 12357 temp2 = True;
d14a1e28
RD
12358 }
12359 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12360 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
12363 (arg1)->RegisterDataType((wxString const &)*arg2,arg3,arg4);
12364
12365 wxPyEndAllowThreads(__tstate);
12366 if (PyErr_Occurred()) SWIG_fail;
12367 }
12368 Py_INCREF(Py_None); resultobj = Py_None;
12369 {
12370 if (temp2)
12371 delete arg2;
12372 }
12373 return resultobj;
12374 fail:
12375 {
12376 if (temp2)
12377 delete arg2;
12378 }
12379 return NULL;
12380}
12381
12382
12383static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12384 PyObject *resultobj;
12385 wxGrid *arg1 = (wxGrid *) 0 ;
12386 int arg2 ;
12387 int arg3 ;
12388 wxGridCellEditor *result;
12389 PyObject * obj0 = 0 ;
12390 char *kwnames[] = {
12391 (char *) "self",(char *) "row",(char *) "col", NULL
12392 };
12393
12394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetDefaultEditorForCell",kwnames,&obj0,&arg2,&arg3)) goto fail;
12395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12396 {
12397 PyThreadState* __tstate = wxPyBeginAllowThreads();
12398 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForCell(arg2,arg3);
12399
12400 wxPyEndAllowThreads(__tstate);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 }
12403 {
12404 resultobj = wxPyMake_wxGridCellEditor(result);
12405 }
12406 return resultobj;
12407 fail:
12408 return NULL;
12409}
12410
12411
12412static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj;
12414 wxGrid *arg1 = (wxGrid *) 0 ;
12415 int arg2 ;
12416 int arg3 ;
12417 wxGridCellRenderer *result;
12418 PyObject * obj0 = 0 ;
12419 char *kwnames[] = {
12420 (char *) "self",(char *) "row",(char *) "col", NULL
12421 };
12422
12423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetDefaultRendererForCell",kwnames,&obj0,&arg2,&arg3)) goto fail;
12424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForCell(arg2,arg3);
12428
12429 wxPyEndAllowThreads(__tstate);
12430 if (PyErr_Occurred()) SWIG_fail;
12431 }
12432 {
12433 resultobj = wxPyMake_wxGridCellRenderer(result);
12434 }
12435 return resultobj;
12436 fail:
12437 return NULL;
12438}
12439
12440
12441static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12442 PyObject *resultobj;
12443 wxGrid *arg1 = (wxGrid *) 0 ;
12444 wxString *arg2 = 0 ;
12445 wxGridCellEditor *result;
e811c8ce 12446 bool temp2 = False ;
d14a1e28
RD
12447 PyObject * obj0 = 0 ;
12448 PyObject * obj1 = 0 ;
12449 char *kwnames[] = {
12450 (char *) "self",(char *) "typeName", NULL
12451 };
12452
12453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultEditorForType",kwnames,&obj0,&obj1)) goto fail;
12454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12455 {
12456 arg2 = wxString_in_helper(obj1);
12457 if (arg2 == NULL) SWIG_fail;
e811c8ce 12458 temp2 = True;
d14a1e28
RD
12459 }
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForType((wxString const &)*arg2);
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 {
12468 resultobj = wxPyMake_wxGridCellEditor(result);
12469 }
12470 {
12471 if (temp2)
12472 delete arg2;
12473 }
12474 return resultobj;
12475 fail:
12476 {
12477 if (temp2)
12478 delete arg2;
12479 }
12480 return NULL;
12481}
12482
12483
12484static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12485 PyObject *resultobj;
12486 wxGrid *arg1 = (wxGrid *) 0 ;
12487 wxString *arg2 = 0 ;
12488 wxGridCellRenderer *result;
e811c8ce 12489 bool temp2 = False ;
d14a1e28
RD
12490 PyObject * obj0 = 0 ;
12491 PyObject * obj1 = 0 ;
12492 char *kwnames[] = {
12493 (char *) "self",(char *) "typeName", NULL
12494 };
12495
12496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultRendererForType",kwnames,&obj0,&obj1)) goto fail;
12497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12498 {
12499 arg2 = wxString_in_helper(obj1);
12500 if (arg2 == NULL) SWIG_fail;
e811c8ce 12501 temp2 = True;
d14a1e28
RD
12502 }
12503 {
12504 PyThreadState* __tstate = wxPyBeginAllowThreads();
12505 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForType((wxString const &)*arg2);
12506
12507 wxPyEndAllowThreads(__tstate);
12508 if (PyErr_Occurred()) SWIG_fail;
12509 }
12510 {
12511 resultobj = wxPyMake_wxGridCellRenderer(result);
12512 }
12513 {
12514 if (temp2)
12515 delete arg2;
12516 }
12517 return resultobj;
12518 fail:
12519 {
12520 if (temp2)
12521 delete arg2;
12522 }
12523 return NULL;
12524}
12525
12526
12527static PyObject *_wrap_Grid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
12528 PyObject *resultobj;
12529 wxGrid *arg1 = (wxGrid *) 0 ;
12530 int arg2 ;
12531 int arg3 ;
12532 PyObject * obj0 = 0 ;
12533 char *kwnames[] = {
12534 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
12535 };
12536
12537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
12538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12539 {
12540 PyThreadState* __tstate = wxPyBeginAllowThreads();
12541 (arg1)->SetMargins(arg2,arg3);
12542
12543 wxPyEndAllowThreads(__tstate);
12544 if (PyErr_Occurred()) SWIG_fail;
12545 }
12546 Py_INCREF(Py_None); resultobj = Py_None;
12547 return resultobj;
12548 fail:
12549 return NULL;
12550}
12551
12552
12553static PyObject *_wrap_Grid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12554 PyObject *resultobj;
12555 wxGrid *arg1 = (wxGrid *) 0 ;
12556 wxWindow *result;
12557 PyObject * obj0 = 0 ;
12558 char *kwnames[] = {
12559 (char *) "self", NULL
12560 };
12561
12562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridWindow",kwnames,&obj0)) goto fail;
12563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12564 {
12565 PyThreadState* __tstate = wxPyBeginAllowThreads();
12566 result = (wxWindow *)(arg1)->GetGridWindow();
12567
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 {
12572 resultobj = wxPyMake_wxObject(result);
12573 }
12574 return resultobj;
12575 fail:
12576 return NULL;
12577}
12578
12579
12580static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12581 PyObject *resultobj;
12582 wxGrid *arg1 = (wxGrid *) 0 ;
12583 wxWindow *result;
12584 PyObject * obj0 = 0 ;
12585 char *kwnames[] = {
12586 (char *) "self", NULL
12587 };
12588
12589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridRowLabelWindow",kwnames,&obj0)) goto fail;
12590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12591 {
12592 PyThreadState* __tstate = wxPyBeginAllowThreads();
12593 result = (wxWindow *)(arg1)->GetGridRowLabelWindow();
12594
12595 wxPyEndAllowThreads(__tstate);
12596 if (PyErr_Occurred()) SWIG_fail;
12597 }
12598 {
12599 resultobj = wxPyMake_wxObject(result);
12600 }
12601 return resultobj;
12602 fail:
12603 return NULL;
12604}
12605
12606
12607static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12608 PyObject *resultobj;
12609 wxGrid *arg1 = (wxGrid *) 0 ;
12610 wxWindow *result;
12611 PyObject * obj0 = 0 ;
12612 char *kwnames[] = {
12613 (char *) "self", NULL
12614 };
12615
12616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridColLabelWindow",kwnames,&obj0)) goto fail;
12617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12618 {
12619 PyThreadState* __tstate = wxPyBeginAllowThreads();
12620 result = (wxWindow *)(arg1)->GetGridColLabelWindow();
12621
12622 wxPyEndAllowThreads(__tstate);
12623 if (PyErr_Occurred()) SWIG_fail;
12624 }
12625 {
12626 resultobj = wxPyMake_wxObject(result);
12627 }
12628 return resultobj;
12629 fail:
12630 return NULL;
12631}
12632
12633
12634static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12635 PyObject *resultobj;
12636 wxGrid *arg1 = (wxGrid *) 0 ;
12637 wxWindow *result;
12638 PyObject * obj0 = 0 ;
12639 char *kwnames[] = {
12640 (char *) "self", NULL
12641 };
12642
12643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames,&obj0)) goto fail;
12644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12645 {
12646 PyThreadState* __tstate = wxPyBeginAllowThreads();
12647 result = (wxWindow *)(arg1)->GetGridCornerLabelWindow();
12648
12649 wxPyEndAllowThreads(__tstate);
12650 if (PyErr_Occurred()) SWIG_fail;
12651 }
12652 {
12653 resultobj = wxPyMake_wxObject(result);
12654 }
12655 return resultobj;
12656 fail:
12657 return NULL;
12658}
12659
12660
12661static PyObject * Grid_swigregister(PyObject *self, PyObject *args) {
12662 PyObject *obj;
12663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12664 SWIG_TypeClientData(SWIGTYPE_p_wxGrid, obj);
12665 Py_INCREF(obj);
12666 return Py_BuildValue((char *)"");
12667}
12668static PyObject *_wrap_new_GridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12669 PyObject *resultobj;
12670 int arg1 ;
12671 wxEventType arg2 ;
12672 wxGrid *arg3 = (wxGrid *) 0 ;
12673 int arg4 = (int) -1 ;
12674 int arg5 = (int) -1 ;
12675 int arg6 = (int) -1 ;
12676 int arg7 = (int) -1 ;
e811c8ce
RD
12677 bool arg8 = (bool) True ;
12678 bool arg9 = (bool) False ;
12679 bool arg10 = (bool) False ;
12680 bool arg11 = (bool) False ;
12681 bool arg12 = (bool) False ;
d14a1e28
RD
12682 wxGridEvent *result;
12683 PyObject * obj2 = 0 ;
12684 PyObject * obj7 = 0 ;
12685 PyObject * obj8 = 0 ;
12686 PyObject * obj9 = 0 ;
12687 PyObject * obj10 = 0 ;
12688 PyObject * obj11 = 0 ;
12689 char *kwnames[] = {
12690 (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
12691 };
12692
12693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiO|iiiiOOOOO:new_GridEvent",kwnames,&arg1,&arg2,&obj2,&arg4,&arg5,&arg6,&arg7,&obj7,&obj8,&obj9,&obj10,&obj11)) goto fail;
12694 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12695 if (obj7) {
12696 arg8 = PyInt_AsLong(obj7) ? true : false;
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 if (obj8) {
12700 arg9 = PyInt_AsLong(obj8) ? true : false;
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
12703 if (obj9) {
12704 arg10 = PyInt_AsLong(obj9) ? true : false;
12705 if (PyErr_Occurred()) SWIG_fail;
12706 }
12707 if (obj10) {
12708 arg11 = PyInt_AsLong(obj10) ? true : false;
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
12711 if (obj11) {
12712 arg12 = PyInt_AsLong(obj11) ? true : false;
12713 if (PyErr_Occurred()) SWIG_fail;
12714 }
12715 {
12716 PyThreadState* __tstate = wxPyBeginAllowThreads();
12717 result = (wxGridEvent *)new wxGridEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
12718
12719 wxPyEndAllowThreads(__tstate);
12720 if (PyErr_Occurred()) SWIG_fail;
12721 }
12722 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridEvent, 1);
12723 return resultobj;
12724 fail:
12725 return NULL;
12726}
12727
12728
12729static PyObject *_wrap_GridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12730 PyObject *resultobj;
12731 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12732 int result;
12733 PyObject * obj0 = 0 ;
12734 char *kwnames[] = {
12735 (char *) "self", NULL
12736 };
12737
12738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetRow",kwnames,&obj0)) goto fail;
12739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12740 {
12741 PyThreadState* __tstate = wxPyBeginAllowThreads();
12742 result = (int)(arg1)->GetRow();
12743
12744 wxPyEndAllowThreads(__tstate);
12745 if (PyErr_Occurred()) SWIG_fail;
12746 }
12747 resultobj = PyInt_FromLong((long)result);
12748 return resultobj;
12749 fail:
12750 return NULL;
12751}
12752
12753
12754static PyObject *_wrap_GridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12755 PyObject *resultobj;
12756 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12757 int result;
12758 PyObject * obj0 = 0 ;
12759 char *kwnames[] = {
12760 (char *) "self", NULL
12761 };
12762
12763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetCol",kwnames,&obj0)) goto fail;
12764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12765 {
12766 PyThreadState* __tstate = wxPyBeginAllowThreads();
12767 result = (int)(arg1)->GetCol();
12768
12769 wxPyEndAllowThreads(__tstate);
12770 if (PyErr_Occurred()) SWIG_fail;
12771 }
12772 resultobj = PyInt_FromLong((long)result);
12773 return resultobj;
12774 fail:
12775 return NULL;
12776}
12777
12778
12779static PyObject *_wrap_GridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12780 PyObject *resultobj;
12781 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12782 wxPoint result;
12783 PyObject * obj0 = 0 ;
12784 char *kwnames[] = {
12785 (char *) "self", NULL
12786 };
12787
12788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetPosition",kwnames,&obj0)) goto fail;
12789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12790 {
12791 PyThreadState* __tstate = wxPyBeginAllowThreads();
12792 result = (arg1)->GetPosition();
12793
12794 wxPyEndAllowThreads(__tstate);
12795 if (PyErr_Occurred()) SWIG_fail;
12796 }
12797 {
12798 wxPoint * resultptr;
12799 resultptr = new wxPoint((wxPoint &) result);
12800 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12801 }
12802 return resultobj;
12803 fail:
12804 return NULL;
12805}
12806
12807
12808static PyObject *_wrap_GridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12809 PyObject *resultobj;
12810 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12811 bool result;
12812 PyObject * obj0 = 0 ;
12813 char *kwnames[] = {
12814 (char *) "self", NULL
12815 };
12816
12817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_Selecting",kwnames,&obj0)) goto fail;
12818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12819 {
12820 PyThreadState* __tstate = wxPyBeginAllowThreads();
12821 result = (bool)(arg1)->Selecting();
12822
12823 wxPyEndAllowThreads(__tstate);
12824 if (PyErr_Occurred()) SWIG_fail;
12825 }
12826 resultobj = PyInt_FromLong((long)result);
12827 return resultobj;
12828 fail:
12829 return NULL;
12830}
12831
12832
12833static PyObject *_wrap_GridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12834 PyObject *resultobj;
12835 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12836 bool result;
12837 PyObject * obj0 = 0 ;
12838 char *kwnames[] = {
12839 (char *) "self", NULL
12840 };
12841
12842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ControlDown",kwnames,&obj0)) goto fail;
12843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12844 {
12845 PyThreadState* __tstate = wxPyBeginAllowThreads();
12846 result = (bool)(arg1)->ControlDown();
12847
12848 wxPyEndAllowThreads(__tstate);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 resultobj = PyInt_FromLong((long)result);
12852 return resultobj;
12853 fail:
12854 return NULL;
12855}
12856
12857
12858static PyObject *_wrap_GridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj;
12860 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12861 bool result;
12862 PyObject * obj0 = 0 ;
12863 char *kwnames[] = {
12864 (char *) "self", NULL
12865 };
12866
12867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_MetaDown",kwnames,&obj0)) goto fail;
12868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12869 {
12870 PyThreadState* __tstate = wxPyBeginAllowThreads();
12871 result = (bool)(arg1)->MetaDown();
12872
12873 wxPyEndAllowThreads(__tstate);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 }
12876 resultobj = PyInt_FromLong((long)result);
12877 return resultobj;
12878 fail:
12879 return NULL;
12880}
12881
12882
12883static PyObject *_wrap_GridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12884 PyObject *resultobj;
12885 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12886 bool result;
12887 PyObject * obj0 = 0 ;
12888 char *kwnames[] = {
12889 (char *) "self", NULL
12890 };
12891
12892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ShiftDown",kwnames,&obj0)) goto fail;
12893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12894 {
12895 PyThreadState* __tstate = wxPyBeginAllowThreads();
12896 result = (bool)(arg1)->ShiftDown();
12897
12898 wxPyEndAllowThreads(__tstate);
12899 if (PyErr_Occurred()) SWIG_fail;
12900 }
12901 resultobj = PyInt_FromLong((long)result);
12902 return resultobj;
12903 fail:
12904 return NULL;
12905}
12906
12907
12908static PyObject *_wrap_GridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12909 PyObject *resultobj;
12910 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12911 bool result;
12912 PyObject * obj0 = 0 ;
12913 char *kwnames[] = {
12914 (char *) "self", NULL
12915 };
12916
12917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_AltDown",kwnames,&obj0)) goto fail;
12918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12919 {
12920 PyThreadState* __tstate = wxPyBeginAllowThreads();
12921 result = (bool)(arg1)->AltDown();
12922
12923 wxPyEndAllowThreads(__tstate);
12924 if (PyErr_Occurred()) SWIG_fail;
12925 }
12926 resultobj = PyInt_FromLong((long)result);
12927 return resultobj;
12928 fail:
12929 return NULL;
12930}
12931
12932
12933static PyObject * GridEvent_swigregister(PyObject *self, PyObject *args) {
12934 PyObject *obj;
12935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12936 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent, obj);
12937 Py_INCREF(obj);
12938 return Py_BuildValue((char *)"");
12939}
12940static PyObject *_wrap_new_GridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12941 PyObject *resultobj;
12942 int arg1 ;
12943 wxEventType arg2 ;
12944 wxGrid *arg3 = (wxGrid *) 0 ;
12945 int arg4 = (int) -1 ;
12946 int arg5 = (int) -1 ;
12947 int arg6 = (int) -1 ;
e811c8ce
RD
12948 bool arg7 = (bool) False ;
12949 bool arg8 = (bool) False ;
12950 bool arg9 = (bool) False ;
12951 bool arg10 = (bool) False ;
d14a1e28
RD
12952 wxGridSizeEvent *result;
12953 PyObject * obj2 = 0 ;
12954 PyObject * obj6 = 0 ;
12955 PyObject * obj7 = 0 ;
12956 PyObject * obj8 = 0 ;
12957 PyObject * obj9 = 0 ;
12958 char *kwnames[] = {
12959 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
12960 };
12961
12962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiO|iiiOOOO:new_GridSizeEvent",kwnames,&arg1,&arg2,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7,&obj8,&obj9)) goto fail;
12963 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12964 if (obj6) {
12965 arg7 = PyInt_AsLong(obj6) ? true : false;
12966 if (PyErr_Occurred()) SWIG_fail;
12967 }
12968 if (obj7) {
12969 arg8 = PyInt_AsLong(obj7) ? true : false;
12970 if (PyErr_Occurred()) SWIG_fail;
12971 }
12972 if (obj8) {
12973 arg9 = PyInt_AsLong(obj8) ? true : false;
12974 if (PyErr_Occurred()) SWIG_fail;
12975 }
12976 if (obj9) {
12977 arg10 = PyInt_AsLong(obj9) ? true : false;
12978 if (PyErr_Occurred()) SWIG_fail;
12979 }
12980 {
12981 PyThreadState* __tstate = wxPyBeginAllowThreads();
12982 result = (wxGridSizeEvent *)new wxGridSizeEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
12983
12984 wxPyEndAllowThreads(__tstate);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 }
12987 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridSizeEvent, 1);
12988 return resultobj;
12989 fail:
12990 return NULL;
12991}
12992
12993
12994static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12995 PyObject *resultobj;
12996 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
12997 int result;
12998 PyObject * obj0 = 0 ;
12999 char *kwnames[] = {
13000 (char *) "self", NULL
13001 };
13002
13003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames,&obj0)) goto fail;
13004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13005 {
13006 PyThreadState* __tstate = wxPyBeginAllowThreads();
13007 result = (int)(arg1)->GetRowOrCol();
13008
13009 wxPyEndAllowThreads(__tstate);
13010 if (PyErr_Occurred()) SWIG_fail;
13011 }
13012 resultobj = PyInt_FromLong((long)result);
13013 return resultobj;
13014 fail:
13015 return NULL;
13016}
13017
13018
13019static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13020 PyObject *resultobj;
13021 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
13022 wxPoint result;
13023 PyObject * obj0 = 0 ;
13024 char *kwnames[] = {
13025 (char *) "self", NULL
13026 };
13027
13028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetPosition",kwnames,&obj0)) goto fail;
13029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13030 {
13031 PyThreadState* __tstate = wxPyBeginAllowThreads();
13032 result = (arg1)->GetPosition();
13033
13034 wxPyEndAllowThreads(__tstate);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 }
13037 {
13038 wxPoint * resultptr;
13039 resultptr = new wxPoint((wxPoint &) result);
13040 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
13041 }
13042 return resultobj;
13043 fail:
13044 return NULL;
13045}
13046
13047
13048static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13049 PyObject *resultobj;
13050 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
13051 bool result;
13052 PyObject * obj0 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "self", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ControlDown",kwnames,&obj0)) goto fail;
13058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13059 {
13060 PyThreadState* __tstate = wxPyBeginAllowThreads();
13061 result = (bool)(arg1)->ControlDown();
13062
13063 wxPyEndAllowThreads(__tstate);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 resultobj = PyInt_FromLong((long)result);
13067 return resultobj;
13068 fail:
13069 return NULL;
13070}
13071
13072
13073static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13074 PyObject *resultobj;
13075 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
13076 bool result;
13077 PyObject * obj0 = 0 ;
13078 char *kwnames[] = {
13079 (char *) "self", NULL
13080 };
13081
13082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_MetaDown",kwnames,&obj0)) goto fail;
13083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13084 {
13085 PyThreadState* __tstate = wxPyBeginAllowThreads();
13086 result = (bool)(arg1)->MetaDown();
13087
13088 wxPyEndAllowThreads(__tstate);
13089 if (PyErr_Occurred()) SWIG_fail;
13090 }
13091 resultobj = PyInt_FromLong((long)result);
13092 return resultobj;
13093 fail:
13094 return NULL;
13095}
13096
13097
13098static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13099 PyObject *resultobj;
13100 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
13101 bool result;
13102 PyObject * obj0 = 0 ;
13103 char *kwnames[] = {
13104 (char *) "self", NULL
13105 };
13106
13107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ShiftDown",kwnames,&obj0)) goto fail;
13108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13109 {
13110 PyThreadState* __tstate = wxPyBeginAllowThreads();
13111 result = (bool)(arg1)->ShiftDown();
13112
13113 wxPyEndAllowThreads(__tstate);
13114 if (PyErr_Occurred()) SWIG_fail;
13115 }
13116 resultobj = PyInt_FromLong((long)result);
13117 return resultobj;
13118 fail:
13119 return NULL;
13120}
13121
13122
13123static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13124 PyObject *resultobj;
13125 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
13126 bool result;
13127 PyObject * obj0 = 0 ;
13128 char *kwnames[] = {
13129 (char *) "self", NULL
13130 };
13131
13132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_AltDown",kwnames,&obj0)) goto fail;
13133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 result = (bool)(arg1)->AltDown();
13137
13138 wxPyEndAllowThreads(__tstate);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 resultobj = PyInt_FromLong((long)result);
13142 return resultobj;
13143 fail:
13144 return NULL;
13145}
13146
13147
13148static PyObject * GridSizeEvent_swigregister(PyObject *self, PyObject *args) {
13149 PyObject *obj;
13150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13151 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent, obj);
13152 Py_INCREF(obj);
13153 return Py_BuildValue((char *)"");
13154}
13155static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13156 PyObject *resultobj;
13157 int arg1 ;
13158 wxEventType arg2 ;
13159 wxGrid *arg3 = (wxGrid *) 0 ;
13160 wxGridCellCoords *arg4 = 0 ;
13161 wxGridCellCoords *arg5 = 0 ;
e811c8ce
RD
13162 bool arg6 = (bool) True ;
13163 bool arg7 = (bool) False ;
13164 bool arg8 = (bool) False ;
13165 bool arg9 = (bool) False ;
13166 bool arg10 = (bool) False ;
d14a1e28
RD
13167 wxGridRangeSelectEvent *result;
13168 wxGridCellCoords temp4 ;
13169 wxGridCellCoords temp5 ;
13170 PyObject * obj2 = 0 ;
13171 PyObject * obj3 = 0 ;
13172 PyObject * obj4 = 0 ;
13173 PyObject * obj5 = 0 ;
13174 PyObject * obj6 = 0 ;
13175 PyObject * obj7 = 0 ;
13176 PyObject * obj8 = 0 ;
13177 PyObject * obj9 = 0 ;
13178 char *kwnames[] = {
13179 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
13180 };
13181
13182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiOOO|OOOOO:new_GridRangeSelectEvent",kwnames,&arg1,&arg2,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13183 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13184 {
13185 arg4 = &temp4;
13186 if (! wxGridCellCoords_helper(obj3, &arg4)) SWIG_fail;
13187 }
13188 {
13189 arg5 = &temp5;
13190 if (! wxGridCellCoords_helper(obj4, &arg5)) SWIG_fail;
13191 }
13192 if (obj5) {
13193 arg6 = PyInt_AsLong(obj5) ? true : false;
13194 if (PyErr_Occurred()) SWIG_fail;
13195 }
13196 if (obj6) {
13197 arg7 = PyInt_AsLong(obj6) ? true : false;
13198 if (PyErr_Occurred()) SWIG_fail;
13199 }
13200 if (obj7) {
13201 arg8 = PyInt_AsLong(obj7) ? true : false;
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
13204 if (obj8) {
13205 arg9 = PyInt_AsLong(obj8) ? true : false;
13206 if (PyErr_Occurred()) SWIG_fail;
13207 }
13208 if (obj9) {
13209 arg10 = PyInt_AsLong(obj9) ? true : false;
13210 if (PyErr_Occurred()) SWIG_fail;
13211 }
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 result = (wxGridRangeSelectEvent *)new wxGridRangeSelectEvent(arg1,arg2,arg3,(wxGridCellCoords const &)*arg4,(wxGridCellCoords const &)*arg5,arg6,arg7,arg8,arg9,arg10);
13215
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridRangeSelectEvent, 1);
13220 return resultobj;
13221 fail:
13222 return NULL;
13223}
13224
13225
13226static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13227 PyObject *resultobj;
13228 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13229 wxGridCellCoords result;
13230 PyObject * obj0 = 0 ;
13231 char *kwnames[] = {
13232 (char *) "self", NULL
13233 };
13234
13235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames,&obj0)) goto fail;
13236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13237 {
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
13239 result = (arg1)->GetTopLeftCoords();
13240
13241 wxPyEndAllowThreads(__tstate);
13242 if (PyErr_Occurred()) SWIG_fail;
13243 }
13244 {
13245 wxGridCellCoords * resultptr;
13246 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
13247 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGridCellCoords, 1);
13248 }
13249 return resultobj;
13250 fail:
13251 return NULL;
13252}
13253
13254
13255static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13256 PyObject *resultobj;
13257 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13258 wxGridCellCoords result;
13259 PyObject * obj0 = 0 ;
13260 char *kwnames[] = {
13261 (char *) "self", NULL
13262 };
13263
13264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames,&obj0)) goto fail;
13265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13266 {
13267 PyThreadState* __tstate = wxPyBeginAllowThreads();
13268 result = (arg1)->GetBottomRightCoords();
13269
13270 wxPyEndAllowThreads(__tstate);
13271 if (PyErr_Occurred()) SWIG_fail;
13272 }
13273 {
13274 wxGridCellCoords * resultptr;
13275 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
13276 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGridCellCoords, 1);
13277 }
13278 return resultobj;
13279 fail:
13280 return NULL;
13281}
13282
13283
13284static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13285 PyObject *resultobj;
13286 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13287 int result;
13288 PyObject * obj0 = 0 ;
13289 char *kwnames[] = {
13290 (char *) "self", NULL
13291 };
13292
13293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames,&obj0)) goto fail;
13294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13295 {
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 result = (int)(arg1)->GetTopRow();
13298
13299 wxPyEndAllowThreads(__tstate);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 }
13302 resultobj = PyInt_FromLong((long)result);
13303 return resultobj;
13304 fail:
13305 return NULL;
13306}
13307
13308
13309static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13310 PyObject *resultobj;
13311 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13312 int result;
13313 PyObject * obj0 = 0 ;
13314 char *kwnames[] = {
13315 (char *) "self", NULL
13316 };
13317
13318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames,&obj0)) goto fail;
13319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13320 {
13321 PyThreadState* __tstate = wxPyBeginAllowThreads();
13322 result = (int)(arg1)->GetBottomRow();
13323
13324 wxPyEndAllowThreads(__tstate);
13325 if (PyErr_Occurred()) SWIG_fail;
13326 }
13327 resultobj = PyInt_FromLong((long)result);
13328 return resultobj;
13329 fail:
13330 return NULL;
13331}
13332
13333
13334static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13335 PyObject *resultobj;
13336 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13337 int result;
13338 PyObject * obj0 = 0 ;
13339 char *kwnames[] = {
13340 (char *) "self", NULL
13341 };
13342
13343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames,&obj0)) goto fail;
13344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13345 {
13346 PyThreadState* __tstate = wxPyBeginAllowThreads();
13347 result = (int)(arg1)->GetLeftCol();
13348
13349 wxPyEndAllowThreads(__tstate);
13350 if (PyErr_Occurred()) SWIG_fail;
13351 }
13352 resultobj = PyInt_FromLong((long)result);
13353 return resultobj;
13354 fail:
13355 return NULL;
13356}
13357
13358
13359static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13360 PyObject *resultobj;
13361 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13362 int result;
13363 PyObject * obj0 = 0 ;
13364 char *kwnames[] = {
13365 (char *) "self", NULL
13366 };
13367
13368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames,&obj0)) goto fail;
13369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13370 {
13371 PyThreadState* __tstate = wxPyBeginAllowThreads();
13372 result = (int)(arg1)->GetRightCol();
13373
13374 wxPyEndAllowThreads(__tstate);
13375 if (PyErr_Occurred()) SWIG_fail;
13376 }
13377 resultobj = PyInt_FromLong((long)result);
13378 return resultobj;
13379 fail:
13380 return NULL;
13381}
13382
13383
13384static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
13385 PyObject *resultobj;
13386 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13387 bool result;
13388 PyObject * obj0 = 0 ;
13389 char *kwnames[] = {
13390 (char *) "self", NULL
13391 };
13392
13393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_Selecting",kwnames,&obj0)) goto fail;
13394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13395 {
13396 PyThreadState* __tstate = wxPyBeginAllowThreads();
13397 result = (bool)(arg1)->Selecting();
13398
13399 wxPyEndAllowThreads(__tstate);
13400 if (PyErr_Occurred()) SWIG_fail;
13401 }
13402 resultobj = PyInt_FromLong((long)result);
13403 return resultobj;
13404 fail:
13405 return NULL;
13406}
13407
13408
13409static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13410 PyObject *resultobj;
13411 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13412 bool result;
13413 PyObject * obj0 = 0 ;
13414 char *kwnames[] = {
13415 (char *) "self", NULL
13416 };
13417
13418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames,&obj0)) goto fail;
13419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13420 {
13421 PyThreadState* __tstate = wxPyBeginAllowThreads();
13422 result = (bool)(arg1)->ControlDown();
13423
13424 wxPyEndAllowThreads(__tstate);
13425 if (PyErr_Occurred()) SWIG_fail;
13426 }
13427 resultobj = PyInt_FromLong((long)result);
13428 return resultobj;
13429 fail:
13430 return NULL;
13431}
13432
13433
13434static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13435 PyObject *resultobj;
13436 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13437 bool result;
13438 PyObject * obj0 = 0 ;
13439 char *kwnames[] = {
13440 (char *) "self", NULL
13441 };
13442
13443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames,&obj0)) goto fail;
13444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 result = (bool)(arg1)->MetaDown();
13448
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 resultobj = PyInt_FromLong((long)result);
13453 return resultobj;
13454 fail:
13455 return NULL;
13456}
13457
13458
13459static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13460 PyObject *resultobj;
13461 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13462 bool result;
13463 PyObject * obj0 = 0 ;
13464 char *kwnames[] = {
13465 (char *) "self", NULL
13466 };
13467
13468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames,&obj0)) goto fail;
13469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13470 {
13471 PyThreadState* __tstate = wxPyBeginAllowThreads();
13472 result = (bool)(arg1)->ShiftDown();
13473
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 resultobj = PyInt_FromLong((long)result);
13478 return resultobj;
13479 fail:
13480 return NULL;
13481}
13482
13483
13484static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13485 PyObject *resultobj;
13486 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13487 bool result;
13488 PyObject * obj0 = 0 ;
13489 char *kwnames[] = {
13490 (char *) "self", NULL
13491 };
13492
13493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_AltDown",kwnames,&obj0)) goto fail;
13494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13495 {
13496 PyThreadState* __tstate = wxPyBeginAllowThreads();
13497 result = (bool)(arg1)->AltDown();
13498
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 resultobj = PyInt_FromLong((long)result);
13503 return resultobj;
13504 fail:
13505 return NULL;
13506}
13507
13508
13509static PyObject * GridRangeSelectEvent_swigregister(PyObject *self, PyObject *args) {
13510 PyObject *obj;
13511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13512 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent, obj);
13513 Py_INCREF(obj);
13514 return Py_BuildValue((char *)"");
13515}
13516static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13517 PyObject *resultobj;
13518 int arg1 ;
13519 wxEventType arg2 ;
13520 wxObject *arg3 = (wxObject *) 0 ;
13521 int arg4 ;
13522 int arg5 ;
13523 wxControl *arg6 = (wxControl *) 0 ;
13524 wxGridEditorCreatedEvent *result;
13525 PyObject * obj2 = 0 ;
13526 PyObject * obj5 = 0 ;
13527 char *kwnames[] = {
13528 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
13529 };
13530
13531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiOiiO:new_GridEditorCreatedEvent",kwnames,&arg1,&arg2,&obj2,&arg4,&arg5,&obj5)) goto fail;
13532 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13533 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13534 {
13535 PyThreadState* __tstate = wxPyBeginAllowThreads();
13536 result = (wxGridEditorCreatedEvent *)new wxGridEditorCreatedEvent(arg1,arg2,arg3,arg4,arg5,arg6);
13537
13538 wxPyEndAllowThreads(__tstate);
13539 if (PyErr_Occurred()) SWIG_fail;
13540 }
13541 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridEditorCreatedEvent, 1);
13542 return resultobj;
13543 fail:
13544 return NULL;
13545}
13546
13547
13548static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13549 PyObject *resultobj;
13550 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
13551 int result;
13552 PyObject * obj0 = 0 ;
13553 char *kwnames[] = {
13554 (char *) "self", NULL
13555 };
13556
13557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames,&obj0)) goto fail;
13558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13559 {
13560 PyThreadState* __tstate = wxPyBeginAllowThreads();
13561 result = (int)(arg1)->GetRow();
13562
13563 wxPyEndAllowThreads(__tstate);
13564 if (PyErr_Occurred()) SWIG_fail;
13565 }
13566 resultobj = PyInt_FromLong((long)result);
13567 return resultobj;
13568 fail:
13569 return NULL;
13570}
13571
13572
13573static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13574 PyObject *resultobj;
13575 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
13576 int result;
13577 PyObject * obj0 = 0 ;
13578 char *kwnames[] = {
13579 (char *) "self", NULL
13580 };
13581
13582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames,&obj0)) goto fail;
13583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 result = (int)(arg1)->GetCol();
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 resultobj = PyInt_FromLong((long)result);
13592 return resultobj;
13593 fail:
13594 return NULL;
13595}
13596
13597
13598static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj;
13600 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
13601 wxControl *result;
13602 PyObject * obj0 = 0 ;
13603 char *kwnames[] = {
13604 (char *) "self", NULL
13605 };
13606
13607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames,&obj0)) goto fail;
13608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13609 {
13610 PyThreadState* __tstate = wxPyBeginAllowThreads();
13611 result = (wxControl *)(arg1)->GetControl();
13612
13613 wxPyEndAllowThreads(__tstate);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 }
13616 {
13617 resultobj = wxPyMake_wxObject(result);
13618 }
13619 return resultobj;
13620 fail:
13621 return NULL;
13622}
13623
13624
13625static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13626 PyObject *resultobj;
13627 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
13628 int arg2 ;
13629 PyObject * obj0 = 0 ;
13630 char *kwnames[] = {
13631 (char *) "self",(char *) "row", NULL
13632 };
13633
13634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridEditorCreatedEvent_SetRow",kwnames,&obj0,&arg2)) goto fail;
13635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13636 {
13637 PyThreadState* __tstate = wxPyBeginAllowThreads();
13638 (arg1)->SetRow(arg2);
13639
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 Py_INCREF(Py_None); resultobj = Py_None;
13644 return resultobj;
13645 fail:
13646 return NULL;
13647}
13648
13649
13650static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13651 PyObject *resultobj;
13652 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
13653 int arg2 ;
13654 PyObject * obj0 = 0 ;
13655 char *kwnames[] = {
13656 (char *) "self",(char *) "col", NULL
13657 };
13658
13659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridEditorCreatedEvent_SetCol",kwnames,&obj0,&arg2)) goto fail;
13660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13661 {
13662 PyThreadState* __tstate = wxPyBeginAllowThreads();
13663 (arg1)->SetCol(arg2);
13664
13665 wxPyEndAllowThreads(__tstate);
13666 if (PyErr_Occurred()) SWIG_fail;
13667 }
13668 Py_INCREF(Py_None); resultobj = Py_None;
13669 return resultobj;
13670 fail:
13671 return NULL;
13672}
13673
13674
13675static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13676 PyObject *resultobj;
13677 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
13678 wxControl *arg2 = (wxControl *) 0 ;
13679 PyObject * obj0 = 0 ;
13680 PyObject * obj1 = 0 ;
13681 char *kwnames[] = {
13682 (char *) "self",(char *) "ctrl", NULL
13683 };
13684
13685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames,&obj0,&obj1)) goto fail;
13686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13687 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13688 {
13689 PyThreadState* __tstate = wxPyBeginAllowThreads();
13690 (arg1)->SetControl(arg2);
13691
13692 wxPyEndAllowThreads(__tstate);
13693 if (PyErr_Occurred()) SWIG_fail;
13694 }
13695 Py_INCREF(Py_None); resultobj = Py_None;
13696 return resultobj;
13697 fail:
13698 return NULL;
13699}
13700
13701
13702static PyObject * GridEditorCreatedEvent_swigregister(PyObject *self, PyObject *args) {
13703 PyObject *obj;
13704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13705 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent, obj);
13706 Py_INCREF(obj);
13707 return Py_BuildValue((char *)"");
13708}
13709static PyMethodDef SwigMethods[] = {
13710 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction) _wrap_GridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
13711 { (char *)"GridCellRenderer_SetParameters", (PyCFunction) _wrap_GridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
13712 { (char *)"GridCellRenderer_IncRef", (PyCFunction) _wrap_GridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
13713 { (char *)"GridCellRenderer_DecRef", (PyCFunction) _wrap_GridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
13714 { (char *)"GridCellRenderer_Draw", (PyCFunction) _wrap_GridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
13715 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction) _wrap_GridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
13716 { (char *)"GridCellRenderer_Clone", (PyCFunction) _wrap_GridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
13717 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister, METH_VARARGS },
13718 { (char *)"new_PyGridCellRenderer", (PyCFunction) _wrap_new_PyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
13719 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_PyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
13720 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_PyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13721 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister, METH_VARARGS },
13722 { (char *)"new_GridCellStringRenderer", (PyCFunction) _wrap_new_GridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
13723 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister, METH_VARARGS },
13724 { (char *)"new_GridCellNumberRenderer", (PyCFunction) _wrap_new_GridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
13725 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister, METH_VARARGS },
13726 { (char *)"new_GridCellFloatRenderer", (PyCFunction) _wrap_new_GridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
13727 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
13728 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
13729 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
13730 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
13731 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister, METH_VARARGS },
13732 { (char *)"new_GridCellBoolRenderer", (PyCFunction) _wrap_new_GridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
13733 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister, METH_VARARGS },
13734 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction) _wrap_new_GridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
13735 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister, METH_VARARGS },
13736 { (char *)"new_GridCellEnumRenderer", (PyCFunction) _wrap_new_GridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
13737 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister, METH_VARARGS },
13738 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_GridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
13739 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister, METH_VARARGS },
13740 { (char *)"GridCellEditor__setOORInfo", (PyCFunction) _wrap_GridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS },
13741 { (char *)"GridCellEditor_IsCreated", (PyCFunction) _wrap_GridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
13742 { (char *)"GridCellEditor_GetControl", (PyCFunction) _wrap_GridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
13743 { (char *)"GridCellEditor_SetControl", (PyCFunction) _wrap_GridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
13744 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction) _wrap_GridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS },
13745 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction) _wrap_GridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS },
13746 { (char *)"GridCellEditor_SetParameters", (PyCFunction) _wrap_GridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
13747 { (char *)"GridCellEditor_IncRef", (PyCFunction) _wrap_GridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
13748 { (char *)"GridCellEditor_DecRef", (PyCFunction) _wrap_GridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
13749 { (char *)"GridCellEditor_Create", (PyCFunction) _wrap_GridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
13750 { (char *)"GridCellEditor_BeginEdit", (PyCFunction) _wrap_GridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
13751 { (char *)"GridCellEditor_EndEdit", (PyCFunction) _wrap_GridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
13752 { (char *)"GridCellEditor_Reset", (PyCFunction) _wrap_GridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
13753 { (char *)"GridCellEditor_Clone", (PyCFunction) _wrap_GridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
13754 { (char *)"GridCellEditor_SetSize", (PyCFunction) _wrap_GridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
13755 { (char *)"GridCellEditor_Show", (PyCFunction) _wrap_GridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
13756 { (char *)"GridCellEditor_PaintBackground", (PyCFunction) _wrap_GridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13757 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_GridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
13758 { (char *)"GridCellEditor_StartingKey", (PyCFunction) _wrap_GridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
13759 { (char *)"GridCellEditor_StartingClick", (PyCFunction) _wrap_GridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
13760 { (char *)"GridCellEditor_HandleReturn", (PyCFunction) _wrap_GridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13761 { (char *)"GridCellEditor_Destroy", (PyCFunction) _wrap_GridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
13762 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister, METH_VARARGS },
13763 { (char *)"new_PyGridCellEditor", (PyCFunction) _wrap_new_PyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
13764 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_PyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
13765 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction) _wrap_PyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
13766 { (char *)"PyGridCellEditor_base_Show", (PyCFunction) _wrap_PyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
13767 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_PyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13768 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_PyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
13769 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_PyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
13770 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_PyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
13771 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_PyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13772 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction) _wrap_PyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
13773 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_PyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13774 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister, METH_VARARGS },
13775 { (char *)"new_GridCellTextEditor", (PyCFunction) _wrap_new_GridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
13776 { (char *)"GridCellTextEditor_GetValue", (PyCFunction) _wrap_GridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
13777 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister, METH_VARARGS },
13778 { (char *)"new_GridCellNumberEditor", (PyCFunction) _wrap_new_GridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
13779 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction) _wrap_GridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
13780 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister, METH_VARARGS },
13781 { (char *)"new_GridCellFloatEditor", (PyCFunction) _wrap_new_GridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
13782 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction) _wrap_GridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
13783 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS },
13784 { (char *)"new_GridCellBoolEditor", (PyCFunction) _wrap_new_GridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
13785 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction) _wrap_GridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
13786 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS },
13787 { (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
13788 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction) _wrap_GridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
13789 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister, METH_VARARGS },
13790 { (char *)"new_GridCellEnumEditor", (PyCFunction) _wrap_new_GridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
13791 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction) _wrap_GridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
13792 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister, METH_VARARGS },
13793 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_GridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
13794 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_GridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
13795 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister, METH_VARARGS },
13796 { (char *)"GridCellAttr__setOORInfo", (PyCFunction) _wrap_GridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS },
13797 { (char *)"new_GridCellAttr", (PyCFunction) _wrap_new_GridCellAttr, METH_VARARGS | METH_KEYWORDS },
13798 { (char *)"GridCellAttr_Clone", (PyCFunction) _wrap_GridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
13799 { (char *)"GridCellAttr_MergeWith", (PyCFunction) _wrap_GridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
13800 { (char *)"GridCellAttr_IncRef", (PyCFunction) _wrap_GridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
13801 { (char *)"GridCellAttr_DecRef", (PyCFunction) _wrap_GridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
13802 { (char *)"GridCellAttr_SetTextColour", (PyCFunction) _wrap_GridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
13803 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13804 { (char *)"GridCellAttr_SetFont", (PyCFunction) _wrap_GridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
13805 { (char *)"GridCellAttr_SetAlignment", (PyCFunction) _wrap_GridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
13806 { (char *)"GridCellAttr_SetSize", (PyCFunction) _wrap_GridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS },
13807 { (char *)"GridCellAttr_SetOverflow", (PyCFunction) _wrap_GridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS },
13808 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction) _wrap_GridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13809 { (char *)"GridCellAttr_SetRenderer", (PyCFunction) _wrap_GridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
13810 { (char *)"GridCellAttr_SetEditor", (PyCFunction) _wrap_GridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
13811 { (char *)"GridCellAttr_SetKind", (PyCFunction) _wrap_GridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
13812 { (char *)"GridCellAttr_HasTextColour", (PyCFunction) _wrap_GridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
13813 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_GridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13814 { (char *)"GridCellAttr_HasFont", (PyCFunction) _wrap_GridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
13815 { (char *)"GridCellAttr_HasAlignment", (PyCFunction) _wrap_GridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
13816 { (char *)"GridCellAttr_HasRenderer", (PyCFunction) _wrap_GridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
13817 { (char *)"GridCellAttr_HasEditor", (PyCFunction) _wrap_GridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
13818 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_GridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
13819 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction) _wrap_GridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS },
13820 { (char *)"GridCellAttr_GetTextColour", (PyCFunction) _wrap_GridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
13821 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13822 { (char *)"GridCellAttr_GetFont", (PyCFunction) _wrap_GridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
13823 { (char *)"GridCellAttr_GetAlignment", (PyCFunction) _wrap_GridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
13824 { (char *)"GridCellAttr_GetSize", (PyCFunction) _wrap_GridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS },
13825 { (char *)"GridCellAttr_GetOverflow", (PyCFunction) _wrap_GridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS },
13826 { (char *)"GridCellAttr_GetRenderer", (PyCFunction) _wrap_GridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
13827 { (char *)"GridCellAttr_GetEditor", (PyCFunction) _wrap_GridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
13828 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction) _wrap_GridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13829 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction) _wrap_GridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
13830 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister, METH_VARARGS },
13831 { (char *)"new_GridCellAttrProvider", (PyCFunction) _wrap_new_GridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13832 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_GridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS },
13833 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction) _wrap_GridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
13834 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
13835 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13836 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13837 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
13838 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
13839 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister, METH_VARARGS },
13840 { (char *)"new_PyGridCellAttrProvider", (PyCFunction) _wrap_new_PyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13841 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_PyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
13842 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13843 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13844 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13845 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13846 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister, METH_VARARGS },
13847 { (char *)"GridTableBase__setOORInfo", (PyCFunction) _wrap_GridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS },
13848 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction) _wrap_GridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13849 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction) _wrap_GridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13850 { (char *)"GridTableBase_SetView", (PyCFunction) _wrap_GridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
13851 { (char *)"GridTableBase_GetView", (PyCFunction) _wrap_GridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
13852 { (char *)"GridTableBase_GetNumberRows", (PyCFunction) _wrap_GridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13853 { (char *)"GridTableBase_GetNumberCols", (PyCFunction) _wrap_GridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13854 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction) _wrap_GridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
13855 { (char *)"GridTableBase_GetValue", (PyCFunction) _wrap_GridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
13856 { (char *)"GridTableBase_SetValue", (PyCFunction) _wrap_GridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
13857 { (char *)"GridTableBase_GetTypeName", (PyCFunction) _wrap_GridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13858 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction) _wrap_GridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13859 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction) _wrap_GridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13860 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction) _wrap_GridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13861 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction) _wrap_GridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13862 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction) _wrap_GridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13863 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction) _wrap_GridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13864 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction) _wrap_GridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13865 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction) _wrap_GridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13866 { (char *)"GridTableBase_Clear", (PyCFunction) _wrap_GridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
13867 { (char *)"GridTableBase_InsertRows", (PyCFunction) _wrap_GridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
13868 { (char *)"GridTableBase_AppendRows", (PyCFunction) _wrap_GridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
13869 { (char *)"GridTableBase_DeleteRows", (PyCFunction) _wrap_GridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13870 { (char *)"GridTableBase_InsertCols", (PyCFunction) _wrap_GridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
13871 { (char *)"GridTableBase_AppendCols", (PyCFunction) _wrap_GridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
13872 { (char *)"GridTableBase_DeleteCols", (PyCFunction) _wrap_GridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13873 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction) _wrap_GridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13874 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction) _wrap_GridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13875 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction) _wrap_GridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13876 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction) _wrap_GridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13877 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction) _wrap_GridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13878 { (char *)"GridTableBase_GetAttr", (PyCFunction) _wrap_GridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
13879 { (char *)"GridTableBase_SetAttr", (PyCFunction) _wrap_GridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
13880 { (char *)"GridTableBase_SetRowAttr", (PyCFunction) _wrap_GridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13881 { (char *)"GridTableBase_SetColAttr", (PyCFunction) _wrap_GridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13882 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister, METH_VARARGS },
13883 { (char *)"new_PyGridTableBase", (PyCFunction) _wrap_new_PyGridTableBase, METH_VARARGS | METH_KEYWORDS },
13884 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_PyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
13885 { (char *)"PyGridTableBase_Destroy", (PyCFunction) _wrap_PyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
13886 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_PyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13887 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13888 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13889 { (char *)"PyGridTableBase_base_Clear", (PyCFunction) _wrap_PyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
13890 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction) _wrap_PyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
13891 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction) _wrap_PyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
13892 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_PyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13893 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction) _wrap_PyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
13894 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction) _wrap_PyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
13895 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_PyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13896 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13897 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13898 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13899 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13900 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_PyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13901 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction) _wrap_PyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13902 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13903 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13904 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13905 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister, METH_VARARGS },
13906 { (char *)"new_GridStringTable", (PyCFunction) _wrap_new_GridStringTable, METH_VARARGS | METH_KEYWORDS },
13907 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister, METH_VARARGS },
13908 { (char *)"new_GridTableMessage", (PyCFunction) _wrap_new_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
13909 { (char *)"delete_GridTableMessage", (PyCFunction) _wrap_delete_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
13910 { (char *)"GridTableMessage_SetTableObject", (PyCFunction) _wrap_GridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
13911 { (char *)"GridTableMessage_GetTableObject", (PyCFunction) _wrap_GridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
13912 { (char *)"GridTableMessage_SetId", (PyCFunction) _wrap_GridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
13913 { (char *)"GridTableMessage_GetId", (PyCFunction) _wrap_GridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
13914 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction) _wrap_GridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
13915 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction) _wrap_GridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
13916 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction) _wrap_GridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13917 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction) _wrap_GridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13918 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister, METH_VARARGS },
13919 { (char *)"new_GridCellCoords", (PyCFunction) _wrap_new_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
13920 { (char *)"delete_GridCellCoords", (PyCFunction) _wrap_delete_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
13921 { (char *)"GridCellCoords_GetRow", (PyCFunction) _wrap_GridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
13922 { (char *)"GridCellCoords_SetRow", (PyCFunction) _wrap_GridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
13923 { (char *)"GridCellCoords_GetCol", (PyCFunction) _wrap_GridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
13924 { (char *)"GridCellCoords_SetCol", (PyCFunction) _wrap_GridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
13925 { (char *)"GridCellCoords_Set", (PyCFunction) _wrap_GridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
13926 { (char *)"GridCellCoords___eq__", (PyCFunction) _wrap_GridCellCoords___eq__, METH_VARARGS | METH_KEYWORDS },
13927 { (char *)"GridCellCoords___ne__", (PyCFunction) _wrap_GridCellCoords___ne__, METH_VARARGS | METH_KEYWORDS },
13928 { (char *)"GridCellCoords_asTuple", (PyCFunction) _wrap_GridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
13929 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister, METH_VARARGS },
13930 { (char *)"new_Grid", (PyCFunction) _wrap_new_Grid, METH_VARARGS | METH_KEYWORDS },
13931 { (char *)"Grid_CreateGrid", (PyCFunction) _wrap_Grid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
13932 { (char *)"Grid_SetSelectionMode", (PyCFunction) _wrap_Grid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
13933 { (char *)"Grid_GetSelectionMode", (PyCFunction) _wrap_Grid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
13934 { (char *)"Grid_GetNumberRows", (PyCFunction) _wrap_Grid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13935 { (char *)"Grid_GetNumberCols", (PyCFunction) _wrap_Grid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13936 { (char *)"Grid_ProcessTableMessage", (PyCFunction) _wrap_Grid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
13937 { (char *)"Grid_GetTable", (PyCFunction) _wrap_Grid_GetTable, METH_VARARGS | METH_KEYWORDS },
13938 { (char *)"Grid_SetTable", (PyCFunction) _wrap_Grid_SetTable, METH_VARARGS | METH_KEYWORDS },
13939 { (char *)"Grid_ClearGrid", (PyCFunction) _wrap_Grid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
13940 { (char *)"Grid_InsertRows", (PyCFunction) _wrap_Grid_InsertRows, METH_VARARGS | METH_KEYWORDS },
13941 { (char *)"Grid_AppendRows", (PyCFunction) _wrap_Grid_AppendRows, METH_VARARGS | METH_KEYWORDS },
13942 { (char *)"Grid_DeleteRows", (PyCFunction) _wrap_Grid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13943 { (char *)"Grid_InsertCols", (PyCFunction) _wrap_Grid_InsertCols, METH_VARARGS | METH_KEYWORDS },
13944 { (char *)"Grid_AppendCols", (PyCFunction) _wrap_Grid_AppendCols, METH_VARARGS | METH_KEYWORDS },
13945 { (char *)"Grid_DeleteCols", (PyCFunction) _wrap_Grid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13946 { (char *)"Grid_DrawCellHighlight", (PyCFunction) _wrap_Grid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
13947 { (char *)"Grid_DrawTextRectangle", (PyCFunction) _wrap_Grid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
13948 { (char *)"Grid_GetTextBoxSize", (PyCFunction) _wrap_Grid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
13949 { (char *)"Grid_BeginBatch", (PyCFunction) _wrap_Grid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
13950 { (char *)"Grid_EndBatch", (PyCFunction) _wrap_Grid_EndBatch, METH_VARARGS | METH_KEYWORDS },
13951 { (char *)"Grid_GetBatchCount", (PyCFunction) _wrap_Grid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
13952 { (char *)"Grid_ForceRefresh", (PyCFunction) _wrap_Grid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
13953 { (char *)"Grid_Refresh", (PyCFunction) _wrap_Grid_Refresh, METH_VARARGS | METH_KEYWORDS },
13954 { (char *)"Grid_IsEditable", (PyCFunction) _wrap_Grid_IsEditable, METH_VARARGS | METH_KEYWORDS },
13955 { (char *)"Grid_EnableEditing", (PyCFunction) _wrap_Grid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
13956 { (char *)"Grid_EnableCellEditControl", (PyCFunction) _wrap_Grid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13957 { (char *)"Grid_DisableCellEditControl", (PyCFunction) _wrap_Grid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13958 { (char *)"Grid_CanEnableCellControl", (PyCFunction) _wrap_Grid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
13959 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction) _wrap_Grid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
13960 { (char *)"Grid_IsCellEditControlShown", (PyCFunction) _wrap_Grid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
13961 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction) _wrap_Grid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
13962 { (char *)"Grid_ShowCellEditControl", (PyCFunction) _wrap_Grid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
13963 { (char *)"Grid_HideCellEditControl", (PyCFunction) _wrap_Grid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
13964 { (char *)"Grid_SaveEditControlValue", (PyCFunction) _wrap_Grid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
13965 { (char *)"Grid_XYToCell", (PyCFunction) _wrap_Grid_XYToCell, METH_VARARGS | METH_KEYWORDS },
13966 { (char *)"Grid_YToRow", (PyCFunction) _wrap_Grid_YToRow, METH_VARARGS | METH_KEYWORDS },
13967 { (char *)"Grid_XToCol", (PyCFunction) _wrap_Grid_XToCol, METH_VARARGS | METH_KEYWORDS },
13968 { (char *)"Grid_YToEdgeOfRow", (PyCFunction) _wrap_Grid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
13969 { (char *)"Grid_XToEdgeOfCol", (PyCFunction) _wrap_Grid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
13970 { (char *)"Grid_CellToRect", (PyCFunction) _wrap_Grid_CellToRect, METH_VARARGS | METH_KEYWORDS },
13971 { (char *)"Grid_GetGridCursorRow", (PyCFunction) _wrap_Grid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
13972 { (char *)"Grid_GetGridCursorCol", (PyCFunction) _wrap_Grid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
13973 { (char *)"Grid_IsVisible", (PyCFunction) _wrap_Grid_IsVisible, METH_VARARGS | METH_KEYWORDS },
13974 { (char *)"Grid_MakeCellVisible", (PyCFunction) _wrap_Grid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
13975 { (char *)"Grid_SetGridCursor", (PyCFunction) _wrap_Grid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
13976 { (char *)"Grid_MoveCursorUp", (PyCFunction) _wrap_Grid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
13977 { (char *)"Grid_MoveCursorDown", (PyCFunction) _wrap_Grid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
13978 { (char *)"Grid_MoveCursorLeft", (PyCFunction) _wrap_Grid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
13979 { (char *)"Grid_MoveCursorRight", (PyCFunction) _wrap_Grid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
13980 { (char *)"Grid_MovePageDown", (PyCFunction) _wrap_Grid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
13981 { (char *)"Grid_MovePageUp", (PyCFunction) _wrap_Grid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
13982 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction) _wrap_Grid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
13983 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction) _wrap_Grid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
13984 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction) _wrap_Grid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
13985 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction) _wrap_Grid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
13986 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction) _wrap_Grid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13987 { (char *)"Grid_GetRowLabelSize", (PyCFunction) _wrap_Grid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13988 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction) _wrap_Grid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
13989 { (char *)"Grid_GetColLabelSize", (PyCFunction) _wrap_Grid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13990 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction) _wrap_Grid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13991 { (char *)"Grid_GetLabelTextColour", (PyCFunction) _wrap_Grid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13992 { (char *)"Grid_GetLabelFont", (PyCFunction) _wrap_Grid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
13993 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction) _wrap_Grid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13994 { (char *)"Grid_GetColLabelAlignment", (PyCFunction) _wrap_Grid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13995 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction) _wrap_Grid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
13996 { (char *)"Grid_GetRowLabelValue", (PyCFunction) _wrap_Grid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13997 { (char *)"Grid_GetColLabelValue", (PyCFunction) _wrap_Grid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13998 { (char *)"Grid_GetGridLineColour", (PyCFunction) _wrap_Grid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13999 { (char *)"Grid_GetCellHighlightColour", (PyCFunction) _wrap_Grid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
14000 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
14001 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
14002 { (char *)"Grid_SetRowLabelSize", (PyCFunction) _wrap_Grid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14003 { (char *)"Grid_SetColLabelSize", (PyCFunction) _wrap_Grid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
14004 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction) _wrap_Grid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14005 { (char *)"Grid_SetLabelTextColour", (PyCFunction) _wrap_Grid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
14006 { (char *)"Grid_SetLabelFont", (PyCFunction) _wrap_Grid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
14007 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction) _wrap_Grid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14008 { (char *)"Grid_SetColLabelAlignment", (PyCFunction) _wrap_Grid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14009 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction) _wrap_Grid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
14010 { (char *)"Grid_SetRowLabelValue", (PyCFunction) _wrap_Grid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14011 { (char *)"Grid_SetColLabelValue", (PyCFunction) _wrap_Grid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14012 { (char *)"Grid_SetGridLineColour", (PyCFunction) _wrap_Grid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
14013 { (char *)"Grid_SetCellHighlightColour", (PyCFunction) _wrap_Grid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
14014 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
14015 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
14016 { (char *)"Grid_EnableDragRowSize", (PyCFunction) _wrap_Grid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
14017 { (char *)"Grid_DisableDragRowSize", (PyCFunction) _wrap_Grid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
14018 { (char *)"Grid_CanDragRowSize", (PyCFunction) _wrap_Grid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
14019 { (char *)"Grid_EnableDragColSize", (PyCFunction) _wrap_Grid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
14020 { (char *)"Grid_DisableDragColSize", (PyCFunction) _wrap_Grid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
14021 { (char *)"Grid_CanDragColSize", (PyCFunction) _wrap_Grid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
14022 { (char *)"Grid_EnableDragGridSize", (PyCFunction) _wrap_Grid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
14023 { (char *)"Grid_DisableDragGridSize", (PyCFunction) _wrap_Grid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
14024 { (char *)"Grid_CanDragGridSize", (PyCFunction) _wrap_Grid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
14025 { (char *)"Grid_SetAttr", (PyCFunction) _wrap_Grid_SetAttr, METH_VARARGS | METH_KEYWORDS },
14026 { (char *)"Grid_SetRowAttr", (PyCFunction) _wrap_Grid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14027 { (char *)"Grid_SetColAttr", (PyCFunction) _wrap_Grid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14028 { (char *)"Grid_SetColFormatBool", (PyCFunction) _wrap_Grid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
14029 { (char *)"Grid_SetColFormatNumber", (PyCFunction) _wrap_Grid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
14030 { (char *)"Grid_SetColFormatFloat", (PyCFunction) _wrap_Grid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
14031 { (char *)"Grid_SetColFormatCustom", (PyCFunction) _wrap_Grid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
14032 { (char *)"Grid_EnableGridLines", (PyCFunction) _wrap_Grid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
14033 { (char *)"Grid_GridLinesEnabled", (PyCFunction) _wrap_Grid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
14034 { (char *)"Grid_GetDefaultRowSize", (PyCFunction) _wrap_Grid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
14035 { (char *)"Grid_GetRowSize", (PyCFunction) _wrap_Grid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
14036 { (char *)"Grid_GetDefaultColSize", (PyCFunction) _wrap_Grid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
14037 { (char *)"Grid_GetColSize", (PyCFunction) _wrap_Grid_GetColSize, METH_VARARGS | METH_KEYWORDS },
14038 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14039 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction) _wrap_Grid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14040 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction) _wrap_Grid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
14041 { (char *)"Grid_GetCellTextColour", (PyCFunction) _wrap_Grid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
14042 { (char *)"Grid_GetDefaultCellFont", (PyCFunction) _wrap_Grid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
14043 { (char *)"Grid_GetCellFont", (PyCFunction) _wrap_Grid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
14044 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction) _wrap_Grid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
14045 { (char *)"Grid_GetCellAlignment", (PyCFunction) _wrap_Grid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
14046 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction) _wrap_Grid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
14047 { (char *)"Grid_GetCellOverflow", (PyCFunction) _wrap_Grid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS },
14048 { (char *)"Grid_GetCellSize", (PyCFunction) _wrap_Grid_GetCellSize, METH_VARARGS | METH_KEYWORDS },
14049 { (char *)"Grid_SetDefaultRowSize", (PyCFunction) _wrap_Grid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
14050 { (char *)"Grid_SetRowSize", (PyCFunction) _wrap_Grid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
14051 { (char *)"Grid_SetDefaultColSize", (PyCFunction) _wrap_Grid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
14052 { (char *)"Grid_SetColSize", (PyCFunction) _wrap_Grid_SetColSize, METH_VARARGS | METH_KEYWORDS },
14053 { (char *)"Grid_AutoSizeColumn", (PyCFunction) _wrap_Grid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
14054 { (char *)"Grid_AutoSizeRow", (PyCFunction) _wrap_Grid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
14055 { (char *)"Grid_AutoSizeColumns", (PyCFunction) _wrap_Grid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
14056 { (char *)"Grid_AutoSizeRows", (PyCFunction) _wrap_Grid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
14057 { (char *)"Grid_AutoSize", (PyCFunction) _wrap_Grid_AutoSize, METH_VARARGS | METH_KEYWORDS },
14058 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction) _wrap_Grid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14059 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction) _wrap_Grid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS },
14060 { (char *)"Grid_SetColMinimalWidth", (PyCFunction) _wrap_Grid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
14061 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction) _wrap_Grid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
14062 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
14063 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
14064 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
14065 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
14066 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14067 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction) _wrap_Grid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14068 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction) _wrap_Grid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
14069 { (char *)"Grid_SetCellTextColour", (PyCFunction) _wrap_Grid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
14070 { (char *)"Grid_SetDefaultCellFont", (PyCFunction) _wrap_Grid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
14071 { (char *)"Grid_SetCellFont", (PyCFunction) _wrap_Grid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
14072 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction) _wrap_Grid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
14073 { (char *)"Grid_SetCellAlignment", (PyCFunction) _wrap_Grid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
14074 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction) _wrap_Grid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
14075 { (char *)"Grid_SetCellOverflow", (PyCFunction) _wrap_Grid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS },
14076 { (char *)"Grid_SetCellSize", (PyCFunction) _wrap_Grid_SetCellSize, METH_VARARGS | METH_KEYWORDS },
14077 { (char *)"Grid_SetDefaultRenderer", (PyCFunction) _wrap_Grid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
14078 { (char *)"Grid_SetCellRenderer", (PyCFunction) _wrap_Grid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
14079 { (char *)"Grid_GetDefaultRenderer", (PyCFunction) _wrap_Grid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
14080 { (char *)"Grid_GetCellRenderer", (PyCFunction) _wrap_Grid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
14081 { (char *)"Grid_SetDefaultEditor", (PyCFunction) _wrap_Grid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
14082 { (char *)"Grid_SetCellEditor", (PyCFunction) _wrap_Grid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
14083 { (char *)"Grid_GetDefaultEditor", (PyCFunction) _wrap_Grid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
14084 { (char *)"Grid_GetCellEditor", (PyCFunction) _wrap_Grid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
14085 { (char *)"Grid_GetCellValue", (PyCFunction) _wrap_Grid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
14086 { (char *)"Grid_SetCellValue", (PyCFunction) _wrap_Grid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
14087 { (char *)"Grid_IsReadOnly", (PyCFunction) _wrap_Grid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
14088 { (char *)"Grid_SetReadOnly", (PyCFunction) _wrap_Grid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
14089 { (char *)"Grid_SelectRow", (PyCFunction) _wrap_Grid_SelectRow, METH_VARARGS | METH_KEYWORDS },
14090 { (char *)"Grid_SelectCol", (PyCFunction) _wrap_Grid_SelectCol, METH_VARARGS | METH_KEYWORDS },
14091 { (char *)"Grid_SelectBlock", (PyCFunction) _wrap_Grid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
14092 { (char *)"Grid_SelectAll", (PyCFunction) _wrap_Grid_SelectAll, METH_VARARGS | METH_KEYWORDS },
14093 { (char *)"Grid_IsSelection", (PyCFunction) _wrap_Grid_IsSelection, METH_VARARGS | METH_KEYWORDS },
14094 { (char *)"Grid_ClearSelection", (PyCFunction) _wrap_Grid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
14095 { (char *)"Grid_IsInSelection", (PyCFunction) _wrap_Grid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
14096 { (char *)"Grid_GetSelectedCells", (PyCFunction) _wrap_Grid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS },
14097 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_Grid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS },
14098 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_Grid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS },
14099 { (char *)"Grid_GetSelectedRows", (PyCFunction) _wrap_Grid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS },
14100 { (char *)"Grid_GetSelectedCols", (PyCFunction) _wrap_Grid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS },
14101 { (char *)"Grid_DeselectRow", (PyCFunction) _wrap_Grid_DeselectRow, METH_VARARGS | METH_KEYWORDS },
14102 { (char *)"Grid_DeselectCol", (PyCFunction) _wrap_Grid_DeselectCol, METH_VARARGS | METH_KEYWORDS },
14103 { (char *)"Grid_DeselectCell", (PyCFunction) _wrap_Grid_DeselectCell, METH_VARARGS | METH_KEYWORDS },
14104 { (char *)"Grid_BlockToDeviceRect", (PyCFunction) _wrap_Grid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
14105 { (char *)"Grid_GetSelectionBackground", (PyCFunction) _wrap_Grid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
14106 { (char *)"Grid_GetSelectionForeground", (PyCFunction) _wrap_Grid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
14107 { (char *)"Grid_SetSelectionBackground", (PyCFunction) _wrap_Grid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
14108 { (char *)"Grid_SetSelectionForeground", (PyCFunction) _wrap_Grid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
14109 { (char *)"Grid_RegisterDataType", (PyCFunction) _wrap_Grid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
14110 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction) _wrap_Grid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
14111 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction) _wrap_Grid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
14112 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction) _wrap_Grid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
14113 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction) _wrap_Grid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
14114 { (char *)"Grid_SetMargins", (PyCFunction) _wrap_Grid_SetMargins, METH_VARARGS | METH_KEYWORDS },
14115 { (char *)"Grid_GetGridWindow", (PyCFunction) _wrap_Grid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
14116 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
14117 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
14118 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
14119 { (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS },
14120 { (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS },
14121 { (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
14122 { (char *)"GridEvent_GetCol", (PyCFunction) _wrap_GridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
14123 { (char *)"GridEvent_GetPosition", (PyCFunction) _wrap_GridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
14124 { (char *)"GridEvent_Selecting", (PyCFunction) _wrap_GridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
14125 { (char *)"GridEvent_ControlDown", (PyCFunction) _wrap_GridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
14126 { (char *)"GridEvent_MetaDown", (PyCFunction) _wrap_GridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
14127 { (char *)"GridEvent_ShiftDown", (PyCFunction) _wrap_GridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
14128 { (char *)"GridEvent_AltDown", (PyCFunction) _wrap_GridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
14129 { (char *)"GridEvent_swigregister", GridEvent_swigregister, METH_VARARGS },
14130 { (char *)"new_GridSizeEvent", (PyCFunction) _wrap_new_GridSizeEvent, METH_VARARGS | METH_KEYWORDS },
14131 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_GridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
14132 { (char *)"GridSizeEvent_GetPosition", (PyCFunction) _wrap_GridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
14133 { (char *)"GridSizeEvent_ControlDown", (PyCFunction) _wrap_GridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
14134 { (char *)"GridSizeEvent_MetaDown", (PyCFunction) _wrap_GridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
14135 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction) _wrap_GridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
14136 { (char *)"GridSizeEvent_AltDown", (PyCFunction) _wrap_GridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
14137 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister, METH_VARARGS },
14138 { (char *)"new_GridRangeSelectEvent", (PyCFunction) _wrap_new_GridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
14139 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
14140 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
14141 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
14142 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
14143 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
14144 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
14145 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction) _wrap_GridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
14146 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_GridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
14147 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_GridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
14148 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_GridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
14149 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction) _wrap_GridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
14150 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister, METH_VARARGS },
14151 { (char *)"new_GridEditorCreatedEvent", (PyCFunction) _wrap_new_GridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
14152 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
14153 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
14154 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
14155 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
14156 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
14157 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
14158 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister, METH_VARARGS },
14159 { NULL, NULL }
14160};
14161
14162
14163/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
14164
14165static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x) {
14166 return (void *)((wxGridCellRenderer *) ((wxPyGridCellRenderer *) x));
14167}
14168static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x) {
14169 return (void *)((wxGridCellRenderer *) ((wxGridCellStringRenderer *) x));
14170}
14171static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x) {
14172 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
14173}
14174static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x) {
14175 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
14176}
14177static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x) {
14178 return (void *)((wxGridCellRenderer *) ((wxGridCellBoolRenderer *) x));
14179}
14180static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x) {
14181 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
14182}
14183static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x) {
14184 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
14185}
14186static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x) {
14187 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
14188}
14189static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x) {
14190 return (void *)((wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
14191}
14192static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x) {
14193 return (void *)((wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
14194}
14195static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x) {
14196 return (void *)((wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
14197}
14198static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x) {
14199 return (void *)((wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
14200}
14201static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x) {
14202 return (void *)((wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
14203}
14204static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
14205 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
14206}
14207static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
14208 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
14209}
14210static void *_p_wxGridTo_p_wxPanel(void *x) {
14211 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxGrid *) x));
14212}
14213static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
14214 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
14215}
14216static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
14217 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
14218}
14219static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
14220 return (void *)((wxPanel *) ((wxPyPanel *) x));
14221}
14222static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
14223 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
14224}
14225static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
14226 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
14227}
14228static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
14229 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
14230}
14231static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x) {
14232 return (void *)((wxNotifyEvent *) ((wxGridSizeEvent *) x));
14233}
14234static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x) {
14235 return (void *)((wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
14236}
14237static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
14238 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
14239}
14240static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x) {
14241 return (void *)((wxNotifyEvent *) ((wxGridEvent *) x));
14242}
14243static void *_p_wxGridTo_p_wxScrolledWindow(void *x) {
14244 return (void *)((wxScrolledWindow *) ((wxGrid *) x));
14245}
14246static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
14247 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
14248}
14249static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
14250 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
14251}
14252static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
14253 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
14254}
14255static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
14256 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
14257}
14258static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
14259 return (void *)((wxWindow *) ((wxMenuBar *) x));
14260}
14261static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
14262 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
14263}
14264static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
14265 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
14266}
14267static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
14268 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
14269}
14270static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
14271 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
14272}
14273static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
14274 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
14275}
14276static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
14277 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
14278}
14279static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
14280 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
14281}
14282static void *_p_wxPanelTo_p_wxWindow(void *x) {
14283 return (void *)((wxWindow *) ((wxPanel *) x));
14284}
14285static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
14286 return (void *)((wxWindow *) ((wxStatusBar *) x));
14287}
14288static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
14289 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
14290}
14291static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
14292 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
14293}
14294static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
14295 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
14296}
14297static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
14298 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
14299}
14300static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
14301 return (void *)((wxWindow *) ((wxPopupWindow *) x));
14302}
14303static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
14304 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
14305}
14306static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
14307 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
14308}
14309static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
14310 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
14311}
14312static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
14313 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
14314}
14315static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
14316 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
14317}
14318static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
14319 return (void *)((wxWindow *) ((wxSashWindow *) x));
14320}
14321static void *_p_wxControlTo_p_wxWindow(void *x) {
14322 return (void *)((wxWindow *) ((wxControl *) x));
14323}
14324static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
14325 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
14326}
14327static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
14328 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
14329}
14330static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
14331 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
14332}
14333static void *_p_wxGridTo_p_wxWindow(void *x) {
14334 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
14335}
14336static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
14337 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
14338}
14339static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
14340 return (void *)((wxWindow *) ((wxPyWindow *) x));
14341}
14342static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
14343 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
14344}
14345static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
14346 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
14347}
14348static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
14349 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
14350}
14351static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
14352 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
14353}
14354static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
14355 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
14356}
14357static void *_p_wxFrameTo_p_wxWindow(void *x) {
14358 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
14359}
14360static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
14361 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
14362}
14363static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
14364 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
14365}
14366static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
14367 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
14368}
14369static void *_p_wxDialogTo_p_wxWindow(void *x) {
14370 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
14371}
14372static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
14373 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
14374}
14375static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
14376 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
14377}
14378static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
14379 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
14380}
14381static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
14382 return (void *)((wxControl *) ((wxControlWithItems *) x));
14383}
14384static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
14385 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
14386}
14387static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
14388 return (void *)((wxEvent *) ((wxMenuEvent *) x));
14389}
14390static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
14391 return (void *)((wxEvent *) ((wxCloseEvent *) x));
14392}
14393static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
14394 return (void *)((wxEvent *) ((wxMouseEvent *) x));
14395}
14396static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
14397 return (void *)((wxEvent *) ((wxEraseEvent *) x));
14398}
14399static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
14400 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
14401}
14402static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
14403 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
14404}
14405static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
14406 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
14407}
14408static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
14409 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
14410}
14411static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
14412 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
14413}
14414static void *_p_wxPyEventTo_p_wxEvent(void *x) {
14415 return (void *)((wxEvent *) ((wxPyEvent *) x));
14416}
14417static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
14418 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
14419}
14420static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
14421 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
14422}
14423static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x) {
14424 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
14425}
14426static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
14427 return (void *)((wxEvent *) ((wxIdleEvent *) x));
14428}
14429static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
14430 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
14431}
14432static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
14433 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
14434}
14435static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
14436 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
14437}
14438static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
14439 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
14440}
14441static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
14442 return (void *)((wxEvent *) ((wxActivateEvent *) x));
14443}
14444static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
14445 return (void *)((wxEvent *) ((wxSizeEvent *) x));
14446}
14447static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
14448 return (void *)((wxEvent *) ((wxMoveEvent *) x));
14449}
14450static void *_p_wxGridSizeEventTo_p_wxEvent(void *x) {
14451 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
14452}
14453static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
14454 return (void *)((wxEvent *) ((wxPaintEvent *) x));
14455}
14456static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
14457 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
14458}
14459static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
14460 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
14461}
14462static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
14463 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
14464}
14465static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
14466 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
14467}
14468static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
14469 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
14470}
14471static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
14472 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
14473}
14474static void *_p_wxGridEventTo_p_wxEvent(void *x) {
14475 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
14476}
14477static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x) {
14478 return (void *)((wxEvent *) (wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
14479}
14480static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
14481 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
14482}
14483static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
14484 return (void *)((wxEvent *) ((wxFocusEvent *) x));
14485}
14486static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
14487 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
14488}
14489static void *_p_wxSashEventTo_p_wxEvent(void *x) {
14490 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
14491}
14492static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
14493 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
14494}
14495static void *_p_wxShowEventTo_p_wxEvent(void *x) {
14496 return (void *)((wxEvent *) ((wxShowEvent *) x));
14497}
14498static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
14499 return (void *)((wxEvent *) ((wxCommandEvent *) x));
14500}
14501static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
14502 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
14503}
14504static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
14505 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
14506}
14507static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
14508 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
14509}
14510static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
14511 return (void *)((wxEvent *) ((wxKeyEvent *) x));
14512}
14513static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
14514 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
14515}
14516static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
14517 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
14518}
14519static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
14520 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
14521}
14522static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
14523 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
14524}
14525static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
14526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
14527}
14528static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
14529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
14530}
14531static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
14532 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
14533}
14534static void *_p_wxSizerItemTo_p_wxObject(void *x) {
14535 return (void *)((wxObject *) ((wxSizerItem *) x));
14536}
14537static void *_p_wxScrollEventTo_p_wxObject(void *x) {
14538 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
14539}
14540static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
14541 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
14542}
14543static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
14544 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
14545}
14546static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
14547 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
14548}
14549static void *_p_wxSizerTo_p_wxObject(void *x) {
14550 return (void *)((wxObject *) ((wxSizer *) x));
14551}
14552static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
14553 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
14554}
14555static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
14556 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
14557}
14558static void *_p_wxPyPanelTo_p_wxObject(void *x) {
14559 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
14560}
14561static void *_p_wxEventTo_p_wxObject(void *x) {
14562 return (void *)((wxObject *) ((wxEvent *) x));
14563}
14564static void *_p_wxFontDataTo_p_wxObject(void *x) {
14565 return (void *)((wxObject *) ((wxFontData *) x));
14566}
14567static void *_p_wxPrintDataTo_p_wxObject(void *x) {
14568 return (void *)((wxObject *) ((wxPrintData *) x));
14569}
14570static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
14571 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
14572}
14573static void *_p_wxGridSizerTo_p_wxObject(void *x) {
14574 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
14575}
14576static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
14577 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
14578}
14579static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
14580 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
14581}
14582static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
14583 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
14584}
14585static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
14586 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
14587}
14588static void *_p_wxGridStringTableTo_p_wxObject(void *x) {
14589 return (void *)((wxObject *) (wxGridTableBase *) ((wxGridStringTable *) x));
14590}
14591static void *_p_wxPaintEventTo_p_wxObject(void *x) {
14592 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
14593}
14594static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
14595 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
14596}
14597static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
14598 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
14599}
14600static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
14601 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
14602}
14603static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
14604 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
14605}
14606static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
14607 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
14608}
14609static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
14610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
14611}
14612static void *_p_wxGridEventTo_p_wxObject(void *x) {
14613 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
14614}
14615static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x) {
14616 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
14617}
14618static void *_p_wxControlTo_p_wxObject(void *x) {
14619 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
14620}
14621static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
14622 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
14623}
14624static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
14625 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
14626}
14627static void *_p_wxFSFileTo_p_wxObject(void *x) {
14628 return (void *)((wxObject *) ((wxFSFile *) x));
14629}
14630static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
14631 return (void *)((wxObject *) ((wxFindReplaceData *) x));
14632}
14633static void *_p_wxGridTo_p_wxObject(void *x) {
14634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
14635}
14636static void *_p_wxPySizerTo_p_wxObject(void *x) {
14637 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
14638}
14639static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
14640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
14641}
14642static void *_p_wxColourDataTo_p_wxObject(void *x) {
14643 return (void *)((wxObject *) ((wxColourData *) x));
14644}
14645static void *_p_wxPyEventTo_p_wxObject(void *x) {
14646 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
14647}
14648static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
14649 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
14650}
14651static void *_p_wxPyWindowTo_p_wxObject(void *x) {
14652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
14653}
14654static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
14655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
14656}
14657static void *_p_wxFileDialogTo_p_wxObject(void *x) {
14658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
14659}
14660static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
14661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
14662}
14663static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
14664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
14665}
14666static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
14667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
14668}
14669static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
14670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
14671}
14672static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
14673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
14674}
14675static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
14676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
14677}
14678static void *_p_wxShowEventTo_p_wxObject(void *x) {
14679 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
14680}
14681static void *_p_wxPrinterTo_p_wxObject(void *x) {
14682 return (void *)((wxObject *) ((wxPrinter *) x));
14683}
14684static void *_p_wxMenuItemTo_p_wxObject(void *x) {
14685 return (void *)((wxObject *) ((wxMenuItem *) x));
14686}
14687static void *_p_wxIdleEventTo_p_wxObject(void *x) {
14688 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
14689}
14690static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
14691 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
14692}
14693static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
14694 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
14695}
14696static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
14697 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
14698}
14699static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
14700 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
14701}
14702static void *_p_wxSizeEventTo_p_wxObject(void *x) {
14703 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
14704}
14705static void *_p_wxMoveEventTo_p_wxObject(void *x) {
14706 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
14707}
14708static void *_p_wxActivateEventTo_p_wxObject(void *x) {
14709 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
14710}
14711static void *_p_wxGridSizeEventTo_p_wxObject(void *x) {
14712 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
14713}
14714static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
14715 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
14716}
14717static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
14718 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
14719}
14720static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
14721 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
14722}
14723static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
14724 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
14725}
14726static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
14727 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
14728}
14729static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
14730 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
14731}
14732static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
14733 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
14734}
14735static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
14736 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
14737}
14738static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
14739 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
14740}
14741static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
14742 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
14743}
14744static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
14745 return (void *)((wxObject *) ((wxImageHandler *) x));
14746}
14747static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
14748 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
14749}
14750static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
14751 return (void *)((wxObject *) ((wxEvtHandler *) x));
14752}
14753static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
14754 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
14755}
14756static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x) {
14757 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
14758}
14759static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
14760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
14761}
14762static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
14763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
14764}
14765static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
14766 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
14767}
14768static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
14769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
14770}
14771static void *_p_wxImageTo_p_wxObject(void *x) {
14772 return (void *)((wxObject *) ((wxImage *) x));
14773}
14774static void *_p_wxFrameTo_p_wxObject(void *x) {
14775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
14776}
14777static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
14778 return (void *)((wxObject *) ((wxPyPrintout *) x));
14779}
14780static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
14781 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
14782}
14783static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
14784 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
14785}
14786static void *_p_wxStatusBarTo_p_wxObject(void *x) {
14787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
14788}
14789static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
14790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
14791}
14792static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
14793 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
14794}
14795static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
14796 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
14797}
14798static void *_p_wxKeyEventTo_p_wxObject(void *x) {
14799 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
14800}
d14a1e28
RD
14801static void *_p_wxWindowTo_p_wxObject(void *x) {
14802 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
14803}
14804static void *_p_wxMenuTo_p_wxObject(void *x) {
14805 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
14806}
14807static void *_p_wxMenuBarTo_p_wxObject(void *x) {
14808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
14809}
0df68c9f
RD
14810static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
14811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
14812}
d14a1e28
RD
14813static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
14814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
14815}
14816static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
14817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
14818}
14819static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
14820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
14821}
14822static void *_p_wxSashWindowTo_p_wxObject(void *x) {
14823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
14824}
14825static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
14826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
14827}
14828static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
14829 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
14830}
14831static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
14832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
14833}
14834static void *_p_wxTipWindowTo_p_wxObject(void *x) {
14835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
14836}
14837static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
14838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
14839}
14840static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
14841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
14842}
14843static void *_p_wxSashEventTo_p_wxObject(void *x) {
14844 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
14845}
14846static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
14847 return (void *)((wxObject *) ((wxPrintPreview *) x));
14848}
14849static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
14850 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
14851}
14852static void *_p_wxPanelTo_p_wxObject(void *x) {
14853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
14854}
14855static void *_p_wxDialogTo_p_wxObject(void *x) {
14856 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
14857}
14858static void *_p_wxColourDialogTo_p_wxObject(void *x) {
14859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
14860}
14861static void *_p_wxDirDialogTo_p_wxObject(void *x) {
14862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
14863}
14864static void *_p_wxFontDialogTo_p_wxObject(void *x) {
14865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
14866}
14867static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
14868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
14869}
14870static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
14871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
14872}
14873static void *_p_wxFileSystemTo_p_wxObject(void *x) {
14874 return (void *)((wxObject *) ((wxFileSystem *) x));
14875}
14876static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
14877 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
14878}
14879static void *_p_wxMenuEventTo_p_wxObject(void *x) {
14880 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
14881}
14882static void *_p_wxPyAppTo_p_wxObject(void *x) {
14883 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
14884}
14885static void *_p_wxCloseEventTo_p_wxObject(void *x) {
14886 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
14887}
14888static void *_p_wxMouseEventTo_p_wxObject(void *x) {
14889 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
14890}
14891static void *_p_wxEraseEventTo_p_wxObject(void *x) {
14892 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
14893}
14894static void *_p_wxGridTableBaseTo_p_wxObject(void *x) {
14895 return (void *)((wxObject *) ((wxGridTableBase *) x));
14896}
14897static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x) {
14898 return (void *)((wxObject *) (wxGridTableBase *) ((wxPyGridTableBase *) x));
14899}
14900static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
14901 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
14902}
14903static void *_p_wxCommandEventTo_p_wxObject(void *x) {
14904 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
14905}
14906static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
14907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
14908}
14909static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
14910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
14911}
14912static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
14913 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
14914}
14915static void *_p_wxFocusEventTo_p_wxObject(void *x) {
14916 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
14917}
14918static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
14919 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
14920}
14921static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
14922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
14923}
14924static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
14925 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
14926}
14927static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
14928 return (void *)((wxObject *) ((wxPrintDialogData *) x));
14929}
14930static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
14931 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
14932}
14933static void *_p_wxValidatorTo_p_wxObject(void *x) {
14934 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
14935}
14936static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
14937 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
14938}
14939static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
14940 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
14941}
14942static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
14943 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
14944}
14945static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
14946 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
14947}
14948static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
14949 return (void *)((wxEvtHandler *) ((wxValidator *) x));
14950}
14951static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
14952 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
14953}
14954static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
14955 return (void *)((wxEvtHandler *) ((wxMenu *) x));
14956}
14957static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
14958 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
14959}
14960static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
14961 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
14962}
14963static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
14964 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
14965}
14966static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
14967 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
14968}
14969static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
14970 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
14971}
14972static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
14973 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
14974}
14975static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
14976 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
14977}
14978static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
14979 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
14980}
14981static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
14982 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
14983}
14984static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
14985 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
14986}
14987static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
14988 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
14989}
14990static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
14991 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
14992}
14993static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
14994 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
14995}
14996static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
14997 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
14998}
14999static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
15000 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
15001}
15002static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
15003 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
15004}
15005static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
15006 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
15007}
15008static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
15009 return (void *)((wxEvtHandler *) ((wxWindow *) x));
15010}
15011static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
15012 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
15013}
15014static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
15015 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
15016}
15017static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
15018 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
15019}
15020static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
15021 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
15022}
15023static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
15024 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
15025}
15026static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
15027 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15028}
15029static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
15030 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
15031}
15032static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
15033 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
15034}
15035static void *_p_wxGridTo_p_wxEvtHandler(void *x) {
15036 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
15037}
15038static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
15039 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15040}
15041static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
15042 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
15043}
15044static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
15045 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
15046}
15047static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
15048 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15049}
15050static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
15051 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15052}
15053static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
15054 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
15055}
15056static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
15057 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15058}
15059static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
15060 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
15061}
15062static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
15063 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
15064}
15065static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
15066 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
15067}
15068static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
15069 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
15070}
15071static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
15072 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
15073}
15074static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
15075 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
15076}
15077static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
15078 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
15079}
15080static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
15081 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
15082}
15083static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
15084 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15085}
15086static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x) {
15087 return (void *)((wxGridTableBase *) ((wxGridStringTable *) x));
15088}
15089static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x) {
15090 return (void *)((wxGridTableBase *) ((wxPyGridTableBase *) x));
15091}
15092static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x) {
15093 return (void *)((wxGridCellEditor *) ((wxPyGridCellEditor *) x));
15094}
15095static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x) {
15096 return (void *)((wxGridCellEditor *) ((wxGridCellTextEditor *) x));
15097}
15098static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x) {
15099 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
15100}
15101static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x) {
15102 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
15103}
15104static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x) {
15105 return (void *)((wxGridCellEditor *) ((wxGridCellBoolEditor *) x));
15106}
15107static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x) {
15108 return (void *)((wxGridCellEditor *) ((wxGridCellChoiceEditor *) x));
15109}
15110static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x) {
15111 return (void *)((wxGridCellEditor *) (wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
15112}
15113static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x) {
15114 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
15115}
15116static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x) {
15117 return (void *)((wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
15118}
15119static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x) {
15120 return (void *)((wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
15121}
15122static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x) {
15123 return (void *)((wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
15124}
15125static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
15126 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
15127}
15128static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
15129 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15130}
15131static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
15132 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
15133}
15134static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
15135 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
15136}
15137static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
15138 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
15139}
15140static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
15141 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
15142}
15143static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
15144 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
15145}
15146static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x) {
15147 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
15148}
15149static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x) {
15150 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridSizeEvent *) x));
15151}
15152static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
15153 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
15154}
15155static void *_p_wxGridEventTo_p_wxCommandEvent(void *x) {
15156 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridEvent *) x));
15157}
15158static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x) {
15159 return (void *)((wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
15160}
15161static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
15162 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
15163}
15164static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
15165 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
15166}
15167static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
15168 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
15169}
15170static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) {
15171 return (void *)((wxGridCellAttrProvider *) ((wxPyGridCellAttrProvider *) x));
15172}
15173static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) {
15174 return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
15175}
15176static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0},{"_p_wxGridCellAutoWrapStringRenderer"},{0}};
15177static swig_type_info _swigt__p_wxGridCellEnumRenderer[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0},{"_p_wxGridCellEnumRenderer"},{0}};
15178static swig_type_info _swigt__p_wxGridCellDateTimeRenderer[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0},{"_p_wxGridCellDateTimeRenderer"},{0}};
15179static swig_type_info _swigt__p_wxGridCellBoolRenderer[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0},{"_p_wxGridCellBoolRenderer"},{0}};
15180static swig_type_info _swigt__p_wxGridCellFloatRenderer[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0},{"_p_wxGridCellFloatRenderer"},{0}};
15181static swig_type_info _swigt__p_wxGridCellNumberRenderer[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0},{"_p_wxGridCellNumberRenderer"},{0}};
15182static swig_type_info _swigt__p_wxPyGridCellRenderer[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0},{"_p_wxPyGridCellRenderer"},{0}};
15183static swig_type_info _swigt__p_wxGridCellRenderer[] = {{"_p_wxGridCellRenderer", 0, "wxGridCellRenderer *", 0},{"_p_wxGridCellRenderer"},{"_p_wxPyGridCellRenderer", _p_wxPyGridCellRendererTo_p_wxGridCellRenderer},{"_p_wxGridCellStringRenderer", _p_wxGridCellStringRendererTo_p_wxGridCellRenderer},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer},{"_p_wxGridCellBoolRenderer", _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer},{0}};
15184static swig_type_info _swigt__p_wxGridCellStringRenderer[] = {{"_p_wxGridCellStringRenderer", 0, "wxGridCellStringRenderer *", 0},{"_p_wxGridCellStringRenderer"},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer},{0}};
15185static swig_type_info _swigt__p_wxGridCellAttr[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0},{"_p_wxGridCellAttr"},{0}};
15186static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
15187static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
15188static swig_type_info _swigt__p_wxGridTableMessage[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0},{"_p_wxGridTableMessage"},{0}};
15189static swig_type_info _swigt__p_wxGrid[] = {{"_p_wxGrid", 0, "wxGrid *", 0},{"_p_wxGrid"},{0}};
15190static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxGrid", _p_wxGridTo_p_wxPanel},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}};
15191static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxNotifyEvent},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxNotifyEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
15192static swig_type_info _swigt__p_wxGridRangeSelectEvent[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0},{"_p_wxGridRangeSelectEvent"},{0}};
15193static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
15194static swig_type_info _swigt__p_wxGridCellCoords[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0},{"_p_wxGridCellCoords"},{0}};
15195static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxGrid", _p_wxGridTo_p_wxScrolledWindow},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
15196static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxGrid", _p_wxGridTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}};
15197static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
15198static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{0}};
15199static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxEvent},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent},{0}};
15200static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxObject},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGrid", _p_wxGridTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxGridTableBase", _p_wxGridTableBaseTo_p_wxObject},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
15201static swig_type_info _swigt__p_wxGridSizeEvent[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0},{"_p_wxGridSizeEvent"},{0}};
15202static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
15203static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
15204static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
15205static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxGrid", _p_wxGridTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}};
15206static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
15207static swig_type_info _swigt__p_wxGridEvent[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0},{"_p_wxGridEvent"},{0}};
15208static swig_type_info _swigt__p_wxGridEditorCreatedEvent[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0},{"_p_wxGridEditorCreatedEvent"},{0}};
15209static swig_type_info _swigt__p_wxGridTableBase[] = {{"_p_wxGridTableBase", 0, "wxGridTableBase *", 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxGridTableBase},{"_p_wxGridTableBase"},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxGridTableBase},{0}};
15210static swig_type_info _swigt__p_wxGridCellFloatEditor[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0},{"_p_wxGridCellFloatEditor"},{0}};
15211static swig_type_info _swigt__p_wxGridCellNumberEditor[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0},{"_p_wxGridCellNumberEditor"},{0}};
15212static swig_type_info _swigt__p_wxPyGridCellEditor[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0},{"_p_wxPyGridCellEditor"},{0}};
15213static swig_type_info _swigt__p_wxGridCellEditor[] = {{"_p_wxGridCellEditor", 0, "wxGridCellEditor *", 0},{"_p_wxGridCellEditor"},{"_p_wxPyGridCellEditor", _p_wxPyGridCellEditorTo_p_wxGridCellEditor},{"_p_wxGridCellTextEditor", _p_wxGridCellTextEditorTo_p_wxGridCellEditor},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellEditor},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellEditor},{"_p_wxGridCellBoolEditor", _p_wxGridCellBoolEditorTo_p_wxGridCellEditor},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor},{"_p_wxGridCellChoiceEditor", _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellEditor},{0}};
15214static swig_type_info _swigt__p_wxGridCellTextEditor[] = {{"_p_wxGridCellTextEditor", 0, "wxGridCellTextEditor *", 0},{"_p_wxGridCellTextEditor"},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor},{0}};
15215static swig_type_info _swigt__p_wxGridCellBoolEditor[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0},{"_p_wxGridCellBoolEditor"},{0}};
15216static swig_type_info _swigt__p_wxPyGridTableBase[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0},{"_p_wxPyGridTableBase"},{0}};
15217static swig_type_info _swigt__p_wxGridStringTable[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0},{"_p_wxGridStringTable"},{0}};
15218static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
15219static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxCommandEvent},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxCommandEvent},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxCommandEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{0}};
15220static swig_type_info _swigt__p_wxGridCellAttrProvider[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0},{"_p_wxGridCellAttrProvider"},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider},{0}};
15221static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
15222static swig_type_info _swigt__p_wxGridCellChoiceEditor[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0},{"_p_wxGridCellChoiceEditor"},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor},{0}};
15223static swig_type_info _swigt__p_wxGridCellEnumEditor[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0},{"_p_wxGridCellEnumEditor"},{0}};
15224static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0},{"_p_wxGridCellAutoWrapStringEditor"},{0}};
15225static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
15226static swig_type_info _swigt__p_wxPyGridCellAttrProvider[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0},{"_p_wxPyGridCellAttrProvider"},{0}};
15227
15228static swig_type_info *swig_types_initial[] = {
15229_swigt__p_wxGridCellAutoWrapStringRenderer,
15230_swigt__p_wxGridCellEnumRenderer,
15231_swigt__p_wxGridCellDateTimeRenderer,
15232_swigt__p_wxGridCellBoolRenderer,
15233_swigt__p_wxGridCellFloatRenderer,
15234_swigt__p_wxGridCellNumberRenderer,
15235_swigt__p_wxPyGridCellRenderer,
15236_swigt__p_wxGridCellRenderer,
15237_swigt__p_wxGridCellStringRenderer,
15238_swigt__p_wxGridCellAttr,
15239_swigt__p_wxColour,
15240_swigt__p_wxDC,
15241_swigt__p_wxGridTableMessage,
15242_swigt__p_wxGrid,
15243_swigt__p_wxPanel,
15244_swigt__p_wxNotifyEvent,
15245_swigt__p_wxGridRangeSelectEvent,
15246_swigt__p_wxSize,
15247_swigt__p_wxGridCellCoords,
15248_swigt__p_wxScrolledWindow,
15249_swigt__p_wxWindow,
15250_swigt__p_wxFont,
15251_swigt__p_wxControl,
15252_swigt__p_wxEvent,
15253_swigt__p_wxObject,
15254_swigt__p_wxGridSizeEvent,
15255_swigt__p_wxRect,
15256_swigt__p_long,
15257_swigt__p_wxString,
15258_swigt__p_wxEvtHandler,
15259_swigt__p_wxPoint,
15260_swigt__p_wxGridEvent,
15261_swigt__p_wxGridEditorCreatedEvent,
15262_swigt__p_wxGridTableBase,
15263_swigt__p_wxGridCellFloatEditor,
15264_swigt__p_wxGridCellNumberEditor,
15265_swigt__p_wxPyGridCellEditor,
15266_swigt__p_wxGridCellEditor,
15267_swigt__p_wxGridCellTextEditor,
15268_swigt__p_wxGridCellBoolEditor,
15269_swigt__p_wxPyGridTableBase,
15270_swigt__p_wxGridStringTable,
15271_swigt__p_wxArrayString,
15272_swigt__p_wxCommandEvent,
15273_swigt__p_wxGridCellAttrProvider,
15274_swigt__p_wxKeyEvent,
15275_swigt__p_wxGridCellChoiceEditor,
15276_swigt__p_wxGridCellEnumEditor,
15277_swigt__p_wxGridCellAutoWrapStringEditor,
15278_swigt__p_int,
15279_swigt__p_wxPyGridCellAttrProvider,
152800
15281};
15282
15283
15284/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
15285
15286static swig_const_info swig_const_table[] = {
15287{ SWIG_PY_STRING, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", 0},
15288{ SWIG_PY_STRING, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", 0},
15289{ SWIG_PY_STRING, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", 0},
15290{ SWIG_PY_STRING, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", 0},
15291{ SWIG_PY_STRING, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", 0},
15292{ SWIG_PY_STRING, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", 0},
15293{ SWIG_PY_STRING, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", 0},
15294{ SWIG_PY_STRING, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", 0},
15295{ SWIG_PY_STRING, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", 0},
15296{ SWIG_PY_INT, (char *)"GridCellAttr_Any", (long) wxGridCellAttr::Any, 0, 0, 0},
15297{ SWIG_PY_INT, (char *)"GridCellAttr_Default", (long) wxGridCellAttr::Default, 0, 0, 0},
15298{ SWIG_PY_INT, (char *)"GridCellAttr_Cell", (long) wxGridCellAttr::Cell, 0, 0, 0},
15299{ SWIG_PY_INT, (char *)"GridCellAttr_Row", (long) wxGridCellAttr::Row, 0, 0, 0},
15300{ SWIG_PY_INT, (char *)"GridCellAttr_Col", (long) wxGridCellAttr::Col, 0, 0, 0},
15301{ SWIG_PY_INT, (char *)"GridCellAttr_Merged", (long) wxGridCellAttr::Merged, 0, 0, 0},
15302{ SWIG_PY_INT, (char *)"GRIDTABLE_REQUEST_VIEW_GET_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES, 0, 0, 0},
15303{ SWIG_PY_INT, (char *)"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES, 0, 0, 0},
15304{ SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_ROWS_INSERTED", (long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED, 0, 0, 0},
15305{ SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_ROWS_APPENDED", (long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED, 0, 0, 0},
15306{ SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_ROWS_DELETED", (long) wxGRIDTABLE_NOTIFY_ROWS_DELETED, 0, 0, 0},
15307{ SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_COLS_INSERTED", (long) wxGRIDTABLE_NOTIFY_COLS_INSERTED, 0, 0, 0},
15308{ SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_COLS_APPENDED", (long) wxGRIDTABLE_NOTIFY_COLS_APPENDED, 0, 0, 0},
15309{ SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_COLS_DELETED", (long) wxGRIDTABLE_NOTIFY_COLS_DELETED, 0, 0, 0},
15310{ SWIG_PY_INT, (char *)"Grid_wxGridSelectCells", (long) wxGrid::wxGridSelectCells, 0, 0, 0},
15311{ SWIG_PY_INT, (char *)"Grid_wxGridSelectRows", (long) wxGrid::wxGridSelectRows, 0, 0, 0},
15312{ SWIG_PY_INT, (char *)"Grid_wxGridSelectColumns", (long) wxGrid::wxGridSelectColumns, 0, 0, 0},
15313{ SWIG_PY_INT, (char *)"wxEVT_GRID_CELL_LEFT_CLICK", (long) wxEVT_GRID_CELL_LEFT_CLICK, 0, 0, 0},
15314{ SWIG_PY_INT, (char *)"wxEVT_GRID_CELL_RIGHT_CLICK", (long) wxEVT_GRID_CELL_RIGHT_CLICK, 0, 0, 0},
15315{ SWIG_PY_INT, (char *)"wxEVT_GRID_CELL_LEFT_DCLICK", (long) wxEVT_GRID_CELL_LEFT_DCLICK, 0, 0, 0},
15316{ SWIG_PY_INT, (char *)"wxEVT_GRID_CELL_RIGHT_DCLICK", (long) wxEVT_GRID_CELL_RIGHT_DCLICK, 0, 0, 0},
15317{ SWIG_PY_INT, (char *)"wxEVT_GRID_LABEL_LEFT_CLICK", (long) wxEVT_GRID_LABEL_LEFT_CLICK, 0, 0, 0},
15318{ SWIG_PY_INT, (char *)"wxEVT_GRID_LABEL_RIGHT_CLICK", (long) wxEVT_GRID_LABEL_RIGHT_CLICK, 0, 0, 0},
15319{ SWIG_PY_INT, (char *)"wxEVT_GRID_LABEL_LEFT_DCLICK", (long) wxEVT_GRID_LABEL_LEFT_DCLICK, 0, 0, 0},
15320{ SWIG_PY_INT, (char *)"wxEVT_GRID_LABEL_RIGHT_DCLICK", (long) wxEVT_GRID_LABEL_RIGHT_DCLICK, 0, 0, 0},
15321{ SWIG_PY_INT, (char *)"wxEVT_GRID_ROW_SIZE", (long) wxEVT_GRID_ROW_SIZE, 0, 0, 0},
15322{ SWIG_PY_INT, (char *)"wxEVT_GRID_COL_SIZE", (long) wxEVT_GRID_COL_SIZE, 0, 0, 0},
15323{ SWIG_PY_INT, (char *)"wxEVT_GRID_RANGE_SELECT", (long) wxEVT_GRID_RANGE_SELECT, 0, 0, 0},
15324{ SWIG_PY_INT, (char *)"wxEVT_GRID_CELL_CHANGE", (long) wxEVT_GRID_CELL_CHANGE, 0, 0, 0},
15325{ SWIG_PY_INT, (char *)"wxEVT_GRID_SELECT_CELL", (long) wxEVT_GRID_SELECT_CELL, 0, 0, 0},
15326{ SWIG_PY_INT, (char *)"wxEVT_GRID_EDITOR_SHOWN", (long) wxEVT_GRID_EDITOR_SHOWN, 0, 0, 0},
15327{ SWIG_PY_INT, (char *)"wxEVT_GRID_EDITOR_HIDDEN", (long) wxEVT_GRID_EDITOR_HIDDEN, 0, 0, 0},
15328{ SWIG_PY_INT, (char *)"wxEVT_GRID_EDITOR_CREATED", (long) wxEVT_GRID_EDITOR_CREATED, 0, 0, 0},
15329{0}};
15330
15331#ifdef __cplusplus
15332}
15333#endif
15334
15335#ifdef __cplusplus
15336extern "C"
15337#endif
15338SWIGEXPORT(void) SWIG_init(void) {
15339 static PyObject *SWIG_globals = 0;
15340 static int typeinit = 0;
15341 PyObject *m, *d;
15342 int i;
15343 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
15344 m = Py_InitModule((char *) SWIG_name, SwigMethods);
15345 d = PyModule_GetDict(m);
15346
15347 if (!typeinit) {
15348 for (i = 0; swig_types_initial[i]; i++) {
15349 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
15350 }
15351 typeinit = 1;
15352 }
15353 SWIG_InstallConstants(d,swig_const_table);
15354
15355 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
b2dc1044 15356 SWIG_addvarlink(SWIG_globals,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get, _wrap_DateTimeFormatStr_set);
d14a1e28
RD
15357 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set);
15358 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set);
15359 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));
15360 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK));
15361 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK));
15362 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK));
15363 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK));
15364 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK));
15365 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK));
15366 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK));
15367 PyDict_SetItemString(d, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE));
15368 PyDict_SetItemString(d, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE));
15369 PyDict_SetItemString(d, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT));
15370 PyDict_SetItemString(d, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE));
15371 PyDict_SetItemString(d, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL));
15372 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN));
15373 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN));
15374 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED));
15375
15376
15377}
15378