]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/grid_wrap.cpp
Lots of bup fixes, API updates, etc
[wxWidgets.git] / wxPython / src / mac / grid_wrap.cpp
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
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
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; }
25 private:
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
48
49
50 /***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60 #include <string.h>
61
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
67 # else
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
70 # endif
71 # else
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
75 # else
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
78 # endif
79 # endif
80 #else
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
83 #endif
84
85 #ifdef SWIG_GLOBAL
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
87 #else
88 #define SWIGRUNTIME(a) static a
89 #endif
90
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119 #ifdef __cplusplus
120 }
121
122 #endif
123
124 /***********************************************************************
125 * pyrun.swg for wxPython
126 *
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
130 * anyway.
131 *
132 ************************************************************************/
133
134
135 #include "Python.h"
136
137 #ifdef __cplusplus
138 extern "C" {
139 #endif
140
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
146
147 /* Flags for pointer conversion */
148
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
151
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
154
155 /* Constant information structure */
156 typedef struct swig_const_info {
157 int type;
158 char *name;
159 long lvalue;
160 double dvalue;
161 void *pvalue;
162 swig_type_info **ptype;
163 } swig_const_info;
164
165
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
190
191
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
193 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
195
196 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
201 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
203
204
205 /* Contract support */
206
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
208
209
210 #ifdef __cplusplus
211 }
212 #endif
213
214
215
216 /* -------- TYPES TABLE (BEGIN) -------- */
217
218 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
219 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
220 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
221 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
222 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
223 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
224 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
225 #define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
226 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
227 #define SWIGTYPE_p_wxGridCellAttr swig_types[9]
228 #define SWIGTYPE_p_wxColour swig_types[10]
229 #define SWIGTYPE_p_wxDC swig_types[11]
230 #define SWIGTYPE_p_wxGridTableMessage swig_types[12]
231 #define SWIGTYPE_p_wxGrid swig_types[13]
232 #define SWIGTYPE_p_wxPanel swig_types[14]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[15]
234 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[16]
235 #define SWIGTYPE_p_wxSize swig_types[17]
236 #define SWIGTYPE_p_wxGridCellCoords swig_types[18]
237 #define SWIGTYPE_p_wxScrolledWindow swig_types[19]
238 #define SWIGTYPE_p_wxWindow swig_types[20]
239 #define SWIGTYPE_p_wxFont swig_types[21]
240 #define SWIGTYPE_p_wxControl swig_types[22]
241 #define SWIGTYPE_p_wxEvent swig_types[23]
242 #define SWIGTYPE_p_wxObject swig_types[24]
243 #define SWIGTYPE_p_wxGridSizeEvent swig_types[25]
244 #define SWIGTYPE_p_wxRect swig_types[26]
245 #define SWIGTYPE_p_long swig_types[27]
246 #define SWIGTYPE_p_wxString swig_types[28]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[29]
248 #define SWIGTYPE_p_wxPoint swig_types[30]
249 #define SWIGTYPE_p_wxGridEvent swig_types[31]
250 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[32]
251 #define SWIGTYPE_p_wxGridTableBase swig_types[33]
252 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[34]
253 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]
254 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[36]
255 #define SWIGTYPE_p_wxGridCellEditor swig_types[37]
256 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[38]
257 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[39]
258 #define SWIGTYPE_p_wxPyGridTableBase swig_types[40]
259 #define SWIGTYPE_p_wxGridStringTable swig_types[41]
260 #define SWIGTYPE_p_wxArrayString swig_types[42]
261 #define SWIGTYPE_p_wxCommandEvent swig_types[43]
262 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[44]
263 #define SWIGTYPE_p_wxKeyEvent swig_types[45]
264 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[46]
265 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[47]
266 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[48]
267 #define SWIGTYPE_p_int swig_types[49]
268 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[50]
269 static swig_type_info *swig_types[52];
270
271 /* -------- TYPES TABLE (END) -------- */
272
273
274 /*-----------------------------------------------
275 @(target):= _grid.so
276 ------------------------------------------------*/
277 #define SWIG_init init_grid
278
279 #define SWIG_name "_grid"
280
281 #include "wx/wxPython/wxPython.h"
282 #include "wx/wxPython/pyclasses.h"
283 #include "wx/wxPython/printfw.h"
284
285 #include <wx/grid.h>
286 #include <wx/generic/gridctrl.h>
287
288 DECLARE_DEF_STRING(PanelNameStr);
289 DECLARE_DEF_STRING2(DateTimeFormatStr, wxT("%c"));
290 static const wxString wxPyEmptyString(wxT(""));
291
292
293
294 #define wxPyMake_TEMPLATE(TYPE) \
295 PyObject* wxPyMake_##TYPE(TYPE* source) { \
296 PyObject* target = NULL; \
297 if (source) { \
298 /* Check if there is already a pointer to a Python object in the \
299 OOR data that we can use. */ \
300 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
301 if (data) { \
302 target = data->m_obj; \
303 Py_INCREF(target); \
304 } \
305 /* Otherwise make a new wrapper for it the old fashioned way and \
306 give it the OOR treatment */ \
307 if (! target) { \
308 target = wxPyConstructObject(source, wxT(#TYPE), False); \
309 if (target) \
310 source->SetClientObject(new wxPyOORClientData(target)); \
311 } \
312 } else { /* source was NULL so return None. */ \
313 Py_INCREF(Py_None); target = Py_None; \
314 } \
315 return target; \
316 } \
317
318
319 wxPyMake_TEMPLATE(wxGridCellRenderer)
320 wxPyMake_TEMPLATE(wxGridCellEditor)
321 wxPyMake_TEMPLATE(wxGridCellAttr)
322 wxPyMake_TEMPLATE(wxGridCellAttrProvider)
323 wxPyMake_TEMPLATE(wxGridTableBase)
324
325
326
327 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
328 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
329 wxGridCellAttr* rval = NULL; \
330 bool found; \
331 wxPyBeginBlockThreads(); \
332 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
333 PyObject* ro; \
334 wxGridCellAttr* ptr; \
335 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
336 if (ro) { \
337 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
338 rval = ptr; \
339 Py_DECREF(ro); \
340 } \
341 } \
342 wxPyEndBlockThreads(); \
343 if (! found) \
344 rval = PCLASS::CBNAME(a, b, c); \
345 return rval; \
346 } \
347 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
348 return PCLASS::CBNAME(a, b, c); \
349 }
350
351
352
353 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
354 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
355 wxPyBeginBlockThreads(); \
356 bool found; \
357 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
358 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
359 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
360 Py_DECREF(obj); \
361 } \
362 wxPyEndBlockThreads(); \
363 if (! found) \
364 PCLASS::CBNAME(attr, a, b); \
365 } \
366 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
367 PCLASS::CBNAME(attr, a, b); \
368 }
369
370
371
372 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
373 void CBNAME(wxGridCellAttr *attr, int val) { \
374 wxPyBeginBlockThreads(); \
375 bool found; \
376 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
377 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
378 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
379 Py_DECREF(obj); \
380 } \
381 wxPyEndBlockThreads(); \
382 if (! found) \
383 PCLASS::CBNAME(attr, val); \
384 } \
385 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
386 PCLASS::CBNAME(attr, val); \
387 }
388
389
390
391 #define PYCALLBACK_INT__pure(CBNAME) \
392 int CBNAME() { \
393 wxPyBeginBlockThreads(); \
394 int rval = 0; \
395 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
396 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
397 wxPyEndBlockThreads(); \
398 return rval; \
399 }
400
401
402
403 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
404 bool CBNAME(int a, int b) { \
405 wxPyBeginBlockThreads(); \
406 bool rval = 0; \
407 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
408 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
409 wxPyEndBlockThreads(); \
410 return rval; \
411 }
412
413
414 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
415 wxString CBNAME(int a, int b) { \
416 wxPyBeginBlockThreads(); \
417 wxString rval; \
418 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
419 PyObject* ro; \
420 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
421 if (ro) { \
422 rval = Py2wxString(ro); \
423 Py_DECREF(ro); \
424 } \
425 } \
426 wxPyEndBlockThreads(); \
427 return rval; \
428 }
429
430
431 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
432 void CBNAME(int a, int b, const wxString& c) { \
433 wxPyBeginBlockThreads(); \
434 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
435 PyObject* s = wx2PyString(c); \
436 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
437 Py_DECREF(s); \
438 } \
439 wxPyEndBlockThreads(); \
440 }
441
442
443 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
444 wxString CBNAME(int a, int b) { \
445 bool found; \
446 wxPyBeginBlockThreads(); \
447 wxString rval; \
448 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
449 PyObject* ro; \
450 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
451 if (ro) { \
452 rval = Py2wxString(ro); \
453 Py_DECREF(ro); \
454 } \
455 } \
456 wxPyEndBlockThreads(); \
457 if (! found) \
458 rval = PCLASS::CBNAME(a, b); \
459 return rval; \
460 } \
461 wxString base_##CBNAME(int a, int b) { \
462 return PCLASS::CBNAME(a, b); \
463 }
464
465
466 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
467 bool CBNAME(int a, int b, const wxString& c) { \
468 bool rval = 0; \
469 bool found; \
470 wxPyBeginBlockThreads(); \
471 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
472 PyObject* s = wx2PyString(c); \
473 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
474 Py_DECREF(s); \
475 } \
476 wxPyEndBlockThreads(); \
477 if (! found) \
478 rval = PCLASS::CBNAME(a,b,c); \
479 return rval; \
480 } \
481 bool base_##CBNAME(int a, int b, const wxString& c) { \
482 return PCLASS::CBNAME(a,b,c); \
483 }
484
485
486
487
488 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
489 long CBNAME(int a, int b) { \
490 long rval; \
491 bool found; \
492 wxPyBeginBlockThreads(); \
493 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
494 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
495 wxPyEndBlockThreads(); \
496 if (! found) \
497 rval = PCLASS::CBNAME(a,b); \
498 return rval; \
499 } \
500 long base_##CBNAME(int a, int b) { \
501 return PCLASS::CBNAME(a,b); \
502 }
503
504
505
506 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
507 bool CBNAME(int a, int b) { \
508 bool rval = 0; \
509 bool found; \
510 wxPyBeginBlockThreads(); \
511 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
512 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
513 wxPyEndBlockThreads(); \
514 if (! found) \
515 rval = PCLASS::CBNAME(a,b); \
516 return rval; \
517 } \
518 bool base_##CBNAME(int a, int b) { \
519 return PCLASS::CBNAME(a,b); \
520 }
521
522
523
524 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
525 double CBNAME(int a, int b) { \
526 bool found; \
527 wxPyBeginBlockThreads(); \
528 double rval; \
529 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
530 PyObject* ro; \
531 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
532 if (ro) { \
533 PyObject* str = PyObject_Str(ro); \
534 rval = PyFloat_AsDouble(str); \
535 Py_DECREF(ro); Py_DECREF(str); \
536 } \
537 } \
538 wxPyEndBlockThreads(); \
539 if (! found) \
540 rval = PCLASS::CBNAME(a, b); \
541 return rval; \
542 } \
543 double base_##CBNAME(int a, int b) { \
544 return PCLASS::CBNAME(a, b); \
545 }
546
547
548
549 #define PYCALLBACK__(PCLASS, CBNAME) \
550 void CBNAME() { \
551 bool found; \
552 wxPyBeginBlockThreads(); \
553 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
554 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
555 wxPyEndBlockThreads(); \
556 if (! found) \
557 PCLASS::CBNAME(); \
558 } \
559 void base_##CBNAME() { \
560 PCLASS::CBNAME(); \
561 }
562
563
564
565
566 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
567 bool CBNAME(size_t a, size_t b) { \
568 bool rval = 0; \
569 bool found; \
570 wxPyBeginBlockThreads(); \
571 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
572 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
573 wxPyEndBlockThreads(); \
574 if (! found) \
575 rval = PCLASS::CBNAME(a,b); \
576 return rval; \
577 } \
578 bool base_##CBNAME(size_t a, size_t b) { \
579 return PCLASS::CBNAME(a,b); \
580 }
581
582
583
584 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
585 bool CBNAME(size_t a) { \
586 bool rval = 0; \
587 bool found; \
588 wxPyBeginBlockThreads(); \
589 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
590 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
591 wxPyEndBlockThreads(); \
592 if (! found) \
593 rval = PCLASS::CBNAME(a); \
594 return rval; \
595 } \
596 bool base_##CBNAME(size_t a) { \
597 return PCLASS::CBNAME(a); \
598 }
599
600
601 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
602 wxString CBNAME(int a) { \
603 bool found; \
604 wxPyBeginBlockThreads(); \
605 wxString rval; \
606 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
607 PyObject* ro; \
608 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
609 if (ro) { \
610 rval = Py2wxString(ro); \
611 Py_DECREF(ro); \
612 } \
613 } \
614 wxPyEndBlockThreads(); \
615 if (! found) \
616 rval = PCLASS::CBNAME(a); \
617 return rval; \
618 } \
619 wxString base_##CBNAME(int a) { \
620 return PCLASS::CBNAME(a); \
621 }
622
623
624 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
625 void CBNAME(int a, const wxString& c) { \
626 bool found; \
627 wxPyBeginBlockThreads(); \
628 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
629 PyObject* s = wx2PyString(c); \
630 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
631 Py_DECREF(s); \
632 } \
633 wxPyEndBlockThreads(); \
634 if (! found) \
635 PCLASS::CBNAME(a,c); \
636 } \
637 void base_##CBNAME(int a, const wxString& c) { \
638 PCLASS::CBNAME(a,c); \
639 }
640
641
642
643
644 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
645 bool CBNAME() { \
646 bool rval = 0; \
647 bool found; \
648 wxPyBeginBlockThreads(); \
649 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
650 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
651 wxPyEndBlockThreads(); \
652 if (! found) \
653 rval = PCLASS::CBNAME(); \
654 return rval; \
655 } \
656 bool base_##CBNAME() { \
657 return PCLASS::CBNAME(); \
658 }
659
660
661
662 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
663 void CBNAME(size_t a, int b) { \
664 bool found; \
665 wxPyBeginBlockThreads(); \
666 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
667 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
668 wxPyEndBlockThreads(); \
669 if (! found) \
670 PCLASS::CBNAME(a,b); \
671 } \
672 void base_##CBNAME(size_t a, int b) { \
673 PCLASS::CBNAME(a,b); \
674 }
675
676
677
678
679 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
680 void CBNAME(int a, int b, long c) { \
681 bool found; \
682 wxPyBeginBlockThreads(); \
683 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
684 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
685 wxPyEndBlockThreads(); \
686 if (! found) \
687 PCLASS::CBNAME(a,b,c); \
688 } \
689 void base_##CBNAME(int a, int b, long c) { \
690 PCLASS::CBNAME(a,b,c); \
691 }
692
693
694
695
696 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
697 void CBNAME(int a, int b, double c) { \
698 bool found; \
699 wxPyBeginBlockThreads(); \
700 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
701 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
702 wxPyEndBlockThreads(); \
703 if (! found) \
704 PCLASS::CBNAME(a,b,c); \
705 } \
706 void base_##CBNAME(int a, int b, double c) { \
707 PCLASS::CBNAME(a,b,c); \
708 }
709
710
711
712 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
713 void CBNAME(int a, int b, bool c) { \
714 bool found; \
715 wxPyBeginBlockThreads(); \
716 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
717 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
718 wxPyEndBlockThreads(); \
719 if (! found) \
720 PCLASS::CBNAME(a,b,c); \
721 } \
722 void base_##CBNAME(int a, int b, bool c) { \
723 PCLASS::CBNAME(a,b,c); \
724 }
725
726
727
728
729
730 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject *_self){
731 self->SetClientObject(new wxPyOORClientData(_self));
732 }
733
734 class wxPyGridCellRenderer : public wxGridCellRenderer
735 {
736 public:
737 wxPyGridCellRenderer() : wxGridCellRenderer() {};
738
739 // Implement Python callback aware virtual methods
740 void Draw(wxGrid& grid, wxGridCellAttr& attr,
741 wxDC& dc, const wxRect& rect,
742 int row, int col, bool isSelected) {
743 wxPyBeginBlockThreads();
744 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
745 PyObject* go = wxPyMake_wxObject(&grid);
746 PyObject* dco = wxPyMake_wxObject(&dc);
747 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
748 PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
749
750 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro,
751 row, col, isSelected));
752 Py_DECREF(go);
753 Py_DECREF(ao);
754 Py_DECREF(dco);
755 Py_DECREF(ro);
756 }
757 wxPyEndBlockThreads();
758 }
759
760 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
761 int row, int col) {
762 wxSize rval;
763 wxPyBeginBlockThreads();
764 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
765 PyObject* ro;
766 wxSize* ptr;
767 PyObject* go = wxPyMake_wxObject(&grid);
768 PyObject* dco = wxPyMake_wxObject(&dc);
769 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
770
771 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)",
772 go, ao, dco,
773 row, col));
774 Py_DECREF(go);
775 Py_DECREF(ao);
776 Py_DECREF(dco);
777
778 if (ro) {
779 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
780 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxSize"))) {
781 rval = *ptr;
782 }
783 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
784 PyObject* o1 = PySequence_GetItem(ro, 0);
785 PyObject* o2 = PySequence_GetItem(ro, 1);
786 if (PyNumber_Check(o1) && PyNumber_Check(o2))
787 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
788 else
789 PyErr_SetString(PyExc_TypeError, errmsg);
790 Py_DECREF(o1);
791 Py_DECREF(o2);
792 }
793 else {
794 PyErr_SetString(PyExc_TypeError, errmsg);
795 }
796 Py_DECREF(ro);
797 }
798 }
799 wxPyEndBlockThreads();
800 return rval;
801 }
802
803
804 wxGridCellRenderer *Clone() const {
805 wxGridCellRenderer* rval = NULL;
806 wxPyBeginBlockThreads();
807 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
808 PyObject* ro;
809 wxGridCellRenderer* ptr;
810 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
811 if (ro) {
812 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellRenderer")))
813 rval = ptr;
814 Py_DECREF(ro);
815 }
816 }
817 wxPyEndBlockThreads();
818 return rval;
819 }
820
821 DEC_PYCALLBACK__STRING(SetParameters);
822
823 PYPRIVATE;
824 };
825
826 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
827
828
829 void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject *_self){
830 self->SetClientObject(new wxPyOORClientData(_self));
831 }
832
833 class wxPyGridCellEditor : public wxGridCellEditor
834 {
835 public:
836 wxPyGridCellEditor() : wxGridCellEditor() {}
837
838 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
839 wxPyBeginBlockThreads();
840 if (wxPyCBH_findCallback(m_myInst, "Create")) {
841 PyObject* po = wxPyMake_wxObject(parent);
842 PyObject* eo = wxPyMake_wxObject(evtHandler);
843
844 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo));
845 Py_DECREF(po);
846 Py_DECREF(eo);
847 }
848 wxPyEndBlockThreads();
849 }
850
851
852 void BeginEdit(int row, int col, wxGrid* grid) {
853 wxPyBeginBlockThreads();
854 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
855 PyObject* go = wxPyMake_wxObject(grid);
856 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
857 Py_DECREF(go);
858 }
859 wxPyEndBlockThreads();
860 }
861
862
863 bool EndEdit(int row, int col, wxGrid* grid) {
864 bool rv = False;
865 wxPyBeginBlockThreads();
866 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
867 PyObject* go = wxPyMake_wxObject(grid);
868 rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
869 Py_DECREF(go);
870 }
871 wxPyEndBlockThreads();
872 return rv;
873 }
874
875
876 wxGridCellEditor* Clone() const {
877 wxGridCellEditor* rval = NULL;
878 wxPyBeginBlockThreads();
879 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
880 PyObject* ro;
881 wxGridCellEditor* ptr;
882 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
883 if (ro) {
884 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellEditor")))
885 rval = ptr;
886 Py_DECREF(ro);
887 }
888 }
889 wxPyEndBlockThreads();
890 return rval;
891 }
892
893
894 void Show(bool show, wxGridCellAttr *attr) {
895 bool found;
896 wxPyBeginBlockThreads();
897 if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) {
898 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
899 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao));
900 Py_DECREF(ao);
901 }
902 wxPyEndBlockThreads();
903 if (! found)
904 wxGridCellEditor::Show(show, attr);
905 }
906 void base_Show(bool show, wxGridCellAttr *attr) {
907 wxGridCellEditor::Show(show, attr);
908 }
909
910
911 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
912 bool found;
913 wxPyBeginBlockThreads();
914 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) {
915 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
916 PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
917
918 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao));
919
920 Py_DECREF(ro);
921 Py_DECREF(ao);
922 }
923 wxPyEndBlockThreads();
924 if (! found)
925 wxGridCellEditor::PaintBackground(rectCell, attr);
926 }
927 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
928 wxGridCellEditor::PaintBackground(rectCell, attr);
929 }
930
931
932 DEC_PYCALLBACK___pure(Reset);
933 DEC_PYCALLBACK__constany(SetSize, wxRect);
934 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
935 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
936 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
937 DEC_PYCALLBACK__(StartingClick);
938 DEC_PYCALLBACK__(Destroy);
939 DEC_PYCALLBACK__STRING(SetParameters);
940 DEC_PYCALLBACK_STRING__constpure(GetValue);
941
942 PYPRIVATE;
943 };
944
945
946 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
947 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
948 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
949 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
950 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
951 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
952 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
953 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
954 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue);
955
956
957 void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject *_self){
958 self->SetClientObject(new wxPyOORClientData(_self));
959 }
960
961 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
962 PyObject* o2;
963 PyObject* o3;
964
965 if (!target) {
966 target = o;
967 } else if (target == Py_None) {
968 Py_DECREF(Py_None);
969 target = o;
970 } else {
971 if (!PyTuple_Check(target)) {
972 o2 = target;
973 target = PyTuple_New(1);
974 PyTuple_SetItem(target, 0, o2);
975 }
976 o3 = PyTuple_New(1);
977 PyTuple_SetItem(o3, 0, o);
978
979 o2 = target;
980 target = PySequence_Concat(o2, o3);
981 Py_DECREF(o2);
982 Py_DECREF(o3);
983 }
984 return target;
985 }
986
987 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject *_self){
988 self->SetClientObject(new wxPyOORClientData(_self));
989 }
990
991 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
992 {
993 public:
994 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
995
996 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
997 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
998 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
999 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
1000
1001 PYPRIVATE;
1002 };
1003
1004 void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject *_self){
1005 self->SetClientObject(new wxPyOORClientData(_self));
1006 }
1007
1008 class wxPyGridTableBase : public wxGridTableBase
1009 {
1010 public:
1011 wxPyGridTableBase() : wxGridTableBase() {}
1012
1013 PYCALLBACK_INT__pure(GetNumberRows);
1014 PYCALLBACK_INT__pure(GetNumberCols);
1015 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
1016 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
1017 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
1018 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
1019 PYCALLBACK__(wxGridTableBase, Clear);
1020 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
1021 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
1022 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
1023 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
1024 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
1025 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
1026 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
1027 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
1028 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
1029 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
1030 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
1031 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
1032 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
1033 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
1034 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
1035
1036
1037 wxString GetValue(int row, int col) {
1038 wxPyBeginBlockThreads();
1039 wxString rval;
1040 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1041 PyObject* ro;
1042 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
1043 if (ro) {
1044 rval = Py2wxString(ro);
1045 Py_DECREF(ro);
1046 }
1047 }
1048 wxPyEndBlockThreads();
1049 return rval;
1050 }
1051
1052 void SetValue(int row, int col, const wxString& val) {
1053 wxPyBeginBlockThreads();
1054 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1055 PyObject* s = wx2PyString(val);
1056 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s));
1057 Py_DECREF(s);
1058 }
1059 wxPyEndBlockThreads();
1060 }
1061
1062
1063 // Map the Get/Set methods for the standard non-string types to
1064 // the GetValue and SetValue python methods.
1065 long GetValueAsLong( int row, int col ) {
1066 long rval = 0;
1067 wxPyBeginBlockThreads();
1068 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1069 PyObject* ro;
1070 PyObject* num;
1071 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1072 if (ro && PyNumber_Check(ro)) {
1073 num = PyNumber_Int(ro);
1074 if (num) {
1075 rval = PyInt_AsLong(num);
1076 Py_DECREF(num);
1077 }
1078 Py_DECREF(ro);
1079 }
1080 }
1081 wxPyEndBlockThreads();
1082 return rval;
1083 }
1084
1085 double GetValueAsDouble( int row, int col ) {
1086 double rval = 0.0;
1087 wxPyBeginBlockThreads();
1088 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1089 PyObject* ro;
1090 PyObject* num;
1091 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1092 if (ro && PyNumber_Check(ro)) {
1093 num = PyNumber_Float(ro);
1094 if (num) {
1095 rval = PyFloat_AsDouble(num);
1096 Py_DECREF(num);
1097 }
1098 Py_DECREF(ro);
1099 }
1100 }
1101 wxPyEndBlockThreads();
1102 return rval;
1103 }
1104
1105 bool GetValueAsBool( int row, int col ) {
1106 return (bool)GetValueAsLong(row, col);
1107 }
1108
1109 void SetValueAsLong( int row, int col, long value ) {
1110 wxPyBeginBlockThreads();
1111 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1112 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
1113 }
1114 wxPyEndBlockThreads();
1115 }
1116
1117 void SetValueAsDouble( int row, int col, double value ) {
1118 wxPyBeginBlockThreads();
1119 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1120 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
1121 }
1122 wxPyEndBlockThreads();
1123 }
1124
1125 void SetValueAsBool( int row, int col, bool value ) {
1126 SetValueAsLong( row, col, (long)value );
1127 }
1128
1129
1130 PYPRIVATE;
1131 };
1132
1133 void wxPyGridTableBase_Destroy(wxPyGridTableBase *self){ delete self; }
1134 PyObject *wxGridCellCoords_asTuple(wxGridCellCoords *self){
1135 PyObject* tup = PyTuple_New(2);
1136 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1137 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1138 return tup;
1139 }
1140
1141 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
1142
1143 // If source is an object instance then it may already be the right type
1144 if (wxPySwigInstance_Check(source)) {
1145 wxGridCellCoords* ptr;
1146 if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1147 goto error;
1148 *obj = ptr;
1149 return True;
1150 }
1151 // otherwise a 2-tuple of integers is expected
1152 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
1153 PyObject* o1 = PySequence_GetItem(source, 0);
1154 PyObject* o2 = PySequence_GetItem(source, 1);
1155 if (!PyNumber_Check(o1) || !PyNumber_Check(o2)) {
1156 Py_DECREF(o1);
1157 Py_DECREF(o2);
1158 goto error;
1159 }
1160 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
1161 Py_DECREF(o1);
1162 Py_DECREF(o2);
1163 return True;
1164 }
1165
1166 error:
1167 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1168 return False;
1169 }
1170
1171
1172 bool wxGridCellCoords_typecheck(PyObject* source) {
1173 void* ptr;
1174
1175 if (wxPySwigInstance_Check(source) &&
1176 wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1177 return True;
1178
1179 PyErr_Clear();
1180 if (PySequence_Check(source) && PySequence_Length(source) == 2)
1181 return True;
1182
1183 return False;
1184 }
1185
1186
1187 PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray& source)
1188 {
1189 PyObject* list = PyList_New(0);
1190 size_t idx;
1191 for (idx = 0; idx < source.GetCount(); idx += 1) {
1192 wxGridCellCoords& coord = source.Item(idx);
1193 PyObject* tup = PyTuple_New(2);
1194 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow()));
1195 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol()));
1196 PyList_Append(list, tup);
1197 Py_DECREF(tup);
1198 }
1199 return list;
1200 }
1201
1202
1203 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
1204
1205 wxGridCellCoords wxGrid_XYToCell(wxGrid *self,int x,int y){
1206 wxGridCellCoords rv;
1207 self->XYToCell(x, y, rv);
1208 return rv;
1209 }
1210 #ifdef __cplusplus
1211 extern "C" {
1212 #endif
1213 static int _wrap_GridNoCellCoords_set(PyObject *_val) {
1214 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellCoords is read-only.");
1215 return 1;
1216 }
1217
1218
1219 static PyObject *_wrap_GridNoCellCoords_get() {
1220 PyObject *pyobj;
1221
1222 pyobj = SWIG_NewPointerObj((void *) &wxGridNoCellCoords, SWIGTYPE_p_wxGridCellCoords, 0);
1223 return pyobj;
1224 }
1225
1226
1227 static int _wrap_GridNoCellRect_set(PyObject *_val) {
1228 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellRect is read-only.");
1229 return 1;
1230 }
1231
1232
1233 static PyObject *_wrap_GridNoCellRect_get() {
1234 PyObject *pyobj;
1235
1236 pyobj = SWIG_NewPointerObj((void *) &wxGridNoCellRect, SWIGTYPE_p_wxRect, 0);
1237 return pyobj;
1238 }
1239
1240
1241 static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1242 PyObject *resultobj;
1243 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1244 PyObject *arg2 = (PyObject *) 0 ;
1245 PyObject * obj0 = 0 ;
1246 PyObject * obj1 = 0 ;
1247 char *kwnames[] = {
1248 (char *) "self",(char *) "_self", NULL
1249 };
1250
1251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
1252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1253 arg2 = obj1;
1254 {
1255 PyThreadState* __tstate = wxPyBeginAllowThreads();
1256 wxGridCellRenderer__setOORInfo(arg1,arg2);
1257
1258 wxPyEndAllowThreads(__tstate);
1259 if (PyErr_Occurred()) SWIG_fail;
1260 }
1261 Py_INCREF(Py_None); resultobj = Py_None;
1262 return resultobj;
1263 fail:
1264 return NULL;
1265 }
1266
1267
1268 static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1269 PyObject *resultobj;
1270 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1271 wxString *arg2 = 0 ;
1272 bool temp2 = False ;
1273 PyObject * obj0 = 0 ;
1274 PyObject * obj1 = 0 ;
1275 char *kwnames[] = {
1276 (char *) "self",(char *) "params", NULL
1277 };
1278
1279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer_SetParameters",kwnames,&obj0,&obj1)) goto fail;
1280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1281 {
1282 arg2 = wxString_in_helper(obj1);
1283 if (arg2 == NULL) SWIG_fail;
1284 temp2 = True;
1285 }
1286 {
1287 PyThreadState* __tstate = wxPyBeginAllowThreads();
1288 (arg1)->SetParameters((wxString const &)*arg2);
1289
1290 wxPyEndAllowThreads(__tstate);
1291 if (PyErr_Occurred()) SWIG_fail;
1292 }
1293 Py_INCREF(Py_None); resultobj = Py_None;
1294 {
1295 if (temp2)
1296 delete arg2;
1297 }
1298 return resultobj;
1299 fail:
1300 {
1301 if (temp2)
1302 delete arg2;
1303 }
1304 return NULL;
1305 }
1306
1307
1308 static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1309 PyObject *resultobj;
1310 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1311 PyObject * obj0 = 0 ;
1312 char *kwnames[] = {
1313 (char *) "self", NULL
1314 };
1315
1316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_IncRef",kwnames,&obj0)) goto fail;
1317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1318 {
1319 PyThreadState* __tstate = wxPyBeginAllowThreads();
1320 (arg1)->IncRef();
1321
1322 wxPyEndAllowThreads(__tstate);
1323 if (PyErr_Occurred()) SWIG_fail;
1324 }
1325 Py_INCREF(Py_None); resultobj = Py_None;
1326 return resultobj;
1327 fail:
1328 return NULL;
1329 }
1330
1331
1332 static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1333 PyObject *resultobj;
1334 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1335 PyObject * obj0 = 0 ;
1336 char *kwnames[] = {
1337 (char *) "self", NULL
1338 };
1339
1340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_DecRef",kwnames,&obj0)) goto fail;
1341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1342 {
1343 PyThreadState* __tstate = wxPyBeginAllowThreads();
1344 (arg1)->DecRef();
1345
1346 wxPyEndAllowThreads(__tstate);
1347 if (PyErr_Occurred()) SWIG_fail;
1348 }
1349 Py_INCREF(Py_None); resultobj = Py_None;
1350 return resultobj;
1351 fail:
1352 return NULL;
1353 }
1354
1355
1356 static PyObject *_wrap_GridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
1357 PyObject *resultobj;
1358 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1359 wxGrid *arg2 = 0 ;
1360 wxGridCellAttr *arg3 = 0 ;
1361 wxDC *arg4 = 0 ;
1362 wxRect *arg5 = 0 ;
1363 int arg6 ;
1364 int arg7 ;
1365 bool arg8 ;
1366 wxRect temp5 ;
1367 PyObject * obj0 = 0 ;
1368 PyObject * obj1 = 0 ;
1369 PyObject * obj2 = 0 ;
1370 PyObject * obj3 = 0 ;
1371 PyObject * obj4 = 0 ;
1372 PyObject * obj7 = 0 ;
1373 char *kwnames[] = {
1374 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1375 };
1376
1377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOiiO:GridCellRenderer_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7)) goto fail;
1378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1379 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1380 if (arg2 == NULL) {
1381 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1382 }
1383 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1384 if (arg3 == NULL) {
1385 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1386 }
1387 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1388 if (arg4 == NULL) {
1389 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1390 }
1391 {
1392 arg5 = &temp5;
1393 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
1394 }
1395 arg8 = PyInt_AsLong(obj7) ? true : false;
1396 if (PyErr_Occurred()) SWIG_fail;
1397 {
1398 PyThreadState* __tstate = wxPyBeginAllowThreads();
1399 (arg1)->Draw(*arg2,*arg3,*arg4,(wxRect const &)*arg5,arg6,arg7,arg8);
1400
1401 wxPyEndAllowThreads(__tstate);
1402 if (PyErr_Occurred()) SWIG_fail;
1403 }
1404 Py_INCREF(Py_None); resultobj = Py_None;
1405 return resultobj;
1406 fail:
1407 return NULL;
1408 }
1409
1410
1411 static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1412 PyObject *resultobj;
1413 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1414 wxGrid *arg2 = 0 ;
1415 wxGridCellAttr *arg3 = 0 ;
1416 wxDC *arg4 = 0 ;
1417 int arg5 ;
1418 int arg6 ;
1419 wxSize result;
1420 PyObject * obj0 = 0 ;
1421 PyObject * obj1 = 0 ;
1422 PyObject * obj2 = 0 ;
1423 PyObject * obj3 = 0 ;
1424 char *kwnames[] = {
1425 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1426 };
1427
1428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOii:GridCellRenderer_GetBestSize",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6)) goto fail;
1429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1430 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1431 if (arg2 == NULL) {
1432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1433 }
1434 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1435 if (arg3 == NULL) {
1436 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1437 }
1438 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1439 if (arg4 == NULL) {
1440 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1441 }
1442 {
1443 PyThreadState* __tstate = wxPyBeginAllowThreads();
1444 result = (arg1)->GetBestSize(*arg2,*arg3,*arg4,arg5,arg6);
1445
1446 wxPyEndAllowThreads(__tstate);
1447 if (PyErr_Occurred()) SWIG_fail;
1448 }
1449 {
1450 wxSize * resultptr;
1451 resultptr = new wxSize((wxSize &) result);
1452 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1453 }
1454 return resultobj;
1455 fail:
1456 return NULL;
1457 }
1458
1459
1460 static PyObject *_wrap_GridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1461 PyObject *resultobj;
1462 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1463 wxGridCellRenderer *result;
1464 PyObject * obj0 = 0 ;
1465 char *kwnames[] = {
1466 (char *) "self", NULL
1467 };
1468
1469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_Clone",kwnames,&obj0)) goto fail;
1470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1471 {
1472 PyThreadState* __tstate = wxPyBeginAllowThreads();
1473 result = (wxGridCellRenderer *)((wxGridCellRenderer const *)arg1)->Clone();
1474
1475 wxPyEndAllowThreads(__tstate);
1476 if (PyErr_Occurred()) SWIG_fail;
1477 }
1478 {
1479 resultobj = wxPyMake_wxGridCellRenderer(result);
1480 }
1481 return resultobj;
1482 fail:
1483 return NULL;
1484 }
1485
1486
1487 static PyObject * GridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1488 PyObject *obj;
1489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1490 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer, obj);
1491 Py_INCREF(obj);
1492 return Py_BuildValue((char *)"");
1493 }
1494 static PyObject *_wrap_new_PyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1495 PyObject *resultobj;
1496 wxPyGridCellRenderer *result;
1497 char *kwnames[] = {
1498 NULL
1499 };
1500
1501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellRenderer",kwnames)) goto fail;
1502 {
1503 PyThreadState* __tstate = wxPyBeginAllowThreads();
1504 result = (wxPyGridCellRenderer *)new wxPyGridCellRenderer();
1505
1506 wxPyEndAllowThreads(__tstate);
1507 if (PyErr_Occurred()) SWIG_fail;
1508 }
1509 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridCellRenderer, 1);
1510 return resultobj;
1511 fail:
1512 return NULL;
1513 }
1514
1515
1516 static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1517 PyObject *resultobj;
1518 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1519 PyObject *arg2 = (PyObject *) 0 ;
1520 PyObject *arg3 = (PyObject *) 0 ;
1521 PyObject * obj0 = 0 ;
1522 PyObject * obj1 = 0 ;
1523 PyObject * obj2 = 0 ;
1524 char *kwnames[] = {
1525 (char *) "self",(char *) "self",(char *) "_class", NULL
1526 };
1527
1528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1530 arg2 = obj1;
1531 arg3 = obj2;
1532 {
1533 PyThreadState* __tstate = wxPyBeginAllowThreads();
1534 (arg1)->_setCallbackInfo(arg2,arg3);
1535
1536 wxPyEndAllowThreads(__tstate);
1537 if (PyErr_Occurred()) SWIG_fail;
1538 }
1539 Py_INCREF(Py_None); resultobj = Py_None;
1540 return resultobj;
1541 fail:
1542 return NULL;
1543 }
1544
1545
1546 static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1547 PyObject *resultobj;
1548 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1549 wxString *arg2 = 0 ;
1550 bool temp2 = False ;
1551 PyObject * obj0 = 0 ;
1552 PyObject * obj1 = 0 ;
1553 char *kwnames[] = {
1554 (char *) "self",(char *) "params", NULL
1555 };
1556
1557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
1558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1559 {
1560 arg2 = wxString_in_helper(obj1);
1561 if (arg2 == NULL) SWIG_fail;
1562 temp2 = True;
1563 }
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 (arg1)->base_SetParameters((wxString const &)*arg2);
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) SWIG_fail;
1570 }
1571 Py_INCREF(Py_None); resultobj = Py_None;
1572 {
1573 if (temp2)
1574 delete arg2;
1575 }
1576 return resultobj;
1577 fail:
1578 {
1579 if (temp2)
1580 delete arg2;
1581 }
1582 return NULL;
1583 }
1584
1585
1586 static PyObject * PyGridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1587 PyObject *obj;
1588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1589 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer, obj);
1590 Py_INCREF(obj);
1591 return Py_BuildValue((char *)"");
1592 }
1593 static PyObject *_wrap_new_GridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1594 PyObject *resultobj;
1595 wxGridCellStringRenderer *result;
1596 char *kwnames[] = {
1597 NULL
1598 };
1599
1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellStringRenderer",kwnames)) goto fail;
1601 {
1602 PyThreadState* __tstate = wxPyBeginAllowThreads();
1603 result = (wxGridCellStringRenderer *)new wxGridCellStringRenderer();
1604
1605 wxPyEndAllowThreads(__tstate);
1606 if (PyErr_Occurred()) SWIG_fail;
1607 }
1608 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellStringRenderer, 1);
1609 return resultobj;
1610 fail:
1611 return NULL;
1612 }
1613
1614
1615 static PyObject * GridCellStringRenderer_swigregister(PyObject *self, PyObject *args) {
1616 PyObject *obj;
1617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1618 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer, obj);
1619 Py_INCREF(obj);
1620 return Py_BuildValue((char *)"");
1621 }
1622 static PyObject *_wrap_new_GridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1623 PyObject *resultobj;
1624 wxGridCellNumberRenderer *result;
1625 char *kwnames[] = {
1626 NULL
1627 };
1628
1629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellNumberRenderer",kwnames)) goto fail;
1630 {
1631 PyThreadState* __tstate = wxPyBeginAllowThreads();
1632 result = (wxGridCellNumberRenderer *)new wxGridCellNumberRenderer();
1633
1634 wxPyEndAllowThreads(__tstate);
1635 if (PyErr_Occurred()) SWIG_fail;
1636 }
1637 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellNumberRenderer, 1);
1638 return resultobj;
1639 fail:
1640 return NULL;
1641 }
1642
1643
1644 static PyObject * GridCellNumberRenderer_swigregister(PyObject *self, PyObject *args) {
1645 PyObject *obj;
1646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1647 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer, obj);
1648 Py_INCREF(obj);
1649 return Py_BuildValue((char *)"");
1650 }
1651 static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1652 PyObject *resultobj;
1653 int arg1 = (int) -1 ;
1654 int arg2 = (int) -1 ;
1655 wxGridCellFloatRenderer *result;
1656 char *kwnames[] = {
1657 (char *) "width",(char *) "precision", NULL
1658 };
1659
1660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridCellFloatRenderer",kwnames,&arg1,&arg2)) goto fail;
1661 {
1662 PyThreadState* __tstate = wxPyBeginAllowThreads();
1663 result = (wxGridCellFloatRenderer *)new wxGridCellFloatRenderer(arg1,arg2);
1664
1665 wxPyEndAllowThreads(__tstate);
1666 if (PyErr_Occurred()) SWIG_fail;
1667 }
1668 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellFloatRenderer, 1);
1669 return resultobj;
1670 fail:
1671 return NULL;
1672 }
1673
1674
1675 static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1676 PyObject *resultobj;
1677 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1678 int result;
1679 PyObject * obj0 = 0 ;
1680 char *kwnames[] = {
1681 (char *) "self", NULL
1682 };
1683
1684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames,&obj0)) goto fail;
1685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1686 {
1687 PyThreadState* __tstate = wxPyBeginAllowThreads();
1688 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetWidth();
1689
1690 wxPyEndAllowThreads(__tstate);
1691 if (PyErr_Occurred()) SWIG_fail;
1692 }
1693 resultobj = PyInt_FromLong((long)result);
1694 return resultobj;
1695 fail:
1696 return NULL;
1697 }
1698
1699
1700 static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1701 PyObject *resultobj;
1702 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1703 int arg2 ;
1704 PyObject * obj0 = 0 ;
1705 char *kwnames[] = {
1706 (char *) "self",(char *) "width", NULL
1707 };
1708
1709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridCellFloatRenderer_SetWidth",kwnames,&obj0,&arg2)) goto fail;
1710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1711 {
1712 PyThreadState* __tstate = wxPyBeginAllowThreads();
1713 (arg1)->SetWidth(arg2);
1714
1715 wxPyEndAllowThreads(__tstate);
1716 if (PyErr_Occurred()) SWIG_fail;
1717 }
1718 Py_INCREF(Py_None); resultobj = Py_None;
1719 return resultobj;
1720 fail:
1721 return NULL;
1722 }
1723
1724
1725 static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1726 PyObject *resultobj;
1727 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1728 int result;
1729 PyObject * obj0 = 0 ;
1730 char *kwnames[] = {
1731 (char *) "self", NULL
1732 };
1733
1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames,&obj0)) goto fail;
1735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1736 {
1737 PyThreadState* __tstate = wxPyBeginAllowThreads();
1738 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetPrecision();
1739
1740 wxPyEndAllowThreads(__tstate);
1741 if (PyErr_Occurred()) SWIG_fail;
1742 }
1743 resultobj = PyInt_FromLong((long)result);
1744 return resultobj;
1745 fail:
1746 return NULL;
1747 }
1748
1749
1750 static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1751 PyObject *resultobj;
1752 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1753 int arg2 ;
1754 PyObject * obj0 = 0 ;
1755 char *kwnames[] = {
1756 (char *) "self",(char *) "precision", NULL
1757 };
1758
1759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridCellFloatRenderer_SetPrecision",kwnames,&obj0,&arg2)) goto fail;
1760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1761 {
1762 PyThreadState* __tstate = wxPyBeginAllowThreads();
1763 (arg1)->SetPrecision(arg2);
1764
1765 wxPyEndAllowThreads(__tstate);
1766 if (PyErr_Occurred()) SWIG_fail;
1767 }
1768 Py_INCREF(Py_None); resultobj = Py_None;
1769 return resultobj;
1770 fail:
1771 return NULL;
1772 }
1773
1774
1775 static PyObject * GridCellFloatRenderer_swigregister(PyObject *self, PyObject *args) {
1776 PyObject *obj;
1777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1778 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer, obj);
1779 Py_INCREF(obj);
1780 return Py_BuildValue((char *)"");
1781 }
1782 static PyObject *_wrap_new_GridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1783 PyObject *resultobj;
1784 wxGridCellBoolRenderer *result;
1785 char *kwnames[] = {
1786 NULL
1787 };
1788
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolRenderer",kwnames)) goto fail;
1790 {
1791 PyThreadState* __tstate = wxPyBeginAllowThreads();
1792 result = (wxGridCellBoolRenderer *)new wxGridCellBoolRenderer();
1793
1794 wxPyEndAllowThreads(__tstate);
1795 if (PyErr_Occurred()) SWIG_fail;
1796 }
1797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellBoolRenderer, 1);
1798 return resultobj;
1799 fail:
1800 return NULL;
1801 }
1802
1803
1804 static PyObject * GridCellBoolRenderer_swigregister(PyObject *self, PyObject *args) {
1805 PyObject *obj;
1806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1807 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer, obj);
1808 Py_INCREF(obj);
1809 return Py_BuildValue((char *)"");
1810 }
1811 static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1812 PyObject *resultobj;
1813 wxString arg1 = (wxString) wxPyDateTimeFormatStr ;
1814 wxString arg2 = (wxString) wxPyDateTimeFormatStr ;
1815 wxGridCellDateTimeRenderer *result;
1816 PyObject * obj0 = 0 ;
1817 PyObject * obj1 = 0 ;
1818 char *kwnames[] = {
1819 (char *) "outformat",(char *) "informat", NULL
1820 };
1821
1822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail;
1823 if (obj0) {
1824 {
1825 wxString* sptr = wxString_in_helper(obj0);
1826 if (sptr == NULL) SWIG_fail;
1827 arg1 = *sptr;
1828 delete sptr;
1829 }
1830 }
1831 if (obj1) {
1832 {
1833 wxString* sptr = wxString_in_helper(obj1);
1834 if (sptr == NULL) SWIG_fail;
1835 arg2 = *sptr;
1836 delete sptr;
1837 }
1838 }
1839 {
1840 PyThreadState* __tstate = wxPyBeginAllowThreads();
1841 result = (wxGridCellDateTimeRenderer *)new wxGridCellDateTimeRenderer(arg1,arg2);
1842
1843 wxPyEndAllowThreads(__tstate);
1844 if (PyErr_Occurred()) SWIG_fail;
1845 }
1846 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellDateTimeRenderer, 1);
1847 return resultobj;
1848 fail:
1849 return NULL;
1850 }
1851
1852
1853 static PyObject * GridCellDateTimeRenderer_swigregister(PyObject *self, PyObject *args) {
1854 PyObject *obj;
1855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1856 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer, obj);
1857 Py_INCREF(obj);
1858 return Py_BuildValue((char *)"");
1859 }
1860 static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1861 PyObject *resultobj;
1862 wxString const &arg1_defvalue = wxPyEmptyString ;
1863 wxString *arg1 = (wxString *) &arg1_defvalue ;
1864 wxGridCellEnumRenderer *result;
1865 bool temp1 = False ;
1866 PyObject * obj0 = 0 ;
1867 char *kwnames[] = {
1868 (char *) "choices", NULL
1869 };
1870
1871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumRenderer",kwnames,&obj0)) goto fail;
1872 if (obj0) {
1873 {
1874 arg1 = wxString_in_helper(obj0);
1875 if (arg1 == NULL) SWIG_fail;
1876 temp1 = True;
1877 }
1878 }
1879 {
1880 PyThreadState* __tstate = wxPyBeginAllowThreads();
1881 result = (wxGridCellEnumRenderer *)new wxGridCellEnumRenderer((wxString const &)*arg1);
1882
1883 wxPyEndAllowThreads(__tstate);
1884 if (PyErr_Occurred()) SWIG_fail;
1885 }
1886 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellEnumRenderer, 1);
1887 {
1888 if (temp1)
1889 delete arg1;
1890 }
1891 return resultobj;
1892 fail:
1893 {
1894 if (temp1)
1895 delete arg1;
1896 }
1897 return NULL;
1898 }
1899
1900
1901 static PyObject * GridCellEnumRenderer_swigregister(PyObject *self, PyObject *args) {
1902 PyObject *obj;
1903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1904 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer, obj);
1905 Py_INCREF(obj);
1906 return Py_BuildValue((char *)"");
1907 }
1908 static PyObject *_wrap_new_GridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1909 PyObject *resultobj;
1910 wxGridCellAutoWrapStringRenderer *result;
1911 char *kwnames[] = {
1912 NULL
1913 };
1914
1915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringRenderer",kwnames)) goto fail;
1916 {
1917 PyThreadState* __tstate = wxPyBeginAllowThreads();
1918 result = (wxGridCellAutoWrapStringRenderer *)new wxGridCellAutoWrapStringRenderer();
1919
1920 wxPyEndAllowThreads(__tstate);
1921 if (PyErr_Occurred()) SWIG_fail;
1922 }
1923 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, 1);
1924 return resultobj;
1925 fail:
1926 return NULL;
1927 }
1928
1929
1930 static PyObject * GridCellAutoWrapStringRenderer_swigregister(PyObject *self, PyObject *args) {
1931 PyObject *obj;
1932 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1933 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, obj);
1934 Py_INCREF(obj);
1935 return Py_BuildValue((char *)"");
1936 }
1937 static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1938 PyObject *resultobj;
1939 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
1940 PyObject *arg2 = (PyObject *) 0 ;
1941 PyObject * obj0 = 0 ;
1942 PyObject * obj1 = 0 ;
1943 char *kwnames[] = {
1944 (char *) "self",(char *) "_self", NULL
1945 };
1946
1947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
1948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1949 arg2 = obj1;
1950 {
1951 PyThreadState* __tstate = wxPyBeginAllowThreads();
1952 wxGridCellEditor__setOORInfo(arg1,arg2);
1953
1954 wxPyEndAllowThreads(__tstate);
1955 if (PyErr_Occurred()) SWIG_fail;
1956 }
1957 Py_INCREF(Py_None); resultobj = Py_None;
1958 return resultobj;
1959 fail:
1960 return NULL;
1961 }
1962
1963
1964 static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1965 PyObject *resultobj;
1966 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
1967 bool result;
1968 PyObject * obj0 = 0 ;
1969 char *kwnames[] = {
1970 (char *) "self", NULL
1971 };
1972
1973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IsCreated",kwnames,&obj0)) goto fail;
1974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1975 {
1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
1977 result = (bool)(arg1)->IsCreated();
1978
1979 wxPyEndAllowThreads(__tstate);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
1982 resultobj = PyInt_FromLong((long)result);
1983 return resultobj;
1984 fail:
1985 return NULL;
1986 }
1987
1988
1989 static PyObject *_wrap_GridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject *resultobj;
1991 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
1992 wxControl *result;
1993 PyObject * obj0 = 0 ;
1994 char *kwnames[] = {
1995 (char *) "self", NULL
1996 };
1997
1998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetControl",kwnames,&obj0)) goto fail;
1999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2000 {
2001 PyThreadState* __tstate = wxPyBeginAllowThreads();
2002 result = (wxControl *)(arg1)->GetControl();
2003
2004 wxPyEndAllowThreads(__tstate);
2005 if (PyErr_Occurred()) SWIG_fail;
2006 }
2007 {
2008 resultobj = wxPyMake_wxObject(result);
2009 }
2010 return resultobj;
2011 fail:
2012 return NULL;
2013 }
2014
2015
2016 static PyObject *_wrap_GridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2017 PyObject *resultobj;
2018 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2019 wxControl *arg2 = (wxControl *) 0 ;
2020 PyObject * obj0 = 0 ;
2021 PyObject * obj1 = 0 ;
2022 char *kwnames[] = {
2023 (char *) "self",(char *) "control", NULL
2024 };
2025
2026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetControl",kwnames,&obj0,&obj1)) goto fail;
2027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2028 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2029 {
2030 PyThreadState* __tstate = wxPyBeginAllowThreads();
2031 (arg1)->SetControl(arg2);
2032
2033 wxPyEndAllowThreads(__tstate);
2034 if (PyErr_Occurred()) SWIG_fail;
2035 }
2036 Py_INCREF(Py_None); resultobj = Py_None;
2037 return resultobj;
2038 fail:
2039 return NULL;
2040 }
2041
2042
2043 static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2044 PyObject *resultobj;
2045 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2046 wxGridCellAttr *result;
2047 PyObject * obj0 = 0 ;
2048 char *kwnames[] = {
2049 (char *) "self", NULL
2050 };
2051
2052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetCellAttr",kwnames,&obj0)) goto fail;
2053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2054 {
2055 PyThreadState* __tstate = wxPyBeginAllowThreads();
2056 result = (wxGridCellAttr *)(arg1)->GetCellAttr();
2057
2058 wxPyEndAllowThreads(__tstate);
2059 if (PyErr_Occurred()) SWIG_fail;
2060 }
2061 {
2062 resultobj = wxPyMake_wxGridCellAttr(result);
2063 }
2064 return resultobj;
2065 fail:
2066 return NULL;
2067 }
2068
2069
2070 static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2071 PyObject *resultobj;
2072 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2073 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
2074 PyObject * obj0 = 0 ;
2075 PyObject * obj1 = 0 ;
2076 char *kwnames[] = {
2077 (char *) "self",(char *) "attr", NULL
2078 };
2079
2080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetCellAttr",kwnames,&obj0,&obj1)) goto fail;
2081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2082 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2083 {
2084 PyThreadState* __tstate = wxPyBeginAllowThreads();
2085 (arg1)->SetCellAttr(arg2);
2086
2087 wxPyEndAllowThreads(__tstate);
2088 if (PyErr_Occurred()) SWIG_fail;
2089 }
2090 Py_INCREF(Py_None); resultobj = Py_None;
2091 return resultobj;
2092 fail:
2093 return NULL;
2094 }
2095
2096
2097 static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2098 PyObject *resultobj;
2099 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2100 wxString *arg2 = 0 ;
2101 bool temp2 = False ;
2102 PyObject * obj0 = 0 ;
2103 PyObject * obj1 = 0 ;
2104 char *kwnames[] = {
2105 (char *) "self",(char *) "params", NULL
2106 };
2107
2108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetParameters",kwnames,&obj0,&obj1)) goto fail;
2109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2110 {
2111 arg2 = wxString_in_helper(obj1);
2112 if (arg2 == NULL) SWIG_fail;
2113 temp2 = True;
2114 }
2115 {
2116 PyThreadState* __tstate = wxPyBeginAllowThreads();
2117 (arg1)->SetParameters((wxString const &)*arg2);
2118
2119 wxPyEndAllowThreads(__tstate);
2120 if (PyErr_Occurred()) SWIG_fail;
2121 }
2122 Py_INCREF(Py_None); resultobj = Py_None;
2123 {
2124 if (temp2)
2125 delete arg2;
2126 }
2127 return resultobj;
2128 fail:
2129 {
2130 if (temp2)
2131 delete arg2;
2132 }
2133 return NULL;
2134 }
2135
2136
2137 static PyObject *_wrap_GridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2138 PyObject *resultobj;
2139 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2140 PyObject * obj0 = 0 ;
2141 char *kwnames[] = {
2142 (char *) "self", NULL
2143 };
2144
2145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IncRef",kwnames,&obj0)) goto fail;
2146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2147 {
2148 PyThreadState* __tstate = wxPyBeginAllowThreads();
2149 (arg1)->IncRef();
2150
2151 wxPyEndAllowThreads(__tstate);
2152 if (PyErr_Occurred()) SWIG_fail;
2153 }
2154 Py_INCREF(Py_None); resultobj = Py_None;
2155 return resultobj;
2156 fail:
2157 return NULL;
2158 }
2159
2160
2161 static PyObject *_wrap_GridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2162 PyObject *resultobj;
2163 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2164 PyObject * obj0 = 0 ;
2165 char *kwnames[] = {
2166 (char *) "self", NULL
2167 };
2168
2169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_DecRef",kwnames,&obj0)) goto fail;
2170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 (arg1)->DecRef();
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) SWIG_fail;
2177 }
2178 Py_INCREF(Py_None); resultobj = Py_None;
2179 return resultobj;
2180 fail:
2181 return NULL;
2182 }
2183
2184
2185 static PyObject *_wrap_GridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2186 PyObject *resultobj;
2187 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2188 wxWindow *arg2 = (wxWindow *) 0 ;
2189 int arg3 ;
2190 wxEvtHandler *arg4 = (wxEvtHandler *) 0 ;
2191 PyObject * obj0 = 0 ;
2192 PyObject * obj1 = 0 ;
2193 PyObject * obj3 = 0 ;
2194 char *kwnames[] = {
2195 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2196 };
2197
2198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO:GridCellEditor_Create",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
2199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2200 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2201 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2202 {
2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
2204 (arg1)->Create(arg2,arg3,arg4);
2205
2206 wxPyEndAllowThreads(__tstate);
2207 if (PyErr_Occurred()) SWIG_fail;
2208 }
2209 Py_INCREF(Py_None); resultobj = Py_None;
2210 return resultobj;
2211 fail:
2212 return NULL;
2213 }
2214
2215
2216 static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2217 PyObject *resultobj;
2218 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2219 int arg2 ;
2220 int arg3 ;
2221 wxGrid *arg4 = (wxGrid *) 0 ;
2222 PyObject * obj0 = 0 ;
2223 PyObject * obj3 = 0 ;
2224 char *kwnames[] = {
2225 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2226 };
2227
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridCellEditor_BeginEdit",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2230 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2231 {
2232 PyThreadState* __tstate = wxPyBeginAllowThreads();
2233 (arg1)->BeginEdit(arg2,arg3,arg4);
2234
2235 wxPyEndAllowThreads(__tstate);
2236 if (PyErr_Occurred()) SWIG_fail;
2237 }
2238 Py_INCREF(Py_None); resultobj = Py_None;
2239 return resultobj;
2240 fail:
2241 return NULL;
2242 }
2243
2244
2245 static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2246 PyObject *resultobj;
2247 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2248 int arg2 ;
2249 int arg3 ;
2250 wxGrid *arg4 = (wxGrid *) 0 ;
2251 bool result;
2252 PyObject * obj0 = 0 ;
2253 PyObject * obj3 = 0 ;
2254 char *kwnames[] = {
2255 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2256 };
2257
2258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridCellEditor_EndEdit",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2260 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2261 {
2262 PyThreadState* __tstate = wxPyBeginAllowThreads();
2263 result = (bool)(arg1)->EndEdit(arg2,arg3,arg4);
2264
2265 wxPyEndAllowThreads(__tstate);
2266 if (PyErr_Occurred()) SWIG_fail;
2267 }
2268 resultobj = PyInt_FromLong((long)result);
2269 return resultobj;
2270 fail:
2271 return NULL;
2272 }
2273
2274
2275 static PyObject *_wrap_GridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
2276 PyObject *resultobj;
2277 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2278 PyObject * obj0 = 0 ;
2279 char *kwnames[] = {
2280 (char *) "self", NULL
2281 };
2282
2283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Reset",kwnames,&obj0)) goto fail;
2284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2285 {
2286 PyThreadState* __tstate = wxPyBeginAllowThreads();
2287 (arg1)->Reset();
2288
2289 wxPyEndAllowThreads(__tstate);
2290 if (PyErr_Occurred()) SWIG_fail;
2291 }
2292 Py_INCREF(Py_None); resultobj = Py_None;
2293 return resultobj;
2294 fail:
2295 return NULL;
2296 }
2297
2298
2299 static PyObject *_wrap_GridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2300 PyObject *resultobj;
2301 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2302 wxGridCellEditor *result;
2303 PyObject * obj0 = 0 ;
2304 char *kwnames[] = {
2305 (char *) "self", NULL
2306 };
2307
2308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Clone",kwnames,&obj0)) goto fail;
2309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2310 {
2311 PyThreadState* __tstate = wxPyBeginAllowThreads();
2312 result = (wxGridCellEditor *)((wxGridCellEditor const *)arg1)->Clone();
2313
2314 wxPyEndAllowThreads(__tstate);
2315 if (PyErr_Occurred()) SWIG_fail;
2316 }
2317 {
2318 resultobj = wxPyMake_wxGridCellEditor(result);
2319 }
2320 return resultobj;
2321 fail:
2322 return NULL;
2323 }
2324
2325
2326 static PyObject *_wrap_GridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2327 PyObject *resultobj;
2328 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2329 wxRect *arg2 = 0 ;
2330 wxRect temp2 ;
2331 PyObject * obj0 = 0 ;
2332 PyObject * obj1 = 0 ;
2333 char *kwnames[] = {
2334 (char *) "self",(char *) "rect", NULL
2335 };
2336
2337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetSize",kwnames,&obj0,&obj1)) goto fail;
2338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2339 {
2340 arg2 = &temp2;
2341 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2342 }
2343 {
2344 PyThreadState* __tstate = wxPyBeginAllowThreads();
2345 (arg1)->SetSize((wxRect const &)*arg2);
2346
2347 wxPyEndAllowThreads(__tstate);
2348 if (PyErr_Occurred()) SWIG_fail;
2349 }
2350 Py_INCREF(Py_None); resultobj = Py_None;
2351 return resultobj;
2352 fail:
2353 return NULL;
2354 }
2355
2356
2357 static PyObject *_wrap_GridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2358 PyObject *resultobj;
2359 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2360 bool arg2 ;
2361 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
2362 PyObject * obj0 = 0 ;
2363 PyObject * obj1 = 0 ;
2364 PyObject * obj2 = 0 ;
2365 char *kwnames[] = {
2366 (char *) "self",(char *) "show",(char *) "attr", NULL
2367 };
2368
2369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridCellEditor_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
2370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2371 arg2 = PyInt_AsLong(obj1) ? true : false;
2372 if (PyErr_Occurred()) SWIG_fail;
2373 if (obj2) {
2374 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2375 }
2376 {
2377 PyThreadState* __tstate = wxPyBeginAllowThreads();
2378 (arg1)->Show(arg2,arg3);
2379
2380 wxPyEndAllowThreads(__tstate);
2381 if (PyErr_Occurred()) SWIG_fail;
2382 }
2383 Py_INCREF(Py_None); resultobj = Py_None;
2384 return resultobj;
2385 fail:
2386 return NULL;
2387 }
2388
2389
2390 static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2391 PyObject *resultobj;
2392 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2393 wxRect *arg2 = 0 ;
2394 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
2395 wxRect temp2 ;
2396 PyObject * obj0 = 0 ;
2397 PyObject * obj1 = 0 ;
2398 PyObject * obj2 = 0 ;
2399 char *kwnames[] = {
2400 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2401 };
2402
2403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellEditor_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2405 {
2406 arg2 = &temp2;
2407 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2408 }
2409 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2410 {
2411 PyThreadState* __tstate = wxPyBeginAllowThreads();
2412 (arg1)->PaintBackground((wxRect const &)*arg2,arg3);
2413
2414 wxPyEndAllowThreads(__tstate);
2415 if (PyErr_Occurred()) SWIG_fail;
2416 }
2417 Py_INCREF(Py_None); resultobj = Py_None;
2418 return resultobj;
2419 fail:
2420 return NULL;
2421 }
2422
2423
2424 static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2425 PyObject *resultobj;
2426 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2427 wxKeyEvent *arg2 = 0 ;
2428 bool result;
2429 PyObject * obj0 = 0 ;
2430 PyObject * obj1 = 0 ;
2431 char *kwnames[] = {
2432 (char *) "self",(char *) "event", NULL
2433 };
2434
2435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
2436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2437 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2438 if (arg2 == NULL) {
2439 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2440 }
2441 {
2442 PyThreadState* __tstate = wxPyBeginAllowThreads();
2443 result = (bool)(arg1)->IsAcceptedKey(*arg2);
2444
2445 wxPyEndAllowThreads(__tstate);
2446 if (PyErr_Occurred()) SWIG_fail;
2447 }
2448 resultobj = PyInt_FromLong((long)result);
2449 return resultobj;
2450 fail:
2451 return NULL;
2452 }
2453
2454
2455 static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2456 PyObject *resultobj;
2457 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2458 wxKeyEvent *arg2 = 0 ;
2459 PyObject * obj0 = 0 ;
2460 PyObject * obj1 = 0 ;
2461 char *kwnames[] = {
2462 (char *) "self",(char *) "event", NULL
2463 };
2464
2465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_StartingKey",kwnames,&obj0,&obj1)) goto fail;
2466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2467 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2468 if (arg2 == NULL) {
2469 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2470 }
2471 {
2472 PyThreadState* __tstate = wxPyBeginAllowThreads();
2473 (arg1)->StartingKey(*arg2);
2474
2475 wxPyEndAllowThreads(__tstate);
2476 if (PyErr_Occurred()) SWIG_fail;
2477 }
2478 Py_INCREF(Py_None); resultobj = Py_None;
2479 return resultobj;
2480 fail:
2481 return NULL;
2482 }
2483
2484
2485 static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2486 PyObject *resultobj;
2487 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2488 PyObject * obj0 = 0 ;
2489 char *kwnames[] = {
2490 (char *) "self", NULL
2491 };
2492
2493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_StartingClick",kwnames,&obj0)) goto fail;
2494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2495 {
2496 PyThreadState* __tstate = wxPyBeginAllowThreads();
2497 (arg1)->StartingClick();
2498
2499 wxPyEndAllowThreads(__tstate);
2500 if (PyErr_Occurred()) SWIG_fail;
2501 }
2502 Py_INCREF(Py_None); resultobj = Py_None;
2503 return resultobj;
2504 fail:
2505 return NULL;
2506 }
2507
2508
2509 static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2510 PyObject *resultobj;
2511 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2512 wxKeyEvent *arg2 = 0 ;
2513 PyObject * obj0 = 0 ;
2514 PyObject * obj1 = 0 ;
2515 char *kwnames[] = {
2516 (char *) "self",(char *) "event", NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
2520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2521 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2522 if (arg2 == NULL) {
2523 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2524 }
2525 {
2526 PyThreadState* __tstate = wxPyBeginAllowThreads();
2527 (arg1)->HandleReturn(*arg2);
2528
2529 wxPyEndAllowThreads(__tstate);
2530 if (PyErr_Occurred()) SWIG_fail;
2531 }
2532 Py_INCREF(Py_None); resultobj = Py_None;
2533 return resultobj;
2534 fail:
2535 return NULL;
2536 }
2537
2538
2539 static PyObject *_wrap_GridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2540 PyObject *resultobj;
2541 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2542 PyObject * obj0 = 0 ;
2543 char *kwnames[] = {
2544 (char *) "self", NULL
2545 };
2546
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Destroy",kwnames,&obj0)) goto fail;
2548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2549 {
2550 PyThreadState* __tstate = wxPyBeginAllowThreads();
2551 (arg1)->Destroy();
2552
2553 wxPyEndAllowThreads(__tstate);
2554 if (PyErr_Occurred()) SWIG_fail;
2555 }
2556 Py_INCREF(Py_None); resultobj = Py_None;
2557 return resultobj;
2558 fail:
2559 return NULL;
2560 }
2561
2562
2563 static PyObject * GridCellEditor_swigregister(PyObject *self, PyObject *args) {
2564 PyObject *obj;
2565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2566 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor, obj);
2567 Py_INCREF(obj);
2568 return Py_BuildValue((char *)"");
2569 }
2570 static PyObject *_wrap_new_PyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2571 PyObject *resultobj;
2572 wxPyGridCellEditor *result;
2573 char *kwnames[] = {
2574 NULL
2575 };
2576
2577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellEditor",kwnames)) goto fail;
2578 {
2579 PyThreadState* __tstate = wxPyBeginAllowThreads();
2580 result = (wxPyGridCellEditor *)new wxPyGridCellEditor();
2581
2582 wxPyEndAllowThreads(__tstate);
2583 if (PyErr_Occurred()) SWIG_fail;
2584 }
2585 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridCellEditor, 1);
2586 return resultobj;
2587 fail:
2588 return NULL;
2589 }
2590
2591
2592 static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2593 PyObject *resultobj;
2594 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2595 PyObject *arg2 = (PyObject *) 0 ;
2596 PyObject *arg3 = (PyObject *) 0 ;
2597 PyObject * obj0 = 0 ;
2598 PyObject * obj1 = 0 ;
2599 PyObject * obj2 = 0 ;
2600 char *kwnames[] = {
2601 (char *) "self",(char *) "self",(char *) "_class", NULL
2602 };
2603
2604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2606 arg2 = obj1;
2607 arg3 = obj2;
2608 {
2609 PyThreadState* __tstate = wxPyBeginAllowThreads();
2610 (arg1)->_setCallbackInfo(arg2,arg3);
2611
2612 wxPyEndAllowThreads(__tstate);
2613 if (PyErr_Occurred()) SWIG_fail;
2614 }
2615 Py_INCREF(Py_None); resultobj = Py_None;
2616 return resultobj;
2617 fail:
2618 return NULL;
2619 }
2620
2621
2622 static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2623 PyObject *resultobj;
2624 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2625 wxRect *arg2 = 0 ;
2626 wxRect temp2 ;
2627 PyObject * obj0 = 0 ;
2628 PyObject * obj1 = 0 ;
2629 char *kwnames[] = {
2630 (char *) "self",(char *) "rect", NULL
2631 };
2632
2633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames,&obj0,&obj1)) goto fail;
2634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2635 {
2636 arg2 = &temp2;
2637 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2638 }
2639 {
2640 PyThreadState* __tstate = wxPyBeginAllowThreads();
2641 (arg1)->base_SetSize((wxRect const &)*arg2);
2642
2643 wxPyEndAllowThreads(__tstate);
2644 if (PyErr_Occurred()) SWIG_fail;
2645 }
2646 Py_INCREF(Py_None); resultobj = Py_None;
2647 return resultobj;
2648 fail:
2649 return NULL;
2650 }
2651
2652
2653 static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2654 PyObject *resultobj;
2655 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2656 bool arg2 ;
2657 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
2658 PyObject * obj0 = 0 ;
2659 PyObject * obj1 = 0 ;
2660 PyObject * obj2 = 0 ;
2661 char *kwnames[] = {
2662 (char *) "self",(char *) "show",(char *) "attr", NULL
2663 };
2664
2665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
2666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2667 arg2 = PyInt_AsLong(obj1) ? true : false;
2668 if (PyErr_Occurred()) SWIG_fail;
2669 if (obj2) {
2670 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2671 }
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 (arg1)->base_Show(arg2,arg3);
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
2679 Py_INCREF(Py_None); resultobj = Py_None;
2680 return resultobj;
2681 fail:
2682 return NULL;
2683 }
2684
2685
2686 static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2687 PyObject *resultobj;
2688 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2689 wxRect *arg2 = 0 ;
2690 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
2691 wxRect temp2 ;
2692 PyObject * obj0 = 0 ;
2693 PyObject * obj1 = 0 ;
2694 PyObject * obj2 = 0 ;
2695 char *kwnames[] = {
2696 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2697 };
2698
2699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2701 {
2702 arg2 = &temp2;
2703 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2704 }
2705 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2706 {
2707 PyThreadState* __tstate = wxPyBeginAllowThreads();
2708 (arg1)->base_PaintBackground((wxRect const &)*arg2,arg3);
2709
2710 wxPyEndAllowThreads(__tstate);
2711 if (PyErr_Occurred()) SWIG_fail;
2712 }
2713 Py_INCREF(Py_None); resultobj = Py_None;
2714 return resultobj;
2715 fail:
2716 return NULL;
2717 }
2718
2719
2720 static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2721 PyObject *resultobj;
2722 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2723 wxKeyEvent *arg2 = 0 ;
2724 bool result;
2725 PyObject * obj0 = 0 ;
2726 PyObject * obj1 = 0 ;
2727 char *kwnames[] = {
2728 (char *) "self",(char *) "event", NULL
2729 };
2730
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
2732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2733 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2734 if (arg2 == NULL) {
2735 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2736 }
2737 {
2738 PyThreadState* __tstate = wxPyBeginAllowThreads();
2739 result = (bool)(arg1)->base_IsAcceptedKey(*arg2);
2740
2741 wxPyEndAllowThreads(__tstate);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 }
2744 resultobj = PyInt_FromLong((long)result);
2745 return resultobj;
2746 fail:
2747 return NULL;
2748 }
2749
2750
2751 static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2752 PyObject *resultobj;
2753 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2754 wxKeyEvent *arg2 = 0 ;
2755 PyObject * obj0 = 0 ;
2756 PyObject * obj1 = 0 ;
2757 char *kwnames[] = {
2758 (char *) "self",(char *) "event", NULL
2759 };
2760
2761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames,&obj0,&obj1)) goto fail;
2762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2763 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2764 if (arg2 == NULL) {
2765 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2766 }
2767 {
2768 PyThreadState* __tstate = wxPyBeginAllowThreads();
2769 (arg1)->base_StartingKey(*arg2);
2770
2771 wxPyEndAllowThreads(__tstate);
2772 if (PyErr_Occurred()) SWIG_fail;
2773 }
2774 Py_INCREF(Py_None); resultobj = Py_None;
2775 return resultobj;
2776 fail:
2777 return NULL;
2778 }
2779
2780
2781 static PyObject *_wrap_PyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2782 PyObject *resultobj;
2783 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2784 PyObject * obj0 = 0 ;
2785 char *kwnames[] = {
2786 (char *) "self", NULL
2787 };
2788
2789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames,&obj0)) goto fail;
2790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2791 {
2792 PyThreadState* __tstate = wxPyBeginAllowThreads();
2793 (arg1)->base_StartingClick();
2794
2795 wxPyEndAllowThreads(__tstate);
2796 if (PyErr_Occurred()) SWIG_fail;
2797 }
2798 Py_INCREF(Py_None); resultobj = Py_None;
2799 return resultobj;
2800 fail:
2801 return NULL;
2802 }
2803
2804
2805 static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2806 PyObject *resultobj;
2807 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2808 wxKeyEvent *arg2 = 0 ;
2809 PyObject * obj0 = 0 ;
2810 PyObject * obj1 = 0 ;
2811 char *kwnames[] = {
2812 (char *) "self",(char *) "event", NULL
2813 };
2814
2815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
2816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2817 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2818 if (arg2 == NULL) {
2819 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2820 }
2821 {
2822 PyThreadState* __tstate = wxPyBeginAllowThreads();
2823 (arg1)->base_HandleReturn(*arg2);
2824
2825 wxPyEndAllowThreads(__tstate);
2826 if (PyErr_Occurred()) SWIG_fail;
2827 }
2828 Py_INCREF(Py_None); resultobj = Py_None;
2829 return resultobj;
2830 fail:
2831 return NULL;
2832 }
2833
2834
2835 static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2836 PyObject *resultobj;
2837 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2838 PyObject * obj0 = 0 ;
2839 char *kwnames[] = {
2840 (char *) "self", NULL
2841 };
2842
2843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_Destroy",kwnames,&obj0)) goto fail;
2844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2845 {
2846 PyThreadState* __tstate = wxPyBeginAllowThreads();
2847 (arg1)->base_Destroy();
2848
2849 wxPyEndAllowThreads(__tstate);
2850 if (PyErr_Occurred()) SWIG_fail;
2851 }
2852 Py_INCREF(Py_None); resultobj = Py_None;
2853 return resultobj;
2854 fail:
2855 return NULL;
2856 }
2857
2858
2859 static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2860 PyObject *resultobj;
2861 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2862 wxString *arg2 = 0 ;
2863 bool temp2 = False ;
2864 PyObject * obj0 = 0 ;
2865 PyObject * obj1 = 0 ;
2866 char *kwnames[] = {
2867 (char *) "self",(char *) "params", NULL
2868 };
2869
2870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
2871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2872 {
2873 arg2 = wxString_in_helper(obj1);
2874 if (arg2 == NULL) SWIG_fail;
2875 temp2 = True;
2876 }
2877 {
2878 PyThreadState* __tstate = wxPyBeginAllowThreads();
2879 (arg1)->base_SetParameters((wxString const &)*arg2);
2880
2881 wxPyEndAllowThreads(__tstate);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 }
2884 Py_INCREF(Py_None); resultobj = Py_None;
2885 {
2886 if (temp2)
2887 delete arg2;
2888 }
2889 return resultobj;
2890 fail:
2891 {
2892 if (temp2)
2893 delete arg2;
2894 }
2895 return NULL;
2896 }
2897
2898
2899 static PyObject * PyGridCellEditor_swigregister(PyObject *self, PyObject *args) {
2900 PyObject *obj;
2901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2902 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor, obj);
2903 Py_INCREF(obj);
2904 return Py_BuildValue((char *)"");
2905 }
2906 static PyObject *_wrap_new_GridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2907 PyObject *resultobj;
2908 wxGridCellTextEditor *result;
2909 char *kwnames[] = {
2910 NULL
2911 };
2912
2913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellTextEditor",kwnames)) goto fail;
2914 {
2915 PyThreadState* __tstate = wxPyBeginAllowThreads();
2916 result = (wxGridCellTextEditor *)new wxGridCellTextEditor();
2917
2918 wxPyEndAllowThreads(__tstate);
2919 if (PyErr_Occurred()) SWIG_fail;
2920 }
2921 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellTextEditor, 1);
2922 return resultobj;
2923 fail:
2924 return NULL;
2925 }
2926
2927
2928 static PyObject *_wrap_GridCellTextEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2929 PyObject *resultobj;
2930 wxGridCellTextEditor *arg1 = (wxGridCellTextEditor *) 0 ;
2931 wxString result;
2932 PyObject * obj0 = 0 ;
2933 char *kwnames[] = {
2934 (char *) "self", NULL
2935 };
2936
2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellTextEditor_GetValue",kwnames,&obj0)) goto fail;
2938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellTextEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2939 {
2940 PyThreadState* __tstate = wxPyBeginAllowThreads();
2941 result = (arg1)->GetValue();
2942
2943 wxPyEndAllowThreads(__tstate);
2944 if (PyErr_Occurred()) SWIG_fail;
2945 }
2946 {
2947 #if wxUSE_UNICODE
2948 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2949 #else
2950 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2951 #endif
2952 }
2953 return resultobj;
2954 fail:
2955 return NULL;
2956 }
2957
2958
2959 static PyObject * GridCellTextEditor_swigregister(PyObject *self, PyObject *args) {
2960 PyObject *obj;
2961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2962 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor, obj);
2963 Py_INCREF(obj);
2964 return Py_BuildValue((char *)"");
2965 }
2966 static PyObject *_wrap_new_GridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2967 PyObject *resultobj;
2968 int arg1 = (int) -1 ;
2969 int arg2 = (int) -1 ;
2970 wxGridCellNumberEditor *result;
2971 char *kwnames[] = {
2972 (char *) "min",(char *) "max", NULL
2973 };
2974
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridCellNumberEditor",kwnames,&arg1,&arg2)) goto fail;
2976 {
2977 PyThreadState* __tstate = wxPyBeginAllowThreads();
2978 result = (wxGridCellNumberEditor *)new wxGridCellNumberEditor(arg1,arg2);
2979
2980 wxPyEndAllowThreads(__tstate);
2981 if (PyErr_Occurred()) SWIG_fail;
2982 }
2983 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellNumberEditor, 1);
2984 return resultobj;
2985 fail:
2986 return NULL;
2987 }
2988
2989
2990 static PyObject *_wrap_GridCellNumberEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2991 PyObject *resultobj;
2992 wxGridCellNumberEditor *arg1 = (wxGridCellNumberEditor *) 0 ;
2993 wxString result;
2994 PyObject * obj0 = 0 ;
2995 char *kwnames[] = {
2996 (char *) "self", NULL
2997 };
2998
2999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellNumberEditor_GetValue",kwnames,&obj0)) goto fail;
3000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellNumberEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3001 {
3002 PyThreadState* __tstate = wxPyBeginAllowThreads();
3003 result = (arg1)->GetValue();
3004
3005 wxPyEndAllowThreads(__tstate);
3006 if (PyErr_Occurred()) SWIG_fail;
3007 }
3008 {
3009 #if wxUSE_UNICODE
3010 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3011 #else
3012 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3013 #endif
3014 }
3015 return resultobj;
3016 fail:
3017 return NULL;
3018 }
3019
3020
3021 static PyObject * GridCellNumberEditor_swigregister(PyObject *self, PyObject *args) {
3022 PyObject *obj;
3023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3024 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor, obj);
3025 Py_INCREF(obj);
3026 return Py_BuildValue((char *)"");
3027 }
3028 static PyObject *_wrap_new_GridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3029 PyObject *resultobj;
3030 wxGridCellFloatEditor *result;
3031 char *kwnames[] = {
3032 NULL
3033 };
3034
3035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellFloatEditor",kwnames)) goto fail;
3036 {
3037 PyThreadState* __tstate = wxPyBeginAllowThreads();
3038 result = (wxGridCellFloatEditor *)new wxGridCellFloatEditor();
3039
3040 wxPyEndAllowThreads(__tstate);
3041 if (PyErr_Occurred()) SWIG_fail;
3042 }
3043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellFloatEditor, 1);
3044 return resultobj;
3045 fail:
3046 return NULL;
3047 }
3048
3049
3050 static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3051 PyObject *resultobj;
3052 wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ;
3053 wxString result;
3054 PyObject * obj0 = 0 ;
3055 char *kwnames[] = {
3056 (char *) "self", NULL
3057 };
3058
3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatEditor_GetValue",kwnames,&obj0)) goto fail;
3060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3061 {
3062 PyThreadState* __tstate = wxPyBeginAllowThreads();
3063 result = (arg1)->GetValue();
3064
3065 wxPyEndAllowThreads(__tstate);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
3068 {
3069 #if wxUSE_UNICODE
3070 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3071 #else
3072 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3073 #endif
3074 }
3075 return resultobj;
3076 fail:
3077 return NULL;
3078 }
3079
3080
3081 static PyObject * GridCellFloatEditor_swigregister(PyObject *self, PyObject *args) {
3082 PyObject *obj;
3083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3084 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor, obj);
3085 Py_INCREF(obj);
3086 return Py_BuildValue((char *)"");
3087 }
3088 static PyObject *_wrap_new_GridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3089 PyObject *resultobj;
3090 wxGridCellBoolEditor *result;
3091 char *kwnames[] = {
3092 NULL
3093 };
3094
3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolEditor",kwnames)) goto fail;
3096 {
3097 PyThreadState* __tstate = wxPyBeginAllowThreads();
3098 result = (wxGridCellBoolEditor *)new wxGridCellBoolEditor();
3099
3100 wxPyEndAllowThreads(__tstate);
3101 if (PyErr_Occurred()) SWIG_fail;
3102 }
3103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellBoolEditor, 1);
3104 return resultobj;
3105 fail:
3106 return NULL;
3107 }
3108
3109
3110 static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3111 PyObject *resultobj;
3112 wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ;
3113 wxString result;
3114 PyObject * obj0 = 0 ;
3115 char *kwnames[] = {
3116 (char *) "self", NULL
3117 };
3118
3119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellBoolEditor_GetValue",kwnames,&obj0)) goto fail;
3120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellBoolEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3121 {
3122 PyThreadState* __tstate = wxPyBeginAllowThreads();
3123 result = (arg1)->GetValue();
3124
3125 wxPyEndAllowThreads(__tstate);
3126 if (PyErr_Occurred()) SWIG_fail;
3127 }
3128 {
3129 #if wxUSE_UNICODE
3130 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3131 #else
3132 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3133 #endif
3134 }
3135 return resultobj;
3136 fail:
3137 return NULL;
3138 }
3139
3140
3141 static PyObject * GridCellBoolEditor_swigregister(PyObject *self, PyObject *args) {
3142 PyObject *obj;
3143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3144 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor, obj);
3145 Py_INCREF(obj);
3146 return Py_BuildValue((char *)"");
3147 }
3148 static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3149 PyObject *resultobj;
3150 int arg1 = (int) 0 ;
3151 wxString *arg2 = (wxString *) NULL ;
3152 bool arg3 = (bool) False ;
3153 wxGridCellChoiceEditor *result;
3154 PyObject * obj1 = 0 ;
3155 PyObject * obj2 = 0 ;
3156 char *kwnames[] = {
3157 (char *) "LCOUNT",(char *) "choices",(char *) "allowOthers", NULL
3158 };
3159
3160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iOO:new_GridCellChoiceEditor",kwnames,&arg1,&obj1,&obj2)) goto fail;
3161 if (obj1) {
3162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3163 }
3164 if (obj2) {
3165 arg3 = PyInt_AsLong(obj2) ? true : false;
3166 if (PyErr_Occurred()) SWIG_fail;
3167 }
3168 {
3169 PyThreadState* __tstate = wxPyBeginAllowThreads();
3170 result = (wxGridCellChoiceEditor *)new wxGridCellChoiceEditor(arg1,(wxString const *)arg2,arg3);
3171
3172 wxPyEndAllowThreads(__tstate);
3173 if (PyErr_Occurred()) SWIG_fail;
3174 }
3175 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellChoiceEditor, 1);
3176 return resultobj;
3177 fail:
3178 return NULL;
3179 }
3180
3181
3182 static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3183 PyObject *resultobj;
3184 wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ;
3185 wxString result;
3186 PyObject * obj0 = 0 ;
3187 char *kwnames[] = {
3188 (char *) "self", NULL
3189 };
3190
3191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellChoiceEditor_GetValue",kwnames,&obj0)) goto fail;
3192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellChoiceEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3193 {
3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
3195 result = (arg1)->GetValue();
3196
3197 wxPyEndAllowThreads(__tstate);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 {
3201 #if wxUSE_UNICODE
3202 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3203 #else
3204 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3205 #endif
3206 }
3207 return resultobj;
3208 fail:
3209 return NULL;
3210 }
3211
3212
3213 static PyObject * GridCellChoiceEditor_swigregister(PyObject *self, PyObject *args) {
3214 PyObject *obj;
3215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3216 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor, obj);
3217 Py_INCREF(obj);
3218 return Py_BuildValue((char *)"");
3219 }
3220 static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3221 PyObject *resultobj;
3222 wxString const &arg1_defvalue = wxPyEmptyString ;
3223 wxString *arg1 = (wxString *) &arg1_defvalue ;
3224 wxGridCellEnumEditor *result;
3225 bool temp1 = False ;
3226 PyObject * obj0 = 0 ;
3227 char *kwnames[] = {
3228 (char *) "choices", NULL
3229 };
3230
3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumEditor",kwnames,&obj0)) goto fail;
3232 if (obj0) {
3233 {
3234 arg1 = wxString_in_helper(obj0);
3235 if (arg1 == NULL) SWIG_fail;
3236 temp1 = True;
3237 }
3238 }
3239 {
3240 PyThreadState* __tstate = wxPyBeginAllowThreads();
3241 result = (wxGridCellEnumEditor *)new wxGridCellEnumEditor((wxString const &)*arg1);
3242
3243 wxPyEndAllowThreads(__tstate);
3244 if (PyErr_Occurred()) SWIG_fail;
3245 }
3246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellEnumEditor, 1);
3247 {
3248 if (temp1)
3249 delete arg1;
3250 }
3251 return resultobj;
3252 fail:
3253 {
3254 if (temp1)
3255 delete arg1;
3256 }
3257 return NULL;
3258 }
3259
3260
3261 static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3262 PyObject *resultobj;
3263 wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ;
3264 wxString result;
3265 PyObject * obj0 = 0 ;
3266 char *kwnames[] = {
3267 (char *) "self", NULL
3268 };
3269
3270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEnumEditor_GetValue",kwnames,&obj0)) goto fail;
3271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEnumEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3272 {
3273 PyThreadState* __tstate = wxPyBeginAllowThreads();
3274 result = (arg1)->GetValue();
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 {
3280 #if wxUSE_UNICODE
3281 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3282 #else
3283 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3284 #endif
3285 }
3286 return resultobj;
3287 fail:
3288 return NULL;
3289 }
3290
3291
3292 static PyObject * GridCellEnumEditor_swigregister(PyObject *self, PyObject *args) {
3293 PyObject *obj;
3294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3295 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor, obj);
3296 Py_INCREF(obj);
3297 return Py_BuildValue((char *)"");
3298 }
3299 static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3300 PyObject *resultobj;
3301 wxGridCellAutoWrapStringEditor *result;
3302 char *kwnames[] = {
3303 NULL
3304 };
3305
3306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringEditor",kwnames)) goto fail;
3307 {
3308 PyThreadState* __tstate = wxPyBeginAllowThreads();
3309 result = (wxGridCellAutoWrapStringEditor *)new wxGridCellAutoWrapStringEditor();
3310
3311 wxPyEndAllowThreads(__tstate);
3312 if (PyErr_Occurred()) SWIG_fail;
3313 }
3314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellAutoWrapStringEditor, 1);
3315 return resultobj;
3316 fail:
3317 return NULL;
3318 }
3319
3320
3321 static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3322 PyObject *resultobj;
3323 wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ;
3324 wxString result;
3325 PyObject * obj0 = 0 ;
3326 char *kwnames[] = {
3327 (char *) "self", NULL
3328 };
3329
3330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames,&obj0)) goto fail;
3331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAutoWrapStringEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3332 {
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 result = (arg1)->GetValue();
3335
3336 wxPyEndAllowThreads(__tstate);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 {
3340 #if wxUSE_UNICODE
3341 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3342 #else
3343 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3344 #endif
3345 }
3346 return resultobj;
3347 fail:
3348 return NULL;
3349 }
3350
3351
3352 static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *self, PyObject *args) {
3353 PyObject *obj;
3354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3355 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor, obj);
3356 Py_INCREF(obj);
3357 return Py_BuildValue((char *)"");
3358 }
3359 static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3360 PyObject *resultobj;
3361 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3362 PyObject *arg2 = (PyObject *) 0 ;
3363 PyObject * obj0 = 0 ;
3364 PyObject * obj1 = 0 ;
3365 char *kwnames[] = {
3366 (char *) "self",(char *) "_self", NULL
3367 };
3368
3369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
3370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3371 arg2 = obj1;
3372 {
3373 PyThreadState* __tstate = wxPyBeginAllowThreads();
3374 wxGridCellAttr__setOORInfo(arg1,arg2);
3375
3376 wxPyEndAllowThreads(__tstate);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 }
3379 Py_INCREF(Py_None); resultobj = Py_None;
3380 return resultobj;
3381 fail:
3382 return NULL;
3383 }
3384
3385
3386 static PyObject *_wrap_new_GridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3387 PyObject *resultobj;
3388 wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ;
3389 wxGridCellAttr *result;
3390 PyObject * obj0 = 0 ;
3391 char *kwnames[] = {
3392 (char *) "attrDefault", NULL
3393 };
3394
3395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellAttr",kwnames,&obj0)) goto fail;
3396 if (obj0) {
3397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3398 }
3399 {
3400 PyThreadState* __tstate = wxPyBeginAllowThreads();
3401 result = (wxGridCellAttr *)new wxGridCellAttr(arg1);
3402
3403 wxPyEndAllowThreads(__tstate);
3404 if (PyErr_Occurred()) SWIG_fail;
3405 }
3406 {
3407 resultobj = wxPyMake_wxGridCellAttr(result);
3408 }
3409 return resultobj;
3410 fail:
3411 return NULL;
3412 }
3413
3414
3415 static PyObject *_wrap_GridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3416 PyObject *resultobj;
3417 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3418 wxGridCellAttr *result;
3419 PyObject * obj0 = 0 ;
3420 char *kwnames[] = {
3421 (char *) "self", NULL
3422 };
3423
3424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_Clone",kwnames,&obj0)) goto fail;
3425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3426 {
3427 PyThreadState* __tstate = wxPyBeginAllowThreads();
3428 result = (wxGridCellAttr *)((wxGridCellAttr const *)arg1)->Clone();
3429
3430 wxPyEndAllowThreads(__tstate);
3431 if (PyErr_Occurred()) SWIG_fail;
3432 }
3433 {
3434 resultobj = wxPyMake_wxGridCellAttr(result);
3435 }
3436 return resultobj;
3437 fail:
3438 return NULL;
3439 }
3440
3441
3442 static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3443 PyObject *resultobj;
3444 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3445 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
3446 PyObject * obj0 = 0 ;
3447 PyObject * obj1 = 0 ;
3448 char *kwnames[] = {
3449 (char *) "self",(char *) "mergefrom", NULL
3450 };
3451
3452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_MergeWith",kwnames,&obj0,&obj1)) goto fail;
3453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3454 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3455 {
3456 PyThreadState* __tstate = wxPyBeginAllowThreads();
3457 (arg1)->MergeWith(arg2);
3458
3459 wxPyEndAllowThreads(__tstate);
3460 if (PyErr_Occurred()) SWIG_fail;
3461 }
3462 Py_INCREF(Py_None); resultobj = Py_None;
3463 return resultobj;
3464 fail:
3465 return NULL;
3466 }
3467
3468
3469 static PyObject *_wrap_GridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3470 PyObject *resultobj;
3471 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3472 PyObject * obj0 = 0 ;
3473 char *kwnames[] = {
3474 (char *) "self", NULL
3475 };
3476
3477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IncRef",kwnames,&obj0)) goto fail;
3478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3479 {
3480 PyThreadState* __tstate = wxPyBeginAllowThreads();
3481 (arg1)->IncRef();
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
3493 static PyObject *_wrap_GridCellAttr_DecRef(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_DecRef",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)->DecRef();
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
3517 static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3518 PyObject *resultobj;
3519 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3520 wxColour *arg2 = 0 ;
3521 wxColour temp2 ;
3522 PyObject * obj0 = 0 ;
3523 PyObject * obj1 = 0 ;
3524 char *kwnames[] = {
3525 (char *) "self",(char *) "colText", NULL
3526 };
3527
3528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
3529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3530 {
3531 arg2 = &temp2;
3532 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3533 }
3534 {
3535 PyThreadState* __tstate = wxPyBeginAllowThreads();
3536 (arg1)->SetTextColour((wxColour const &)*arg2);
3537
3538 wxPyEndAllowThreads(__tstate);
3539 if (PyErr_Occurred()) SWIG_fail;
3540 }
3541 Py_INCREF(Py_None); resultobj = Py_None;
3542 return resultobj;
3543 fail:
3544 return NULL;
3545 }
3546
3547
3548 static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3549 PyObject *resultobj;
3550 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3551 wxColour *arg2 = 0 ;
3552 wxColour temp2 ;
3553 PyObject * obj0 = 0 ;
3554 PyObject * obj1 = 0 ;
3555 char *kwnames[] = {
3556 (char *) "self",(char *) "colBack", NULL
3557 };
3558
3559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
3560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3561 {
3562 arg2 = &temp2;
3563 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3564 }
3565 {
3566 PyThreadState* __tstate = wxPyBeginAllowThreads();
3567 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
3568
3569 wxPyEndAllowThreads(__tstate);
3570 if (PyErr_Occurred()) SWIG_fail;
3571 }
3572 Py_INCREF(Py_None); resultobj = Py_None;
3573 return resultobj;
3574 fail:
3575 return NULL;
3576 }
3577
3578
3579 static PyObject *_wrap_GridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3580 PyObject *resultobj;
3581 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3582 wxFont *arg2 = 0 ;
3583 PyObject * obj0 = 0 ;
3584 PyObject * obj1 = 0 ;
3585 char *kwnames[] = {
3586 (char *) "self",(char *) "font", NULL
3587 };
3588
3589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
3590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3592 if (arg2 == NULL) {
3593 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3594 }
3595 {
3596 PyThreadState* __tstate = wxPyBeginAllowThreads();
3597 (arg1)->SetFont((wxFont const &)*arg2);
3598
3599 wxPyEndAllowThreads(__tstate);
3600 if (PyErr_Occurred()) SWIG_fail;
3601 }
3602 Py_INCREF(Py_None); resultobj = Py_None;
3603 return resultobj;
3604 fail:
3605 return NULL;
3606 }
3607
3608
3609 static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3610 PyObject *resultobj;
3611 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3612 int arg2 ;
3613 int arg3 ;
3614 PyObject * obj0 = 0 ;
3615 char *kwnames[] = {
3616 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
3617 };
3618
3619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridCellAttr_SetAlignment",kwnames,&obj0,&arg2,&arg3)) goto fail;
3620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3621 {
3622 PyThreadState* __tstate = wxPyBeginAllowThreads();
3623 (arg1)->SetAlignment(arg2,arg3);
3624
3625 wxPyEndAllowThreads(__tstate);
3626 if (PyErr_Occurred()) SWIG_fail;
3627 }
3628 Py_INCREF(Py_None); resultobj = Py_None;
3629 return resultobj;
3630 fail:
3631 return NULL;
3632 }
3633
3634
3635 static PyObject *_wrap_GridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3638 int arg2 ;
3639 int arg3 ;
3640 PyObject * obj0 = 0 ;
3641 char *kwnames[] = {
3642 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
3643 };
3644
3645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridCellAttr_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
3646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 (arg1)->SetSize(arg2,arg3);
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 Py_INCREF(Py_None); resultobj = Py_None;
3655 return resultobj;
3656 fail:
3657 return NULL;
3658 }
3659
3660
3661 static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
3662 PyObject *resultobj;
3663 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3664 bool arg2 = (bool) True ;
3665 PyObject * obj0 = 0 ;
3666 PyObject * obj1 = 0 ;
3667 char *kwnames[] = {
3668 (char *) "self",(char *) "allow", NULL
3669 };
3670
3671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetOverflow",kwnames,&obj0,&obj1)) goto fail;
3672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3673 if (obj1) {
3674 arg2 = PyInt_AsLong(obj1) ? true : false;
3675 if (PyErr_Occurred()) SWIG_fail;
3676 }
3677 {
3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
3679 (arg1)->SetOverflow(arg2);
3680
3681 wxPyEndAllowThreads(__tstate);
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
3684 Py_INCREF(Py_None); resultobj = Py_None;
3685 return resultobj;
3686 fail:
3687 return NULL;
3688 }
3689
3690
3691 static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3692 PyObject *resultobj;
3693 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3694 bool arg2 = (bool) True ;
3695 PyObject * obj0 = 0 ;
3696 PyObject * obj1 = 0 ;
3697 char *kwnames[] = {
3698 (char *) "self",(char *) "isReadOnly", NULL
3699 };
3700
3701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
3702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3703 if (obj1) {
3704 arg2 = PyInt_AsLong(obj1) ? true : false;
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
3707 {
3708 PyThreadState* __tstate = wxPyBeginAllowThreads();
3709 (arg1)->SetReadOnly(arg2);
3710
3711 wxPyEndAllowThreads(__tstate);
3712 if (PyErr_Occurred()) SWIG_fail;
3713 }
3714 Py_INCREF(Py_None); resultobj = Py_None;
3715 return resultobj;
3716 fail:
3717 return NULL;
3718 }
3719
3720
3721 static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3722 PyObject *resultobj;
3723 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3724 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
3725 PyObject * obj0 = 0 ;
3726 PyObject * obj1 = 0 ;
3727 char *kwnames[] = {
3728 (char *) "self",(char *) "renderer", NULL
3729 };
3730
3731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetRenderer",kwnames,&obj0,&obj1)) goto fail;
3732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3733 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3734 {
3735 PyThreadState* __tstate = wxPyBeginAllowThreads();
3736 (arg1)->SetRenderer(arg2);
3737
3738 wxPyEndAllowThreads(__tstate);
3739 if (PyErr_Occurred()) SWIG_fail;
3740 }
3741 Py_INCREF(Py_None); resultobj = Py_None;
3742 return resultobj;
3743 fail:
3744 return NULL;
3745 }
3746
3747
3748 static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3749 PyObject *resultobj;
3750 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3751 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
3752 PyObject * obj0 = 0 ;
3753 PyObject * obj1 = 0 ;
3754 char *kwnames[] = {
3755 (char *) "self",(char *) "editor", NULL
3756 };
3757
3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetEditor",kwnames,&obj0,&obj1)) goto fail;
3759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3761 {
3762 PyThreadState* __tstate = wxPyBeginAllowThreads();
3763 (arg1)->SetEditor(arg2);
3764
3765 wxPyEndAllowThreads(__tstate);
3766 if (PyErr_Occurred()) SWIG_fail;
3767 }
3768 Py_INCREF(Py_None); resultobj = Py_None;
3769 return resultobj;
3770 fail:
3771 return NULL;
3772 }
3773
3774
3775 static PyObject *_wrap_GridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
3776 PyObject *resultobj;
3777 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3778 int arg2 ;
3779 PyObject * obj0 = 0 ;
3780 char *kwnames[] = {
3781 (char *) "self",(char *) "kind", NULL
3782 };
3783
3784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridCellAttr_SetKind",kwnames,&obj0,&arg2)) goto fail;
3785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
3788 (arg1)->SetKind((wxGridCellAttr::wxAttrKind )arg2);
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 }
3793 Py_INCREF(Py_None); resultobj = Py_None;
3794 return resultobj;
3795 fail:
3796 return NULL;
3797 }
3798
3799
3800 static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3801 PyObject *resultobj;
3802 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3803 bool result;
3804 PyObject * obj0 = 0 ;
3805 char *kwnames[] = {
3806 (char *) "self", NULL
3807 };
3808
3809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasTextColour",kwnames,&obj0)) goto fail;
3810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3811 {
3812 PyThreadState* __tstate = wxPyBeginAllowThreads();
3813 result = (bool)((wxGridCellAttr const *)arg1)->HasTextColour();
3814
3815 wxPyEndAllowThreads(__tstate);
3816 if (PyErr_Occurred()) SWIG_fail;
3817 }
3818 resultobj = PyInt_FromLong((long)result);
3819 return resultobj;
3820 fail:
3821 return NULL;
3822 }
3823
3824
3825 static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3826 PyObject *resultobj;
3827 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3828 bool result;
3829 PyObject * obj0 = 0 ;
3830 char *kwnames[] = {
3831 (char *) "self", NULL
3832 };
3833
3834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
3835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3836 {
3837 PyThreadState* __tstate = wxPyBeginAllowThreads();
3838 result = (bool)((wxGridCellAttr const *)arg1)->HasBackgroundColour();
3839
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 }
3843 resultobj = PyInt_FromLong((long)result);
3844 return resultobj;
3845 fail:
3846 return NULL;
3847 }
3848
3849
3850 static PyObject *_wrap_GridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3851 PyObject *resultobj;
3852 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3853 bool result;
3854 PyObject * obj0 = 0 ;
3855 char *kwnames[] = {
3856 (char *) "self", NULL
3857 };
3858
3859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasFont",kwnames,&obj0)) goto fail;
3860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 result = (bool)((wxGridCellAttr const *)arg1)->HasFont();
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 resultobj = PyInt_FromLong((long)result);
3869 return resultobj;
3870 fail:
3871 return NULL;
3872 }
3873
3874
3875 static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3876 PyObject *resultobj;
3877 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3878 bool result;
3879 PyObject * obj0 = 0 ;
3880 char *kwnames[] = {
3881 (char *) "self", NULL
3882 };
3883
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasAlignment",kwnames,&obj0)) goto fail;
3885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3886 {
3887 PyThreadState* __tstate = wxPyBeginAllowThreads();
3888 result = (bool)((wxGridCellAttr const *)arg1)->HasAlignment();
3889
3890 wxPyEndAllowThreads(__tstate);
3891 if (PyErr_Occurred()) SWIG_fail;
3892 }
3893 resultobj = PyInt_FromLong((long)result);
3894 return resultobj;
3895 fail:
3896 return NULL;
3897 }
3898
3899
3900 static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3901 PyObject *resultobj;
3902 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3903 bool result;
3904 PyObject * obj0 = 0 ;
3905 char *kwnames[] = {
3906 (char *) "self", NULL
3907 };
3908
3909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasRenderer",kwnames,&obj0)) goto fail;
3910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3911 {
3912 PyThreadState* __tstate = wxPyBeginAllowThreads();
3913 result = (bool)((wxGridCellAttr const *)arg1)->HasRenderer();
3914
3915 wxPyEndAllowThreads(__tstate);
3916 if (PyErr_Occurred()) SWIG_fail;
3917 }
3918 resultobj = PyInt_FromLong((long)result);
3919 return resultobj;
3920 fail:
3921 return NULL;
3922 }
3923
3924
3925 static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3926 PyObject *resultobj;
3927 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3928 bool result;
3929 PyObject * obj0 = 0 ;
3930 char *kwnames[] = {
3931 (char *) "self", NULL
3932 };
3933
3934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasEditor",kwnames,&obj0)) goto fail;
3935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3936 {
3937 PyThreadState* __tstate = wxPyBeginAllowThreads();
3938 result = (bool)((wxGridCellAttr const *)arg1)->HasEditor();
3939
3940 wxPyEndAllowThreads(__tstate);
3941 if (PyErr_Occurred()) SWIG_fail;
3942 }
3943 resultobj = PyInt_FromLong((long)result);
3944 return resultobj;
3945 fail:
3946 return NULL;
3947 }
3948
3949
3950 static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3951 PyObject *resultobj;
3952 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3953 bool result;
3954 PyObject * obj0 = 0 ;
3955 char *kwnames[] = {
3956 (char *) "self", NULL
3957 };
3958
3959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames,&obj0)) goto fail;
3960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3961 {
3962 PyThreadState* __tstate = wxPyBeginAllowThreads();
3963 result = (bool)((wxGridCellAttr const *)arg1)->HasReadWriteMode();
3964
3965 wxPyEndAllowThreads(__tstate);
3966 if (PyErr_Occurred()) SWIG_fail;
3967 }
3968 resultobj = PyInt_FromLong((long)result);
3969 return resultobj;
3970 fail:
3971 return NULL;
3972 }
3973
3974
3975 static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3976 PyObject *resultobj;
3977 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3978 bool result;
3979 PyObject * obj0 = 0 ;
3980 char *kwnames[] = {
3981 (char *) "self", NULL
3982 };
3983
3984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasOverflowMode",kwnames,&obj0)) goto fail;
3985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3986 {
3987 PyThreadState* __tstate = wxPyBeginAllowThreads();
3988 result = (bool)((wxGridCellAttr const *)arg1)->HasOverflowMode();
3989
3990 wxPyEndAllowThreads(__tstate);
3991 if (PyErr_Occurred()) SWIG_fail;
3992 }
3993 resultobj = PyInt_FromLong((long)result);
3994 return resultobj;
3995 fail:
3996 return NULL;
3997 }
3998
3999
4000 static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4001 PyObject *resultobj;
4002 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4003 wxColour result;
4004 PyObject * obj0 = 0 ;
4005 char *kwnames[] = {
4006 (char *) "self", NULL
4007 };
4008
4009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetTextColour",kwnames,&obj0)) goto fail;
4010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = ((wxGridCellAttr const *)arg1)->GetTextColour();
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 {
4019 wxColour * resultptr;
4020 resultptr = new wxColour((wxColour &) result);
4021 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4022 }
4023 return resultobj;
4024 fail:
4025 return NULL;
4026 }
4027
4028
4029 static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4030 PyObject *resultobj;
4031 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4032 wxColour result;
4033 PyObject * obj0 = 0 ;
4034 char *kwnames[] = {
4035 (char *) "self", NULL
4036 };
4037
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
4039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4040 {
4041 PyThreadState* __tstate = wxPyBeginAllowThreads();
4042 result = ((wxGridCellAttr const *)arg1)->GetBackgroundColour();
4043
4044 wxPyEndAllowThreads(__tstate);
4045 if (PyErr_Occurred()) SWIG_fail;
4046 }
4047 {
4048 wxColour * resultptr;
4049 resultptr = new wxColour((wxColour &) result);
4050 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4051 }
4052 return resultobj;
4053 fail:
4054 return NULL;
4055 }
4056
4057
4058 static PyObject *_wrap_GridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4059 PyObject *resultobj;
4060 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4061 wxFont result;
4062 PyObject * obj0 = 0 ;
4063 char *kwnames[] = {
4064 (char *) "self", NULL
4065 };
4066
4067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetFont",kwnames,&obj0)) goto fail;
4068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4069 {
4070 PyThreadState* __tstate = wxPyBeginAllowThreads();
4071 result = ((wxGridCellAttr const *)arg1)->GetFont();
4072
4073 wxPyEndAllowThreads(__tstate);
4074 if (PyErr_Occurred()) SWIG_fail;
4075 }
4076 {
4077 wxFont * resultptr;
4078 resultptr = new wxFont((wxFont &) result);
4079 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
4080 }
4081 return resultobj;
4082 fail:
4083 return NULL;
4084 }
4085
4086
4087 static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4088 PyObject *resultobj;
4089 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4090 int *arg2 = (int *) 0 ;
4091 int *arg3 = (int *) 0 ;
4092 int temp2 ;
4093 int temp3 ;
4094 PyObject * obj0 = 0 ;
4095 char *kwnames[] = {
4096 (char *) "self", NULL
4097 };
4098
4099 arg2 = &temp2;
4100 arg3 = &temp3;
4101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetAlignment",kwnames,&obj0)) goto fail;
4102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4103 {
4104 PyThreadState* __tstate = wxPyBeginAllowThreads();
4105 ((wxGridCellAttr const *)arg1)->GetAlignment(arg2,arg3);
4106
4107 wxPyEndAllowThreads(__tstate);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4110 Py_INCREF(Py_None); resultobj = Py_None;
4111 {
4112 PyObject *o = PyInt_FromLong((long) (*arg2));
4113 resultobj = t_output_helper(resultobj,o);
4114 }
4115 {
4116 PyObject *o = PyInt_FromLong((long) (*arg3));
4117 resultobj = t_output_helper(resultobj,o);
4118 }
4119 return resultobj;
4120 fail:
4121 return NULL;
4122 }
4123
4124
4125 static PyObject *_wrap_GridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4126 PyObject *resultobj;
4127 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4128 int *arg2 = (int *) 0 ;
4129 int *arg3 = (int *) 0 ;
4130 int temp2 ;
4131 int temp3 ;
4132 PyObject * obj0 = 0 ;
4133 char *kwnames[] = {
4134 (char *) "self", NULL
4135 };
4136
4137 arg2 = &temp2;
4138 arg3 = &temp3;
4139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetSize",kwnames,&obj0)) goto fail;
4140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4141 {
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 ((wxGridCellAttr const *)arg1)->GetSize(arg2,arg3);
4144
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 Py_INCREF(Py_None); resultobj = Py_None;
4149 {
4150 PyObject *o = PyInt_FromLong((long) (*arg2));
4151 resultobj = t_output_helper(resultobj,o);
4152 }
4153 {
4154 PyObject *o = PyInt_FromLong((long) (*arg3));
4155 resultobj = t_output_helper(resultobj,o);
4156 }
4157 return resultobj;
4158 fail:
4159 return NULL;
4160 }
4161
4162
4163 static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4164 PyObject *resultobj;
4165 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4166 bool result;
4167 PyObject * obj0 = 0 ;
4168 char *kwnames[] = {
4169 (char *) "self", NULL
4170 };
4171
4172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetOverflow",kwnames,&obj0)) goto fail;
4173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
4176 result = (bool)((wxGridCellAttr const *)arg1)->GetOverflow();
4177
4178 wxPyEndAllowThreads(__tstate);
4179 if (PyErr_Occurred()) SWIG_fail;
4180 }
4181 resultobj = PyInt_FromLong((long)result);
4182 return resultobj;
4183 fail:
4184 return NULL;
4185 }
4186
4187
4188 static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4189 PyObject *resultobj;
4190 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4191 wxGrid *arg2 = (wxGrid *) 0 ;
4192 int arg3 ;
4193 int arg4 ;
4194 wxGridCellRenderer *result;
4195 PyObject * obj0 = 0 ;
4196 PyObject * obj1 = 0 ;
4197 char *kwnames[] = {
4198 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4199 };
4200
4201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:GridCellAttr_GetRenderer",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
4202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4203 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4204 {
4205 PyThreadState* __tstate = wxPyBeginAllowThreads();
4206 result = (wxGridCellRenderer *)((wxGridCellAttr const *)arg1)->GetRenderer(arg2,arg3,arg4);
4207
4208 wxPyEndAllowThreads(__tstate);
4209 if (PyErr_Occurred()) SWIG_fail;
4210 }
4211 {
4212 resultobj = wxPyMake_wxGridCellRenderer(result);
4213 }
4214 return resultobj;
4215 fail:
4216 return NULL;
4217 }
4218
4219
4220 static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4221 PyObject *resultobj;
4222 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4223 wxGrid *arg2 = (wxGrid *) 0 ;
4224 int arg3 ;
4225 int arg4 ;
4226 wxGridCellEditor *result;
4227 PyObject * obj0 = 0 ;
4228 PyObject * obj1 = 0 ;
4229 char *kwnames[] = {
4230 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4231 };
4232
4233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:GridCellAttr_GetEditor",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
4234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4235 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4236 {
4237 PyThreadState* __tstate = wxPyBeginAllowThreads();
4238 result = (wxGridCellEditor *)((wxGridCellAttr const *)arg1)->GetEditor(arg2,arg3,arg4);
4239
4240 wxPyEndAllowThreads(__tstate);
4241 if (PyErr_Occurred()) SWIG_fail;
4242 }
4243 {
4244 resultobj = wxPyMake_wxGridCellEditor(result);
4245 }
4246 return resultobj;
4247 fail:
4248 return NULL;
4249 }
4250
4251
4252 static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4253 PyObject *resultobj;
4254 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4255 bool result;
4256 PyObject * obj0 = 0 ;
4257 char *kwnames[] = {
4258 (char *) "self", NULL
4259 };
4260
4261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IsReadOnly",kwnames,&obj0)) goto fail;
4262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4263 {
4264 PyThreadState* __tstate = wxPyBeginAllowThreads();
4265 result = (bool)((wxGridCellAttr const *)arg1)->IsReadOnly();
4266
4267 wxPyEndAllowThreads(__tstate);
4268 if (PyErr_Occurred()) SWIG_fail;
4269 }
4270 resultobj = PyInt_FromLong((long)result);
4271 return resultobj;
4272 fail:
4273 return NULL;
4274 }
4275
4276
4277 static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4278 PyObject *resultobj;
4279 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4280 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4281 PyObject * obj0 = 0 ;
4282 PyObject * obj1 = 0 ;
4283 char *kwnames[] = {
4284 (char *) "self",(char *) "defAttr", NULL
4285 };
4286
4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetDefAttr",kwnames,&obj0,&obj1)) goto fail;
4288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4290 {
4291 PyThreadState* __tstate = wxPyBeginAllowThreads();
4292 (arg1)->SetDefAttr(arg2);
4293
4294 wxPyEndAllowThreads(__tstate);
4295 if (PyErr_Occurred()) SWIG_fail;
4296 }
4297 Py_INCREF(Py_None); resultobj = Py_None;
4298 return resultobj;
4299 fail:
4300 return NULL;
4301 }
4302
4303
4304 static PyObject * GridCellAttr_swigregister(PyObject *self, PyObject *args) {
4305 PyObject *obj;
4306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4307 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr, obj);
4308 Py_INCREF(obj);
4309 return Py_BuildValue((char *)"");
4310 }
4311 static PyObject *_wrap_new_GridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4312 PyObject *resultobj;
4313 wxGridCellAttrProvider *result;
4314 char *kwnames[] = {
4315 NULL
4316 };
4317
4318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAttrProvider",kwnames)) goto fail;
4319 {
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 result = (wxGridCellAttrProvider *)new wxGridCellAttrProvider();
4322
4323 wxPyEndAllowThreads(__tstate);
4324 if (PyErr_Occurred()) SWIG_fail;
4325 }
4326 {
4327 resultobj = wxPyMake_wxGridCellAttrProvider(result);
4328 }
4329 return resultobj;
4330 fail:
4331 return NULL;
4332 }
4333
4334
4335 static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj;
4337 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4338 PyObject *arg2 = (PyObject *) 0 ;
4339 PyObject * obj0 = 0 ;
4340 PyObject * obj1 = 0 ;
4341 char *kwnames[] = {
4342 (char *) "self",(char *) "_self", NULL
4343 };
4344
4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
4346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4347 arg2 = obj1;
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 wxGridCellAttrProvider__setOORInfo(arg1,arg2);
4351
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 Py_INCREF(Py_None); resultobj = Py_None;
4356 return resultobj;
4357 fail:
4358 return NULL;
4359 }
4360
4361
4362 static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4363 PyObject *resultobj;
4364 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4365 int arg2 ;
4366 int arg3 ;
4367 int arg4 ;
4368 wxGridCellAttr *result;
4369 PyObject * obj0 = 0 ;
4370 char *kwnames[] = {
4371 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:GridCellAttrProvider_GetAttr",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
4375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4376 {
4377 PyThreadState* __tstate = wxPyBeginAllowThreads();
4378 result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
4379
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 {
4384 resultobj = wxPyMake_wxGridCellAttr(result);
4385 }
4386 return resultobj;
4387 fail:
4388 return NULL;
4389 }
4390
4391
4392 static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4393 PyObject *resultobj;
4394 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4395 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4396 int arg3 ;
4397 int arg4 ;
4398 PyObject * obj0 = 0 ;
4399 PyObject * obj1 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:GridCellAttrProvider_SetAttr",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
4405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4407 {
4408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4409 (arg1)->SetAttr(arg2,arg3,arg4);
4410
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 Py_INCREF(Py_None); resultobj = Py_None;
4415 return resultobj;
4416 fail:
4417 return NULL;
4418 }
4419
4420
4421 static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4422 PyObject *resultobj;
4423 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4424 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4425 int arg3 ;
4426 PyObject * obj0 = 0 ;
4427 PyObject * obj1 = 0 ;
4428 char *kwnames[] = {
4429 (char *) "self",(char *) "attr",(char *) "row", NULL
4430 };
4431
4432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridCellAttrProvider_SetRowAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
4433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 (arg1)->SetRowAttr(arg2,arg3);
4438
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 Py_INCREF(Py_None); resultobj = Py_None;
4443 return resultobj;
4444 fail:
4445 return NULL;
4446 }
4447
4448
4449 static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4450 PyObject *resultobj;
4451 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4452 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4453 int arg3 ;
4454 PyObject * obj0 = 0 ;
4455 PyObject * obj1 = 0 ;
4456 char *kwnames[] = {
4457 (char *) "self",(char *) "attr",(char *) "col", NULL
4458 };
4459
4460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridCellAttrProvider_SetColAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
4461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 (arg1)->SetColAttr(arg2,arg3);
4466
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 Py_INCREF(Py_None); resultobj = Py_None;
4471 return resultobj;
4472 fail:
4473 return NULL;
4474 }
4475
4476
4477 static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4478 PyObject *resultobj;
4479 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4480 size_t arg2 ;
4481 int arg3 ;
4482 PyObject * obj0 = 0 ;
4483 PyObject * obj1 = 0 ;
4484 char *kwnames[] = {
4485 (char *) "self",(char *) "pos",(char *) "numRows", NULL
4486 };
4487
4488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridCellAttrProvider_UpdateAttrRows",kwnames,&obj0,&obj1,&arg3)) goto fail;
4489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4490 arg2 = (size_t) PyInt_AsLong(obj1);
4491 if (PyErr_Occurred()) SWIG_fail;
4492 {
4493 PyThreadState* __tstate = wxPyBeginAllowThreads();
4494 (arg1)->UpdateAttrRows(arg2,arg3);
4495
4496 wxPyEndAllowThreads(__tstate);
4497 if (PyErr_Occurred()) SWIG_fail;
4498 }
4499 Py_INCREF(Py_None); resultobj = Py_None;
4500 return resultobj;
4501 fail:
4502 return NULL;
4503 }
4504
4505
4506 static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4507 PyObject *resultobj;
4508 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4509 size_t arg2 ;
4510 int arg3 ;
4511 PyObject * obj0 = 0 ;
4512 PyObject * obj1 = 0 ;
4513 char *kwnames[] = {
4514 (char *) "self",(char *) "pos",(char *) "numCols", NULL
4515 };
4516
4517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridCellAttrProvider_UpdateAttrCols",kwnames,&obj0,&obj1,&arg3)) goto fail;
4518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4519 arg2 = (size_t) PyInt_AsLong(obj1);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 (arg1)->UpdateAttrCols(arg2,arg3);
4524
4525 wxPyEndAllowThreads(__tstate);
4526 if (PyErr_Occurred()) SWIG_fail;
4527 }
4528 Py_INCREF(Py_None); resultobj = Py_None;
4529 return resultobj;
4530 fail:
4531 return NULL;
4532 }
4533
4534
4535 static PyObject * GridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
4536 PyObject *obj;
4537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4538 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider, obj);
4539 Py_INCREF(obj);
4540 return Py_BuildValue((char *)"");
4541 }
4542 static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4543 PyObject *resultobj;
4544 wxPyGridCellAttrProvider *result;
4545 char *kwnames[] = {
4546 NULL
4547 };
4548
4549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellAttrProvider",kwnames)) goto fail;
4550 {
4551 PyThreadState* __tstate = wxPyBeginAllowThreads();
4552 result = (wxPyGridCellAttrProvider *)new wxPyGridCellAttrProvider();
4553
4554 wxPyEndAllowThreads(__tstate);
4555 if (PyErr_Occurred()) SWIG_fail;
4556 }
4557 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridCellAttrProvider, 1);
4558 return resultobj;
4559 fail:
4560 return NULL;
4561 }
4562
4563
4564 static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4565 PyObject *resultobj;
4566 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
4567 PyObject *arg2 = (PyObject *) 0 ;
4568 PyObject *arg3 = (PyObject *) 0 ;
4569 PyObject * obj0 = 0 ;
4570 PyObject * obj1 = 0 ;
4571 PyObject * obj2 = 0 ;
4572 char *kwnames[] = {
4573 (char *) "self",(char *) "self",(char *) "_class", NULL
4574 };
4575
4576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
4577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4578 arg2 = obj1;
4579 arg3 = obj2;
4580 {
4581 PyThreadState* __tstate = wxPyBeginAllowThreads();
4582 (arg1)->_setCallbackInfo(arg2,arg3);
4583
4584 wxPyEndAllowThreads(__tstate);
4585 if (PyErr_Occurred()) SWIG_fail;
4586 }
4587 Py_INCREF(Py_None); resultobj = Py_None;
4588 return resultobj;
4589 fail:
4590 return NULL;
4591 }
4592
4593
4594 static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4595 PyObject *resultobj;
4596 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
4597 int arg2 ;
4598 int arg3 ;
4599 int arg4 ;
4600 wxGridCellAttr *result;
4601 PyObject * obj0 = 0 ;
4602 char *kwnames[] = {
4603 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4604 };
4605
4606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:PyGridCellAttrProvider_base_GetAttr",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
4607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
4611
4612 wxPyEndAllowThreads(__tstate);
4613 if (PyErr_Occurred()) SWIG_fail;
4614 }
4615 {
4616 resultobj = wxPyMake_wxGridCellAttr(result);
4617 }
4618 return resultobj;
4619 fail:
4620 return NULL;
4621 }
4622
4623
4624 static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4625 PyObject *resultobj;
4626 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
4627 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4628 int arg3 ;
4629 int arg4 ;
4630 PyObject * obj0 = 0 ;
4631 PyObject * obj1 = 0 ;
4632 char *kwnames[] = {
4633 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4634 };
4635
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:PyGridCellAttrProvider_base_SetAttr",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
4637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4639 {
4640 PyThreadState* __tstate = wxPyBeginAllowThreads();
4641 (arg1)->base_SetAttr(arg2,arg3,arg4);
4642
4643 wxPyEndAllowThreads(__tstate);
4644 if (PyErr_Occurred()) SWIG_fail;
4645 }
4646 Py_INCREF(Py_None); resultobj = Py_None;
4647 return resultobj;
4648 fail:
4649 return NULL;
4650 }
4651
4652
4653 static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4654 PyObject *resultobj;
4655 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
4656 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4657 int arg3 ;
4658 PyObject * obj0 = 0 ;
4659 PyObject * obj1 = 0 ;
4660 char *kwnames[] = {
4661 (char *) "self",(char *) "attr",(char *) "row", NULL
4662 };
4663
4664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:PyGridCellAttrProvider_base_SetRowAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
4665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4666 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4667 {
4668 PyThreadState* __tstate = wxPyBeginAllowThreads();
4669 (arg1)->base_SetRowAttr(arg2,arg3);
4670
4671 wxPyEndAllowThreads(__tstate);
4672 if (PyErr_Occurred()) SWIG_fail;
4673 }
4674 Py_INCREF(Py_None); resultobj = Py_None;
4675 return resultobj;
4676 fail:
4677 return NULL;
4678 }
4679
4680
4681 static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject *resultobj;
4683 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
4684 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4685 int arg3 ;
4686 PyObject * obj0 = 0 ;
4687 PyObject * obj1 = 0 ;
4688 char *kwnames[] = {
4689 (char *) "self",(char *) "attr",(char *) "col", NULL
4690 };
4691
4692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:PyGridCellAttrProvider_base_SetColAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
4693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4694 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4695 {
4696 PyThreadState* __tstate = wxPyBeginAllowThreads();
4697 (arg1)->base_SetColAttr(arg2,arg3);
4698
4699 wxPyEndAllowThreads(__tstate);
4700 if (PyErr_Occurred()) SWIG_fail;
4701 }
4702 Py_INCREF(Py_None); resultobj = Py_None;
4703 return resultobj;
4704 fail:
4705 return NULL;
4706 }
4707
4708
4709 static PyObject * PyGridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
4710 PyObject *obj;
4711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4712 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider, obj);
4713 Py_INCREF(obj);
4714 return Py_BuildValue((char *)"");
4715 }
4716 static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4717 PyObject *resultobj;
4718 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4719 PyObject *arg2 = (PyObject *) 0 ;
4720 PyObject * obj0 = 0 ;
4721 PyObject * obj1 = 0 ;
4722 char *kwnames[] = {
4723 (char *) "self",(char *) "_self", NULL
4724 };
4725
4726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
4727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4728 arg2 = obj1;
4729 {
4730 PyThreadState* __tstate = wxPyBeginAllowThreads();
4731 wxGridTableBase__setOORInfo(arg1,arg2);
4732
4733 wxPyEndAllowThreads(__tstate);
4734 if (PyErr_Occurred()) SWIG_fail;
4735 }
4736 Py_INCREF(Py_None); resultobj = Py_None;
4737 return resultobj;
4738 fail:
4739 return NULL;
4740 }
4741
4742
4743 static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4744 PyObject *resultobj;
4745 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4746 wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ;
4747 PyObject * obj0 = 0 ;
4748 PyObject * obj1 = 0 ;
4749 char *kwnames[] = {
4750 (char *) "self",(char *) "attrProvider", NULL
4751 };
4752
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetAttrProvider",kwnames,&obj0,&obj1)) goto fail;
4754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4755 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 (arg1)->SetAttrProvider(arg2);
4759
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 Py_INCREF(Py_None); resultobj = Py_None;
4764 return resultobj;
4765 fail:
4766 return NULL;
4767 }
4768
4769
4770 static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4771 PyObject *resultobj;
4772 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4773 wxGridCellAttrProvider *result;
4774 PyObject * obj0 = 0 ;
4775 char *kwnames[] = {
4776 (char *) "self", NULL
4777 };
4778
4779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetAttrProvider",kwnames,&obj0)) goto fail;
4780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4781 {
4782 PyThreadState* __tstate = wxPyBeginAllowThreads();
4783 result = (wxGridCellAttrProvider *)((wxGridTableBase const *)arg1)->GetAttrProvider();
4784
4785 wxPyEndAllowThreads(__tstate);
4786 if (PyErr_Occurred()) SWIG_fail;
4787 }
4788 {
4789 resultobj = wxPyMake_wxGridCellAttrProvider(result);
4790 }
4791 return resultobj;
4792 fail:
4793 return NULL;
4794 }
4795
4796
4797 static PyObject *_wrap_GridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4798 PyObject *resultobj;
4799 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4800 wxGrid *arg2 = (wxGrid *) 0 ;
4801 PyObject * obj0 = 0 ;
4802 PyObject * obj1 = 0 ;
4803 char *kwnames[] = {
4804 (char *) "self",(char *) "grid", NULL
4805 };
4806
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetView",kwnames,&obj0,&obj1)) goto fail;
4808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4809 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4810 {
4811 PyThreadState* __tstate = wxPyBeginAllowThreads();
4812 (arg1)->SetView(arg2);
4813
4814 wxPyEndAllowThreads(__tstate);
4815 if (PyErr_Occurred()) SWIG_fail;
4816 }
4817 Py_INCREF(Py_None); resultobj = Py_None;
4818 return resultobj;
4819 fail:
4820 return NULL;
4821 }
4822
4823
4824 static PyObject *_wrap_GridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject *resultobj;
4826 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4827 wxGrid *result;
4828 PyObject * obj0 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "self", NULL
4831 };
4832
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetView",kwnames,&obj0)) goto fail;
4834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4835 {
4836 PyThreadState* __tstate = wxPyBeginAllowThreads();
4837 result = (wxGrid *)((wxGridTableBase const *)arg1)->GetView();
4838
4839 wxPyEndAllowThreads(__tstate);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 }
4842 {
4843 resultobj = wxPyMake_wxObject(result);
4844 }
4845 return resultobj;
4846 fail:
4847 return NULL;
4848 }
4849
4850
4851 static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4852 PyObject *resultobj;
4853 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4854 int result;
4855 PyObject * obj0 = 0 ;
4856 char *kwnames[] = {
4857 (char *) "self", NULL
4858 };
4859
4860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberRows",kwnames,&obj0)) goto fail;
4861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4862 {
4863 PyThreadState* __tstate = wxPyBeginAllowThreads();
4864 result = (int)(arg1)->GetNumberRows();
4865
4866 wxPyEndAllowThreads(__tstate);
4867 if (PyErr_Occurred()) SWIG_fail;
4868 }
4869 resultobj = PyInt_FromLong((long)result);
4870 return resultobj;
4871 fail:
4872 return NULL;
4873 }
4874
4875
4876 static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4877 PyObject *resultobj;
4878 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4879 int result;
4880 PyObject * obj0 = 0 ;
4881 char *kwnames[] = {
4882 (char *) "self", NULL
4883 };
4884
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberCols",kwnames,&obj0)) goto fail;
4886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 result = (int)(arg1)->GetNumberCols();
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 resultobj = PyInt_FromLong((long)result);
4895 return resultobj;
4896 fail:
4897 return NULL;
4898 }
4899
4900
4901 static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4902 PyObject *resultobj;
4903 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4904 int arg2 ;
4905 int arg3 ;
4906 bool result;
4907 PyObject * obj0 = 0 ;
4908 char *kwnames[] = {
4909 (char *) "self",(char *) "row",(char *) "col", NULL
4910 };
4911
4912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_IsEmptyCell",kwnames,&obj0,&arg2,&arg3)) goto fail;
4913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 result = (bool)(arg1)->IsEmptyCell(arg2,arg3);
4917
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 resultobj = PyInt_FromLong((long)result);
4922 return resultobj;
4923 fail:
4924 return NULL;
4925 }
4926
4927
4928 static PyObject *_wrap_GridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4929 PyObject *resultobj;
4930 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4931 int arg2 ;
4932 int arg3 ;
4933 wxString result;
4934 PyObject * obj0 = 0 ;
4935 char *kwnames[] = {
4936 (char *) "self",(char *) "row",(char *) "col", NULL
4937 };
4938
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_GetValue",kwnames,&obj0,&arg2,&arg3)) goto fail;
4940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4941 {
4942 PyThreadState* __tstate = wxPyBeginAllowThreads();
4943 result = (arg1)->GetValue(arg2,arg3);
4944
4945 wxPyEndAllowThreads(__tstate);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 }
4948 {
4949 #if wxUSE_UNICODE
4950 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4951 #else
4952 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4953 #endif
4954 }
4955 return resultobj;
4956 fail:
4957 return NULL;
4958 }
4959
4960
4961 static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4962 PyObject *resultobj;
4963 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
4964 int arg2 ;
4965 int arg3 ;
4966 wxString *arg4 = 0 ;
4967 bool temp4 = False ;
4968 PyObject * obj0 = 0 ;
4969 PyObject * obj3 = 0 ;
4970 char *kwnames[] = {
4971 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
4972 };
4973
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridTableBase_SetValue",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4976 {
4977 arg4 = wxString_in_helper(obj3);
4978 if (arg4 == NULL) SWIG_fail;
4979 temp4 = True;
4980 }
4981 {
4982 PyThreadState* __tstate = wxPyBeginAllowThreads();
4983 (arg1)->SetValue(arg2,arg3,(wxString const &)*arg4);
4984
4985 wxPyEndAllowThreads(__tstate);
4986 if (PyErr_Occurred()) SWIG_fail;
4987 }
4988 Py_INCREF(Py_None); resultobj = Py_None;
4989 {
4990 if (temp4)
4991 delete arg4;
4992 }
4993 return resultobj;
4994 fail:
4995 {
4996 if (temp4)
4997 delete arg4;
4998 }
4999 return NULL;
5000 }
5001
5002
5003 static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5004 PyObject *resultobj;
5005 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5006 int arg2 ;
5007 int arg3 ;
5008 wxString result;
5009 PyObject * obj0 = 0 ;
5010 char *kwnames[] = {
5011 (char *) "self",(char *) "row",(char *) "col", NULL
5012 };
5013
5014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_GetTypeName",kwnames,&obj0,&arg2,&arg3)) goto fail;
5015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 result = (arg1)->GetTypeName(arg2,arg3);
5019
5020 wxPyEndAllowThreads(__tstate);
5021 if (PyErr_Occurred()) SWIG_fail;
5022 }
5023 {
5024 #if wxUSE_UNICODE
5025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5026 #else
5027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5028 #endif
5029 }
5030 return resultobj;
5031 fail:
5032 return NULL;
5033 }
5034
5035
5036 static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5037 PyObject *resultobj;
5038 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5039 int arg2 ;
5040 int arg3 ;
5041 wxString *arg4 = 0 ;
5042 bool result;
5043 bool temp4 = False ;
5044 PyObject * obj0 = 0 ;
5045 PyObject * obj3 = 0 ;
5046 char *kwnames[] = {
5047 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5048 };
5049
5050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridTableBase_CanGetValueAs",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
5051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5052 {
5053 arg4 = wxString_in_helper(obj3);
5054 if (arg4 == NULL) SWIG_fail;
5055 temp4 = True;
5056 }
5057 {
5058 PyThreadState* __tstate = wxPyBeginAllowThreads();
5059 result = (bool)(arg1)->CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
5060
5061 wxPyEndAllowThreads(__tstate);
5062 if (PyErr_Occurred()) SWIG_fail;
5063 }
5064 resultobj = PyInt_FromLong((long)result);
5065 {
5066 if (temp4)
5067 delete arg4;
5068 }
5069 return resultobj;
5070 fail:
5071 {
5072 if (temp4)
5073 delete arg4;
5074 }
5075 return NULL;
5076 }
5077
5078
5079 static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj;
5081 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5082 int arg2 ;
5083 int arg3 ;
5084 wxString *arg4 = 0 ;
5085 bool result;
5086 bool temp4 = False ;
5087 PyObject * obj0 = 0 ;
5088 PyObject * obj3 = 0 ;
5089 char *kwnames[] = {
5090 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5091 };
5092
5093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridTableBase_CanSetValueAs",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
5094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5095 {
5096 arg4 = wxString_in_helper(obj3);
5097 if (arg4 == NULL) SWIG_fail;
5098 temp4 = True;
5099 }
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 result = (bool)(arg1)->CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 resultobj = PyInt_FromLong((long)result);
5108 {
5109 if (temp4)
5110 delete arg4;
5111 }
5112 return resultobj;
5113 fail:
5114 {
5115 if (temp4)
5116 delete arg4;
5117 }
5118 return NULL;
5119 }
5120
5121
5122 static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj;
5124 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5125 int arg2 ;
5126 int arg3 ;
5127 long result;
5128 PyObject * obj0 = 0 ;
5129 char *kwnames[] = {
5130 (char *) "self",(char *) "row",(char *) "col", NULL
5131 };
5132
5133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_GetValueAsLong",kwnames,&obj0,&arg2,&arg3)) goto fail;
5134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 result = (long)(arg1)->GetValueAsLong(arg2,arg3);
5138
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 resultobj = PyInt_FromLong((long)result);
5143 return resultobj;
5144 fail:
5145 return NULL;
5146 }
5147
5148
5149 static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5150 PyObject *resultobj;
5151 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5152 int arg2 ;
5153 int arg3 ;
5154 double result;
5155 PyObject * obj0 = 0 ;
5156 char *kwnames[] = {
5157 (char *) "self",(char *) "row",(char *) "col", NULL
5158 };
5159
5160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_GetValueAsDouble",kwnames,&obj0,&arg2,&arg3)) goto fail;
5161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 result = (double)(arg1)->GetValueAsDouble(arg2,arg3);
5165
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) SWIG_fail;
5168 }
5169 resultobj = PyFloat_FromDouble(result);
5170 return resultobj;
5171 fail:
5172 return NULL;
5173 }
5174
5175
5176 static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5177 PyObject *resultobj;
5178 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5179 int arg2 ;
5180 int arg3 ;
5181 bool result;
5182 PyObject * obj0 = 0 ;
5183 char *kwnames[] = {
5184 (char *) "self",(char *) "row",(char *) "col", NULL
5185 };
5186
5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridTableBase_GetValueAsBool",kwnames,&obj0,&arg2,&arg3)) goto fail;
5188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5189 {
5190 PyThreadState* __tstate = wxPyBeginAllowThreads();
5191 result = (bool)(arg1)->GetValueAsBool(arg2,arg3);
5192
5193 wxPyEndAllowThreads(__tstate);
5194 if (PyErr_Occurred()) SWIG_fail;
5195 }
5196 resultobj = PyInt_FromLong((long)result);
5197 return resultobj;
5198 fail:
5199 return NULL;
5200 }
5201
5202
5203 static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5204 PyObject *resultobj;
5205 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5206 int arg2 ;
5207 int arg3 ;
5208 long arg4 ;
5209 PyObject * obj0 = 0 ;
5210 char *kwnames[] = {
5211 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5212 };
5213
5214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:GridTableBase_SetValueAsLong",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5216 {
5217 PyThreadState* __tstate = wxPyBeginAllowThreads();
5218 (arg1)->SetValueAsLong(arg2,arg3,arg4);
5219
5220 wxPyEndAllowThreads(__tstate);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 }
5223 Py_INCREF(Py_None); resultobj = Py_None;
5224 return resultobj;
5225 fail:
5226 return NULL;
5227 }
5228
5229
5230 static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5231 PyObject *resultobj;
5232 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5233 int arg2 ;
5234 int arg3 ;
5235 double arg4 ;
5236 PyObject * obj0 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiid:GridTableBase_SetValueAsDouble",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5243 {
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 (arg1)->SetValueAsDouble(arg2,arg3,arg4);
5246
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 Py_INCREF(Py_None); resultobj = Py_None;
5251 return resultobj;
5252 fail:
5253 return NULL;
5254 }
5255
5256
5257 static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5258 PyObject *resultobj;
5259 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5260 int arg2 ;
5261 int arg3 ;
5262 bool arg4 ;
5263 PyObject * obj0 = 0 ;
5264 PyObject * obj3 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:GridTableBase_SetValueAsBool",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
5270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5271 arg4 = PyInt_AsLong(obj3) ? true : false;
5272 if (PyErr_Occurred()) SWIG_fail;
5273 {
5274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5275 (arg1)->SetValueAsBool(arg2,arg3,arg4);
5276
5277 wxPyEndAllowThreads(__tstate);
5278 if (PyErr_Occurred()) SWIG_fail;
5279 }
5280 Py_INCREF(Py_None); resultobj = Py_None;
5281 return resultobj;
5282 fail:
5283 return NULL;
5284 }
5285
5286
5287 static PyObject *_wrap_GridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject *resultobj;
5289 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5290 PyObject * obj0 = 0 ;
5291 char *kwnames[] = {
5292 (char *) "self", NULL
5293 };
5294
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_Clear",kwnames,&obj0)) goto fail;
5296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
5299 (arg1)->Clear();
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
5311 static PyObject *_wrap_GridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5312 PyObject *resultobj;
5313 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5314 size_t arg2 = (size_t) 0 ;
5315 size_t arg3 = (size_t) 1 ;
5316 bool result;
5317 PyObject * obj0 = 0 ;
5318 PyObject * obj1 = 0 ;
5319 PyObject * obj2 = 0 ;
5320 char *kwnames[] = {
5321 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5322 };
5323
5324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
5325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5326 if (obj1) {
5327 arg2 = (size_t) PyInt_AsLong(obj1);
5328 if (PyErr_Occurred()) SWIG_fail;
5329 }
5330 if (obj2) {
5331 arg3 = (size_t) PyInt_AsLong(obj2);
5332 if (PyErr_Occurred()) SWIG_fail;
5333 }
5334 {
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 result = (bool)(arg1)->InsertRows(arg2,arg3);
5337
5338 wxPyEndAllowThreads(__tstate);
5339 if (PyErr_Occurred()) SWIG_fail;
5340 }
5341 resultobj = PyInt_FromLong((long)result);
5342 return resultobj;
5343 fail:
5344 return NULL;
5345 }
5346
5347
5348 static PyObject *_wrap_GridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5349 PyObject *resultobj;
5350 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5351 size_t arg2 = (size_t) 1 ;
5352 bool result;
5353 PyObject * obj0 = 0 ;
5354 PyObject * obj1 = 0 ;
5355 char *kwnames[] = {
5356 (char *) "self",(char *) "numRows", NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendRows",kwnames,&obj0,&obj1)) goto fail;
5360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5361 if (obj1) {
5362 arg2 = (size_t) PyInt_AsLong(obj1);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 }
5365 {
5366 PyThreadState* __tstate = wxPyBeginAllowThreads();
5367 result = (bool)(arg1)->AppendRows(arg2);
5368
5369 wxPyEndAllowThreads(__tstate);
5370 if (PyErr_Occurred()) SWIG_fail;
5371 }
5372 resultobj = PyInt_FromLong((long)result);
5373 return resultobj;
5374 fail:
5375 return NULL;
5376 }
5377
5378
5379 static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5380 PyObject *resultobj;
5381 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5382 size_t arg2 = (size_t) 0 ;
5383 size_t arg3 = (size_t) 1 ;
5384 bool result;
5385 PyObject * obj0 = 0 ;
5386 PyObject * obj1 = 0 ;
5387 PyObject * obj2 = 0 ;
5388 char *kwnames[] = {
5389 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5390 };
5391
5392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
5393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5394 if (obj1) {
5395 arg2 = (size_t) PyInt_AsLong(obj1);
5396 if (PyErr_Occurred()) SWIG_fail;
5397 }
5398 if (obj2) {
5399 arg3 = (size_t) PyInt_AsLong(obj2);
5400 if (PyErr_Occurred()) SWIG_fail;
5401 }
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 result = (bool)(arg1)->DeleteRows(arg2,arg3);
5405
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 resultobj = PyInt_FromLong((long)result);
5410 return resultobj;
5411 fail:
5412 return NULL;
5413 }
5414
5415
5416 static PyObject *_wrap_GridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5417 PyObject *resultobj;
5418 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5419 size_t arg2 = (size_t) 0 ;
5420 size_t arg3 = (size_t) 1 ;
5421 bool result;
5422 PyObject * obj0 = 0 ;
5423 PyObject * obj1 = 0 ;
5424 PyObject * obj2 = 0 ;
5425 char *kwnames[] = {
5426 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5427 };
5428
5429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
5430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5431 if (obj1) {
5432 arg2 = (size_t) PyInt_AsLong(obj1);
5433 if (PyErr_Occurred()) SWIG_fail;
5434 }
5435 if (obj2) {
5436 arg3 = (size_t) PyInt_AsLong(obj2);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 }
5439 {
5440 PyThreadState* __tstate = wxPyBeginAllowThreads();
5441 result = (bool)(arg1)->InsertCols(arg2,arg3);
5442
5443 wxPyEndAllowThreads(__tstate);
5444 if (PyErr_Occurred()) SWIG_fail;
5445 }
5446 resultobj = PyInt_FromLong((long)result);
5447 return resultobj;
5448 fail:
5449 return NULL;
5450 }
5451
5452
5453 static PyObject *_wrap_GridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5454 PyObject *resultobj;
5455 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5456 size_t arg2 = (size_t) 1 ;
5457 bool result;
5458 PyObject * obj0 = 0 ;
5459 PyObject * obj1 = 0 ;
5460 char *kwnames[] = {
5461 (char *) "self",(char *) "numCols", NULL
5462 };
5463
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendCols",kwnames,&obj0,&obj1)) goto fail;
5465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5466 if (obj1) {
5467 arg2 = (size_t) PyInt_AsLong(obj1);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 {
5471 PyThreadState* __tstate = wxPyBeginAllowThreads();
5472 result = (bool)(arg1)->AppendCols(arg2);
5473
5474 wxPyEndAllowThreads(__tstate);
5475 if (PyErr_Occurred()) SWIG_fail;
5476 }
5477 resultobj = PyInt_FromLong((long)result);
5478 return resultobj;
5479 fail:
5480 return NULL;
5481 }
5482
5483
5484 static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5485 PyObject *resultobj;
5486 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5487 size_t arg2 = (size_t) 0 ;
5488 size_t arg3 = (size_t) 1 ;
5489 bool result;
5490 PyObject * obj0 = 0 ;
5491 PyObject * obj1 = 0 ;
5492 PyObject * obj2 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5495 };
5496
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
5498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5499 if (obj1) {
5500 arg2 = (size_t) PyInt_AsLong(obj1);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 if (obj2) {
5504 arg3 = (size_t) PyInt_AsLong(obj2);
5505 if (PyErr_Occurred()) SWIG_fail;
5506 }
5507 {
5508 PyThreadState* __tstate = wxPyBeginAllowThreads();
5509 result = (bool)(arg1)->DeleteCols(arg2,arg3);
5510
5511 wxPyEndAllowThreads(__tstate);
5512 if (PyErr_Occurred()) SWIG_fail;
5513 }
5514 resultobj = PyInt_FromLong((long)result);
5515 return resultobj;
5516 fail:
5517 return NULL;
5518 }
5519
5520
5521 static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5522 PyObject *resultobj;
5523 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5524 int arg2 ;
5525 wxString result;
5526 PyObject * obj0 = 0 ;
5527 char *kwnames[] = {
5528 (char *) "self",(char *) "row", NULL
5529 };
5530
5531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridTableBase_GetRowLabelValue",kwnames,&obj0,&arg2)) goto fail;
5532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5533 {
5534 PyThreadState* __tstate = wxPyBeginAllowThreads();
5535 result = (arg1)->GetRowLabelValue(arg2);
5536
5537 wxPyEndAllowThreads(__tstate);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 }
5540 {
5541 #if wxUSE_UNICODE
5542 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5543 #else
5544 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5545 #endif
5546 }
5547 return resultobj;
5548 fail:
5549 return NULL;
5550 }
5551
5552
5553 static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5554 PyObject *resultobj;
5555 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5556 int arg2 ;
5557 wxString result;
5558 PyObject * obj0 = 0 ;
5559 char *kwnames[] = {
5560 (char *) "self",(char *) "col", NULL
5561 };
5562
5563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridTableBase_GetColLabelValue",kwnames,&obj0,&arg2)) goto fail;
5564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 result = (arg1)->GetColLabelValue(arg2);
5568
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
5572 {
5573 #if wxUSE_UNICODE
5574 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5575 #else
5576 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5577 #endif
5578 }
5579 return resultobj;
5580 fail:
5581 return NULL;
5582 }
5583
5584
5585 static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5586 PyObject *resultobj;
5587 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5588 int arg2 ;
5589 wxString *arg3 = 0 ;
5590 bool temp3 = False ;
5591 PyObject * obj0 = 0 ;
5592 PyObject * obj2 = 0 ;
5593 char *kwnames[] = {
5594 (char *) "self",(char *) "row",(char *) "value", NULL
5595 };
5596
5597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:GridTableBase_SetRowLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail;
5598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5599 {
5600 arg3 = wxString_in_helper(obj2);
5601 if (arg3 == NULL) SWIG_fail;
5602 temp3 = True;
5603 }
5604 {
5605 PyThreadState* __tstate = wxPyBeginAllowThreads();
5606 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
5607
5608 wxPyEndAllowThreads(__tstate);
5609 if (PyErr_Occurred()) SWIG_fail;
5610 }
5611 Py_INCREF(Py_None); resultobj = Py_None;
5612 {
5613 if (temp3)
5614 delete arg3;
5615 }
5616 return resultobj;
5617 fail:
5618 {
5619 if (temp3)
5620 delete arg3;
5621 }
5622 return NULL;
5623 }
5624
5625
5626 static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5627 PyObject *resultobj;
5628 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5629 int arg2 ;
5630 wxString *arg3 = 0 ;
5631 bool temp3 = False ;
5632 PyObject * obj0 = 0 ;
5633 PyObject * obj2 = 0 ;
5634 char *kwnames[] = {
5635 (char *) "self",(char *) "col",(char *) "value", NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:GridTableBase_SetColLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail;
5639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5640 {
5641 arg3 = wxString_in_helper(obj2);
5642 if (arg3 == NULL) SWIG_fail;
5643 temp3 = True;
5644 }
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
5652 Py_INCREF(Py_None); resultobj = Py_None;
5653 {
5654 if (temp3)
5655 delete arg3;
5656 }
5657 return resultobj;
5658 fail:
5659 {
5660 if (temp3)
5661 delete arg3;
5662 }
5663 return NULL;
5664 }
5665
5666
5667 static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5668 PyObject *resultobj;
5669 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5670 bool result;
5671 PyObject * obj0 = 0 ;
5672 char *kwnames[] = {
5673 (char *) "self", NULL
5674 };
5675
5676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_CanHaveAttributes",kwnames,&obj0)) goto fail;
5677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 result = (bool)(arg1)->CanHaveAttributes();
5681
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
5685 resultobj = PyInt_FromLong((long)result);
5686 return resultobj;
5687 fail:
5688 return NULL;
5689 }
5690
5691
5692 static PyObject *_wrap_GridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5693 PyObject *resultobj;
5694 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5695 int arg2 ;
5696 int arg3 ;
5697 int arg4 ;
5698 wxGridCellAttr *result;
5699 PyObject * obj0 = 0 ;
5700 char *kwnames[] = {
5701 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5702 };
5703
5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:GridTableBase_GetAttr",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5706 {
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
5709
5710 wxPyEndAllowThreads(__tstate);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 }
5713 {
5714 resultobj = wxPyMake_wxGridCellAttr(result);
5715 }
5716 return resultobj;
5717 fail:
5718 return NULL;
5719 }
5720
5721
5722 static PyObject *_wrap_GridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5723 PyObject *resultobj;
5724 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5725 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5726 int arg3 ;
5727 int arg4 ;
5728 PyObject * obj0 = 0 ;
5729 PyObject * obj1 = 0 ;
5730 char *kwnames[] = {
5731 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5732 };
5733
5734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:GridTableBase_SetAttr",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
5735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5737 {
5738 PyThreadState* __tstate = wxPyBeginAllowThreads();
5739 (arg1)->SetAttr(arg2,arg3,arg4);
5740
5741 wxPyEndAllowThreads(__tstate);
5742 if (PyErr_Occurred()) SWIG_fail;
5743 }
5744 Py_INCREF(Py_None); resultobj = Py_None;
5745 return resultobj;
5746 fail:
5747 return NULL;
5748 }
5749
5750
5751 static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5752 PyObject *resultobj;
5753 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5754 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5755 int arg3 ;
5756 PyObject * obj0 = 0 ;
5757 PyObject * obj1 = 0 ;
5758 char *kwnames[] = {
5759 (char *) "self",(char *) "attr",(char *) "row", NULL
5760 };
5761
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridTableBase_SetRowAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
5763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5764 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5765 {
5766 PyThreadState* __tstate = wxPyBeginAllowThreads();
5767 (arg1)->SetRowAttr(arg2,arg3);
5768
5769 wxPyEndAllowThreads(__tstate);
5770 if (PyErr_Occurred()) SWIG_fail;
5771 }
5772 Py_INCREF(Py_None); resultobj = Py_None;
5773 return resultobj;
5774 fail:
5775 return NULL;
5776 }
5777
5778
5779 static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5780 PyObject *resultobj;
5781 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5782 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5783 int arg3 ;
5784 PyObject * obj0 = 0 ;
5785 PyObject * obj1 = 0 ;
5786 char *kwnames[] = {
5787 (char *) "self",(char *) "attr",(char *) "col", NULL
5788 };
5789
5790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:GridTableBase_SetColAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
5791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5792 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5793 {
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 (arg1)->SetColAttr(arg2,arg3);
5796
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 Py_INCREF(Py_None); resultobj = Py_None;
5801 return resultobj;
5802 fail:
5803 return NULL;
5804 }
5805
5806
5807 static PyObject * GridTableBase_swigregister(PyObject *self, PyObject *args) {
5808 PyObject *obj;
5809 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5810 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase, obj);
5811 Py_INCREF(obj);
5812 return Py_BuildValue((char *)"");
5813 }
5814 static PyObject *_wrap_new_PyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5815 PyObject *resultobj;
5816 wxPyGridTableBase *result;
5817 char *kwnames[] = {
5818 NULL
5819 };
5820
5821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridTableBase",kwnames)) goto fail;
5822 {
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 result = (wxPyGridTableBase *)new wxPyGridTableBase();
5825
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridTableBase, 1);
5830 return resultobj;
5831 fail:
5832 return NULL;
5833 }
5834
5835
5836 static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5837 PyObject *resultobj;
5838 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
5839 PyObject *arg2 = (PyObject *) 0 ;
5840 PyObject *arg3 = (PyObject *) 0 ;
5841 PyObject * obj0 = 0 ;
5842 PyObject * obj1 = 0 ;
5843 PyObject * obj2 = 0 ;
5844 char *kwnames[] = {
5845 (char *) "self",(char *) "self",(char *) "_class", NULL
5846 };
5847
5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5850 arg2 = obj1;
5851 arg3 = obj2;
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 (arg1)->_setCallbackInfo(arg2,arg3);
5855
5856 wxPyEndAllowThreads(__tstate);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
5859 Py_INCREF(Py_None); resultobj = Py_None;
5860 return resultobj;
5861 fail:
5862 return NULL;
5863 }
5864
5865
5866 static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5867 PyObject *resultobj;
5868 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
5869 PyObject * obj0 = 0 ;
5870 char *kwnames[] = {
5871 (char *) "self", NULL
5872 };
5873
5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_Destroy",kwnames,&obj0)) goto fail;
5875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 wxPyGridTableBase_Destroy(arg1);
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
5890 static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5891 PyObject *resultobj;
5892 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
5893 int arg2 ;
5894 int arg3 ;
5895 wxString result;
5896 PyObject * obj0 = 0 ;
5897 char *kwnames[] = {
5898 (char *) "self",(char *) "row",(char *) "col", NULL
5899 };
5900
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyGridTableBase_base_GetTypeName",kwnames,&obj0,&arg2,&arg3)) goto fail;
5902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5903 {
5904 PyThreadState* __tstate = wxPyBeginAllowThreads();
5905 result = (arg1)->base_GetTypeName(arg2,arg3);
5906
5907 wxPyEndAllowThreads(__tstate);
5908 if (PyErr_Occurred()) SWIG_fail;
5909 }
5910 {
5911 #if wxUSE_UNICODE
5912 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5913 #else
5914 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5915 #endif
5916 }
5917 return resultobj;
5918 fail:
5919 return NULL;
5920 }
5921
5922
5923 static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5924 PyObject *resultobj;
5925 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
5926 int arg2 ;
5927 int arg3 ;
5928 wxString *arg4 = 0 ;
5929 bool result;
5930 bool temp4 = False ;
5931 PyObject * obj0 = 0 ;
5932 PyObject * obj3 = 0 ;
5933 char *kwnames[] = {
5934 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5935 };
5936
5937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:PyGridTableBase_base_CanGetValueAs",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
5938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5939 {
5940 arg4 = wxString_in_helper(obj3);
5941 if (arg4 == NULL) SWIG_fail;
5942 temp4 = True;
5943 }
5944 {
5945 PyThreadState* __tstate = wxPyBeginAllowThreads();
5946 result = (bool)(arg1)->base_CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
5947
5948 wxPyEndAllowThreads(__tstate);
5949 if (PyErr_Occurred()) SWIG_fail;
5950 }
5951 resultobj = PyInt_FromLong((long)result);
5952 {
5953 if (temp4)
5954 delete arg4;
5955 }
5956 return resultobj;
5957 fail:
5958 {
5959 if (temp4)
5960 delete arg4;
5961 }
5962 return NULL;
5963 }
5964
5965
5966 static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5967 PyObject *resultobj;
5968 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
5969 int arg2 ;
5970 int arg3 ;
5971 wxString *arg4 = 0 ;
5972 bool result;
5973 bool temp4 = False ;
5974 PyObject * obj0 = 0 ;
5975 PyObject * obj3 = 0 ;
5976 char *kwnames[] = {
5977 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5978 };
5979
5980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:PyGridTableBase_base_CanSetValueAs",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
5981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5982 {
5983 arg4 = wxString_in_helper(obj3);
5984 if (arg4 == NULL) SWIG_fail;
5985 temp4 = True;
5986 }
5987 {
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 result = (bool)(arg1)->base_CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
5990
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 resultobj = PyInt_FromLong((long)result);
5995 {
5996 if (temp4)
5997 delete arg4;
5998 }
5999 return resultobj;
6000 fail:
6001 {
6002 if (temp4)
6003 delete arg4;
6004 }
6005 return NULL;
6006 }
6007
6008
6009 static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6010 PyObject *resultobj;
6011 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6012 PyObject * obj0 = 0 ;
6013 char *kwnames[] = {
6014 (char *) "self", NULL
6015 };
6016
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_Clear",kwnames,&obj0)) goto fail;
6018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6019 {
6020 PyThreadState* __tstate = wxPyBeginAllowThreads();
6021 (arg1)->base_Clear();
6022
6023 wxPyEndAllowThreads(__tstate);
6024 if (PyErr_Occurred()) SWIG_fail;
6025 }
6026 Py_INCREF(Py_None); resultobj = Py_None;
6027 return resultobj;
6028 fail:
6029 return NULL;
6030 }
6031
6032
6033 static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6034 PyObject *resultobj;
6035 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6036 size_t arg2 = (size_t) 0 ;
6037 size_t arg3 = (size_t) 1 ;
6038 bool result;
6039 PyObject * obj0 = 0 ;
6040 PyObject * obj1 = 0 ;
6041 PyObject * obj2 = 0 ;
6042 char *kwnames[] = {
6043 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6044 };
6045
6046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6048 if (obj1) {
6049 arg2 = (size_t) PyInt_AsLong(obj1);
6050 if (PyErr_Occurred()) SWIG_fail;
6051 }
6052 if (obj2) {
6053 arg3 = (size_t) PyInt_AsLong(obj2);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
6056 {
6057 PyThreadState* __tstate = wxPyBeginAllowThreads();
6058 result = (bool)(arg1)->base_InsertRows(arg2,arg3);
6059
6060 wxPyEndAllowThreads(__tstate);
6061 if (PyErr_Occurred()) SWIG_fail;
6062 }
6063 resultobj = PyInt_FromLong((long)result);
6064 return resultobj;
6065 fail:
6066 return NULL;
6067 }
6068
6069
6070 static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6071 PyObject *resultobj;
6072 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6073 size_t arg2 = (size_t) 1 ;
6074 bool result;
6075 PyObject * obj0 = 0 ;
6076 PyObject * obj1 = 0 ;
6077 char *kwnames[] = {
6078 (char *) "self",(char *) "numRows", NULL
6079 };
6080
6081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames,&obj0,&obj1)) goto fail;
6082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6083 if (obj1) {
6084 arg2 = (size_t) PyInt_AsLong(obj1);
6085 if (PyErr_Occurred()) SWIG_fail;
6086 }
6087 {
6088 PyThreadState* __tstate = wxPyBeginAllowThreads();
6089 result = (bool)(arg1)->base_AppendRows(arg2);
6090
6091 wxPyEndAllowThreads(__tstate);
6092 if (PyErr_Occurred()) SWIG_fail;
6093 }
6094 resultobj = PyInt_FromLong((long)result);
6095 return resultobj;
6096 fail:
6097 return NULL;
6098 }
6099
6100
6101 static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6102 PyObject *resultobj;
6103 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6104 size_t arg2 = (size_t) 0 ;
6105 size_t arg3 = (size_t) 1 ;
6106 bool result;
6107 PyObject * obj0 = 0 ;
6108 PyObject * obj1 = 0 ;
6109 PyObject * obj2 = 0 ;
6110 char *kwnames[] = {
6111 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6112 };
6113
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6116 if (obj1) {
6117 arg2 = (size_t) PyInt_AsLong(obj1);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 if (obj2) {
6121 arg3 = (size_t) PyInt_AsLong(obj2);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
6124 {
6125 PyThreadState* __tstate = wxPyBeginAllowThreads();
6126 result = (bool)(arg1)->base_DeleteRows(arg2,arg3);
6127
6128 wxPyEndAllowThreads(__tstate);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 }
6131 resultobj = PyInt_FromLong((long)result);
6132 return resultobj;
6133 fail:
6134 return NULL;
6135 }
6136
6137
6138 static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj;
6140 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6141 size_t arg2 = (size_t) 0 ;
6142 size_t arg3 = (size_t) 1 ;
6143 bool result;
6144 PyObject * obj0 = 0 ;
6145 PyObject * obj1 = 0 ;
6146 PyObject * obj2 = 0 ;
6147 char *kwnames[] = {
6148 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6149 };
6150
6151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
6152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6153 if (obj1) {
6154 arg2 = (size_t) PyInt_AsLong(obj1);
6155 if (PyErr_Occurred()) SWIG_fail;
6156 }
6157 if (obj2) {
6158 arg3 = (size_t) PyInt_AsLong(obj2);
6159 if (PyErr_Occurred()) SWIG_fail;
6160 }
6161 {
6162 PyThreadState* __tstate = wxPyBeginAllowThreads();
6163 result = (bool)(arg1)->base_InsertCols(arg2,arg3);
6164
6165 wxPyEndAllowThreads(__tstate);
6166 if (PyErr_Occurred()) SWIG_fail;
6167 }
6168 resultobj = PyInt_FromLong((long)result);
6169 return resultobj;
6170 fail:
6171 return NULL;
6172 }
6173
6174
6175 static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6176 PyObject *resultobj;
6177 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6178 size_t arg2 = (size_t) 1 ;
6179 bool result;
6180 PyObject * obj0 = 0 ;
6181 PyObject * obj1 = 0 ;
6182 char *kwnames[] = {
6183 (char *) "self",(char *) "numCols", NULL
6184 };
6185
6186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames,&obj0,&obj1)) goto fail;
6187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6188 if (obj1) {
6189 arg2 = (size_t) PyInt_AsLong(obj1);
6190 if (PyErr_Occurred()) SWIG_fail;
6191 }
6192 {
6193 PyThreadState* __tstate = wxPyBeginAllowThreads();
6194 result = (bool)(arg1)->base_AppendCols(arg2);
6195
6196 wxPyEndAllowThreads(__tstate);
6197 if (PyErr_Occurred()) SWIG_fail;
6198 }
6199 resultobj = PyInt_FromLong((long)result);
6200 return resultobj;
6201 fail:
6202 return NULL;
6203 }
6204
6205
6206 static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6207 PyObject *resultobj;
6208 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6209 size_t arg2 = (size_t) 0 ;
6210 size_t arg3 = (size_t) 1 ;
6211 bool result;
6212 PyObject * obj0 = 0 ;
6213 PyObject * obj1 = 0 ;
6214 PyObject * obj2 = 0 ;
6215 char *kwnames[] = {
6216 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6217 };
6218
6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
6220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6221 if (obj1) {
6222 arg2 = (size_t) PyInt_AsLong(obj1);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
6225 if (obj2) {
6226 arg3 = (size_t) PyInt_AsLong(obj2);
6227 if (PyErr_Occurred()) SWIG_fail;
6228 }
6229 {
6230 PyThreadState* __tstate = wxPyBeginAllowThreads();
6231 result = (bool)(arg1)->base_DeleteCols(arg2,arg3);
6232
6233 wxPyEndAllowThreads(__tstate);
6234 if (PyErr_Occurred()) SWIG_fail;
6235 }
6236 resultobj = PyInt_FromLong((long)result);
6237 return resultobj;
6238 fail:
6239 return NULL;
6240 }
6241
6242
6243 static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6244 PyObject *resultobj;
6245 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6246 int arg2 ;
6247 wxString result;
6248 PyObject * obj0 = 0 ;
6249 char *kwnames[] = {
6250 (char *) "self",(char *) "row", NULL
6251 };
6252
6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyGridTableBase_base_GetRowLabelValue",kwnames,&obj0,&arg2)) goto fail;
6254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 result = (arg1)->base_GetRowLabelValue(arg2);
6258
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
6262 {
6263 #if wxUSE_UNICODE
6264 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6265 #else
6266 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6267 #endif
6268 }
6269 return resultobj;
6270 fail:
6271 return NULL;
6272 }
6273
6274
6275 static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6276 PyObject *resultobj;
6277 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6278 int arg2 ;
6279 wxString result;
6280 PyObject * obj0 = 0 ;
6281 char *kwnames[] = {
6282 (char *) "self",(char *) "col", NULL
6283 };
6284
6285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyGridTableBase_base_GetColLabelValue",kwnames,&obj0,&arg2)) goto fail;
6286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6287 {
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 result = (arg1)->base_GetColLabelValue(arg2);
6290
6291 wxPyEndAllowThreads(__tstate);
6292 if (PyErr_Occurred()) SWIG_fail;
6293 }
6294 {
6295 #if wxUSE_UNICODE
6296 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6297 #else
6298 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6299 #endif
6300 }
6301 return resultobj;
6302 fail:
6303 return NULL;
6304 }
6305
6306
6307 static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6308 PyObject *resultobj;
6309 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6310 int arg2 ;
6311 wxString *arg3 = 0 ;
6312 bool temp3 = False ;
6313 PyObject * obj0 = 0 ;
6314 PyObject * obj2 = 0 ;
6315 char *kwnames[] = {
6316 (char *) "self",(char *) "row",(char *) "value", NULL
6317 };
6318
6319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyGridTableBase_base_SetRowLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail;
6320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6321 {
6322 arg3 = wxString_in_helper(obj2);
6323 if (arg3 == NULL) SWIG_fail;
6324 temp3 = True;
6325 }
6326 {
6327 PyThreadState* __tstate = wxPyBeginAllowThreads();
6328 (arg1)->base_SetRowLabelValue(arg2,(wxString const &)*arg3);
6329
6330 wxPyEndAllowThreads(__tstate);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 }
6333 Py_INCREF(Py_None); resultobj = Py_None;
6334 {
6335 if (temp3)
6336 delete arg3;
6337 }
6338 return resultobj;
6339 fail:
6340 {
6341 if (temp3)
6342 delete arg3;
6343 }
6344 return NULL;
6345 }
6346
6347
6348 static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6351 int arg2 ;
6352 wxString *arg3 = 0 ;
6353 bool temp3 = False ;
6354 PyObject * obj0 = 0 ;
6355 PyObject * obj2 = 0 ;
6356 char *kwnames[] = {
6357 (char *) "self",(char *) "col",(char *) "value", NULL
6358 };
6359
6360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyGridTableBase_base_SetColLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail;
6361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6362 {
6363 arg3 = wxString_in_helper(obj2);
6364 if (arg3 == NULL) SWIG_fail;
6365 temp3 = True;
6366 }
6367 {
6368 PyThreadState* __tstate = wxPyBeginAllowThreads();
6369 (arg1)->base_SetColLabelValue(arg2,(wxString const &)*arg3);
6370
6371 wxPyEndAllowThreads(__tstate);
6372 if (PyErr_Occurred()) SWIG_fail;
6373 }
6374 Py_INCREF(Py_None); resultobj = Py_None;
6375 {
6376 if (temp3)
6377 delete arg3;
6378 }
6379 return resultobj;
6380 fail:
6381 {
6382 if (temp3)
6383 delete arg3;
6384 }
6385 return NULL;
6386 }
6387
6388
6389 static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6392 bool result;
6393 PyObject * obj0 = 0 ;
6394 char *kwnames[] = {
6395 (char *) "self", NULL
6396 };
6397
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames,&obj0)) goto fail;
6399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 result = (bool)(arg1)->base_CanHaveAttributes();
6403
6404 wxPyEndAllowThreads(__tstate);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
6407 resultobj = PyInt_FromLong((long)result);
6408 return resultobj;
6409 fail:
6410 return NULL;
6411 }
6412
6413
6414 static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6415 PyObject *resultobj;
6416 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6417 int arg2 ;
6418 int arg3 ;
6419 int arg4 ;
6420 wxGridCellAttr *result;
6421 PyObject * obj0 = 0 ;
6422 char *kwnames[] = {
6423 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6424 };
6425
6426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:PyGridTableBase_base_GetAttr",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6428 {
6429 PyThreadState* __tstate = wxPyBeginAllowThreads();
6430 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
6431
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
6435 {
6436 resultobj = wxPyMake_wxGridCellAttr(result);
6437 }
6438 return resultobj;
6439 fail:
6440 return NULL;
6441 }
6442
6443
6444 static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6445 PyObject *resultobj;
6446 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6447 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6448 int arg3 ;
6449 int arg4 ;
6450 PyObject * obj0 = 0 ;
6451 PyObject * obj1 = 0 ;
6452 char *kwnames[] = {
6453 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6454 };
6455
6456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:PyGridTableBase_base_SetAttr",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
6457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6458 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6459 {
6460 PyThreadState* __tstate = wxPyBeginAllowThreads();
6461 (arg1)->base_SetAttr(arg2,arg3,arg4);
6462
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 Py_INCREF(Py_None); resultobj = Py_None;
6467 return resultobj;
6468 fail:
6469 return NULL;
6470 }
6471
6472
6473 static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6474 PyObject *resultobj;
6475 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6476 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6477 int arg3 ;
6478 PyObject * obj0 = 0 ;
6479 PyObject * obj1 = 0 ;
6480 char *kwnames[] = {
6481 (char *) "self",(char *) "attr",(char *) "row", NULL
6482 };
6483
6484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:PyGridTableBase_base_SetRowAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
6485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6486 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6487 {
6488 PyThreadState* __tstate = wxPyBeginAllowThreads();
6489 (arg1)->base_SetRowAttr(arg2,arg3);
6490
6491 wxPyEndAllowThreads(__tstate);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 Py_INCREF(Py_None); resultobj = Py_None;
6495 return resultobj;
6496 fail:
6497 return NULL;
6498 }
6499
6500
6501 static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6502 PyObject *resultobj;
6503 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6504 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6505 int arg3 ;
6506 PyObject * obj0 = 0 ;
6507 PyObject * obj1 = 0 ;
6508 char *kwnames[] = {
6509 (char *) "self",(char *) "attr",(char *) "col", NULL
6510 };
6511
6512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:PyGridTableBase_base_SetColAttr",kwnames,&obj0,&obj1,&arg3)) goto fail;
6513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6514 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6517 (arg1)->base_SetColAttr(arg2,arg3);
6518
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 Py_INCREF(Py_None); resultobj = Py_None;
6523 return resultobj;
6524 fail:
6525 return NULL;
6526 }
6527
6528
6529 static PyObject * PyGridTableBase_swigregister(PyObject *self, PyObject *args) {
6530 PyObject *obj;
6531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6532 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase, obj);
6533 Py_INCREF(obj);
6534 return Py_BuildValue((char *)"");
6535 }
6536 static PyObject *_wrap_new_GridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6537 PyObject *resultobj;
6538 int arg1 = (int) 0 ;
6539 int arg2 = (int) 0 ;
6540 wxGridStringTable *result;
6541 char *kwnames[] = {
6542 (char *) "numRows",(char *) "numCols", NULL
6543 };
6544
6545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridStringTable",kwnames,&arg1,&arg2)) goto fail;
6546 {
6547 PyThreadState* __tstate = wxPyBeginAllowThreads();
6548 result = (wxGridStringTable *)new wxGridStringTable(arg1,arg2);
6549
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 }
6553 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridStringTable, 1);
6554 return resultobj;
6555 fail:
6556 return NULL;
6557 }
6558
6559
6560 static PyObject * GridStringTable_swigregister(PyObject *self, PyObject *args) {
6561 PyObject *obj;
6562 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6563 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable, obj);
6564 Py_INCREF(obj);
6565 return Py_BuildValue((char *)"");
6566 }
6567 static PyObject *_wrap_new_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6568 PyObject *resultobj;
6569 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6570 int arg2 ;
6571 int arg3 = (int) -1 ;
6572 int arg4 = (int) -1 ;
6573 wxGridTableMessage *result;
6574 PyObject * obj0 = 0 ;
6575 char *kwnames[] = {
6576 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
6577 };
6578
6579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:new_GridTableMessage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6581 {
6582 PyThreadState* __tstate = wxPyBeginAllowThreads();
6583 result = (wxGridTableMessage *)new wxGridTableMessage(arg1,arg2,arg3,arg4);
6584
6585 wxPyEndAllowThreads(__tstate);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 }
6588 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridTableMessage, 1);
6589 return resultobj;
6590 fail:
6591 return NULL;
6592 }
6593
6594
6595 static PyObject *_wrap_delete_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6596 PyObject *resultobj;
6597 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6598 PyObject * obj0 = 0 ;
6599 char *kwnames[] = {
6600 (char *) "self", NULL
6601 };
6602
6603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridTableMessage",kwnames,&obj0)) goto fail;
6604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 delete arg1;
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 Py_INCREF(Py_None); resultobj = Py_None;
6613 return resultobj;
6614 fail:
6615 return NULL;
6616 }
6617
6618
6619 static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6620 PyObject *resultobj;
6621 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6622 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
6623 PyObject * obj0 = 0 ;
6624 PyObject * obj1 = 0 ;
6625 char *kwnames[] = {
6626 (char *) "self",(char *) "table", NULL
6627 };
6628
6629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetTableObject",kwnames,&obj0,&obj1)) goto fail;
6630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6632 {
6633 PyThreadState* __tstate = wxPyBeginAllowThreads();
6634 (arg1)->SetTableObject(arg2);
6635
6636 wxPyEndAllowThreads(__tstate);
6637 if (PyErr_Occurred()) SWIG_fail;
6638 }
6639 Py_INCREF(Py_None); resultobj = Py_None;
6640 return resultobj;
6641 fail:
6642 return NULL;
6643 }
6644
6645
6646 static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6647 PyObject *resultobj;
6648 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6649 wxGridTableBase *result;
6650 PyObject * obj0 = 0 ;
6651 char *kwnames[] = {
6652 (char *) "self", NULL
6653 };
6654
6655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetTableObject",kwnames,&obj0)) goto fail;
6656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6657 {
6658 PyThreadState* __tstate = wxPyBeginAllowThreads();
6659 result = (wxGridTableBase *)((wxGridTableMessage const *)arg1)->GetTableObject();
6660
6661 wxPyEndAllowThreads(__tstate);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
6664 {
6665 resultobj = wxPyMake_wxGridTableBase(result);
6666 }
6667 return resultobj;
6668 fail:
6669 return NULL;
6670 }
6671
6672
6673 static PyObject *_wrap_GridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6674 PyObject *resultobj;
6675 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6676 int arg2 ;
6677 PyObject * obj0 = 0 ;
6678 char *kwnames[] = {
6679 (char *) "self",(char *) "id", NULL
6680 };
6681
6682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridTableMessage_SetId",kwnames,&obj0,&arg2)) goto fail;
6683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6684 {
6685 PyThreadState* __tstate = wxPyBeginAllowThreads();
6686 (arg1)->SetId(arg2);
6687
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 Py_INCREF(Py_None); resultobj = Py_None;
6692 return resultobj;
6693 fail:
6694 return NULL;
6695 }
6696
6697
6698 static PyObject *_wrap_GridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6699 PyObject *resultobj;
6700 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6701 int result;
6702 PyObject * obj0 = 0 ;
6703 char *kwnames[] = {
6704 (char *) "self", NULL
6705 };
6706
6707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetId",kwnames,&obj0)) goto fail;
6708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6709 {
6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
6711 result = (int)(arg1)->GetId();
6712
6713 wxPyEndAllowThreads(__tstate);
6714 if (PyErr_Occurred()) SWIG_fail;
6715 }
6716 resultobj = PyInt_FromLong((long)result);
6717 return resultobj;
6718 fail:
6719 return NULL;
6720 }
6721
6722
6723 static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6724 PyObject *resultobj;
6725 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6726 int arg2 ;
6727 PyObject * obj0 = 0 ;
6728 char *kwnames[] = {
6729 (char *) "self",(char *) "comInt1", NULL
6730 };
6731
6732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridTableMessage_SetCommandInt",kwnames,&obj0,&arg2)) goto fail;
6733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6734 {
6735 PyThreadState* __tstate = wxPyBeginAllowThreads();
6736 (arg1)->SetCommandInt(arg2);
6737
6738 wxPyEndAllowThreads(__tstate);
6739 if (PyErr_Occurred()) SWIG_fail;
6740 }
6741 Py_INCREF(Py_None); resultobj = Py_None;
6742 return resultobj;
6743 fail:
6744 return NULL;
6745 }
6746
6747
6748 static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6749 PyObject *resultobj;
6750 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6751 int result;
6752 PyObject * obj0 = 0 ;
6753 char *kwnames[] = {
6754 (char *) "self", NULL
6755 };
6756
6757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt",kwnames,&obj0)) goto fail;
6758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6759 {
6760 PyThreadState* __tstate = wxPyBeginAllowThreads();
6761 result = (int)(arg1)->GetCommandInt();
6762
6763 wxPyEndAllowThreads(__tstate);
6764 if (PyErr_Occurred()) SWIG_fail;
6765 }
6766 resultobj = PyInt_FromLong((long)result);
6767 return resultobj;
6768 fail:
6769 return NULL;
6770 }
6771
6772
6773 static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6774 PyObject *resultobj;
6775 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6776 int arg2 ;
6777 PyObject * obj0 = 0 ;
6778 char *kwnames[] = {
6779 (char *) "self",(char *) "comInt2", NULL
6780 };
6781
6782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridTableMessage_SetCommandInt2",kwnames,&obj0,&arg2)) goto fail;
6783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6784 {
6785 PyThreadState* __tstate = wxPyBeginAllowThreads();
6786 (arg1)->SetCommandInt2(arg2);
6787
6788 wxPyEndAllowThreads(__tstate);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 }
6791 Py_INCREF(Py_None); resultobj = Py_None;
6792 return resultobj;
6793 fail:
6794 return NULL;
6795 }
6796
6797
6798 static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
6801 int result;
6802 PyObject * obj0 = 0 ;
6803 char *kwnames[] = {
6804 (char *) "self", NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt2",kwnames,&obj0)) goto fail;
6808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 result = (int)(arg1)->GetCommandInt2();
6812
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 resultobj = PyInt_FromLong((long)result);
6817 return resultobj;
6818 fail:
6819 return NULL;
6820 }
6821
6822
6823 static PyObject * GridTableMessage_swigregister(PyObject *self, PyObject *args) {
6824 PyObject *obj;
6825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6826 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage, obj);
6827 Py_INCREF(obj);
6828 return Py_BuildValue((char *)"");
6829 }
6830 static PyObject *_wrap_new_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6831 PyObject *resultobj;
6832 int arg1 = (int) -1 ;
6833 int arg2 = (int) -1 ;
6834 wxGridCellCoords *result;
6835 char *kwnames[] = {
6836 (char *) "r",(char *) "c", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridCellCoords",kwnames,&arg1,&arg2)) goto fail;
6840 {
6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
6842 result = (wxGridCellCoords *)new wxGridCellCoords(arg1,arg2);
6843
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellCoords, 1);
6848 return resultobj;
6849 fail:
6850 return NULL;
6851 }
6852
6853
6854 static PyObject *_wrap_delete_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj;
6856 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
6857 PyObject * obj0 = 0 ;
6858 char *kwnames[] = {
6859 (char *) "self", NULL
6860 };
6861
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridCellCoords",kwnames,&obj0)) goto fail;
6863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 delete arg1;
6867
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 Py_INCREF(Py_None); resultobj = Py_None;
6872 return resultobj;
6873 fail:
6874 return NULL;
6875 }
6876
6877
6878 static PyObject *_wrap_GridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj;
6880 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
6881 int result;
6882 PyObject * obj0 = 0 ;
6883 char *kwnames[] = {
6884 (char *) "self", NULL
6885 };
6886
6887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetRow",kwnames,&obj0)) goto fail;
6888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 result = (int)((wxGridCellCoords const *)arg1)->GetRow();
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 resultobj = PyInt_FromLong((long)result);
6897 return resultobj;
6898 fail:
6899 return NULL;
6900 }
6901
6902
6903 static PyObject *_wrap_GridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6904 PyObject *resultobj;
6905 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
6906 int arg2 ;
6907 PyObject * obj0 = 0 ;
6908 char *kwnames[] = {
6909 (char *) "self",(char *) "n", NULL
6910 };
6911
6912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridCellCoords_SetRow",kwnames,&obj0,&arg2)) goto fail;
6913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6914 {
6915 PyThreadState* __tstate = wxPyBeginAllowThreads();
6916 (arg1)->SetRow(arg2);
6917
6918 wxPyEndAllowThreads(__tstate);
6919 if (PyErr_Occurred()) SWIG_fail;
6920 }
6921 Py_INCREF(Py_None); resultobj = Py_None;
6922 return resultobj;
6923 fail:
6924 return NULL;
6925 }
6926
6927
6928 static PyObject *_wrap_GridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6929 PyObject *resultobj;
6930 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
6931 int result;
6932 PyObject * obj0 = 0 ;
6933 char *kwnames[] = {
6934 (char *) "self", NULL
6935 };
6936
6937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetCol",kwnames,&obj0)) goto fail;
6938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6939 {
6940 PyThreadState* __tstate = wxPyBeginAllowThreads();
6941 result = (int)((wxGridCellCoords const *)arg1)->GetCol();
6942
6943 wxPyEndAllowThreads(__tstate);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 resultobj = PyInt_FromLong((long)result);
6947 return resultobj;
6948 fail:
6949 return NULL;
6950 }
6951
6952
6953 static PyObject *_wrap_GridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6954 PyObject *resultobj;
6955 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
6956 int arg2 ;
6957 PyObject * obj0 = 0 ;
6958 char *kwnames[] = {
6959 (char *) "self",(char *) "n", NULL
6960 };
6961
6962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridCellCoords_SetCol",kwnames,&obj0,&arg2)) goto fail;
6963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6964 {
6965 PyThreadState* __tstate = wxPyBeginAllowThreads();
6966 (arg1)->SetCol(arg2);
6967
6968 wxPyEndAllowThreads(__tstate);
6969 if (PyErr_Occurred()) SWIG_fail;
6970 }
6971 Py_INCREF(Py_None); resultobj = Py_None;
6972 return resultobj;
6973 fail:
6974 return NULL;
6975 }
6976
6977
6978 static PyObject *_wrap_GridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6979 PyObject *resultobj;
6980 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
6981 int arg2 ;
6982 int arg3 ;
6983 PyObject * obj0 = 0 ;
6984 char *kwnames[] = {
6985 (char *) "self",(char *) "row",(char *) "col", NULL
6986 };
6987
6988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:GridCellCoords_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
6989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6990 {
6991 PyThreadState* __tstate = wxPyBeginAllowThreads();
6992 (arg1)->Set(arg2,arg3);
6993
6994 wxPyEndAllowThreads(__tstate);
6995 if (PyErr_Occurred()) SWIG_fail;
6996 }
6997 Py_INCREF(Py_None); resultobj = Py_None;
6998 return resultobj;
6999 fail:
7000 return NULL;
7001 }
7002
7003
7004 static PyObject *_wrap_GridCellCoords___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
7005 PyObject *resultobj;
7006 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7007 wxGridCellCoords *arg2 = 0 ;
7008 bool result;
7009 PyObject * obj0 = 0 ;
7010 PyObject * obj1 = 0 ;
7011 char *kwnames[] = {
7012 (char *) "self",(char *) "other", NULL
7013 };
7014
7015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___eq__",kwnames,&obj0,&obj1)) goto fail;
7016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7017 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7018 if (arg2 == NULL) {
7019 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7020 }
7021 {
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 result = (bool)((wxGridCellCoords const *)arg1)->operator ==((wxGridCellCoords const &)*arg2);
7024
7025 wxPyEndAllowThreads(__tstate);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 }
7028 resultobj = PyInt_FromLong((long)result);
7029 return resultobj;
7030 fail:
7031 return NULL;
7032 }
7033
7034
7035 static PyObject *_wrap_GridCellCoords___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
7036 PyObject *resultobj;
7037 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7038 wxGridCellCoords *arg2 = 0 ;
7039 bool result;
7040 PyObject * obj0 = 0 ;
7041 PyObject * obj1 = 0 ;
7042 char *kwnames[] = {
7043 (char *) "self",(char *) "other", NULL
7044 };
7045
7046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___ne__",kwnames,&obj0,&obj1)) goto fail;
7047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7048 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7049 if (arg2 == NULL) {
7050 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7051 }
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 result = (bool)((wxGridCellCoords const *)arg1)->operator !=((wxGridCellCoords const &)*arg2);
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 resultobj = PyInt_FromLong((long)result);
7060 return resultobj;
7061 fail:
7062 return NULL;
7063 }
7064
7065
7066 static PyObject *_wrap_GridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
7067 PyObject *resultobj;
7068 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7069 PyObject *result;
7070 PyObject * obj0 = 0 ;
7071 char *kwnames[] = {
7072 (char *) "self", NULL
7073 };
7074
7075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_asTuple",kwnames,&obj0)) goto fail;
7076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 result = (PyObject *)wxGridCellCoords_asTuple(arg1);
7080
7081 wxPyEndAllowThreads(__tstate);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 resultobj = result;
7085 return resultobj;
7086 fail:
7087 return NULL;
7088 }
7089
7090
7091 static PyObject * GridCellCoords_swigregister(PyObject *self, PyObject *args) {
7092 PyObject *obj;
7093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7094 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords, obj);
7095 Py_INCREF(obj);
7096 return Py_BuildValue((char *)"");
7097 }
7098 static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs) {
7099 PyObject *resultobj;
7100 wxWindow *arg1 = (wxWindow *) 0 ;
7101 int arg2 ;
7102 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7103 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7104 wxSize const &arg4_defvalue = wxDefaultSize ;
7105 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7106 long arg5 = (long) wxWANTS_CHARS ;
7107 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7108 wxString *arg6 = (wxString *) &arg6_defvalue ;
7109 wxGrid *result;
7110 wxPoint temp3 ;
7111 wxSize temp4 ;
7112 bool temp6 = False ;
7113 PyObject * obj0 = 0 ;
7114 PyObject * obj2 = 0 ;
7115 PyObject * obj3 = 0 ;
7116 PyObject * obj5 = 0 ;
7117 char *kwnames[] = {
7118 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7119 };
7120
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Grid",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7123 if (obj2) {
7124 {
7125 arg3 = &temp3;
7126 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7127 }
7128 }
7129 if (obj3) {
7130 {
7131 arg4 = &temp4;
7132 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7133 }
7134 }
7135 if (obj5) {
7136 {
7137 arg6 = wxString_in_helper(obj5);
7138 if (arg6 == NULL) SWIG_fail;
7139 temp6 = True;
7140 }
7141 }
7142 {
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
7144 result = (wxGrid *)new wxGrid(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7145
7146 wxPyEndAllowThreads(__tstate);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 {
7150 resultobj = wxPyMake_wxObject(result);
7151 }
7152 {
7153 if (temp6)
7154 delete arg6;
7155 }
7156 return resultobj;
7157 fail:
7158 {
7159 if (temp6)
7160 delete arg6;
7161 }
7162 return NULL;
7163 }
7164
7165
7166 static PyObject *_wrap_Grid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7167 PyObject *resultobj;
7168 wxGrid *arg1 = (wxGrid *) 0 ;
7169 int arg2 ;
7170 int arg3 ;
7171 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
7172 bool result;
7173 PyObject * obj0 = 0 ;
7174 char *kwnames[] = {
7175 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
7176 };
7177
7178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:Grid_CreateGrid",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
7179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7180 {
7181 PyThreadState* __tstate = wxPyBeginAllowThreads();
7182 result = (bool)(arg1)->CreateGrid(arg2,arg3,arg4);
7183
7184 wxPyEndAllowThreads(__tstate);
7185 if (PyErr_Occurred()) SWIG_fail;
7186 }
7187 resultobj = PyInt_FromLong((long)result);
7188 return resultobj;
7189 fail:
7190 return NULL;
7191 }
7192
7193
7194 static PyObject *_wrap_Grid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7195 PyObject *resultobj;
7196 wxGrid *arg1 = (wxGrid *) 0 ;
7197 WXGRIDSELECTIONMODES arg2 ;
7198 PyObject * obj0 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self",(char *) "selmode", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetSelectionMode",kwnames,&obj0,&arg2)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7205 {
7206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7207 (arg1)->SetSelectionMode(arg2);
7208
7209 wxPyEndAllowThreads(__tstate);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 }
7212 Py_INCREF(Py_None); resultobj = Py_None;
7213 return resultobj;
7214 fail:
7215 return NULL;
7216 }
7217
7218
7219 static PyObject *_wrap_Grid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7220 PyObject *resultobj;
7221 wxGrid *arg1 = (wxGrid *) 0 ;
7222 WXGRIDSELECTIONMODES result;
7223 PyObject * obj0 = 0 ;
7224 char *kwnames[] = {
7225 (char *) "self", NULL
7226 };
7227
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionMode",kwnames,&obj0)) goto fail;
7229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7230 {
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 result = (WXGRIDSELECTIONMODES)(arg1)->GetSelectionMode();
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 resultobj = PyInt_FromLong((long)result);
7238 return resultobj;
7239 fail:
7240 return NULL;
7241 }
7242
7243
7244 static PyObject *_wrap_Grid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7245 PyObject *resultobj;
7246 wxGrid *arg1 = (wxGrid *) 0 ;
7247 int result;
7248 PyObject * obj0 = 0 ;
7249 char *kwnames[] = {
7250 (char *) "self", NULL
7251 };
7252
7253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberRows",kwnames,&obj0)) goto fail;
7254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7255 {
7256 PyThreadState* __tstate = wxPyBeginAllowThreads();
7257 result = (int)(arg1)->GetNumberRows();
7258
7259 wxPyEndAllowThreads(__tstate);
7260 if (PyErr_Occurred()) SWIG_fail;
7261 }
7262 resultobj = PyInt_FromLong((long)result);
7263 return resultobj;
7264 fail:
7265 return NULL;
7266 }
7267
7268
7269 static PyObject *_wrap_Grid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7270 PyObject *resultobj;
7271 wxGrid *arg1 = (wxGrid *) 0 ;
7272 int result;
7273 PyObject * obj0 = 0 ;
7274 char *kwnames[] = {
7275 (char *) "self", NULL
7276 };
7277
7278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberCols",kwnames,&obj0)) goto fail;
7279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 result = (int)(arg1)->GetNumberCols();
7283
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 resultobj = PyInt_FromLong((long)result);
7288 return resultobj;
7289 fail:
7290 return NULL;
7291 }
7292
7293
7294 static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7295 PyObject *resultobj;
7296 wxGrid *arg1 = (wxGrid *) 0 ;
7297 wxGridTableMessage *arg2 = 0 ;
7298 bool result;
7299 PyObject * obj0 = 0 ;
7300 PyObject * obj1 = 0 ;
7301 char *kwnames[] = {
7302 (char *) "self","arg2", NULL
7303 };
7304
7305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_ProcessTableMessage",kwnames,&obj0,&obj1)) goto fail;
7306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7307 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7308 if (arg2 == NULL) {
7309 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7310 }
7311 {
7312 PyThreadState* __tstate = wxPyBeginAllowThreads();
7313 result = (bool)(arg1)->ProcessTableMessage(*arg2);
7314
7315 wxPyEndAllowThreads(__tstate);
7316 if (PyErr_Occurred()) SWIG_fail;
7317 }
7318 resultobj = PyInt_FromLong((long)result);
7319 return resultobj;
7320 fail:
7321 return NULL;
7322 }
7323
7324
7325 static PyObject *_wrap_Grid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7326 PyObject *resultobj;
7327 wxGrid *arg1 = (wxGrid *) 0 ;
7328 wxGridTableBase *result;
7329 PyObject * obj0 = 0 ;
7330 char *kwnames[] = {
7331 (char *) "self", NULL
7332 };
7333
7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetTable",kwnames,&obj0)) goto fail;
7335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7336 {
7337 PyThreadState* __tstate = wxPyBeginAllowThreads();
7338 result = (wxGridTableBase *)((wxGrid const *)arg1)->GetTable();
7339
7340 wxPyEndAllowThreads(__tstate);
7341 if (PyErr_Occurred()) SWIG_fail;
7342 }
7343 {
7344 resultobj = wxPyMake_wxGridTableBase(result);
7345 }
7346 return resultobj;
7347 fail:
7348 return NULL;
7349 }
7350
7351
7352 static PyObject *_wrap_Grid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7353 PyObject *resultobj;
7354 wxGrid *arg1 = (wxGrid *) 0 ;
7355 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
7356 bool arg3 = (bool) False ;
7357 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
7358 bool result;
7359 PyObject * obj0 = 0 ;
7360 PyObject * obj1 = 0 ;
7361 PyObject * obj2 = 0 ;
7362 char *kwnames[] = {
7363 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
7364 };
7365
7366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|Oi:Grid_SetTable",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
7367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7368 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7369 if (obj2) {
7370 arg3 = PyInt_AsLong(obj2) ? true : false;
7371 if (PyErr_Occurred()) SWIG_fail;
7372 }
7373 {
7374 PyThreadState* __tstate = wxPyBeginAllowThreads();
7375 result = (bool)(arg1)->SetTable(arg2,arg3,arg4);
7376
7377 wxPyEndAllowThreads(__tstate);
7378 if (PyErr_Occurred()) SWIG_fail;
7379 }
7380 resultobj = PyInt_FromLong((long)result);
7381 return resultobj;
7382 fail:
7383 return NULL;
7384 }
7385
7386
7387 static PyObject *_wrap_Grid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7388 PyObject *resultobj;
7389 wxGrid *arg1 = (wxGrid *) 0 ;
7390 PyObject * obj0 = 0 ;
7391 char *kwnames[] = {
7392 (char *) "self", NULL
7393 };
7394
7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearGrid",kwnames,&obj0)) goto fail;
7396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7397 {
7398 PyThreadState* __tstate = wxPyBeginAllowThreads();
7399 (arg1)->ClearGrid();
7400
7401 wxPyEndAllowThreads(__tstate);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 Py_INCREF(Py_None); resultobj = Py_None;
7405 return resultobj;
7406 fail:
7407 return NULL;
7408 }
7409
7410
7411 static PyObject *_wrap_Grid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7412 PyObject *resultobj;
7413 wxGrid *arg1 = (wxGrid *) 0 ;
7414 int arg2 = (int) 0 ;
7415 int arg3 = (int) 1 ;
7416 bool arg4 = (bool) True ;
7417 bool result;
7418 PyObject * obj0 = 0 ;
7419 PyObject * obj3 = 0 ;
7420 char *kwnames[] = {
7421 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
7422 };
7423
7424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiO:Grid_InsertRows",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7426 if (obj3) {
7427 arg4 = PyInt_AsLong(obj3) ? true : false;
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 result = (bool)(arg1)->InsertRows(arg2,arg3,arg4);
7433
7434 wxPyEndAllowThreads(__tstate);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 }
7437 resultobj = PyInt_FromLong((long)result);
7438 return resultobj;
7439 fail:
7440 return NULL;
7441 }
7442
7443
7444 static PyObject *_wrap_Grid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7445 PyObject *resultobj;
7446 wxGrid *arg1 = (wxGrid *) 0 ;
7447 int arg2 = (int) 1 ;
7448 bool arg3 = (bool) True ;
7449 bool result;
7450 PyObject * obj0 = 0 ;
7451 PyObject * obj2 = 0 ;
7452 char *kwnames[] = {
7453 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
7454 };
7455
7456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Grid_AppendRows",kwnames,&obj0,&arg2,&obj2)) goto fail;
7457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7458 if (obj2) {
7459 arg3 = PyInt_AsLong(obj2) ? true : false;
7460 if (PyErr_Occurred()) SWIG_fail;
7461 }
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 result = (bool)(arg1)->AppendRows(arg2,arg3);
7465
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) SWIG_fail;
7468 }
7469 resultobj = PyInt_FromLong((long)result);
7470 return resultobj;
7471 fail:
7472 return NULL;
7473 }
7474
7475
7476 static PyObject *_wrap_Grid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7477 PyObject *resultobj;
7478 wxGrid *arg1 = (wxGrid *) 0 ;
7479 int arg2 = (int) 0 ;
7480 int arg3 = (int) 1 ;
7481 bool arg4 = (bool) True ;
7482 bool result;
7483 PyObject * obj0 = 0 ;
7484 PyObject * obj3 = 0 ;
7485 char *kwnames[] = {
7486 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
7487 };
7488
7489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiO:Grid_DeleteRows",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7491 if (obj3) {
7492 arg4 = PyInt_AsLong(obj3) ? true : false;
7493 if (PyErr_Occurred()) SWIG_fail;
7494 }
7495 {
7496 PyThreadState* __tstate = wxPyBeginAllowThreads();
7497 result = (bool)(arg1)->DeleteRows(arg2,arg3,arg4);
7498
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
7502 resultobj = PyInt_FromLong((long)result);
7503 return resultobj;
7504 fail:
7505 return NULL;
7506 }
7507
7508
7509 static PyObject *_wrap_Grid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7510 PyObject *resultobj;
7511 wxGrid *arg1 = (wxGrid *) 0 ;
7512 int arg2 = (int) 0 ;
7513 int arg3 = (int) 1 ;
7514 bool arg4 = (bool) True ;
7515 bool result;
7516 PyObject * obj0 = 0 ;
7517 PyObject * obj3 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiO:Grid_InsertCols",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7524 if (obj3) {
7525 arg4 = PyInt_AsLong(obj3) ? true : false;
7526 if (PyErr_Occurred()) SWIG_fail;
7527 }
7528 {
7529 PyThreadState* __tstate = wxPyBeginAllowThreads();
7530 result = (bool)(arg1)->InsertCols(arg2,arg3,arg4);
7531
7532 wxPyEndAllowThreads(__tstate);
7533 if (PyErr_Occurred()) SWIG_fail;
7534 }
7535 resultobj = PyInt_FromLong((long)result);
7536 return resultobj;
7537 fail:
7538 return NULL;
7539 }
7540
7541
7542 static PyObject *_wrap_Grid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7543 PyObject *resultobj;
7544 wxGrid *arg1 = (wxGrid *) 0 ;
7545 int arg2 = (int) 1 ;
7546 bool arg3 = (bool) True ;
7547 bool result;
7548 PyObject * obj0 = 0 ;
7549 PyObject * obj2 = 0 ;
7550 char *kwnames[] = {
7551 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
7552 };
7553
7554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Grid_AppendCols",kwnames,&obj0,&arg2,&obj2)) goto fail;
7555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7556 if (obj2) {
7557 arg3 = PyInt_AsLong(obj2) ? true : false;
7558 if (PyErr_Occurred()) SWIG_fail;
7559 }
7560 {
7561 PyThreadState* __tstate = wxPyBeginAllowThreads();
7562 result = (bool)(arg1)->AppendCols(arg2,arg3);
7563
7564 wxPyEndAllowThreads(__tstate);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 }
7567 resultobj = PyInt_FromLong((long)result);
7568 return resultobj;
7569 fail:
7570 return NULL;
7571 }
7572
7573
7574 static PyObject *_wrap_Grid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7575 PyObject *resultobj;
7576 wxGrid *arg1 = (wxGrid *) 0 ;
7577 int arg2 = (int) 0 ;
7578 int arg3 = (int) 1 ;
7579 bool arg4 = (bool) True ;
7580 bool result;
7581 PyObject * obj0 = 0 ;
7582 PyObject * obj3 = 0 ;
7583 char *kwnames[] = {
7584 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
7585 };
7586
7587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiO:Grid_DeleteCols",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7589 if (obj3) {
7590 arg4 = PyInt_AsLong(obj3) ? true : false;
7591 if (PyErr_Occurred()) SWIG_fail;
7592 }
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 result = (bool)(arg1)->DeleteCols(arg2,arg3,arg4);
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 resultobj = PyInt_FromLong((long)result);
7601 return resultobj;
7602 fail:
7603 return NULL;
7604 }
7605
7606
7607 static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7608 PyObject *resultobj;
7609 wxGrid *arg1 = (wxGrid *) 0 ;
7610 wxDC *arg2 = 0 ;
7611 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
7612 PyObject * obj0 = 0 ;
7613 PyObject * obj1 = 0 ;
7614 PyObject * obj2 = 0 ;
7615 char *kwnames[] = {
7616 (char *) "self",(char *) "dc",(char *) "attr", NULL
7617 };
7618
7619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DrawCellHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
7620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7621 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7622 if (arg2 == NULL) {
7623 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7624 }
7625 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 (arg1)->DrawCellHighlight(*arg2,(wxGridCellAttr const *)arg3);
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 Py_INCREF(Py_None); resultobj = Py_None;
7634 return resultobj;
7635 fail:
7636 return NULL;
7637 }
7638
7639
7640 static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7641 PyObject *resultobj;
7642 wxGrid *arg1 = (wxGrid *) 0 ;
7643 wxDC *arg2 = 0 ;
7644 wxString *arg3 = 0 ;
7645 wxRect *arg4 = 0 ;
7646 int arg5 = (int) wxLEFT ;
7647 int arg6 = (int) wxTOP ;
7648 int arg7 = (int) wxHORIZONTAL ;
7649 bool temp3 = False ;
7650 wxRect temp4 ;
7651 PyObject * obj0 = 0 ;
7652 PyObject * obj1 = 0 ;
7653 PyObject * obj2 = 0 ;
7654 PyObject * obj3 = 0 ;
7655 char *kwnames[] = {
7656 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
7657 };
7658
7659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iii:Grid_DrawTextRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&arg7)) goto fail;
7660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7662 if (arg2 == NULL) {
7663 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7664 }
7665 {
7666 arg3 = wxString_in_helper(obj2);
7667 if (arg3 == NULL) SWIG_fail;
7668 temp3 = True;
7669 }
7670 {
7671 arg4 = &temp4;
7672 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
7673 }
7674 {
7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
7676 (arg1)->DrawTextRectangle(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
7677
7678 wxPyEndAllowThreads(__tstate);
7679 if (PyErr_Occurred()) SWIG_fail;
7680 }
7681 Py_INCREF(Py_None); resultobj = Py_None;
7682 {
7683 if (temp3)
7684 delete arg3;
7685 }
7686 return resultobj;
7687 fail:
7688 {
7689 if (temp3)
7690 delete arg3;
7691 }
7692 return NULL;
7693 }
7694
7695
7696 static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7697 PyObject *resultobj;
7698 wxGrid *arg1 = (wxGrid *) 0 ;
7699 wxDC *arg2 = 0 ;
7700 wxArrayString *arg3 = 0 ;
7701 long *arg4 = (long *) 0 ;
7702 long *arg5 = (long *) 0 ;
7703 long temp4 ;
7704 long temp5 ;
7705 PyObject * obj0 = 0 ;
7706 PyObject * obj1 = 0 ;
7707 PyObject * obj2 = 0 ;
7708 char *kwnames[] = {
7709 (char *) "self",(char *) "dc",(char *) "lines", NULL
7710 };
7711
7712 arg4 = &temp4;
7713 arg5 = &temp5;
7714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetTextBoxSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
7715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7717 if (arg2 == NULL) {
7718 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7719 }
7720 {
7721 if (! PySequence_Check(obj2)) {
7722 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7723 SWIG_fail;
7724 }
7725 arg3 = new wxArrayString;
7726 int i, len=PySequence_Length(obj2);
7727 for (i=0; i<len; i++) {
7728 PyObject* item = PySequence_GetItem(obj2, i);
7729 #if wxUSE_UNICODE
7730 PyObject* str = PyObject_Unicode(item);
7731 #else
7732 PyObject* str = PyObject_Str(item);
7733 #endif
7734 arg3->Add(Py2wxString(str));
7735 Py_DECREF(item);
7736 Py_DECREF(str);
7737 }
7738 }
7739 {
7740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7741 (arg1)->GetTextBoxSize(*arg2,*arg3,arg4,arg5);
7742
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
7746 Py_INCREF(Py_None); resultobj = Py_None;
7747 {
7748 PyObject *o = PyInt_FromLong((long) (*arg4));
7749 resultobj = t_output_helper(resultobj,o);
7750 }
7751 {
7752 PyObject *o = PyInt_FromLong((long) (*arg5));
7753 resultobj = t_output_helper(resultobj,o);
7754 }
7755 {
7756 if (arg3) delete arg3;
7757 }
7758 return resultobj;
7759 fail:
7760 {
7761 if (arg3) delete arg3;
7762 }
7763 return NULL;
7764 }
7765
7766
7767 static PyObject *_wrap_Grid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxGrid *arg1 = (wxGrid *) 0 ;
7770 PyObject * obj0 = 0 ;
7771 char *kwnames[] = {
7772 (char *) "self", NULL
7773 };
7774
7775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_BeginBatch",kwnames,&obj0)) goto fail;
7776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7777 {
7778 PyThreadState* __tstate = wxPyBeginAllowThreads();
7779 (arg1)->BeginBatch();
7780
7781 wxPyEndAllowThreads(__tstate);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 }
7784 Py_INCREF(Py_None); resultobj = Py_None;
7785 return resultobj;
7786 fail:
7787 return NULL;
7788 }
7789
7790
7791 static PyObject *_wrap_Grid_EndBatch(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_EndBatch",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)->EndBatch();
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
7815 static PyObject *_wrap_Grid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7816 PyObject *resultobj;
7817 wxGrid *arg1 = (wxGrid *) 0 ;
7818 int result;
7819 PyObject * obj0 = 0 ;
7820 char *kwnames[] = {
7821 (char *) "self", NULL
7822 };
7823
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetBatchCount",kwnames,&obj0)) goto fail;
7825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7826 {
7827 PyThreadState* __tstate = wxPyBeginAllowThreads();
7828 result = (int)(arg1)->GetBatchCount();
7829
7830 wxPyEndAllowThreads(__tstate);
7831 if (PyErr_Occurred()) SWIG_fail;
7832 }
7833 resultobj = PyInt_FromLong((long)result);
7834 return resultobj;
7835 fail:
7836 return NULL;
7837 }
7838
7839
7840 static PyObject *_wrap_Grid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
7841 PyObject *resultobj;
7842 wxGrid *arg1 = (wxGrid *) 0 ;
7843 PyObject * obj0 = 0 ;
7844 char *kwnames[] = {
7845 (char *) "self", NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ForceRefresh",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 (arg1)->ForceRefresh();
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 Py_INCREF(Py_None); resultobj = Py_None;
7858 return resultobj;
7859 fail:
7860 return NULL;
7861 }
7862
7863
7864 static PyObject *_wrap_Grid_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj;
7866 wxGrid *arg1 = (wxGrid *) 0 ;
7867 bool arg2 = (bool) True ;
7868 wxRect *arg3 = (wxRect *) NULL ;
7869 PyObject * obj0 = 0 ;
7870 PyObject * obj1 = 0 ;
7871 PyObject * obj2 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "self",(char *) "eraseb",(char *) "rect", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
7877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7878 if (obj1) {
7879 arg2 = PyInt_AsLong(obj1) ? true : false;
7880 if (PyErr_Occurred()) SWIG_fail;
7881 }
7882 if (obj2) {
7883 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7884 }
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 (arg1)->Refresh(arg2,(wxRect const *)arg3);
7888
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 Py_INCREF(Py_None); resultobj = Py_None;
7893 return resultobj;
7894 fail:
7895 return NULL;
7896 }
7897
7898
7899 static PyObject *_wrap_Grid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7900 PyObject *resultobj;
7901 wxGrid *arg1 = (wxGrid *) 0 ;
7902 bool result;
7903 PyObject * obj0 = 0 ;
7904 char *kwnames[] = {
7905 (char *) "self", NULL
7906 };
7907
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsEditable",kwnames,&obj0)) goto fail;
7909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 result = (bool)(arg1)->IsEditable();
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 resultobj = PyInt_FromLong((long)result);
7918 return resultobj;
7919 fail:
7920 return NULL;
7921 }
7922
7923
7924 static PyObject *_wrap_Grid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 wxGrid *arg1 = (wxGrid *) 0 ;
7927 bool arg2 ;
7928 PyObject * obj0 = 0 ;
7929 PyObject * obj1 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "self",(char *) "edit", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_EnableEditing",kwnames,&obj0,&obj1)) goto fail;
7935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7936 arg2 = PyInt_AsLong(obj1) ? true : false;
7937 if (PyErr_Occurred()) SWIG_fail;
7938 {
7939 PyThreadState* __tstate = wxPyBeginAllowThreads();
7940 (arg1)->EnableEditing(arg2);
7941
7942 wxPyEndAllowThreads(__tstate);
7943 if (PyErr_Occurred()) SWIG_fail;
7944 }
7945 Py_INCREF(Py_None); resultobj = Py_None;
7946 return resultobj;
7947 fail:
7948 return NULL;
7949 }
7950
7951
7952 static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7953 PyObject *resultobj;
7954 wxGrid *arg1 = (wxGrid *) 0 ;
7955 bool arg2 = (bool) True ;
7956 PyObject * obj0 = 0 ;
7957 PyObject * obj1 = 0 ;
7958 char *kwnames[] = {
7959 (char *) "self",(char *) "enable", NULL
7960 };
7961
7962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableCellEditControl",kwnames,&obj0,&obj1)) goto fail;
7963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7964 if (obj1) {
7965 arg2 = PyInt_AsLong(obj1) ? true : false;
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 (arg1)->EnableCellEditControl(arg2);
7971
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 }
7975 Py_INCREF(Py_None); resultobj = Py_None;
7976 return resultobj;
7977 fail:
7978 return NULL;
7979 }
7980
7981
7982 static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj;
7984 wxGrid *arg1 = (wxGrid *) 0 ;
7985 PyObject * obj0 = 0 ;
7986 char *kwnames[] = {
7987 (char *) "self", NULL
7988 };
7989
7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableCellEditControl",kwnames,&obj0)) goto fail;
7991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7992 {
7993 PyThreadState* __tstate = wxPyBeginAllowThreads();
7994 (arg1)->DisableCellEditControl();
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
8006 static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8007 PyObject *resultobj;
8008 wxGrid *arg1 = (wxGrid *) 0 ;
8009 bool result;
8010 PyObject * obj0 = 0 ;
8011 char *kwnames[] = {
8012 (char *) "self", NULL
8013 };
8014
8015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanEnableCellControl",kwnames,&obj0)) goto fail;
8016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 result = (bool)((wxGrid const *)arg1)->CanEnableCellControl();
8020
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 resultobj = PyInt_FromLong((long)result);
8025 return resultobj;
8026 fail:
8027 return NULL;
8028 }
8029
8030
8031 static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8032 PyObject *resultobj;
8033 wxGrid *arg1 = (wxGrid *) 0 ;
8034 bool result;
8035 PyObject * obj0 = 0 ;
8036 char *kwnames[] = {
8037 (char *) "self", NULL
8038 };
8039
8040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlEnabled",kwnames,&obj0)) goto fail;
8041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8042 {
8043 PyThreadState* __tstate = wxPyBeginAllowThreads();
8044 result = (bool)((wxGrid const *)arg1)->IsCellEditControlEnabled();
8045
8046 wxPyEndAllowThreads(__tstate);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 }
8049 resultobj = PyInt_FromLong((long)result);
8050 return resultobj;
8051 fail:
8052 return NULL;
8053 }
8054
8055
8056 static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8057 PyObject *resultobj;
8058 wxGrid *arg1 = (wxGrid *) 0 ;
8059 bool result;
8060 PyObject * obj0 = 0 ;
8061 char *kwnames[] = {
8062 (char *) "self", NULL
8063 };
8064
8065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlShown",kwnames,&obj0)) goto fail;
8066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8067 {
8068 PyThreadState* __tstate = wxPyBeginAllowThreads();
8069 result = (bool)((wxGrid const *)arg1)->IsCellEditControlShown();
8070
8071 wxPyEndAllowThreads(__tstate);
8072 if (PyErr_Occurred()) SWIG_fail;
8073 }
8074 resultobj = PyInt_FromLong((long)result);
8075 return resultobj;
8076 fail:
8077 return NULL;
8078 }
8079
8080
8081 static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
8082 PyObject *resultobj;
8083 wxGrid *arg1 = (wxGrid *) 0 ;
8084 bool result;
8085 PyObject * obj0 = 0 ;
8086 char *kwnames[] = {
8087 (char *) "self", NULL
8088 };
8089
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames,&obj0)) goto fail;
8091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8092 {
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 result = (bool)((wxGrid const *)arg1)->IsCurrentCellReadOnly();
8095
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 }
8099 resultobj = PyInt_FromLong((long)result);
8100 return resultobj;
8101 fail:
8102 return NULL;
8103 }
8104
8105
8106 static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8107 PyObject *resultobj;
8108 wxGrid *arg1 = (wxGrid *) 0 ;
8109 PyObject * obj0 = 0 ;
8110 char *kwnames[] = {
8111 (char *) "self", NULL
8112 };
8113
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ShowCellEditControl",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 (arg1)->ShowCellEditControl();
8119
8120 wxPyEndAllowThreads(__tstate);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 }
8123 Py_INCREF(Py_None); resultobj = Py_None;
8124 return resultobj;
8125 fail:
8126 return NULL;
8127 }
8128
8129
8130 static PyObject *_wrap_Grid_HideCellEditControl(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_HideCellEditControl",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)->HideCellEditControl();
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
8154 static PyObject *_wrap_Grid_SaveEditControlValue(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_SaveEditControlValue",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)->SaveEditControlValue();
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
8178 static PyObject *_wrap_Grid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8179 PyObject *resultobj;
8180 wxGrid *arg1 = (wxGrid *) 0 ;
8181 int arg2 ;
8182 int arg3 ;
8183 wxGridCellCoords result;
8184 PyObject * obj0 = 0 ;
8185 char *kwnames[] = {
8186 (char *) "self",(char *) "x",(char *) "y", NULL
8187 };
8188
8189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_XYToCell",kwnames,&obj0,&arg2,&arg3)) goto fail;
8190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8191 {
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
8193 result = wxGrid_XYToCell(arg1,arg2,arg3);
8194
8195 wxPyEndAllowThreads(__tstate);
8196 if (PyErr_Occurred()) SWIG_fail;
8197 }
8198 {
8199 wxGridCellCoords * resultptr;
8200 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
8201 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGridCellCoords, 1);
8202 }
8203 return resultobj;
8204 fail:
8205 return NULL;
8206 }
8207
8208
8209 static PyObject *_wrap_Grid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj;
8211 wxGrid *arg1 = (wxGrid *) 0 ;
8212 int arg2 ;
8213 int result;
8214 PyObject * obj0 = 0 ;
8215 char *kwnames[] = {
8216 (char *) "self",(char *) "y", NULL
8217 };
8218
8219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_YToRow",kwnames,&obj0,&arg2)) goto fail;
8220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8221 {
8222 PyThreadState* __tstate = wxPyBeginAllowThreads();
8223 result = (int)(arg1)->YToRow(arg2);
8224
8225 wxPyEndAllowThreads(__tstate);
8226 if (PyErr_Occurred()) SWIG_fail;
8227 }
8228 resultobj = PyInt_FromLong((long)result);
8229 return resultobj;
8230 fail:
8231 return NULL;
8232 }
8233
8234
8235 static PyObject *_wrap_Grid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8236 PyObject *resultobj;
8237 wxGrid *arg1 = (wxGrid *) 0 ;
8238 int arg2 ;
8239 int result;
8240 PyObject * obj0 = 0 ;
8241 char *kwnames[] = {
8242 (char *) "self",(char *) "x", NULL
8243 };
8244
8245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_XToCol",kwnames,&obj0,&arg2)) goto fail;
8246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8247 {
8248 PyThreadState* __tstate = wxPyBeginAllowThreads();
8249 result = (int)(arg1)->XToCol(arg2);
8250
8251 wxPyEndAllowThreads(__tstate);
8252 if (PyErr_Occurred()) SWIG_fail;
8253 }
8254 resultobj = PyInt_FromLong((long)result);
8255 return resultobj;
8256 fail:
8257 return NULL;
8258 }
8259
8260
8261 static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8262 PyObject *resultobj;
8263 wxGrid *arg1 = (wxGrid *) 0 ;
8264 int arg2 ;
8265 int result;
8266 PyObject * obj0 = 0 ;
8267 char *kwnames[] = {
8268 (char *) "self",(char *) "y", NULL
8269 };
8270
8271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_YToEdgeOfRow",kwnames,&obj0,&arg2)) goto fail;
8272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 result = (int)(arg1)->YToEdgeOfRow(arg2);
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 resultobj = PyInt_FromLong((long)result);
8281 return resultobj;
8282 fail:
8283 return NULL;
8284 }
8285
8286
8287 static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8288 PyObject *resultobj;
8289 wxGrid *arg1 = (wxGrid *) 0 ;
8290 int arg2 ;
8291 int result;
8292 PyObject * obj0 = 0 ;
8293 char *kwnames[] = {
8294 (char *) "self",(char *) "x", NULL
8295 };
8296
8297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_XToEdgeOfCol",kwnames,&obj0,&arg2)) goto fail;
8298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8299 {
8300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8301 result = (int)(arg1)->XToEdgeOfCol(arg2);
8302
8303 wxPyEndAllowThreads(__tstate);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
8306 resultobj = PyInt_FromLong((long)result);
8307 return resultobj;
8308 fail:
8309 return NULL;
8310 }
8311
8312
8313 static PyObject *_wrap_Grid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8314 PyObject *resultobj;
8315 wxGrid *arg1 = (wxGrid *) 0 ;
8316 int arg2 ;
8317 int arg3 ;
8318 wxRect result;
8319 PyObject * obj0 = 0 ;
8320 char *kwnames[] = {
8321 (char *) "self",(char *) "row",(char *) "col", NULL
8322 };
8323
8324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_CellToRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
8325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8326 {
8327 PyThreadState* __tstate = wxPyBeginAllowThreads();
8328 result = (arg1)->CellToRect(arg2,arg3);
8329
8330 wxPyEndAllowThreads(__tstate);
8331 if (PyErr_Occurred()) SWIG_fail;
8332 }
8333 {
8334 wxRect * resultptr;
8335 resultptr = new wxRect((wxRect &) result);
8336 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
8337 }
8338 return resultobj;
8339 fail:
8340 return NULL;
8341 }
8342
8343
8344 static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8345 PyObject *resultobj;
8346 wxGrid *arg1 = (wxGrid *) 0 ;
8347 int result;
8348 PyObject * obj0 = 0 ;
8349 char *kwnames[] = {
8350 (char *) "self", NULL
8351 };
8352
8353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorRow",kwnames,&obj0)) goto fail;
8354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8355 {
8356 PyThreadState* __tstate = wxPyBeginAllowThreads();
8357 result = (int)(arg1)->GetGridCursorRow();
8358
8359 wxPyEndAllowThreads(__tstate);
8360 if (PyErr_Occurred()) SWIG_fail;
8361 }
8362 resultobj = PyInt_FromLong((long)result);
8363 return resultobj;
8364 fail:
8365 return NULL;
8366 }
8367
8368
8369 static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8370 PyObject *resultobj;
8371 wxGrid *arg1 = (wxGrid *) 0 ;
8372 int result;
8373 PyObject * obj0 = 0 ;
8374 char *kwnames[] = {
8375 (char *) "self", NULL
8376 };
8377
8378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorCol",kwnames,&obj0)) goto fail;
8379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8380 {
8381 PyThreadState* __tstate = wxPyBeginAllowThreads();
8382 result = (int)(arg1)->GetGridCursorCol();
8383
8384 wxPyEndAllowThreads(__tstate);
8385 if (PyErr_Occurred()) SWIG_fail;
8386 }
8387 resultobj = PyInt_FromLong((long)result);
8388 return resultobj;
8389 fail:
8390 return NULL;
8391 }
8392
8393
8394 static PyObject *_wrap_Grid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8395 PyObject *resultobj;
8396 wxGrid *arg1 = (wxGrid *) 0 ;
8397 int arg2 ;
8398 int arg3 ;
8399 bool arg4 = (bool) True ;
8400 bool result;
8401 PyObject * obj0 = 0 ;
8402 PyObject * obj3 = 0 ;
8403 char *kwnames[] = {
8404 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
8405 };
8406
8407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Grid_IsVisible",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
8408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8409 if (obj3) {
8410 arg4 = PyInt_AsLong(obj3) ? true : false;
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 {
8414 PyThreadState* __tstate = wxPyBeginAllowThreads();
8415 result = (bool)(arg1)->IsVisible(arg2,arg3,arg4);
8416
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 resultobj = PyInt_FromLong((long)result);
8421 return resultobj;
8422 fail:
8423 return NULL;
8424 }
8425
8426
8427 static PyObject *_wrap_Grid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8428 PyObject *resultobj;
8429 wxGrid *arg1 = (wxGrid *) 0 ;
8430 int arg2 ;
8431 int arg3 ;
8432 PyObject * obj0 = 0 ;
8433 char *kwnames[] = {
8434 (char *) "self",(char *) "row",(char *) "col", NULL
8435 };
8436
8437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_MakeCellVisible",kwnames,&obj0,&arg2,&arg3)) goto fail;
8438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8439 {
8440 PyThreadState* __tstate = wxPyBeginAllowThreads();
8441 (arg1)->MakeCellVisible(arg2,arg3);
8442
8443 wxPyEndAllowThreads(__tstate);
8444 if (PyErr_Occurred()) SWIG_fail;
8445 }
8446 Py_INCREF(Py_None); resultobj = Py_None;
8447 return resultobj;
8448 fail:
8449 return NULL;
8450 }
8451
8452
8453 static PyObject *_wrap_Grid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8454 PyObject *resultobj;
8455 wxGrid *arg1 = (wxGrid *) 0 ;
8456 int arg2 ;
8457 int arg3 ;
8458 PyObject * obj0 = 0 ;
8459 char *kwnames[] = {
8460 (char *) "self",(char *) "row",(char *) "col", NULL
8461 };
8462
8463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetGridCursor",kwnames,&obj0,&arg2,&arg3)) goto fail;
8464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8465 {
8466 PyThreadState* __tstate = wxPyBeginAllowThreads();
8467 (arg1)->SetGridCursor(arg2,arg3);
8468
8469 wxPyEndAllowThreads(__tstate);
8470 if (PyErr_Occurred()) SWIG_fail;
8471 }
8472 Py_INCREF(Py_None); resultobj = Py_None;
8473 return resultobj;
8474 fail:
8475 return NULL;
8476 }
8477
8478
8479 static PyObject *_wrap_Grid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8480 PyObject *resultobj;
8481 wxGrid *arg1 = (wxGrid *) 0 ;
8482 bool arg2 ;
8483 bool result;
8484 PyObject * obj0 = 0 ;
8485 PyObject * obj1 = 0 ;
8486 char *kwnames[] = {
8487 (char *) "self",(char *) "expandSelection", NULL
8488 };
8489
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUp",kwnames,&obj0,&obj1)) goto fail;
8491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8492 arg2 = PyInt_AsLong(obj1) ? true : false;
8493 if (PyErr_Occurred()) SWIG_fail;
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 result = (bool)(arg1)->MoveCursorUp(arg2);
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
8501 resultobj = PyInt_FromLong((long)result);
8502 return resultobj;
8503 fail:
8504 return NULL;
8505 }
8506
8507
8508 static PyObject *_wrap_Grid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8509 PyObject *resultobj;
8510 wxGrid *arg1 = (wxGrid *) 0 ;
8511 bool arg2 ;
8512 bool result;
8513 PyObject * obj0 = 0 ;
8514 PyObject * obj1 = 0 ;
8515 char *kwnames[] = {
8516 (char *) "self",(char *) "expandSelection", NULL
8517 };
8518
8519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDown",kwnames,&obj0,&obj1)) goto fail;
8520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8521 arg2 = PyInt_AsLong(obj1) ? true : false;
8522 if (PyErr_Occurred()) SWIG_fail;
8523 {
8524 PyThreadState* __tstate = wxPyBeginAllowThreads();
8525 result = (bool)(arg1)->MoveCursorDown(arg2);
8526
8527 wxPyEndAllowThreads(__tstate);
8528 if (PyErr_Occurred()) SWIG_fail;
8529 }
8530 resultobj = PyInt_FromLong((long)result);
8531 return resultobj;
8532 fail:
8533 return NULL;
8534 }
8535
8536
8537 static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8538 PyObject *resultobj;
8539 wxGrid *arg1 = (wxGrid *) 0 ;
8540 bool arg2 ;
8541 bool result;
8542 PyObject * obj0 = 0 ;
8543 PyObject * obj1 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "self",(char *) "expandSelection", NULL
8546 };
8547
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeft",kwnames,&obj0,&obj1)) goto fail;
8549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8550 arg2 = PyInt_AsLong(obj1) ? true : false;
8551 if (PyErr_Occurred()) SWIG_fail;
8552 {
8553 PyThreadState* __tstate = wxPyBeginAllowThreads();
8554 result = (bool)(arg1)->MoveCursorLeft(arg2);
8555
8556 wxPyEndAllowThreads(__tstate);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 }
8559 resultobj = PyInt_FromLong((long)result);
8560 return resultobj;
8561 fail:
8562 return NULL;
8563 }
8564
8565
8566 static PyObject *_wrap_Grid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8567 PyObject *resultobj;
8568 wxGrid *arg1 = (wxGrid *) 0 ;
8569 bool arg2 ;
8570 bool result;
8571 PyObject * obj0 = 0 ;
8572 PyObject * obj1 = 0 ;
8573 char *kwnames[] = {
8574 (char *) "self",(char *) "expandSelection", NULL
8575 };
8576
8577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRight",kwnames,&obj0,&obj1)) goto fail;
8578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8579 arg2 = PyInt_AsLong(obj1) ? true : false;
8580 if (PyErr_Occurred()) SWIG_fail;
8581 {
8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
8583 result = (bool)(arg1)->MoveCursorRight(arg2);
8584
8585 wxPyEndAllowThreads(__tstate);
8586 if (PyErr_Occurred()) SWIG_fail;
8587 }
8588 resultobj = PyInt_FromLong((long)result);
8589 return resultobj;
8590 fail:
8591 return NULL;
8592 }
8593
8594
8595 static PyObject *_wrap_Grid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8596 PyObject *resultobj;
8597 wxGrid *arg1 = (wxGrid *) 0 ;
8598 bool result;
8599 PyObject * obj0 = 0 ;
8600 char *kwnames[] = {
8601 (char *) "self", NULL
8602 };
8603
8604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageDown",kwnames,&obj0)) goto fail;
8605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8606 {
8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
8608 result = (bool)(arg1)->MovePageDown();
8609
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 resultobj = PyInt_FromLong((long)result);
8614 return resultobj;
8615 fail:
8616 return NULL;
8617 }
8618
8619
8620 static PyObject *_wrap_Grid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8621 PyObject *resultobj;
8622 wxGrid *arg1 = (wxGrid *) 0 ;
8623 bool result;
8624 PyObject * obj0 = 0 ;
8625 char *kwnames[] = {
8626 (char *) "self", NULL
8627 };
8628
8629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageUp",kwnames,&obj0)) goto fail;
8630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8631 {
8632 PyThreadState* __tstate = wxPyBeginAllowThreads();
8633 result = (bool)(arg1)->MovePageUp();
8634
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
8638 resultobj = PyInt_FromLong((long)result);
8639 return resultobj;
8640 fail:
8641 return NULL;
8642 }
8643
8644
8645 static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8646 PyObject *resultobj;
8647 wxGrid *arg1 = (wxGrid *) 0 ;
8648 bool arg2 ;
8649 bool result;
8650 PyObject * obj0 = 0 ;
8651 PyObject * obj1 = 0 ;
8652 char *kwnames[] = {
8653 (char *) "self",(char *) "expandSelection", NULL
8654 };
8655
8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUpBlock",kwnames,&obj0,&obj1)) goto fail;
8657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8658 arg2 = PyInt_AsLong(obj1) ? true : false;
8659 if (PyErr_Occurred()) SWIG_fail;
8660 {
8661 PyThreadState* __tstate = wxPyBeginAllowThreads();
8662 result = (bool)(arg1)->MoveCursorUpBlock(arg2);
8663
8664 wxPyEndAllowThreads(__tstate);
8665 if (PyErr_Occurred()) SWIG_fail;
8666 }
8667 resultobj = PyInt_FromLong((long)result);
8668 return resultobj;
8669 fail:
8670 return NULL;
8671 }
8672
8673
8674 static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8675 PyObject *resultobj;
8676 wxGrid *arg1 = (wxGrid *) 0 ;
8677 bool arg2 ;
8678 bool result;
8679 PyObject * obj0 = 0 ;
8680 PyObject * obj1 = 0 ;
8681 char *kwnames[] = {
8682 (char *) "self",(char *) "expandSelection", NULL
8683 };
8684
8685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDownBlock",kwnames,&obj0,&obj1)) goto fail;
8686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8687 arg2 = PyInt_AsLong(obj1) ? true : false;
8688 if (PyErr_Occurred()) SWIG_fail;
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 result = (bool)(arg1)->MoveCursorDownBlock(arg2);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 resultobj = PyInt_FromLong((long)result);
8697 return resultobj;
8698 fail:
8699 return NULL;
8700 }
8701
8702
8703 static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8704 PyObject *resultobj;
8705 wxGrid *arg1 = (wxGrid *) 0 ;
8706 bool arg2 ;
8707 bool result;
8708 PyObject * obj0 = 0 ;
8709 PyObject * obj1 = 0 ;
8710 char *kwnames[] = {
8711 (char *) "self",(char *) "expandSelection", NULL
8712 };
8713
8714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames,&obj0,&obj1)) goto fail;
8715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8716 arg2 = PyInt_AsLong(obj1) ? true : false;
8717 if (PyErr_Occurred()) SWIG_fail;
8718 {
8719 PyThreadState* __tstate = wxPyBeginAllowThreads();
8720 result = (bool)(arg1)->MoveCursorLeftBlock(arg2);
8721
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 resultobj = PyInt_FromLong((long)result);
8726 return resultobj;
8727 fail:
8728 return NULL;
8729 }
8730
8731
8732 static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj;
8734 wxGrid *arg1 = (wxGrid *) 0 ;
8735 bool arg2 ;
8736 bool result;
8737 PyObject * obj0 = 0 ;
8738 PyObject * obj1 = 0 ;
8739 char *kwnames[] = {
8740 (char *) "self",(char *) "expandSelection", NULL
8741 };
8742
8743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRightBlock",kwnames,&obj0,&obj1)) goto fail;
8744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8745 arg2 = PyInt_AsLong(obj1) ? true : false;
8746 if (PyErr_Occurred()) SWIG_fail;
8747 {
8748 PyThreadState* __tstate = wxPyBeginAllowThreads();
8749 result = (bool)(arg1)->MoveCursorRightBlock(arg2);
8750
8751 wxPyEndAllowThreads(__tstate);
8752 if (PyErr_Occurred()) SWIG_fail;
8753 }
8754 resultobj = PyInt_FromLong((long)result);
8755 return resultobj;
8756 fail:
8757 return NULL;
8758 }
8759
8760
8761 static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8762 PyObject *resultobj;
8763 wxGrid *arg1 = (wxGrid *) 0 ;
8764 int result;
8765 PyObject * obj0 = 0 ;
8766 char *kwnames[] = {
8767 (char *) "self", NULL
8768 };
8769
8770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames,&obj0)) goto fail;
8771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8772 {
8773 PyThreadState* __tstate = wxPyBeginAllowThreads();
8774 result = (int)(arg1)->GetDefaultRowLabelSize();
8775
8776 wxPyEndAllowThreads(__tstate);
8777 if (PyErr_Occurred()) SWIG_fail;
8778 }
8779 resultobj = PyInt_FromLong((long)result);
8780 return resultobj;
8781 fail:
8782 return NULL;
8783 }
8784
8785
8786 static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8787 PyObject *resultobj;
8788 wxGrid *arg1 = (wxGrid *) 0 ;
8789 int result;
8790 PyObject * obj0 = 0 ;
8791 char *kwnames[] = {
8792 (char *) "self", NULL
8793 };
8794
8795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelSize",kwnames,&obj0)) goto fail;
8796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8797 {
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
8799 result = (int)(arg1)->GetRowLabelSize();
8800
8801 wxPyEndAllowThreads(__tstate);
8802 if (PyErr_Occurred()) SWIG_fail;
8803 }
8804 resultobj = PyInt_FromLong((long)result);
8805 return resultobj;
8806 fail:
8807 return NULL;
8808 }
8809
8810
8811 static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8812 PyObject *resultobj;
8813 wxGrid *arg1 = (wxGrid *) 0 ;
8814 int result;
8815 PyObject * obj0 = 0 ;
8816 char *kwnames[] = {
8817 (char *) "self", NULL
8818 };
8819
8820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColLabelSize",kwnames,&obj0)) goto fail;
8821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8822 {
8823 PyThreadState* __tstate = wxPyBeginAllowThreads();
8824 result = (int)(arg1)->GetDefaultColLabelSize();
8825
8826 wxPyEndAllowThreads(__tstate);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 }
8829 resultobj = PyInt_FromLong((long)result);
8830 return resultobj;
8831 fail:
8832 return NULL;
8833 }
8834
8835
8836 static PyObject *_wrap_Grid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8837 PyObject *resultobj;
8838 wxGrid *arg1 = (wxGrid *) 0 ;
8839 int result;
8840 PyObject * obj0 = 0 ;
8841 char *kwnames[] = {
8842 (char *) "self", NULL
8843 };
8844
8845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelSize",kwnames,&obj0)) goto fail;
8846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8847 {
8848 PyThreadState* __tstate = wxPyBeginAllowThreads();
8849 result = (int)(arg1)->GetColLabelSize();
8850
8851 wxPyEndAllowThreads(__tstate);
8852 if (PyErr_Occurred()) SWIG_fail;
8853 }
8854 resultobj = PyInt_FromLong((long)result);
8855 return resultobj;
8856 fail:
8857 return NULL;
8858 }
8859
8860
8861 static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8862 PyObject *resultobj;
8863 wxGrid *arg1 = (wxGrid *) 0 ;
8864 wxColour result;
8865 PyObject * obj0 = 0 ;
8866 char *kwnames[] = {
8867 (char *) "self", NULL
8868 };
8869
8870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelBackgroundColour",kwnames,&obj0)) goto fail;
8871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8872 {
8873 PyThreadState* __tstate = wxPyBeginAllowThreads();
8874 result = (arg1)->GetLabelBackgroundColour();
8875
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 }
8879 {
8880 wxColour * resultptr;
8881 resultptr = new wxColour((wxColour &) result);
8882 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
8883 }
8884 return resultobj;
8885 fail:
8886 return NULL;
8887 }
8888
8889
8890 static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8891 PyObject *resultobj;
8892 wxGrid *arg1 = (wxGrid *) 0 ;
8893 wxColour result;
8894 PyObject * obj0 = 0 ;
8895 char *kwnames[] = {
8896 (char *) "self", NULL
8897 };
8898
8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelTextColour",kwnames,&obj0)) goto fail;
8900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 result = (arg1)->GetLabelTextColour();
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 {
8909 wxColour * resultptr;
8910 resultptr = new wxColour((wxColour &) result);
8911 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
8912 }
8913 return resultobj;
8914 fail:
8915 return NULL;
8916 }
8917
8918
8919 static PyObject *_wrap_Grid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8920 PyObject *resultobj;
8921 wxGrid *arg1 = (wxGrid *) 0 ;
8922 wxFont result;
8923 PyObject * obj0 = 0 ;
8924 char *kwnames[] = {
8925 (char *) "self", NULL
8926 };
8927
8928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelFont",kwnames,&obj0)) goto fail;
8929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 result = (arg1)->GetLabelFont();
8933
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 {
8938 wxFont * resultptr;
8939 resultptr = new wxFont((wxFont &) result);
8940 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
8941 }
8942 return resultobj;
8943 fail:
8944 return NULL;
8945 }
8946
8947
8948 static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj;
8950 wxGrid *arg1 = (wxGrid *) 0 ;
8951 int *arg2 = (int *) 0 ;
8952 int *arg3 = (int *) 0 ;
8953 int temp2 ;
8954 int temp3 ;
8955 PyObject * obj0 = 0 ;
8956 char *kwnames[] = {
8957 (char *) "self", NULL
8958 };
8959
8960 arg2 = &temp2;
8961 arg3 = &temp3;
8962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelAlignment",kwnames,&obj0)) goto fail;
8963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 (arg1)->GetRowLabelAlignment(arg2,arg3);
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 Py_INCREF(Py_None); resultobj = Py_None;
8972 {
8973 PyObject *o = PyInt_FromLong((long) (*arg2));
8974 resultobj = t_output_helper(resultobj,o);
8975 }
8976 {
8977 PyObject *o = PyInt_FromLong((long) (*arg3));
8978 resultobj = t_output_helper(resultobj,o);
8979 }
8980 return resultobj;
8981 fail:
8982 return NULL;
8983 }
8984
8985
8986 static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8987 PyObject *resultobj;
8988 wxGrid *arg1 = (wxGrid *) 0 ;
8989 int *arg2 = (int *) 0 ;
8990 int *arg3 = (int *) 0 ;
8991 int temp2 ;
8992 int temp3 ;
8993 PyObject * obj0 = 0 ;
8994 char *kwnames[] = {
8995 (char *) "self", NULL
8996 };
8997
8998 arg2 = &temp2;
8999 arg3 = &temp3;
9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelAlignment",kwnames,&obj0)) goto fail;
9001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9002 {
9003 PyThreadState* __tstate = wxPyBeginAllowThreads();
9004 (arg1)->GetColLabelAlignment(arg2,arg3);
9005
9006 wxPyEndAllowThreads(__tstate);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 Py_INCREF(Py_None); resultobj = Py_None;
9010 {
9011 PyObject *o = PyInt_FromLong((long) (*arg2));
9012 resultobj = t_output_helper(resultobj,o);
9013 }
9014 {
9015 PyObject *o = PyInt_FromLong((long) (*arg3));
9016 resultobj = t_output_helper(resultobj,o);
9017 }
9018 return resultobj;
9019 fail:
9020 return NULL;
9021 }
9022
9023
9024 static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
9025 PyObject *resultobj;
9026 wxGrid *arg1 = (wxGrid *) 0 ;
9027 int result;
9028 PyObject * obj0 = 0 ;
9029 char *kwnames[] = {
9030 (char *) "self", NULL
9031 };
9032
9033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelTextOrientation",kwnames,&obj0)) goto fail;
9034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9035 {
9036 PyThreadState* __tstate = wxPyBeginAllowThreads();
9037 result = (int)(arg1)->GetColLabelTextOrientation();
9038
9039 wxPyEndAllowThreads(__tstate);
9040 if (PyErr_Occurred()) SWIG_fail;
9041 }
9042 resultobj = PyInt_FromLong((long)result);
9043 return resultobj;
9044 fail:
9045 return NULL;
9046 }
9047
9048
9049 static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9050 PyObject *resultobj;
9051 wxGrid *arg1 = (wxGrid *) 0 ;
9052 int arg2 ;
9053 wxString result;
9054 PyObject * obj0 = 0 ;
9055 char *kwnames[] = {
9056 (char *) "self",(char *) "row", NULL
9057 };
9058
9059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_GetRowLabelValue",kwnames,&obj0,&arg2)) goto fail;
9060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 result = (arg1)->GetRowLabelValue(arg2);
9064
9065 wxPyEndAllowThreads(__tstate);
9066 if (PyErr_Occurred()) SWIG_fail;
9067 }
9068 {
9069 #if wxUSE_UNICODE
9070 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9071 #else
9072 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9073 #endif
9074 }
9075 return resultobj;
9076 fail:
9077 return NULL;
9078 }
9079
9080
9081 static PyObject *_wrap_Grid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9082 PyObject *resultobj;
9083 wxGrid *arg1 = (wxGrid *) 0 ;
9084 int arg2 ;
9085 wxString result;
9086 PyObject * obj0 = 0 ;
9087 char *kwnames[] = {
9088 (char *) "self",(char *) "col", NULL
9089 };
9090
9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_GetColLabelValue",kwnames,&obj0,&arg2)) goto fail;
9092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 result = (arg1)->GetColLabelValue(arg2);
9096
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 }
9100 {
9101 #if wxUSE_UNICODE
9102 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9103 #else
9104 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9105 #endif
9106 }
9107 return resultobj;
9108 fail:
9109 return NULL;
9110 }
9111
9112
9113 static PyObject *_wrap_Grid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj;
9115 wxGrid *arg1 = (wxGrid *) 0 ;
9116 wxColour result;
9117 PyObject * obj0 = 0 ;
9118 char *kwnames[] = {
9119 (char *) "self", NULL
9120 };
9121
9122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridLineColour",kwnames,&obj0)) goto fail;
9123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9124 {
9125 PyThreadState* __tstate = wxPyBeginAllowThreads();
9126 result = (arg1)->GetGridLineColour();
9127
9128 wxPyEndAllowThreads(__tstate);
9129 if (PyErr_Occurred()) SWIG_fail;
9130 }
9131 {
9132 wxColour * resultptr;
9133 resultptr = new wxColour((wxColour &) result);
9134 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9135 }
9136 return resultobj;
9137 fail:
9138 return NULL;
9139 }
9140
9141
9142 static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj;
9144 wxGrid *arg1 = (wxGrid *) 0 ;
9145 wxColour result;
9146 PyObject * obj0 = 0 ;
9147 char *kwnames[] = {
9148 (char *) "self", NULL
9149 };
9150
9151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightColour",kwnames,&obj0)) goto fail;
9152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9153 {
9154 PyThreadState* __tstate = wxPyBeginAllowThreads();
9155 result = (arg1)->GetCellHighlightColour();
9156
9157 wxPyEndAllowThreads(__tstate);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 }
9160 {
9161 wxColour * resultptr;
9162 resultptr = new wxColour((wxColour &) result);
9163 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9164 }
9165 return resultobj;
9166 fail:
9167 return NULL;
9168 }
9169
9170
9171 static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9172 PyObject *resultobj;
9173 wxGrid *arg1 = (wxGrid *) 0 ;
9174 int result;
9175 PyObject * obj0 = 0 ;
9176 char *kwnames[] = {
9177 (char *) "self", NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames,&obj0)) goto fail;
9181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9182 {
9183 PyThreadState* __tstate = wxPyBeginAllowThreads();
9184 result = (int)(arg1)->GetCellHighlightPenWidth();
9185
9186 wxPyEndAllowThreads(__tstate);
9187 if (PyErr_Occurred()) SWIG_fail;
9188 }
9189 resultobj = PyInt_FromLong((long)result);
9190 return resultobj;
9191 fail:
9192 return NULL;
9193 }
9194
9195
9196 static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9197 PyObject *resultobj;
9198 wxGrid *arg1 = (wxGrid *) 0 ;
9199 int result;
9200 PyObject * obj0 = 0 ;
9201 char *kwnames[] = {
9202 (char *) "self", NULL
9203 };
9204
9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames,&obj0)) goto fail;
9206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
9209 result = (int)(arg1)->GetCellHighlightROPenWidth();
9210
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 }
9214 resultobj = PyInt_FromLong((long)result);
9215 return resultobj;
9216 fail:
9217 return NULL;
9218 }
9219
9220
9221 static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9222 PyObject *resultobj;
9223 wxGrid *arg1 = (wxGrid *) 0 ;
9224 int arg2 ;
9225 PyObject * obj0 = 0 ;
9226 char *kwnames[] = {
9227 (char *) "self",(char *) "width", NULL
9228 };
9229
9230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetRowLabelSize",kwnames,&obj0,&arg2)) goto fail;
9231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9232 {
9233 PyThreadState* __tstate = wxPyBeginAllowThreads();
9234 (arg1)->SetRowLabelSize(arg2);
9235
9236 wxPyEndAllowThreads(__tstate);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 }
9239 Py_INCREF(Py_None); resultobj = Py_None;
9240 return resultobj;
9241 fail:
9242 return NULL;
9243 }
9244
9245
9246 static PyObject *_wrap_Grid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9247 PyObject *resultobj;
9248 wxGrid *arg1 = (wxGrid *) 0 ;
9249 int arg2 ;
9250 PyObject * obj0 = 0 ;
9251 char *kwnames[] = {
9252 (char *) "self",(char *) "height", NULL
9253 };
9254
9255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetColLabelSize",kwnames,&obj0,&arg2)) goto fail;
9256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
9259 (arg1)->SetColLabelSize(arg2);
9260
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 Py_INCREF(Py_None); resultobj = Py_None;
9265 return resultobj;
9266 fail:
9267 return NULL;
9268 }
9269
9270
9271 static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9272 PyObject *resultobj;
9273 wxGrid *arg1 = (wxGrid *) 0 ;
9274 wxColour *arg2 = 0 ;
9275 wxColour temp2 ;
9276 PyObject * obj0 = 0 ;
9277 PyObject * obj1 = 0 ;
9278 char *kwnames[] = {
9279 (char *) "self","arg2", NULL
9280 };
9281
9282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
9283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9284 {
9285 arg2 = &temp2;
9286 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9287 }
9288 {
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 (arg1)->SetLabelBackgroundColour((wxColour const &)*arg2);
9291
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 Py_INCREF(Py_None); resultobj = Py_None;
9296 return resultobj;
9297 fail:
9298 return NULL;
9299 }
9300
9301
9302 static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9303 PyObject *resultobj;
9304 wxGrid *arg1 = (wxGrid *) 0 ;
9305 wxColour *arg2 = 0 ;
9306 wxColour temp2 ;
9307 PyObject * obj0 = 0 ;
9308 PyObject * obj1 = 0 ;
9309 char *kwnames[] = {
9310 (char *) "self","arg2", NULL
9311 };
9312
9313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelTextColour",kwnames,&obj0,&obj1)) goto fail;
9314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9315 {
9316 arg2 = &temp2;
9317 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9318 }
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 (arg1)->SetLabelTextColour((wxColour const &)*arg2);
9322
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 Py_INCREF(Py_None); resultobj = Py_None;
9327 return resultobj;
9328 fail:
9329 return NULL;
9330 }
9331
9332
9333 static PyObject *_wrap_Grid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9334 PyObject *resultobj;
9335 wxGrid *arg1 = (wxGrid *) 0 ;
9336 wxFont *arg2 = 0 ;
9337 PyObject * obj0 = 0 ;
9338 PyObject * obj1 = 0 ;
9339 char *kwnames[] = {
9340 (char *) "self","arg2", NULL
9341 };
9342
9343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelFont",kwnames,&obj0,&obj1)) goto fail;
9344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9346 if (arg2 == NULL) {
9347 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9348 }
9349 {
9350 PyThreadState* __tstate = wxPyBeginAllowThreads();
9351 (arg1)->SetLabelFont((wxFont const &)*arg2);
9352
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 Py_INCREF(Py_None); resultobj = Py_None;
9357 return resultobj;
9358 fail:
9359 return NULL;
9360 }
9361
9362
9363 static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9364 PyObject *resultobj;
9365 wxGrid *arg1 = (wxGrid *) 0 ;
9366 int arg2 ;
9367 int arg3 ;
9368 PyObject * obj0 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "self",(char *) "horiz",(char *) "vert", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetRowLabelAlignment",kwnames,&obj0,&arg2,&arg3)) goto fail;
9374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9375 {
9376 PyThreadState* __tstate = wxPyBeginAllowThreads();
9377 (arg1)->SetRowLabelAlignment(arg2,arg3);
9378
9379 wxPyEndAllowThreads(__tstate);
9380 if (PyErr_Occurred()) SWIG_fail;
9381 }
9382 Py_INCREF(Py_None); resultobj = Py_None;
9383 return resultobj;
9384 fail:
9385 return NULL;
9386 }
9387
9388
9389 static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9390 PyObject *resultobj;
9391 wxGrid *arg1 = (wxGrid *) 0 ;
9392 int arg2 ;
9393 int arg3 ;
9394 PyObject * obj0 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "self",(char *) "horiz",(char *) "vert", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetColLabelAlignment",kwnames,&obj0,&arg2,&arg3)) goto fail;
9400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9401 {
9402 PyThreadState* __tstate = wxPyBeginAllowThreads();
9403 (arg1)->SetColLabelAlignment(arg2,arg3);
9404
9405 wxPyEndAllowThreads(__tstate);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 }
9408 Py_INCREF(Py_None); resultobj = Py_None;
9409 return resultobj;
9410 fail:
9411 return NULL;
9412 }
9413
9414
9415 static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
9416 PyObject *resultobj;
9417 wxGrid *arg1 = (wxGrid *) 0 ;
9418 int arg2 ;
9419 PyObject * obj0 = 0 ;
9420 char *kwnames[] = {
9421 (char *) "self",(char *) "textOrientation", NULL
9422 };
9423
9424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetColLabelTextOrientation",kwnames,&obj0,&arg2)) goto fail;
9425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9426 {
9427 PyThreadState* __tstate = wxPyBeginAllowThreads();
9428 (arg1)->SetColLabelTextOrientation(arg2);
9429
9430 wxPyEndAllowThreads(__tstate);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 }
9433 Py_INCREF(Py_None); resultobj = Py_None;
9434 return resultobj;
9435 fail:
9436 return NULL;
9437 }
9438
9439
9440 static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9441 PyObject *resultobj;
9442 wxGrid *arg1 = (wxGrid *) 0 ;
9443 int arg2 ;
9444 wxString *arg3 = 0 ;
9445 bool temp3 = False ;
9446 PyObject * obj0 = 0 ;
9447 PyObject * obj2 = 0 ;
9448 char *kwnames[] = {
9449 (char *) "self",(char *) "row","arg3", NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Grid_SetRowLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail;
9453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9454 {
9455 arg3 = wxString_in_helper(obj2);
9456 if (arg3 == NULL) SWIG_fail;
9457 temp3 = True;
9458 }
9459 {
9460 PyThreadState* __tstate = wxPyBeginAllowThreads();
9461 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
9462
9463 wxPyEndAllowThreads(__tstate);
9464 if (PyErr_Occurred()) SWIG_fail;
9465 }
9466 Py_INCREF(Py_None); resultobj = Py_None;
9467 {
9468 if (temp3)
9469 delete arg3;
9470 }
9471 return resultobj;
9472 fail:
9473 {
9474 if (temp3)
9475 delete arg3;
9476 }
9477 return NULL;
9478 }
9479
9480
9481 static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9482 PyObject *resultobj;
9483 wxGrid *arg1 = (wxGrid *) 0 ;
9484 int arg2 ;
9485 wxString *arg3 = 0 ;
9486 bool temp3 = False ;
9487 PyObject * obj0 = 0 ;
9488 PyObject * obj2 = 0 ;
9489 char *kwnames[] = {
9490 (char *) "self",(char *) "col","arg3", NULL
9491 };
9492
9493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Grid_SetColLabelValue",kwnames,&obj0,&arg2,&obj2)) goto fail;
9494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9495 {
9496 arg3 = wxString_in_helper(obj2);
9497 if (arg3 == NULL) SWIG_fail;
9498 temp3 = True;
9499 }
9500 {
9501 PyThreadState* __tstate = wxPyBeginAllowThreads();
9502 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
9503
9504 wxPyEndAllowThreads(__tstate);
9505 if (PyErr_Occurred()) SWIG_fail;
9506 }
9507 Py_INCREF(Py_None); resultobj = Py_None;
9508 {
9509 if (temp3)
9510 delete arg3;
9511 }
9512 return resultobj;
9513 fail:
9514 {
9515 if (temp3)
9516 delete arg3;
9517 }
9518 return NULL;
9519 }
9520
9521
9522 static PyObject *_wrap_Grid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9523 PyObject *resultobj;
9524 wxGrid *arg1 = (wxGrid *) 0 ;
9525 wxColour *arg2 = 0 ;
9526 wxColour temp2 ;
9527 PyObject * obj0 = 0 ;
9528 PyObject * obj1 = 0 ;
9529 char *kwnames[] = {
9530 (char *) "self","arg2", NULL
9531 };
9532
9533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetGridLineColour",kwnames,&obj0,&obj1)) goto fail;
9534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9535 {
9536 arg2 = &temp2;
9537 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9538 }
9539 {
9540 PyThreadState* __tstate = wxPyBeginAllowThreads();
9541 (arg1)->SetGridLineColour((wxColour const &)*arg2);
9542
9543 wxPyEndAllowThreads(__tstate);
9544 if (PyErr_Occurred()) SWIG_fail;
9545 }
9546 Py_INCREF(Py_None); resultobj = Py_None;
9547 return resultobj;
9548 fail:
9549 return NULL;
9550 }
9551
9552
9553 static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9554 PyObject *resultobj;
9555 wxGrid *arg1 = (wxGrid *) 0 ;
9556 wxColour *arg2 = 0 ;
9557 wxColour temp2 ;
9558 PyObject * obj0 = 0 ;
9559 PyObject * obj1 = 0 ;
9560 char *kwnames[] = {
9561 (char *) "self","arg2", NULL
9562 };
9563
9564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightColour",kwnames,&obj0,&obj1)) goto fail;
9565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9566 {
9567 arg2 = &temp2;
9568 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9569 }
9570 {
9571 PyThreadState* __tstate = wxPyBeginAllowThreads();
9572 (arg1)->SetCellHighlightColour((wxColour const &)*arg2);
9573
9574 wxPyEndAllowThreads(__tstate);
9575 if (PyErr_Occurred()) SWIG_fail;
9576 }
9577 Py_INCREF(Py_None); resultobj = Py_None;
9578 return resultobj;
9579 fail:
9580 return NULL;
9581 }
9582
9583
9584 static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9585 PyObject *resultobj;
9586 wxGrid *arg1 = (wxGrid *) 0 ;
9587 int arg2 ;
9588 PyObject * obj0 = 0 ;
9589 char *kwnames[] = {
9590 (char *) "self",(char *) "width", NULL
9591 };
9592
9593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetCellHighlightPenWidth",kwnames,&obj0,&arg2)) goto fail;
9594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9595 {
9596 PyThreadState* __tstate = wxPyBeginAllowThreads();
9597 (arg1)->SetCellHighlightPenWidth(arg2);
9598
9599 wxPyEndAllowThreads(__tstate);
9600 if (PyErr_Occurred()) SWIG_fail;
9601 }
9602 Py_INCREF(Py_None); resultobj = Py_None;
9603 return resultobj;
9604 fail:
9605 return NULL;
9606 }
9607
9608
9609 static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9610 PyObject *resultobj;
9611 wxGrid *arg1 = (wxGrid *) 0 ;
9612 int arg2 ;
9613 PyObject * obj0 = 0 ;
9614 char *kwnames[] = {
9615 (char *) "self",(char *) "width", NULL
9616 };
9617
9618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetCellHighlightROPenWidth",kwnames,&obj0,&arg2)) goto fail;
9619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9620 {
9621 PyThreadState* __tstate = wxPyBeginAllowThreads();
9622 (arg1)->SetCellHighlightROPenWidth(arg2);
9623
9624 wxPyEndAllowThreads(__tstate);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 Py_INCREF(Py_None); resultobj = Py_None;
9628 return resultobj;
9629 fail:
9630 return NULL;
9631 }
9632
9633
9634 static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9635 PyObject *resultobj;
9636 wxGrid *arg1 = (wxGrid *) 0 ;
9637 bool arg2 = (bool) True ;
9638 PyObject * obj0 = 0 ;
9639 PyObject * obj1 = 0 ;
9640 char *kwnames[] = {
9641 (char *) "self",(char *) "enable", NULL
9642 };
9643
9644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragRowSize",kwnames,&obj0,&obj1)) goto fail;
9645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9646 if (obj1) {
9647 arg2 = PyInt_AsLong(obj1) ? true : false;
9648 if (PyErr_Occurred()) SWIG_fail;
9649 }
9650 {
9651 PyThreadState* __tstate = wxPyBeginAllowThreads();
9652 (arg1)->EnableDragRowSize(arg2);
9653
9654 wxPyEndAllowThreads(__tstate);
9655 if (PyErr_Occurred()) SWIG_fail;
9656 }
9657 Py_INCREF(Py_None); resultobj = Py_None;
9658 return resultobj;
9659 fail:
9660 return NULL;
9661 }
9662
9663
9664 static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9665 PyObject *resultobj;
9666 wxGrid *arg1 = (wxGrid *) 0 ;
9667 PyObject * obj0 = 0 ;
9668 char *kwnames[] = {
9669 (char *) "self", NULL
9670 };
9671
9672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragRowSize",kwnames,&obj0)) goto fail;
9673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 (arg1)->DisableDragRowSize();
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
9688 static PyObject *_wrap_Grid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9689 PyObject *resultobj;
9690 wxGrid *arg1 = (wxGrid *) 0 ;
9691 bool result;
9692 PyObject * obj0 = 0 ;
9693 char *kwnames[] = {
9694 (char *) "self", NULL
9695 };
9696
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragRowSize",kwnames,&obj0)) goto fail;
9698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9699 {
9700 PyThreadState* __tstate = wxPyBeginAllowThreads();
9701 result = (bool)(arg1)->CanDragRowSize();
9702
9703 wxPyEndAllowThreads(__tstate);
9704 if (PyErr_Occurred()) SWIG_fail;
9705 }
9706 resultobj = PyInt_FromLong((long)result);
9707 return resultobj;
9708 fail:
9709 return NULL;
9710 }
9711
9712
9713 static PyObject *_wrap_Grid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9714 PyObject *resultobj;
9715 wxGrid *arg1 = (wxGrid *) 0 ;
9716 bool arg2 = (bool) True ;
9717 PyObject * obj0 = 0 ;
9718 PyObject * obj1 = 0 ;
9719 char *kwnames[] = {
9720 (char *) "self",(char *) "enable", NULL
9721 };
9722
9723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragColSize",kwnames,&obj0,&obj1)) goto fail;
9724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9725 if (obj1) {
9726 arg2 = PyInt_AsLong(obj1) ? true : false;
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 {
9730 PyThreadState* __tstate = wxPyBeginAllowThreads();
9731 (arg1)->EnableDragColSize(arg2);
9732
9733 wxPyEndAllowThreads(__tstate);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 }
9736 Py_INCREF(Py_None); resultobj = Py_None;
9737 return resultobj;
9738 fail:
9739 return NULL;
9740 }
9741
9742
9743 static PyObject *_wrap_Grid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9744 PyObject *resultobj;
9745 wxGrid *arg1 = (wxGrid *) 0 ;
9746 PyObject * obj0 = 0 ;
9747 char *kwnames[] = {
9748 (char *) "self", NULL
9749 };
9750
9751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragColSize",kwnames,&obj0)) goto fail;
9752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 (arg1)->DisableDragColSize();
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
9767 static PyObject *_wrap_Grid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9768 PyObject *resultobj;
9769 wxGrid *arg1 = (wxGrid *) 0 ;
9770 bool result;
9771 PyObject * obj0 = 0 ;
9772 char *kwnames[] = {
9773 (char *) "self", NULL
9774 };
9775
9776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragColSize",kwnames,&obj0)) goto fail;
9777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9778 {
9779 PyThreadState* __tstate = wxPyBeginAllowThreads();
9780 result = (bool)(arg1)->CanDragColSize();
9781
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 }
9785 resultobj = PyInt_FromLong((long)result);
9786 return resultobj;
9787 fail:
9788 return NULL;
9789 }
9790
9791
9792 static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9793 PyObject *resultobj;
9794 wxGrid *arg1 = (wxGrid *) 0 ;
9795 bool arg2 = (bool) True ;
9796 PyObject * obj0 = 0 ;
9797 PyObject * obj1 = 0 ;
9798 char *kwnames[] = {
9799 (char *) "self",(char *) "enable", NULL
9800 };
9801
9802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragGridSize",kwnames,&obj0,&obj1)) goto fail;
9803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9804 if (obj1) {
9805 arg2 = PyInt_AsLong(obj1) ? true : false;
9806 if (PyErr_Occurred()) SWIG_fail;
9807 }
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 (arg1)->EnableDragGridSize(arg2);
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 Py_INCREF(Py_None); resultobj = Py_None;
9816 return resultobj;
9817 fail:
9818 return NULL;
9819 }
9820
9821
9822 static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9823 PyObject *resultobj;
9824 wxGrid *arg1 = (wxGrid *) 0 ;
9825 PyObject * obj0 = 0 ;
9826 char *kwnames[] = {
9827 (char *) "self", NULL
9828 };
9829
9830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragGridSize",kwnames,&obj0)) goto fail;
9831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9832 {
9833 PyThreadState* __tstate = wxPyBeginAllowThreads();
9834 (arg1)->DisableDragGridSize();
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
9846 static PyObject *_wrap_Grid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9847 PyObject *resultobj;
9848 wxGrid *arg1 = (wxGrid *) 0 ;
9849 bool result;
9850 PyObject * obj0 = 0 ;
9851 char *kwnames[] = {
9852 (char *) "self", NULL
9853 };
9854
9855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragGridSize",kwnames,&obj0)) goto fail;
9856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
9859 result = (bool)(arg1)->CanDragGridSize();
9860
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 }
9864 resultobj = PyInt_FromLong((long)result);
9865 return resultobj;
9866 fail:
9867 return NULL;
9868 }
9869
9870
9871 static PyObject *_wrap_Grid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9872 PyObject *resultobj;
9873 wxGrid *arg1 = (wxGrid *) 0 ;
9874 int arg2 ;
9875 int arg3 ;
9876 wxGridCellAttr *arg4 = (wxGridCellAttr *) 0 ;
9877 PyObject * obj0 = 0 ;
9878 PyObject * obj3 = 0 ;
9879 char *kwnames[] = {
9880 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
9881 };
9882
9883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetAttr",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
9884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9885 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 (arg1)->SetAttr(arg2,arg3,arg4);
9889
9890 wxPyEndAllowThreads(__tstate);
9891 if (PyErr_Occurred()) SWIG_fail;
9892 }
9893 Py_INCREF(Py_None); resultobj = Py_None;
9894 return resultobj;
9895 fail:
9896 return NULL;
9897 }
9898
9899
9900 static PyObject *_wrap_Grid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9901 PyObject *resultobj;
9902 wxGrid *arg1 = (wxGrid *) 0 ;
9903 int arg2 ;
9904 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
9905 PyObject * obj0 = 0 ;
9906 PyObject * obj2 = 0 ;
9907 char *kwnames[] = {
9908 (char *) "self",(char *) "row",(char *) "attr", NULL
9909 };
9910
9911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Grid_SetRowAttr",kwnames,&obj0,&arg2,&obj2)) goto fail;
9912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9913 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 (arg1)->SetRowAttr(arg2,arg3);
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 Py_INCREF(Py_None); resultobj = Py_None;
9922 return resultobj;
9923 fail:
9924 return NULL;
9925 }
9926
9927
9928 static PyObject *_wrap_Grid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxGrid *arg1 = (wxGrid *) 0 ;
9931 int arg2 ;
9932 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
9933 PyObject * obj0 = 0 ;
9934 PyObject * obj2 = 0 ;
9935 char *kwnames[] = {
9936 (char *) "self",(char *) "col",(char *) "attr", NULL
9937 };
9938
9939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Grid_SetColAttr",kwnames,&obj0,&arg2,&obj2)) goto fail;
9940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9941 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9942 {
9943 PyThreadState* __tstate = wxPyBeginAllowThreads();
9944 (arg1)->SetColAttr(arg2,arg3);
9945
9946 wxPyEndAllowThreads(__tstate);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 }
9949 Py_INCREF(Py_None); resultobj = Py_None;
9950 return resultobj;
9951 fail:
9952 return NULL;
9953 }
9954
9955
9956 static PyObject *_wrap_Grid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj;
9958 wxGrid *arg1 = (wxGrid *) 0 ;
9959 int arg2 ;
9960 PyObject * obj0 = 0 ;
9961 char *kwnames[] = {
9962 (char *) "self",(char *) "col", NULL
9963 };
9964
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetColFormatBool",kwnames,&obj0,&arg2)) goto fail;
9966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 (arg1)->SetColFormatBool(arg2);
9970
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 Py_INCREF(Py_None); resultobj = Py_None;
9975 return resultobj;
9976 fail:
9977 return NULL;
9978 }
9979
9980
9981 static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
9982 PyObject *resultobj;
9983 wxGrid *arg1 = (wxGrid *) 0 ;
9984 int arg2 ;
9985 PyObject * obj0 = 0 ;
9986 char *kwnames[] = {
9987 (char *) "self",(char *) "col", NULL
9988 };
9989
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetColFormatNumber",kwnames,&obj0,&arg2)) goto fail;
9991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9992 {
9993 PyThreadState* __tstate = wxPyBeginAllowThreads();
9994 (arg1)->SetColFormatNumber(arg2);
9995
9996 wxPyEndAllowThreads(__tstate);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
9999 Py_INCREF(Py_None); resultobj = Py_None;
10000 return resultobj;
10001 fail:
10002 return NULL;
10003 }
10004
10005
10006 static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj;
10008 wxGrid *arg1 = (wxGrid *) 0 ;
10009 int arg2 ;
10010 int arg3 = (int) -1 ;
10011 int arg4 = (int) -1 ;
10012 PyObject * obj0 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:Grid_SetColFormatFloat",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 (arg1)->SetColFormatFloat(arg2,arg3,arg4);
10022
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
10026 Py_INCREF(Py_None); resultobj = Py_None;
10027 return resultobj;
10028 fail:
10029 return NULL;
10030 }
10031
10032
10033 static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
10034 PyObject *resultobj;
10035 wxGrid *arg1 = (wxGrid *) 0 ;
10036 int arg2 ;
10037 wxString *arg3 = 0 ;
10038 bool temp3 = False ;
10039 PyObject * obj0 = 0 ;
10040 PyObject * obj2 = 0 ;
10041 char *kwnames[] = {
10042 (char *) "self",(char *) "col",(char *) "typeName", NULL
10043 };
10044
10045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Grid_SetColFormatCustom",kwnames,&obj0,&arg2,&obj2)) goto fail;
10046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10047 {
10048 arg3 = wxString_in_helper(obj2);
10049 if (arg3 == NULL) SWIG_fail;
10050 temp3 = True;
10051 }
10052 {
10053 PyThreadState* __tstate = wxPyBeginAllowThreads();
10054 (arg1)->SetColFormatCustom(arg2,(wxString const &)*arg3);
10055
10056 wxPyEndAllowThreads(__tstate);
10057 if (PyErr_Occurred()) SWIG_fail;
10058 }
10059 Py_INCREF(Py_None); resultobj = Py_None;
10060 {
10061 if (temp3)
10062 delete arg3;
10063 }
10064 return resultobj;
10065 fail:
10066 {
10067 if (temp3)
10068 delete arg3;
10069 }
10070 return NULL;
10071 }
10072
10073
10074 static PyObject *_wrap_Grid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10075 PyObject *resultobj;
10076 wxGrid *arg1 = (wxGrid *) 0 ;
10077 bool arg2 = (bool) True ;
10078 PyObject * obj0 = 0 ;
10079 PyObject * obj1 = 0 ;
10080 char *kwnames[] = {
10081 (char *) "self",(char *) "enable", NULL
10082 };
10083
10084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableGridLines",kwnames,&obj0,&obj1)) goto fail;
10085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10086 if (obj1) {
10087 arg2 = PyInt_AsLong(obj1) ? true : false;
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 {
10091 PyThreadState* __tstate = wxPyBeginAllowThreads();
10092 (arg1)->EnableGridLines(arg2);
10093
10094 wxPyEndAllowThreads(__tstate);
10095 if (PyErr_Occurred()) SWIG_fail;
10096 }
10097 Py_INCREF(Py_None); resultobj = Py_None;
10098 return resultobj;
10099 fail:
10100 return NULL;
10101 }
10102
10103
10104 static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10105 PyObject *resultobj;
10106 wxGrid *arg1 = (wxGrid *) 0 ;
10107 bool result;
10108 PyObject * obj0 = 0 ;
10109 char *kwnames[] = {
10110 (char *) "self", NULL
10111 };
10112
10113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GridLinesEnabled",kwnames,&obj0)) goto fail;
10114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10115 {
10116 PyThreadState* __tstate = wxPyBeginAllowThreads();
10117 result = (bool)(arg1)->GridLinesEnabled();
10118
10119 wxPyEndAllowThreads(__tstate);
10120 if (PyErr_Occurred()) SWIG_fail;
10121 }
10122 resultobj = PyInt_FromLong((long)result);
10123 return resultobj;
10124 fail:
10125 return NULL;
10126 }
10127
10128
10129 static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10130 PyObject *resultobj;
10131 wxGrid *arg1 = (wxGrid *) 0 ;
10132 int result;
10133 PyObject * obj0 = 0 ;
10134 char *kwnames[] = {
10135 (char *) "self", NULL
10136 };
10137
10138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowSize",kwnames,&obj0)) goto fail;
10139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10140 {
10141 PyThreadState* __tstate = wxPyBeginAllowThreads();
10142 result = (int)(arg1)->GetDefaultRowSize();
10143
10144 wxPyEndAllowThreads(__tstate);
10145 if (PyErr_Occurred()) SWIG_fail;
10146 }
10147 resultobj = PyInt_FromLong((long)result);
10148 return resultobj;
10149 fail:
10150 return NULL;
10151 }
10152
10153
10154 static PyObject *_wrap_Grid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10155 PyObject *resultobj;
10156 wxGrid *arg1 = (wxGrid *) 0 ;
10157 int arg2 ;
10158 int result;
10159 PyObject * obj0 = 0 ;
10160 char *kwnames[] = {
10161 (char *) "self",(char *) "row", NULL
10162 };
10163
10164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_GetRowSize",kwnames,&obj0,&arg2)) goto fail;
10165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10166 {
10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
10168 result = (int)(arg1)->GetRowSize(arg2);
10169
10170 wxPyEndAllowThreads(__tstate);
10171 if (PyErr_Occurred()) SWIG_fail;
10172 }
10173 resultobj = PyInt_FromLong((long)result);
10174 return resultobj;
10175 fail:
10176 return NULL;
10177 }
10178
10179
10180 static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10181 PyObject *resultobj;
10182 wxGrid *arg1 = (wxGrid *) 0 ;
10183 int result;
10184 PyObject * obj0 = 0 ;
10185 char *kwnames[] = {
10186 (char *) "self", NULL
10187 };
10188
10189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColSize",kwnames,&obj0)) goto fail;
10190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10191 {
10192 PyThreadState* __tstate = wxPyBeginAllowThreads();
10193 result = (int)(arg1)->GetDefaultColSize();
10194
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
10198 resultobj = PyInt_FromLong((long)result);
10199 return resultobj;
10200 fail:
10201 return NULL;
10202 }
10203
10204
10205 static PyObject *_wrap_Grid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10206 PyObject *resultobj;
10207 wxGrid *arg1 = (wxGrid *) 0 ;
10208 int arg2 ;
10209 int result;
10210 PyObject * obj0 = 0 ;
10211 char *kwnames[] = {
10212 (char *) "self",(char *) "col", NULL
10213 };
10214
10215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_GetColSize",kwnames,&obj0,&arg2)) goto fail;
10216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10217 {
10218 PyThreadState* __tstate = wxPyBeginAllowThreads();
10219 result = (int)(arg1)->GetColSize(arg2);
10220
10221 wxPyEndAllowThreads(__tstate);
10222 if (PyErr_Occurred()) SWIG_fail;
10223 }
10224 resultobj = PyInt_FromLong((long)result);
10225 return resultobj;
10226 fail:
10227 return NULL;
10228 }
10229
10230
10231 static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10232 PyObject *resultobj;
10233 wxGrid *arg1 = (wxGrid *) 0 ;
10234 wxColour result;
10235 PyObject * obj0 = 0 ;
10236 char *kwnames[] = {
10237 (char *) "self", NULL
10238 };
10239
10240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames,&obj0)) goto fail;
10241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 result = (arg1)->GetDefaultCellBackgroundColour();
10245
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
10249 {
10250 wxColour * resultptr;
10251 resultptr = new wxColour((wxColour &) result);
10252 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10253 }
10254 return resultobj;
10255 fail:
10256 return NULL;
10257 }
10258
10259
10260 static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10261 PyObject *resultobj;
10262 wxGrid *arg1 = (wxGrid *) 0 ;
10263 int arg2 ;
10264 int arg3 ;
10265 wxColour result;
10266 PyObject * obj0 = 0 ;
10267 char *kwnames[] = {
10268 (char *) "self",(char *) "row",(char *) "col", NULL
10269 };
10270
10271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellBackgroundColour",kwnames,&obj0,&arg2,&arg3)) goto fail;
10272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 result = (arg1)->GetCellBackgroundColour(arg2,arg3);
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 {
10281 wxColour * resultptr;
10282 resultptr = new wxColour((wxColour &) result);
10283 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10284 }
10285 return resultobj;
10286 fail:
10287 return NULL;
10288 }
10289
10290
10291 static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10292 PyObject *resultobj;
10293 wxGrid *arg1 = (wxGrid *) 0 ;
10294 wxColour result;
10295 PyObject * obj0 = 0 ;
10296 char *kwnames[] = {
10297 (char *) "self", NULL
10298 };
10299
10300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellTextColour",kwnames,&obj0)) goto fail;
10301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10302 {
10303 PyThreadState* __tstate = wxPyBeginAllowThreads();
10304 result = (arg1)->GetDefaultCellTextColour();
10305
10306 wxPyEndAllowThreads(__tstate);
10307 if (PyErr_Occurred()) SWIG_fail;
10308 }
10309 {
10310 wxColour * resultptr;
10311 resultptr = new wxColour((wxColour &) result);
10312 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10313 }
10314 return resultobj;
10315 fail:
10316 return NULL;
10317 }
10318
10319
10320 static PyObject *_wrap_Grid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10321 PyObject *resultobj;
10322 wxGrid *arg1 = (wxGrid *) 0 ;
10323 int arg2 ;
10324 int arg3 ;
10325 wxColour result;
10326 PyObject * obj0 = 0 ;
10327 char *kwnames[] = {
10328 (char *) "self",(char *) "row",(char *) "col", NULL
10329 };
10330
10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellTextColour",kwnames,&obj0,&arg2,&arg3)) goto fail;
10332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10333 {
10334 PyThreadState* __tstate = wxPyBeginAllowThreads();
10335 result = (arg1)->GetCellTextColour(arg2,arg3);
10336
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 {
10341 wxColour * resultptr;
10342 resultptr = new wxColour((wxColour &) result);
10343 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10344 }
10345 return resultobj;
10346 fail:
10347 return NULL;
10348 }
10349
10350
10351 static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10352 PyObject *resultobj;
10353 wxGrid *arg1 = (wxGrid *) 0 ;
10354 wxFont result;
10355 PyObject * obj0 = 0 ;
10356 char *kwnames[] = {
10357 (char *) "self", NULL
10358 };
10359
10360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellFont",kwnames,&obj0)) goto fail;
10361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10362 {
10363 PyThreadState* __tstate = wxPyBeginAllowThreads();
10364 result = (arg1)->GetDefaultCellFont();
10365
10366 wxPyEndAllowThreads(__tstate);
10367 if (PyErr_Occurred()) SWIG_fail;
10368 }
10369 {
10370 wxFont * resultptr;
10371 resultptr = new wxFont((wxFont &) result);
10372 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
10373 }
10374 return resultobj;
10375 fail:
10376 return NULL;
10377 }
10378
10379
10380 static PyObject *_wrap_Grid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10381 PyObject *resultobj;
10382 wxGrid *arg1 = (wxGrid *) 0 ;
10383 int arg2 ;
10384 int arg3 ;
10385 wxFont result;
10386 PyObject * obj0 = 0 ;
10387 char *kwnames[] = {
10388 (char *) "self",(char *) "row",(char *) "col", NULL
10389 };
10390
10391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellFont",kwnames,&obj0,&arg2,&arg3)) goto fail;
10392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10393 {
10394 PyThreadState* __tstate = wxPyBeginAllowThreads();
10395 result = (arg1)->GetCellFont(arg2,arg3);
10396
10397 wxPyEndAllowThreads(__tstate);
10398 if (PyErr_Occurred()) SWIG_fail;
10399 }
10400 {
10401 wxFont * resultptr;
10402 resultptr = new wxFont((wxFont &) result);
10403 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
10404 }
10405 return resultobj;
10406 fail:
10407 return NULL;
10408 }
10409
10410
10411 static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10412 PyObject *resultobj;
10413 wxGrid *arg1 = (wxGrid *) 0 ;
10414 int *arg2 = (int *) 0 ;
10415 int *arg3 = (int *) 0 ;
10416 int temp2 ;
10417 int temp3 ;
10418 PyObject * obj0 = 0 ;
10419 char *kwnames[] = {
10420 (char *) "self", NULL
10421 };
10422
10423 arg2 = &temp2;
10424 arg3 = &temp3;
10425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellAlignment",kwnames,&obj0)) goto fail;
10426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10427 {
10428 PyThreadState* __tstate = wxPyBeginAllowThreads();
10429 (arg1)->GetDefaultCellAlignment(arg2,arg3);
10430
10431 wxPyEndAllowThreads(__tstate);
10432 if (PyErr_Occurred()) SWIG_fail;
10433 }
10434 Py_INCREF(Py_None); resultobj = Py_None;
10435 {
10436 PyObject *o = PyInt_FromLong((long) (*arg2));
10437 resultobj = t_output_helper(resultobj,o);
10438 }
10439 {
10440 PyObject *o = PyInt_FromLong((long) (*arg3));
10441 resultobj = t_output_helper(resultobj,o);
10442 }
10443 return resultobj;
10444 fail:
10445 return NULL;
10446 }
10447
10448
10449 static PyObject *_wrap_Grid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10450 PyObject *resultobj;
10451 wxGrid *arg1 = (wxGrid *) 0 ;
10452 int arg2 ;
10453 int arg3 ;
10454 int *arg4 = (int *) 0 ;
10455 int *arg5 = (int *) 0 ;
10456 int temp4 ;
10457 int temp5 ;
10458 PyObject * obj0 = 0 ;
10459 char *kwnames[] = {
10460 (char *) "self",(char *) "row",(char *) "col", NULL
10461 };
10462
10463 arg4 = &temp4;
10464 arg5 = &temp5;
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellAlignment",kwnames,&obj0,&arg2,&arg3)) goto fail;
10466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10467 {
10468 PyThreadState* __tstate = wxPyBeginAllowThreads();
10469 (arg1)->GetCellAlignment(arg2,arg3,arg4,arg5);
10470
10471 wxPyEndAllowThreads(__tstate);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
10474 Py_INCREF(Py_None); resultobj = Py_None;
10475 {
10476 PyObject *o = PyInt_FromLong((long) (*arg4));
10477 resultobj = t_output_helper(resultobj,o);
10478 }
10479 {
10480 PyObject *o = PyInt_FromLong((long) (*arg5));
10481 resultobj = t_output_helper(resultobj,o);
10482 }
10483 return resultobj;
10484 fail:
10485 return NULL;
10486 }
10487
10488
10489 static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
10490 PyObject *resultobj;
10491 wxGrid *arg1 = (wxGrid *) 0 ;
10492 bool result;
10493 PyObject * obj0 = 0 ;
10494 char *kwnames[] = {
10495 (char *) "self", NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellOverflow",kwnames,&obj0)) goto fail;
10499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 result = (bool)(arg1)->GetDefaultCellOverflow();
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 resultobj = PyInt_FromLong((long)result);
10508 return resultobj;
10509 fail:
10510 return NULL;
10511 }
10512
10513
10514 static PyObject *_wrap_Grid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
10515 PyObject *resultobj;
10516 wxGrid *arg1 = (wxGrid *) 0 ;
10517 int arg2 ;
10518 int arg3 ;
10519 bool result;
10520 PyObject * obj0 = 0 ;
10521 char *kwnames[] = {
10522 (char *) "self",(char *) "row",(char *) "col", NULL
10523 };
10524
10525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellOverflow",kwnames,&obj0,&arg2,&arg3)) goto fail;
10526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10527 {
10528 PyThreadState* __tstate = wxPyBeginAllowThreads();
10529 result = (bool)(arg1)->GetCellOverflow(arg2,arg3);
10530
10531 wxPyEndAllowThreads(__tstate);
10532 if (PyErr_Occurred()) SWIG_fail;
10533 }
10534 resultobj = PyInt_FromLong((long)result);
10535 return resultobj;
10536 fail:
10537 return NULL;
10538 }
10539
10540
10541 static PyObject *_wrap_Grid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10542 PyObject *resultobj;
10543 wxGrid *arg1 = (wxGrid *) 0 ;
10544 int arg2 ;
10545 int arg3 ;
10546 int *arg4 = (int *) 0 ;
10547 int *arg5 = (int *) 0 ;
10548 int temp4 ;
10549 int temp5 ;
10550 PyObject * obj0 = 0 ;
10551 char *kwnames[] = {
10552 (char *) "self",(char *) "row",(char *) "col", NULL
10553 };
10554
10555 arg4 = &temp4;
10556 arg5 = &temp5;
10557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 (arg1)->GetCellSize(arg2,arg3,arg4,arg5);
10562
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 Py_INCREF(Py_None); resultobj = Py_None;
10567 {
10568 PyObject *o = PyInt_FromLong((long) (*arg4));
10569 resultobj = t_output_helper(resultobj,o);
10570 }
10571 {
10572 PyObject *o = PyInt_FromLong((long) (*arg5));
10573 resultobj = t_output_helper(resultobj,o);
10574 }
10575 return resultobj;
10576 fail:
10577 return NULL;
10578 }
10579
10580
10581 static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10582 PyObject *resultobj;
10583 wxGrid *arg1 = (wxGrid *) 0 ;
10584 int arg2 ;
10585 bool arg3 = (bool) False ;
10586 PyObject * obj0 = 0 ;
10587 PyObject * obj2 = 0 ;
10588 char *kwnames[] = {
10589 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
10590 };
10591
10592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_SetDefaultRowSize",kwnames,&obj0,&arg2,&obj2)) goto fail;
10593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10594 if (obj2) {
10595 arg3 = PyInt_AsLong(obj2) ? true : false;
10596 if (PyErr_Occurred()) SWIG_fail;
10597 }
10598 {
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
10600 (arg1)->SetDefaultRowSize(arg2,arg3);
10601
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 }
10605 Py_INCREF(Py_None); resultobj = Py_None;
10606 return resultobj;
10607 fail:
10608 return NULL;
10609 }
10610
10611
10612 static PyObject *_wrap_Grid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10613 PyObject *resultobj;
10614 wxGrid *arg1 = (wxGrid *) 0 ;
10615 int arg2 ;
10616 int arg3 ;
10617 PyObject * obj0 = 0 ;
10618 char *kwnames[] = {
10619 (char *) "self",(char *) "row",(char *) "height", NULL
10620 };
10621
10622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetRowSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10624 {
10625 PyThreadState* __tstate = wxPyBeginAllowThreads();
10626 (arg1)->SetRowSize(arg2,arg3);
10627
10628 wxPyEndAllowThreads(__tstate);
10629 if (PyErr_Occurred()) SWIG_fail;
10630 }
10631 Py_INCREF(Py_None); resultobj = Py_None;
10632 return resultobj;
10633 fail:
10634 return NULL;
10635 }
10636
10637
10638 static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10639 PyObject *resultobj;
10640 wxGrid *arg1 = (wxGrid *) 0 ;
10641 int arg2 ;
10642 bool arg3 = (bool) False ;
10643 PyObject * obj0 = 0 ;
10644 PyObject * obj2 = 0 ;
10645 char *kwnames[] = {
10646 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
10647 };
10648
10649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_SetDefaultColSize",kwnames,&obj0,&arg2,&obj2)) goto fail;
10650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10651 if (obj2) {
10652 arg3 = PyInt_AsLong(obj2) ? true : false;
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 {
10656 PyThreadState* __tstate = wxPyBeginAllowThreads();
10657 (arg1)->SetDefaultColSize(arg2,arg3);
10658
10659 wxPyEndAllowThreads(__tstate);
10660 if (PyErr_Occurred()) SWIG_fail;
10661 }
10662 Py_INCREF(Py_None); resultobj = Py_None;
10663 return resultobj;
10664 fail:
10665 return NULL;
10666 }
10667
10668
10669 static PyObject *_wrap_Grid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10670 PyObject *resultobj;
10671 wxGrid *arg1 = (wxGrid *) 0 ;
10672 int arg2 ;
10673 int arg3 ;
10674 PyObject * obj0 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "self",(char *) "col",(char *) "width", NULL
10677 };
10678
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetColSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10681 {
10682 PyThreadState* __tstate = wxPyBeginAllowThreads();
10683 (arg1)->SetColSize(arg2,arg3);
10684
10685 wxPyEndAllowThreads(__tstate);
10686 if (PyErr_Occurred()) SWIG_fail;
10687 }
10688 Py_INCREF(Py_None); resultobj = Py_None;
10689 return resultobj;
10690 fail:
10691 return NULL;
10692 }
10693
10694
10695 static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10696 PyObject *resultobj;
10697 wxGrid *arg1 = (wxGrid *) 0 ;
10698 int arg2 ;
10699 bool arg3 = (bool) True ;
10700 PyObject * obj0 = 0 ;
10701 PyObject * obj2 = 0 ;
10702 char *kwnames[] = {
10703 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
10704 };
10705
10706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_AutoSizeColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
10707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10708 if (obj2) {
10709 arg3 = PyInt_AsLong(obj2) ? true : false;
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 (arg1)->AutoSizeColumn(arg2,arg3);
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 Py_INCREF(Py_None); resultobj = Py_None;
10720 return resultobj;
10721 fail:
10722 return NULL;
10723 }
10724
10725
10726 static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10727 PyObject *resultobj;
10728 wxGrid *arg1 = (wxGrid *) 0 ;
10729 int arg2 ;
10730 bool arg3 = (bool) True ;
10731 PyObject * obj0 = 0 ;
10732 PyObject * obj2 = 0 ;
10733 char *kwnames[] = {
10734 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
10735 };
10736
10737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_AutoSizeRow",kwnames,&obj0,&arg2,&obj2)) goto fail;
10738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10739 if (obj2) {
10740 arg3 = PyInt_AsLong(obj2) ? true : false;
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 {
10744 PyThreadState* __tstate = wxPyBeginAllowThreads();
10745 (arg1)->AutoSizeRow(arg2,arg3);
10746
10747 wxPyEndAllowThreads(__tstate);
10748 if (PyErr_Occurred()) SWIG_fail;
10749 }
10750 Py_INCREF(Py_None); resultobj = Py_None;
10751 return resultobj;
10752 fail:
10753 return NULL;
10754 }
10755
10756
10757 static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10758 PyObject *resultobj;
10759 wxGrid *arg1 = (wxGrid *) 0 ;
10760 bool arg2 = (bool) True ;
10761 PyObject * obj0 = 0 ;
10762 PyObject * obj1 = 0 ;
10763 char *kwnames[] = {
10764 (char *) "self",(char *) "setAsMin", NULL
10765 };
10766
10767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeColumns",kwnames,&obj0,&obj1)) goto fail;
10768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10769 if (obj1) {
10770 arg2 = PyInt_AsLong(obj1) ? true : false;
10771 if (PyErr_Occurred()) SWIG_fail;
10772 }
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 (arg1)->AutoSizeColumns(arg2);
10776
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 Py_INCREF(Py_None); resultobj = Py_None;
10781 return resultobj;
10782 fail:
10783 return NULL;
10784 }
10785
10786
10787 static PyObject *_wrap_Grid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
10788 PyObject *resultobj;
10789 wxGrid *arg1 = (wxGrid *) 0 ;
10790 bool arg2 = (bool) True ;
10791 PyObject * obj0 = 0 ;
10792 PyObject * obj1 = 0 ;
10793 char *kwnames[] = {
10794 (char *) "self",(char *) "setAsMin", NULL
10795 };
10796
10797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeRows",kwnames,&obj0,&obj1)) goto fail;
10798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10799 if (obj1) {
10800 arg2 = PyInt_AsLong(obj1) ? true : false;
10801 if (PyErr_Occurred()) SWIG_fail;
10802 }
10803 {
10804 PyThreadState* __tstate = wxPyBeginAllowThreads();
10805 (arg1)->AutoSizeRows(arg2);
10806
10807 wxPyEndAllowThreads(__tstate);
10808 if (PyErr_Occurred()) SWIG_fail;
10809 }
10810 Py_INCREF(Py_None); resultobj = Py_None;
10811 return resultobj;
10812 fail:
10813 return NULL;
10814 }
10815
10816
10817 static PyObject *_wrap_Grid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10818 PyObject *resultobj;
10819 wxGrid *arg1 = (wxGrid *) 0 ;
10820 PyObject * obj0 = 0 ;
10821 char *kwnames[] = {
10822 (char *) "self", NULL
10823 };
10824
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_AutoSize",kwnames,&obj0)) goto fail;
10826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10827 {
10828 PyThreadState* __tstate = wxPyBeginAllowThreads();
10829 (arg1)->AutoSize();
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
10841 static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10842 PyObject *resultobj;
10843 wxGrid *arg1 = (wxGrid *) 0 ;
10844 int arg2 ;
10845 PyObject * obj0 = 0 ;
10846 char *kwnames[] = {
10847 (char *) "self",(char *) "row", NULL
10848 };
10849
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_AutoSizeRowLabelSize",kwnames,&obj0,&arg2)) goto fail;
10851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10852 {
10853 PyThreadState* __tstate = wxPyBeginAllowThreads();
10854 (arg1)->AutoSizeRowLabelSize(arg2);
10855
10856 wxPyEndAllowThreads(__tstate);
10857 if (PyErr_Occurred()) SWIG_fail;
10858 }
10859 Py_INCREF(Py_None); resultobj = Py_None;
10860 return resultobj;
10861 fail:
10862 return NULL;
10863 }
10864
10865
10866 static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10867 PyObject *resultobj;
10868 wxGrid *arg1 = (wxGrid *) 0 ;
10869 int arg2 ;
10870 PyObject * obj0 = 0 ;
10871 char *kwnames[] = {
10872 (char *) "self",(char *) "col", NULL
10873 };
10874
10875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_AutoSizeColLabelSize",kwnames,&obj0,&arg2)) goto fail;
10876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10877 {
10878 PyThreadState* __tstate = wxPyBeginAllowThreads();
10879 (arg1)->AutoSizeColLabelSize(arg2);
10880
10881 wxPyEndAllowThreads(__tstate);
10882 if (PyErr_Occurred()) SWIG_fail;
10883 }
10884 Py_INCREF(Py_None); resultobj = Py_None;
10885 return resultobj;
10886 fail:
10887 return NULL;
10888 }
10889
10890
10891 static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10892 PyObject *resultobj;
10893 wxGrid *arg1 = (wxGrid *) 0 ;
10894 int arg2 ;
10895 int arg3 ;
10896 PyObject * obj0 = 0 ;
10897 char *kwnames[] = {
10898 (char *) "self",(char *) "col",(char *) "width", NULL
10899 };
10900
10901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetColMinimalWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
10902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10903 {
10904 PyThreadState* __tstate = wxPyBeginAllowThreads();
10905 (arg1)->SetColMinimalWidth(arg2,arg3);
10906
10907 wxPyEndAllowThreads(__tstate);
10908 if (PyErr_Occurred()) SWIG_fail;
10909 }
10910 Py_INCREF(Py_None); resultobj = Py_None;
10911 return resultobj;
10912 fail:
10913 return NULL;
10914 }
10915
10916
10917 static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10918 PyObject *resultobj;
10919 wxGrid *arg1 = (wxGrid *) 0 ;
10920 int arg2 ;
10921 int arg3 ;
10922 PyObject * obj0 = 0 ;
10923 char *kwnames[] = {
10924 (char *) "self",(char *) "row",(char *) "width", NULL
10925 };
10926
10927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetRowMinimalHeight",kwnames,&obj0,&arg2,&arg3)) goto fail;
10928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
10931 (arg1)->SetRowMinimalHeight(arg2,arg3);
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
10936 Py_INCREF(Py_None); resultobj = Py_None;
10937 return resultobj;
10938 fail:
10939 return NULL;
10940 }
10941
10942
10943 static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10944 PyObject *resultobj;
10945 wxGrid *arg1 = (wxGrid *) 0 ;
10946 int arg2 ;
10947 PyObject * obj0 = 0 ;
10948 char *kwnames[] = {
10949 (char *) "self",(char *) "width", NULL
10950 };
10951
10952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetColMinimalAcceptableWidth",kwnames,&obj0,&arg2)) goto fail;
10953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10954 {
10955 PyThreadState* __tstate = wxPyBeginAllowThreads();
10956 (arg1)->SetColMinimalAcceptableWidth(arg2);
10957
10958 wxPyEndAllowThreads(__tstate);
10959 if (PyErr_Occurred()) SWIG_fail;
10960 }
10961 Py_INCREF(Py_None); resultobj = Py_None;
10962 return resultobj;
10963 fail:
10964 return NULL;
10965 }
10966
10967
10968 static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10969 PyObject *resultobj;
10970 wxGrid *arg1 = (wxGrid *) 0 ;
10971 int arg2 ;
10972 PyObject * obj0 = 0 ;
10973 char *kwnames[] = {
10974 (char *) "self",(char *) "width", NULL
10975 };
10976
10977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_SetRowMinimalAcceptableHeight",kwnames,&obj0,&arg2)) goto fail;
10978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10979 {
10980 PyThreadState* __tstate = wxPyBeginAllowThreads();
10981 (arg1)->SetRowMinimalAcceptableHeight(arg2);
10982
10983 wxPyEndAllowThreads(__tstate);
10984 if (PyErr_Occurred()) SWIG_fail;
10985 }
10986 Py_INCREF(Py_None); resultobj = Py_None;
10987 return resultobj;
10988 fail:
10989 return NULL;
10990 }
10991
10992
10993 static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10994 PyObject *resultobj;
10995 wxGrid *arg1 = (wxGrid *) 0 ;
10996 int result;
10997 PyObject * obj0 = 0 ;
10998 char *kwnames[] = {
10999 (char *) "self", NULL
11000 };
11001
11002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames,&obj0)) goto fail;
11003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11004 {
11005 PyThreadState* __tstate = wxPyBeginAllowThreads();
11006 result = (int)((wxGrid const *)arg1)->GetColMinimalAcceptableWidth();
11007
11008 wxPyEndAllowThreads(__tstate);
11009 if (PyErr_Occurred()) SWIG_fail;
11010 }
11011 resultobj = PyInt_FromLong((long)result);
11012 return resultobj;
11013 fail:
11014 return NULL;
11015 }
11016
11017
11018 static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
11019 PyObject *resultobj;
11020 wxGrid *arg1 = (wxGrid *) 0 ;
11021 int result;
11022 PyObject * obj0 = 0 ;
11023 char *kwnames[] = {
11024 (char *) "self", NULL
11025 };
11026
11027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames,&obj0)) goto fail;
11028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11029 {
11030 PyThreadState* __tstate = wxPyBeginAllowThreads();
11031 result = (int)((wxGrid const *)arg1)->GetRowMinimalAcceptableHeight();
11032
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 resultobj = PyInt_FromLong((long)result);
11037 return resultobj;
11038 fail:
11039 return NULL;
11040 }
11041
11042
11043 static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj;
11045 wxGrid *arg1 = (wxGrid *) 0 ;
11046 wxColour *arg2 = 0 ;
11047 wxColour temp2 ;
11048 PyObject * obj0 = 0 ;
11049 PyObject * obj1 = 0 ;
11050 char *kwnames[] = {
11051 (char *) "self","arg2", NULL
11052 };
11053
11054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
11055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11056 {
11057 arg2 = &temp2;
11058 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11059 }
11060 {
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
11062 (arg1)->SetDefaultCellBackgroundColour((wxColour const &)*arg2);
11063
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 Py_INCREF(Py_None); resultobj = Py_None;
11068 return resultobj;
11069 fail:
11070 return NULL;
11071 }
11072
11073
11074 static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11075 PyObject *resultobj;
11076 wxGrid *arg1 = (wxGrid *) 0 ;
11077 int arg2 ;
11078 int arg3 ;
11079 wxColour *arg4 = 0 ;
11080 wxColour temp4 ;
11081 PyObject * obj0 = 0 ;
11082 PyObject * obj3 = 0 ;
11083 char *kwnames[] = {
11084 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11085 };
11086
11087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellBackgroundColour",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11089 {
11090 arg4 = &temp4;
11091 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
11092 }
11093 {
11094 PyThreadState* __tstate = wxPyBeginAllowThreads();
11095 (arg1)->SetCellBackgroundColour(arg2,arg3,(wxColour const &)*arg4);
11096
11097 wxPyEndAllowThreads(__tstate);
11098 if (PyErr_Occurred()) SWIG_fail;
11099 }
11100 Py_INCREF(Py_None); resultobj = Py_None;
11101 return resultobj;
11102 fail:
11103 return NULL;
11104 }
11105
11106
11107 static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11108 PyObject *resultobj;
11109 wxGrid *arg1 = (wxGrid *) 0 ;
11110 wxColour *arg2 = 0 ;
11111 wxColour temp2 ;
11112 PyObject * obj0 = 0 ;
11113 PyObject * obj1 = 0 ;
11114 char *kwnames[] = {
11115 (char *) "self","arg2", NULL
11116 };
11117
11118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames,&obj0,&obj1)) goto fail;
11119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11120 {
11121 arg2 = &temp2;
11122 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11123 }
11124 {
11125 PyThreadState* __tstate = wxPyBeginAllowThreads();
11126 (arg1)->SetDefaultCellTextColour((wxColour const &)*arg2);
11127
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
11131 Py_INCREF(Py_None); resultobj = Py_None;
11132 return resultobj;
11133 fail:
11134 return NULL;
11135 }
11136
11137
11138 static PyObject *_wrap_Grid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11139 PyObject *resultobj;
11140 wxGrid *arg1 = (wxGrid *) 0 ;
11141 int arg2 ;
11142 int arg3 ;
11143 wxColour *arg4 = 0 ;
11144 wxColour temp4 ;
11145 PyObject * obj0 = 0 ;
11146 PyObject * obj3 = 0 ;
11147 char *kwnames[] = {
11148 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11149 };
11150
11151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellTextColour",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11153 {
11154 arg4 = &temp4;
11155 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
11156 }
11157 {
11158 PyThreadState* __tstate = wxPyBeginAllowThreads();
11159 (arg1)->SetCellTextColour(arg2,arg3,(wxColour const &)*arg4);
11160
11161 wxPyEndAllowThreads(__tstate);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 }
11164 Py_INCREF(Py_None); resultobj = Py_None;
11165 return resultobj;
11166 fail:
11167 return NULL;
11168 }
11169
11170
11171 static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11172 PyObject *resultobj;
11173 wxGrid *arg1 = (wxGrid *) 0 ;
11174 wxFont *arg2 = 0 ;
11175 PyObject * obj0 = 0 ;
11176 PyObject * obj1 = 0 ;
11177 char *kwnames[] = {
11178 (char *) "self","arg2", NULL
11179 };
11180
11181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellFont",kwnames,&obj0,&obj1)) goto fail;
11182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11184 if (arg2 == NULL) {
11185 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11186 }
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 (arg1)->SetDefaultCellFont((wxFont const &)*arg2);
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
11194 Py_INCREF(Py_None); resultobj = Py_None;
11195 return resultobj;
11196 fail:
11197 return NULL;
11198 }
11199
11200
11201 static PyObject *_wrap_Grid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11202 PyObject *resultobj;
11203 wxGrid *arg1 = (wxGrid *) 0 ;
11204 int arg2 ;
11205 int arg3 ;
11206 wxFont *arg4 = 0 ;
11207 PyObject * obj0 = 0 ;
11208 PyObject * obj3 = 0 ;
11209 char *kwnames[] = {
11210 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11211 };
11212
11213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellFont",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11215 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11216 if (arg4 == NULL) {
11217 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11218 }
11219 {
11220 PyThreadState* __tstate = wxPyBeginAllowThreads();
11221 (arg1)->SetCellFont(arg2,arg3,(wxFont const &)*arg4);
11222
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 Py_INCREF(Py_None); resultobj = Py_None;
11227 return resultobj;
11228 fail:
11229 return NULL;
11230 }
11231
11232
11233 static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11234 PyObject *resultobj;
11235 wxGrid *arg1 = (wxGrid *) 0 ;
11236 int arg2 ;
11237 int arg3 ;
11238 PyObject * obj0 = 0 ;
11239 char *kwnames[] = {
11240 (char *) "self",(char *) "horiz",(char *) "vert", NULL
11241 };
11242
11243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetDefaultCellAlignment",kwnames,&obj0,&arg2,&arg3)) goto fail;
11244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11245 {
11246 PyThreadState* __tstate = wxPyBeginAllowThreads();
11247 (arg1)->SetDefaultCellAlignment(arg2,arg3);
11248
11249 wxPyEndAllowThreads(__tstate);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 }
11252 Py_INCREF(Py_None); resultobj = Py_None;
11253 return resultobj;
11254 fail:
11255 return NULL;
11256 }
11257
11258
11259 static PyObject *_wrap_Grid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11260 PyObject *resultobj;
11261 wxGrid *arg1 = (wxGrid *) 0 ;
11262 int arg2 ;
11263 int arg3 ;
11264 int arg4 ;
11265 int arg5 ;
11266 PyObject * obj0 = 0 ;
11267 char *kwnames[] = {
11268 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
11269 };
11270
11271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:Grid_SetCellAlignment",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11273 {
11274 PyThreadState* __tstate = wxPyBeginAllowThreads();
11275 (arg1)->SetCellAlignment(arg2,arg3,arg4,arg5);
11276
11277 wxPyEndAllowThreads(__tstate);
11278 if (PyErr_Occurred()) SWIG_fail;
11279 }
11280 Py_INCREF(Py_None); resultobj = Py_None;
11281 return resultobj;
11282 fail:
11283 return NULL;
11284 }
11285
11286
11287 static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11288 PyObject *resultobj;
11289 wxGrid *arg1 = (wxGrid *) 0 ;
11290 bool arg2 ;
11291 PyObject * obj0 = 0 ;
11292 PyObject * obj1 = 0 ;
11293 char *kwnames[] = {
11294 (char *) "self",(char *) "allow", NULL
11295 };
11296
11297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames,&obj0,&obj1)) goto fail;
11298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11299 arg2 = PyInt_AsLong(obj1) ? true : false;
11300 if (PyErr_Occurred()) SWIG_fail;
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 (arg1)->SetDefaultCellOverflow(arg2);
11304
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
11308 Py_INCREF(Py_None); resultobj = Py_None;
11309 return resultobj;
11310 fail:
11311 return NULL;
11312 }
11313
11314
11315 static PyObject *_wrap_Grid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11316 PyObject *resultobj;
11317 wxGrid *arg1 = (wxGrid *) 0 ;
11318 int arg2 ;
11319 int arg3 ;
11320 bool arg4 ;
11321 PyObject * obj0 = 0 ;
11322 PyObject * obj3 = 0 ;
11323 char *kwnames[] = {
11324 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
11325 };
11326
11327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellOverflow",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11329 arg4 = PyInt_AsLong(obj3) ? true : false;
11330 if (PyErr_Occurred()) SWIG_fail;
11331 {
11332 PyThreadState* __tstate = wxPyBeginAllowThreads();
11333 (arg1)->SetCellOverflow(arg2,arg3,arg4);
11334
11335 wxPyEndAllowThreads(__tstate);
11336 if (PyErr_Occurred()) SWIG_fail;
11337 }
11338 Py_INCREF(Py_None); resultobj = Py_None;
11339 return resultobj;
11340 fail:
11341 return NULL;
11342 }
11343
11344
11345 static PyObject *_wrap_Grid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11346 PyObject *resultobj;
11347 wxGrid *arg1 = (wxGrid *) 0 ;
11348 int arg2 ;
11349 int arg3 ;
11350 int arg4 ;
11351 int arg5 ;
11352 PyObject * obj0 = 0 ;
11353 char *kwnames[] = {
11354 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
11355 };
11356
11357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:Grid_SetCellSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11359 {
11360 PyThreadState* __tstate = wxPyBeginAllowThreads();
11361 (arg1)->SetCellSize(arg2,arg3,arg4,arg5);
11362
11363 wxPyEndAllowThreads(__tstate);
11364 if (PyErr_Occurred()) SWIG_fail;
11365 }
11366 Py_INCREF(Py_None); resultobj = Py_None;
11367 return resultobj;
11368 fail:
11369 return NULL;
11370 }
11371
11372
11373 static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11374 PyObject *resultobj;
11375 wxGrid *arg1 = (wxGrid *) 0 ;
11376 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
11377 PyObject * obj0 = 0 ;
11378 PyObject * obj1 = 0 ;
11379 char *kwnames[] = {
11380 (char *) "self",(char *) "renderer", NULL
11381 };
11382
11383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultRenderer",kwnames,&obj0,&obj1)) goto fail;
11384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11385 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 (arg1)->SetDefaultRenderer(arg2);
11389
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 }
11393 Py_INCREF(Py_None); resultobj = Py_None;
11394 return resultobj;
11395 fail:
11396 return NULL;
11397 }
11398
11399
11400 static PyObject *_wrap_Grid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11401 PyObject *resultobj;
11402 wxGrid *arg1 = (wxGrid *) 0 ;
11403 int arg2 ;
11404 int arg3 ;
11405 wxGridCellRenderer *arg4 = (wxGridCellRenderer *) 0 ;
11406 PyObject * obj0 = 0 ;
11407 PyObject * obj3 = 0 ;
11408 char *kwnames[] = {
11409 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
11410 };
11411
11412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellRenderer",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11414 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 (arg1)->SetCellRenderer(arg2,arg3,arg4);
11418
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 Py_INCREF(Py_None); resultobj = Py_None;
11423 return resultobj;
11424 fail:
11425 return NULL;
11426 }
11427
11428
11429 static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11430 PyObject *resultobj;
11431 wxGrid *arg1 = (wxGrid *) 0 ;
11432 wxGridCellRenderer *result;
11433 PyObject * obj0 = 0 ;
11434 char *kwnames[] = {
11435 (char *) "self", NULL
11436 };
11437
11438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRenderer",kwnames,&obj0)) goto fail;
11439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11440 {
11441 PyThreadState* __tstate = wxPyBeginAllowThreads();
11442 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRenderer();
11443
11444 wxPyEndAllowThreads(__tstate);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
11447 {
11448 resultobj = wxPyMake_wxGridCellRenderer(result);
11449 }
11450 return resultobj;
11451 fail:
11452 return NULL;
11453 }
11454
11455
11456 static PyObject *_wrap_Grid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11457 PyObject *resultobj;
11458 wxGrid *arg1 = (wxGrid *) 0 ;
11459 int arg2 ;
11460 int arg3 ;
11461 wxGridCellRenderer *result;
11462 PyObject * obj0 = 0 ;
11463 char *kwnames[] = {
11464 (char *) "self",(char *) "row",(char *) "col", NULL
11465 };
11466
11467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellRenderer",kwnames,&obj0,&arg2,&arg3)) goto fail;
11468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 result = (wxGridCellRenderer *)(arg1)->GetCellRenderer(arg2,arg3);
11472
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 {
11477 resultobj = wxPyMake_wxGridCellRenderer(result);
11478 }
11479 return resultobj;
11480 fail:
11481 return NULL;
11482 }
11483
11484
11485 static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj;
11487 wxGrid *arg1 = (wxGrid *) 0 ;
11488 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
11489 PyObject * obj0 = 0 ;
11490 PyObject * obj1 = 0 ;
11491 char *kwnames[] = {
11492 (char *) "self",(char *) "editor", NULL
11493 };
11494
11495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultEditor",kwnames,&obj0,&obj1)) goto fail;
11496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11497 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11498 {
11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
11500 (arg1)->SetDefaultEditor(arg2);
11501
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 Py_INCREF(Py_None); resultobj = Py_None;
11506 return resultobj;
11507 fail:
11508 return NULL;
11509 }
11510
11511
11512 static PyObject *_wrap_Grid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11513 PyObject *resultobj;
11514 wxGrid *arg1 = (wxGrid *) 0 ;
11515 int arg2 ;
11516 int arg3 ;
11517 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
11518 PyObject * obj0 = 0 ;
11519 PyObject * obj3 = 0 ;
11520 char *kwnames[] = {
11521 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
11522 };
11523
11524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellEditor",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11526 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11527 {
11528 PyThreadState* __tstate = wxPyBeginAllowThreads();
11529 (arg1)->SetCellEditor(arg2,arg3,arg4);
11530
11531 wxPyEndAllowThreads(__tstate);
11532 if (PyErr_Occurred()) SWIG_fail;
11533 }
11534 Py_INCREF(Py_None); resultobj = Py_None;
11535 return resultobj;
11536 fail:
11537 return NULL;
11538 }
11539
11540
11541 static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11542 PyObject *resultobj;
11543 wxGrid *arg1 = (wxGrid *) 0 ;
11544 wxGridCellEditor *result;
11545 PyObject * obj0 = 0 ;
11546 char *kwnames[] = {
11547 (char *) "self", NULL
11548 };
11549
11550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultEditor",kwnames,&obj0)) goto fail;
11551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11552 {
11553 PyThreadState* __tstate = wxPyBeginAllowThreads();
11554 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditor();
11555
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 {
11560 resultobj = wxPyMake_wxGridCellEditor(result);
11561 }
11562 return resultobj;
11563 fail:
11564 return NULL;
11565 }
11566
11567
11568 static PyObject *_wrap_Grid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11569 PyObject *resultobj;
11570 wxGrid *arg1 = (wxGrid *) 0 ;
11571 int arg2 ;
11572 int arg3 ;
11573 wxGridCellEditor *result;
11574 PyObject * obj0 = 0 ;
11575 char *kwnames[] = {
11576 (char *) "self",(char *) "row",(char *) "col", NULL
11577 };
11578
11579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellEditor",kwnames,&obj0,&arg2,&arg3)) goto fail;
11580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 result = (wxGridCellEditor *)(arg1)->GetCellEditor(arg2,arg3);
11584
11585 wxPyEndAllowThreads(__tstate);
11586 if (PyErr_Occurred()) SWIG_fail;
11587 }
11588 {
11589 resultobj = wxPyMake_wxGridCellEditor(result);
11590 }
11591 return resultobj;
11592 fail:
11593 return NULL;
11594 }
11595
11596
11597 static PyObject *_wrap_Grid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxGrid *arg1 = (wxGrid *) 0 ;
11600 int arg2 ;
11601 int arg3 ;
11602 wxString result;
11603 PyObject * obj0 = 0 ;
11604 char *kwnames[] = {
11605 (char *) "self",(char *) "row",(char *) "col", NULL
11606 };
11607
11608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetCellValue",kwnames,&obj0,&arg2,&arg3)) goto fail;
11609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11610 {
11611 PyThreadState* __tstate = wxPyBeginAllowThreads();
11612 result = (arg1)->GetCellValue(arg2,arg3);
11613
11614 wxPyEndAllowThreads(__tstate);
11615 if (PyErr_Occurred()) SWIG_fail;
11616 }
11617 {
11618 #if wxUSE_UNICODE
11619 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11620 #else
11621 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11622 #endif
11623 }
11624 return resultobj;
11625 fail:
11626 return NULL;
11627 }
11628
11629
11630 static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11631 PyObject *resultobj;
11632 wxGrid *arg1 = (wxGrid *) 0 ;
11633 int arg2 ;
11634 int arg3 ;
11635 wxString *arg4 = 0 ;
11636 bool temp4 = False ;
11637 PyObject * obj0 = 0 ;
11638 PyObject * obj3 = 0 ;
11639 char *kwnames[] = {
11640 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
11641 };
11642
11643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Grid_SetCellValue",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11645 {
11646 arg4 = wxString_in_helper(obj3);
11647 if (arg4 == NULL) SWIG_fail;
11648 temp4 = True;
11649 }
11650 {
11651 PyThreadState* __tstate = wxPyBeginAllowThreads();
11652 (arg1)->SetCellValue(arg2,arg3,(wxString const &)*arg4);
11653
11654 wxPyEndAllowThreads(__tstate);
11655 if (PyErr_Occurred()) SWIG_fail;
11656 }
11657 Py_INCREF(Py_None); resultobj = Py_None;
11658 {
11659 if (temp4)
11660 delete arg4;
11661 }
11662 return resultobj;
11663 fail:
11664 {
11665 if (temp4)
11666 delete arg4;
11667 }
11668 return NULL;
11669 }
11670
11671
11672 static PyObject *_wrap_Grid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11673 PyObject *resultobj;
11674 wxGrid *arg1 = (wxGrid *) 0 ;
11675 int arg2 ;
11676 int arg3 ;
11677 bool result;
11678 PyObject * obj0 = 0 ;
11679 char *kwnames[] = {
11680 (char *) "self",(char *) "row",(char *) "col", NULL
11681 };
11682
11683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_IsReadOnly",kwnames,&obj0,&arg2,&arg3)) goto fail;
11684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11685 {
11686 PyThreadState* __tstate = wxPyBeginAllowThreads();
11687 result = (bool)((wxGrid const *)arg1)->IsReadOnly(arg2,arg3);
11688
11689 wxPyEndAllowThreads(__tstate);
11690 if (PyErr_Occurred()) SWIG_fail;
11691 }
11692 resultobj = PyInt_FromLong((long)result);
11693 return resultobj;
11694 fail:
11695 return NULL;
11696 }
11697
11698
11699 static PyObject *_wrap_Grid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11700 PyObject *resultobj;
11701 wxGrid *arg1 = (wxGrid *) 0 ;
11702 int arg2 ;
11703 int arg3 ;
11704 bool arg4 = (bool) True ;
11705 PyObject * obj0 = 0 ;
11706 PyObject * obj3 = 0 ;
11707 char *kwnames[] = {
11708 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
11709 };
11710
11711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Grid_SetReadOnly",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
11712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11713 if (obj3) {
11714 arg4 = PyInt_AsLong(obj3) ? true : false;
11715 if (PyErr_Occurred()) SWIG_fail;
11716 }
11717 {
11718 PyThreadState* __tstate = wxPyBeginAllowThreads();
11719 (arg1)->SetReadOnly(arg2,arg3,arg4);
11720
11721 wxPyEndAllowThreads(__tstate);
11722 if (PyErr_Occurred()) SWIG_fail;
11723 }
11724 Py_INCREF(Py_None); resultobj = Py_None;
11725 return resultobj;
11726 fail:
11727 return NULL;
11728 }
11729
11730
11731 static PyObject *_wrap_Grid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11732 PyObject *resultobj;
11733 wxGrid *arg1 = (wxGrid *) 0 ;
11734 int arg2 ;
11735 bool arg3 = (bool) False ;
11736 PyObject * obj0 = 0 ;
11737 PyObject * obj2 = 0 ;
11738 char *kwnames[] = {
11739 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
11740 };
11741
11742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_SelectRow",kwnames,&obj0,&arg2,&obj2)) goto fail;
11743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11744 if (obj2) {
11745 arg3 = PyInt_AsLong(obj2) ? true : false;
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 {
11749 PyThreadState* __tstate = wxPyBeginAllowThreads();
11750 (arg1)->SelectRow(arg2,arg3);
11751
11752 wxPyEndAllowThreads(__tstate);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
11755 Py_INCREF(Py_None); resultobj = Py_None;
11756 return resultobj;
11757 fail:
11758 return NULL;
11759 }
11760
11761
11762 static PyObject *_wrap_Grid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11763 PyObject *resultobj;
11764 wxGrid *arg1 = (wxGrid *) 0 ;
11765 int arg2 ;
11766 bool arg3 = (bool) False ;
11767 PyObject * obj0 = 0 ;
11768 PyObject * obj2 = 0 ;
11769 char *kwnames[] = {
11770 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
11771 };
11772
11773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:Grid_SelectCol",kwnames,&obj0,&arg2,&obj2)) goto fail;
11774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11775 if (obj2) {
11776 arg3 = PyInt_AsLong(obj2) ? true : false;
11777 if (PyErr_Occurred()) SWIG_fail;
11778 }
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 (arg1)->SelectCol(arg2,arg3);
11782
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 Py_INCREF(Py_None); resultobj = Py_None;
11787 return resultobj;
11788 fail:
11789 return NULL;
11790 }
11791
11792
11793 static PyObject *_wrap_Grid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11794 PyObject *resultobj;
11795 wxGrid *arg1 = (wxGrid *) 0 ;
11796 int arg2 ;
11797 int arg3 ;
11798 int arg4 ;
11799 int arg5 ;
11800 bool arg6 = (bool) False ;
11801 PyObject * obj0 = 0 ;
11802 PyObject * obj5 = 0 ;
11803 char *kwnames[] = {
11804 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
11805 };
11806
11807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:Grid_SelectBlock",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
11808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11809 if (obj5) {
11810 arg6 = PyInt_AsLong(obj5) ? true : false;
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 {
11814 PyThreadState* __tstate = wxPyBeginAllowThreads();
11815 (arg1)->SelectBlock(arg2,arg3,arg4,arg5,arg6);
11816
11817 wxPyEndAllowThreads(__tstate);
11818 if (PyErr_Occurred()) SWIG_fail;
11819 }
11820 Py_INCREF(Py_None); resultobj = Py_None;
11821 return resultobj;
11822 fail:
11823 return NULL;
11824 }
11825
11826
11827 static PyObject *_wrap_Grid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
11828 PyObject *resultobj;
11829 wxGrid *arg1 = (wxGrid *) 0 ;
11830 PyObject * obj0 = 0 ;
11831 char *kwnames[] = {
11832 (char *) "self", NULL
11833 };
11834
11835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SelectAll",kwnames,&obj0)) goto fail;
11836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11837 {
11838 PyThreadState* __tstate = wxPyBeginAllowThreads();
11839 (arg1)->SelectAll();
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
11851 static PyObject *_wrap_Grid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11852 PyObject *resultobj;
11853 wxGrid *arg1 = (wxGrid *) 0 ;
11854 bool result;
11855 PyObject * obj0 = 0 ;
11856 char *kwnames[] = {
11857 (char *) "self", NULL
11858 };
11859
11860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsSelection",kwnames,&obj0)) goto fail;
11861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11862 {
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 result = (bool)(arg1)->IsSelection();
11865
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 resultobj = PyInt_FromLong((long)result);
11870 return resultobj;
11871 fail:
11872 return NULL;
11873 }
11874
11875
11876 static PyObject *_wrap_Grid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11877 PyObject *resultobj;
11878 wxGrid *arg1 = (wxGrid *) 0 ;
11879 PyObject * obj0 = 0 ;
11880 char *kwnames[] = {
11881 (char *) "self", NULL
11882 };
11883
11884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearSelection",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 (arg1)->ClearSelection();
11889
11890 wxPyEndAllowThreads(__tstate);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 }
11893 Py_INCREF(Py_None); resultobj = Py_None;
11894 return resultobj;
11895 fail:
11896 return NULL;
11897 }
11898
11899
11900 static PyObject *_wrap_Grid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11901 PyObject *resultobj;
11902 wxGrid *arg1 = (wxGrid *) 0 ;
11903 int arg2 ;
11904 int arg3 ;
11905 bool result;
11906 PyObject * obj0 = 0 ;
11907 char *kwnames[] = {
11908 (char *) "self",(char *) "row",(char *) "col", NULL
11909 };
11910
11911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_IsInSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
11912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11913 {
11914 PyThreadState* __tstate = wxPyBeginAllowThreads();
11915 result = (bool)(arg1)->IsInSelection(arg2,arg3);
11916
11917 wxPyEndAllowThreads(__tstate);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 }
11920 resultobj = PyInt_FromLong((long)result);
11921 return resultobj;
11922 fail:
11923 return NULL;
11924 }
11925
11926
11927 static PyObject *_wrap_Grid_GetSelectedCells(PyObject *self, PyObject *args, PyObject *kwargs) {
11928 PyObject *resultobj;
11929 wxGrid *arg1 = (wxGrid *) 0 ;
11930 wxGridCellCoordsArray result;
11931 PyObject * obj0 = 0 ;
11932 char *kwnames[] = {
11933 (char *) "self", NULL
11934 };
11935
11936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCells",kwnames,&obj0)) goto fail;
11937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11938 {
11939 PyThreadState* __tstate = wxPyBeginAllowThreads();
11940 result = ((wxGrid const *)arg1)->GetSelectedCells();
11941
11942 wxPyEndAllowThreads(__tstate);
11943 if (PyErr_Occurred()) SWIG_fail;
11944 }
11945 {
11946 resultobj = wxGridCellCoordsArray_helper(result);
11947 }
11948 return resultobj;
11949 fail:
11950 return NULL;
11951 }
11952
11953
11954 static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11955 PyObject *resultobj;
11956 wxGrid *arg1 = (wxGrid *) 0 ;
11957 wxGridCellCoordsArray result;
11958 PyObject * obj0 = 0 ;
11959 char *kwnames[] = {
11960 (char *) "self", NULL
11961 };
11962
11963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames,&obj0)) goto fail;
11964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11965 {
11966 PyThreadState* __tstate = wxPyBeginAllowThreads();
11967 result = ((wxGrid const *)arg1)->GetSelectionBlockTopLeft();
11968
11969 wxPyEndAllowThreads(__tstate);
11970 if (PyErr_Occurred()) SWIG_fail;
11971 }
11972 {
11973 resultobj = wxGridCellCoordsArray_helper(result);
11974 }
11975 return resultobj;
11976 fail:
11977 return NULL;
11978 }
11979
11980
11981 static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11982 PyObject *resultobj;
11983 wxGrid *arg1 = (wxGrid *) 0 ;
11984 wxGridCellCoordsArray result;
11985 PyObject * obj0 = 0 ;
11986 char *kwnames[] = {
11987 (char *) "self", NULL
11988 };
11989
11990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames,&obj0)) goto fail;
11991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11992 {
11993 PyThreadState* __tstate = wxPyBeginAllowThreads();
11994 result = ((wxGrid const *)arg1)->GetSelectionBlockBottomRight();
11995
11996 wxPyEndAllowThreads(__tstate);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
11999 {
12000 resultobj = wxGridCellCoordsArray_helper(result);
12001 }
12002 return resultobj;
12003 fail:
12004 return NULL;
12005 }
12006
12007
12008 static PyObject *_wrap_Grid_GetSelectedRows(PyObject *self, PyObject *args, PyObject *kwargs) {
12009 PyObject *resultobj;
12010 wxGrid *arg1 = (wxGrid *) 0 ;
12011 wxArrayInt result;
12012 PyObject * obj0 = 0 ;
12013 char *kwnames[] = {
12014 (char *) "self", NULL
12015 };
12016
12017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedRows",kwnames,&obj0)) goto fail;
12018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 result = ((wxGrid const *)arg1)->GetSelectedRows();
12022
12023 wxPyEndAllowThreads(__tstate);
12024 if (PyErr_Occurred()) SWIG_fail;
12025 }
12026 {
12027 resultobj = PyList_New(0);
12028 size_t idx;
12029 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
12030 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
12031 PyList_Append(resultobj, val);
12032 Py_DECREF(val);
12033 }
12034 }
12035 return resultobj;
12036 fail:
12037 return NULL;
12038 }
12039
12040
12041 static PyObject *_wrap_Grid_GetSelectedCols(PyObject *self, PyObject *args, PyObject *kwargs) {
12042 PyObject *resultobj;
12043 wxGrid *arg1 = (wxGrid *) 0 ;
12044 wxArrayInt result;
12045 PyObject * obj0 = 0 ;
12046 char *kwnames[] = {
12047 (char *) "self", NULL
12048 };
12049
12050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCols",kwnames,&obj0)) goto fail;
12051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12052 {
12053 PyThreadState* __tstate = wxPyBeginAllowThreads();
12054 result = ((wxGrid const *)arg1)->GetSelectedCols();
12055
12056 wxPyEndAllowThreads(__tstate);
12057 if (PyErr_Occurred()) SWIG_fail;
12058 }
12059 {
12060 resultobj = PyList_New(0);
12061 size_t idx;
12062 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
12063 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
12064 PyList_Append(resultobj, val);
12065 Py_DECREF(val);
12066 }
12067 }
12068 return resultobj;
12069 fail:
12070 return NULL;
12071 }
12072
12073
12074 static PyObject *_wrap_Grid_DeselectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12075 PyObject *resultobj;
12076 wxGrid *arg1 = (wxGrid *) 0 ;
12077 int arg2 ;
12078 PyObject * obj0 = 0 ;
12079 char *kwnames[] = {
12080 (char *) "self",(char *) "row", NULL
12081 };
12082
12083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_DeselectRow",kwnames,&obj0,&arg2)) goto fail;
12084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12085 {
12086 PyThreadState* __tstate = wxPyBeginAllowThreads();
12087 (arg1)->DeselectRow(arg2);
12088
12089 wxPyEndAllowThreads(__tstate);
12090 if (PyErr_Occurred()) SWIG_fail;
12091 }
12092 Py_INCREF(Py_None); resultobj = Py_None;
12093 return resultobj;
12094 fail:
12095 return NULL;
12096 }
12097
12098
12099 static PyObject *_wrap_Grid_DeselectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12100 PyObject *resultobj;
12101 wxGrid *arg1 = (wxGrid *) 0 ;
12102 int arg2 ;
12103 PyObject * obj0 = 0 ;
12104 char *kwnames[] = {
12105 (char *) "self",(char *) "col", NULL
12106 };
12107
12108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Grid_DeselectCol",kwnames,&obj0,&arg2)) goto fail;
12109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12110 {
12111 PyThreadState* __tstate = wxPyBeginAllowThreads();
12112 (arg1)->DeselectCol(arg2);
12113
12114 wxPyEndAllowThreads(__tstate);
12115 if (PyErr_Occurred()) SWIG_fail;
12116 }
12117 Py_INCREF(Py_None); resultobj = Py_None;
12118 return resultobj;
12119 fail:
12120 return NULL;
12121 }
12122
12123
12124 static PyObject *_wrap_Grid_DeselectCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12125 PyObject *resultobj;
12126 wxGrid *arg1 = (wxGrid *) 0 ;
12127 int arg2 ;
12128 int arg3 ;
12129 PyObject * obj0 = 0 ;
12130 char *kwnames[] = {
12131 (char *) "self",(char *) "row",(char *) "col", NULL
12132 };
12133
12134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_DeselectCell",kwnames,&obj0,&arg2,&arg3)) goto fail;
12135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12136 {
12137 PyThreadState* __tstate = wxPyBeginAllowThreads();
12138 (arg1)->DeselectCell(arg2,arg3);
12139
12140 wxPyEndAllowThreads(__tstate);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 }
12143 Py_INCREF(Py_None); resultobj = Py_None;
12144 return resultobj;
12145 fail:
12146 return NULL;
12147 }
12148
12149
12150 static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12151 PyObject *resultobj;
12152 wxGrid *arg1 = (wxGrid *) 0 ;
12153 wxGridCellCoords *arg2 = 0 ;
12154 wxGridCellCoords *arg3 = 0 ;
12155 wxRect result;
12156 wxGridCellCoords temp2 ;
12157 wxGridCellCoords temp3 ;
12158 PyObject * obj0 = 0 ;
12159 PyObject * obj1 = 0 ;
12160 PyObject * obj2 = 0 ;
12161 char *kwnames[] = {
12162 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
12163 };
12164
12165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_BlockToDeviceRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
12166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12167 {
12168 arg2 = &temp2;
12169 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
12170 }
12171 {
12172 arg3 = &temp3;
12173 if (! wxGridCellCoords_helper(obj2, &arg3)) SWIG_fail;
12174 }
12175 {
12176 PyThreadState* __tstate = wxPyBeginAllowThreads();
12177 result = (arg1)->BlockToDeviceRect((wxGridCellCoords const &)*arg2,(wxGridCellCoords const &)*arg3);
12178
12179 wxPyEndAllowThreads(__tstate);
12180 if (PyErr_Occurred()) SWIG_fail;
12181 }
12182 {
12183 wxRect * resultptr;
12184 resultptr = new wxRect((wxRect &) result);
12185 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
12186 }
12187 return resultobj;
12188 fail:
12189 return NULL;
12190 }
12191
12192
12193 static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12194 PyObject *resultobj;
12195 wxGrid *arg1 = (wxGrid *) 0 ;
12196 wxColour result;
12197 PyObject * obj0 = 0 ;
12198 char *kwnames[] = {
12199 (char *) "self", NULL
12200 };
12201
12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBackground",kwnames,&obj0)) goto fail;
12203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12204 {
12205 PyThreadState* __tstate = wxPyBeginAllowThreads();
12206 result = ((wxGrid const *)arg1)->GetSelectionBackground();
12207
12208 wxPyEndAllowThreads(__tstate);
12209 if (PyErr_Occurred()) SWIG_fail;
12210 }
12211 {
12212 wxColour * resultptr;
12213 resultptr = new wxColour((wxColour &) result);
12214 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
12215 }
12216 return resultobj;
12217 fail:
12218 return NULL;
12219 }
12220
12221
12222 static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12223 PyObject *resultobj;
12224 wxGrid *arg1 = (wxGrid *) 0 ;
12225 wxColour result;
12226 PyObject * obj0 = 0 ;
12227 char *kwnames[] = {
12228 (char *) "self", NULL
12229 };
12230
12231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionForeground",kwnames,&obj0)) goto fail;
12232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12233 {
12234 PyThreadState* __tstate = wxPyBeginAllowThreads();
12235 result = ((wxGrid const *)arg1)->GetSelectionForeground();
12236
12237 wxPyEndAllowThreads(__tstate);
12238 if (PyErr_Occurred()) SWIG_fail;
12239 }
12240 {
12241 wxColour * resultptr;
12242 resultptr = new wxColour((wxColour &) result);
12243 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
12244 }
12245 return resultobj;
12246 fail:
12247 return NULL;
12248 }
12249
12250
12251 static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12252 PyObject *resultobj;
12253 wxGrid *arg1 = (wxGrid *) 0 ;
12254 wxColour *arg2 = 0 ;
12255 wxColour temp2 ;
12256 PyObject * obj0 = 0 ;
12257 PyObject * obj1 = 0 ;
12258 char *kwnames[] = {
12259 (char *) "self",(char *) "c", NULL
12260 };
12261
12262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12264 {
12265 arg2 = &temp2;
12266 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12267 }
12268 {
12269 PyThreadState* __tstate = wxPyBeginAllowThreads();
12270 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12271
12272 wxPyEndAllowThreads(__tstate);
12273 if (PyErr_Occurred()) SWIG_fail;
12274 }
12275 Py_INCREF(Py_None); resultobj = Py_None;
12276 return resultobj;
12277 fail:
12278 return NULL;
12279 }
12280
12281
12282 static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12283 PyObject *resultobj;
12284 wxGrid *arg1 = (wxGrid *) 0 ;
12285 wxColour *arg2 = 0 ;
12286 wxColour temp2 ;
12287 PyObject * obj0 = 0 ;
12288 PyObject * obj1 = 0 ;
12289 char *kwnames[] = {
12290 (char *) "self",(char *) "c", NULL
12291 };
12292
12293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionForeground",kwnames,&obj0,&obj1)) goto fail;
12294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12295 {
12296 arg2 = &temp2;
12297 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12298 }
12299 {
12300 PyThreadState* __tstate = wxPyBeginAllowThreads();
12301 (arg1)->SetSelectionForeground((wxColour const &)*arg2);
12302
12303 wxPyEndAllowThreads(__tstate);
12304 if (PyErr_Occurred()) SWIG_fail;
12305 }
12306 Py_INCREF(Py_None); resultobj = Py_None;
12307 return resultobj;
12308 fail:
12309 return NULL;
12310 }
12311
12312
12313 static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
12314 PyObject *resultobj;
12315 wxGrid *arg1 = (wxGrid *) 0 ;
12316 wxString *arg2 = 0 ;
12317 wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
12318 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
12319 bool temp2 = False ;
12320 PyObject * obj0 = 0 ;
12321 PyObject * obj1 = 0 ;
12322 PyObject * obj2 = 0 ;
12323 PyObject * obj3 = 0 ;
12324 char *kwnames[] = {
12325 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
12326 };
12327
12328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_RegisterDataType",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12330 {
12331 arg2 = wxString_in_helper(obj1);
12332 if (arg2 == NULL) SWIG_fail;
12333 temp2 = True;
12334 }
12335 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12336 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12337 {
12338 PyThreadState* __tstate = wxPyBeginAllowThreads();
12339 (arg1)->RegisterDataType((wxString const &)*arg2,arg3,arg4);
12340
12341 wxPyEndAllowThreads(__tstate);
12342 if (PyErr_Occurred()) SWIG_fail;
12343 }
12344 Py_INCREF(Py_None); resultobj = Py_None;
12345 {
12346 if (temp2)
12347 delete arg2;
12348 }
12349 return resultobj;
12350 fail:
12351 {
12352 if (temp2)
12353 delete arg2;
12354 }
12355 return NULL;
12356 }
12357
12358
12359 static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12360 PyObject *resultobj;
12361 wxGrid *arg1 = (wxGrid *) 0 ;
12362 int arg2 ;
12363 int arg3 ;
12364 wxGridCellEditor *result;
12365 PyObject * obj0 = 0 ;
12366 char *kwnames[] = {
12367 (char *) "self",(char *) "row",(char *) "col", NULL
12368 };
12369
12370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetDefaultEditorForCell",kwnames,&obj0,&arg2,&arg3)) goto fail;
12371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12372 {
12373 PyThreadState* __tstate = wxPyBeginAllowThreads();
12374 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForCell(arg2,arg3);
12375
12376 wxPyEndAllowThreads(__tstate);
12377 if (PyErr_Occurred()) SWIG_fail;
12378 }
12379 {
12380 resultobj = wxPyMake_wxGridCellEditor(result);
12381 }
12382 return resultobj;
12383 fail:
12384 return NULL;
12385 }
12386
12387
12388 static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12389 PyObject *resultobj;
12390 wxGrid *arg1 = (wxGrid *) 0 ;
12391 int arg2 ;
12392 int arg3 ;
12393 wxGridCellRenderer *result;
12394 PyObject * obj0 = 0 ;
12395 char *kwnames[] = {
12396 (char *) "self",(char *) "row",(char *) "col", NULL
12397 };
12398
12399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_GetDefaultRendererForCell",kwnames,&obj0,&arg2,&arg3)) goto fail;
12400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12401 {
12402 PyThreadState* __tstate = wxPyBeginAllowThreads();
12403 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForCell(arg2,arg3);
12404
12405 wxPyEndAllowThreads(__tstate);
12406 if (PyErr_Occurred()) SWIG_fail;
12407 }
12408 {
12409 resultobj = wxPyMake_wxGridCellRenderer(result);
12410 }
12411 return resultobj;
12412 fail:
12413 return NULL;
12414 }
12415
12416
12417 static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12418 PyObject *resultobj;
12419 wxGrid *arg1 = (wxGrid *) 0 ;
12420 wxString *arg2 = 0 ;
12421 wxGridCellEditor *result;
12422 bool temp2 = False ;
12423 PyObject * obj0 = 0 ;
12424 PyObject * obj1 = 0 ;
12425 char *kwnames[] = {
12426 (char *) "self",(char *) "typeName", NULL
12427 };
12428
12429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultEditorForType",kwnames,&obj0,&obj1)) goto fail;
12430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12431 {
12432 arg2 = wxString_in_helper(obj1);
12433 if (arg2 == NULL) SWIG_fail;
12434 temp2 = True;
12435 }
12436 {
12437 PyThreadState* __tstate = wxPyBeginAllowThreads();
12438 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForType((wxString const &)*arg2);
12439
12440 wxPyEndAllowThreads(__tstate);
12441 if (PyErr_Occurred()) SWIG_fail;
12442 }
12443 {
12444 resultobj = wxPyMake_wxGridCellEditor(result);
12445 }
12446 {
12447 if (temp2)
12448 delete arg2;
12449 }
12450 return resultobj;
12451 fail:
12452 {
12453 if (temp2)
12454 delete arg2;
12455 }
12456 return NULL;
12457 }
12458
12459
12460 static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12461 PyObject *resultobj;
12462 wxGrid *arg1 = (wxGrid *) 0 ;
12463 wxString *arg2 = 0 ;
12464 wxGridCellRenderer *result;
12465 bool temp2 = False ;
12466 PyObject * obj0 = 0 ;
12467 PyObject * obj1 = 0 ;
12468 char *kwnames[] = {
12469 (char *) "self",(char *) "typeName", NULL
12470 };
12471
12472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultRendererForType",kwnames,&obj0,&obj1)) goto fail;
12473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12474 {
12475 arg2 = wxString_in_helper(obj1);
12476 if (arg2 == NULL) SWIG_fail;
12477 temp2 = True;
12478 }
12479 {
12480 PyThreadState* __tstate = wxPyBeginAllowThreads();
12481 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForType((wxString const &)*arg2);
12482
12483 wxPyEndAllowThreads(__tstate);
12484 if (PyErr_Occurred()) SWIG_fail;
12485 }
12486 {
12487 resultobj = wxPyMake_wxGridCellRenderer(result);
12488 }
12489 {
12490 if (temp2)
12491 delete arg2;
12492 }
12493 return resultobj;
12494 fail:
12495 {
12496 if (temp2)
12497 delete arg2;
12498 }
12499 return NULL;
12500 }
12501
12502
12503 static PyObject *_wrap_Grid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
12504 PyObject *resultobj;
12505 wxGrid *arg1 = (wxGrid *) 0 ;
12506 int arg2 ;
12507 int arg3 ;
12508 PyObject * obj0 = 0 ;
12509 char *kwnames[] = {
12510 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
12511 };
12512
12513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Grid_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
12514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12515 {
12516 PyThreadState* __tstate = wxPyBeginAllowThreads();
12517 (arg1)->SetMargins(arg2,arg3);
12518
12519 wxPyEndAllowThreads(__tstate);
12520 if (PyErr_Occurred()) SWIG_fail;
12521 }
12522 Py_INCREF(Py_None); resultobj = Py_None;
12523 return resultobj;
12524 fail:
12525 return NULL;
12526 }
12527
12528
12529 static PyObject *_wrap_Grid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12530 PyObject *resultobj;
12531 wxGrid *arg1 = (wxGrid *) 0 ;
12532 wxWindow *result;
12533 PyObject * obj0 = 0 ;
12534 char *kwnames[] = {
12535 (char *) "self", NULL
12536 };
12537
12538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridWindow",kwnames,&obj0)) goto fail;
12539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12540 {
12541 PyThreadState* __tstate = wxPyBeginAllowThreads();
12542 result = (wxWindow *)(arg1)->GetGridWindow();
12543
12544 wxPyEndAllowThreads(__tstate);
12545 if (PyErr_Occurred()) SWIG_fail;
12546 }
12547 {
12548 resultobj = wxPyMake_wxObject(result);
12549 }
12550 return resultobj;
12551 fail:
12552 return NULL;
12553 }
12554
12555
12556 static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12557 PyObject *resultobj;
12558 wxGrid *arg1 = (wxGrid *) 0 ;
12559 wxWindow *result;
12560 PyObject * obj0 = 0 ;
12561 char *kwnames[] = {
12562 (char *) "self", NULL
12563 };
12564
12565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridRowLabelWindow",kwnames,&obj0)) goto fail;
12566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12567 {
12568 PyThreadState* __tstate = wxPyBeginAllowThreads();
12569 result = (wxWindow *)(arg1)->GetGridRowLabelWindow();
12570
12571 wxPyEndAllowThreads(__tstate);
12572 if (PyErr_Occurred()) SWIG_fail;
12573 }
12574 {
12575 resultobj = wxPyMake_wxObject(result);
12576 }
12577 return resultobj;
12578 fail:
12579 return NULL;
12580 }
12581
12582
12583 static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12584 PyObject *resultobj;
12585 wxGrid *arg1 = (wxGrid *) 0 ;
12586 wxWindow *result;
12587 PyObject * obj0 = 0 ;
12588 char *kwnames[] = {
12589 (char *) "self", NULL
12590 };
12591
12592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridColLabelWindow",kwnames,&obj0)) goto fail;
12593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12594 {
12595 PyThreadState* __tstate = wxPyBeginAllowThreads();
12596 result = (wxWindow *)(arg1)->GetGridColLabelWindow();
12597
12598 wxPyEndAllowThreads(__tstate);
12599 if (PyErr_Occurred()) SWIG_fail;
12600 }
12601 {
12602 resultobj = wxPyMake_wxObject(result);
12603 }
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj;
12612 wxGrid *arg1 = (wxGrid *) 0 ;
12613 wxWindow *result;
12614 PyObject * obj0 = 0 ;
12615 char *kwnames[] = {
12616 (char *) "self", NULL
12617 };
12618
12619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames,&obj0)) goto fail;
12620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12621 {
12622 PyThreadState* __tstate = wxPyBeginAllowThreads();
12623 result = (wxWindow *)(arg1)->GetGridCornerLabelWindow();
12624
12625 wxPyEndAllowThreads(__tstate);
12626 if (PyErr_Occurred()) SWIG_fail;
12627 }
12628 {
12629 resultobj = wxPyMake_wxObject(result);
12630 }
12631 return resultobj;
12632 fail:
12633 return NULL;
12634 }
12635
12636
12637 static PyObject * Grid_swigregister(PyObject *self, PyObject *args) {
12638 PyObject *obj;
12639 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12640 SWIG_TypeClientData(SWIGTYPE_p_wxGrid, obj);
12641 Py_INCREF(obj);
12642 return Py_BuildValue((char *)"");
12643 }
12644 static PyObject *_wrap_new_GridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12645 PyObject *resultobj;
12646 int arg1 ;
12647 wxEventType arg2 ;
12648 wxGrid *arg3 = (wxGrid *) 0 ;
12649 int arg4 = (int) -1 ;
12650 int arg5 = (int) -1 ;
12651 int arg6 = (int) -1 ;
12652 int arg7 = (int) -1 ;
12653 bool arg8 = (bool) True ;
12654 bool arg9 = (bool) False ;
12655 bool arg10 = (bool) False ;
12656 bool arg11 = (bool) False ;
12657 bool arg12 = (bool) False ;
12658 wxGridEvent *result;
12659 PyObject * obj2 = 0 ;
12660 PyObject * obj7 = 0 ;
12661 PyObject * obj8 = 0 ;
12662 PyObject * obj9 = 0 ;
12663 PyObject * obj10 = 0 ;
12664 PyObject * obj11 = 0 ;
12665 char *kwnames[] = {
12666 (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
12667 };
12668
12669 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;
12670 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12671 if (obj7) {
12672 arg8 = PyInt_AsLong(obj7) ? true : false;
12673 if (PyErr_Occurred()) SWIG_fail;
12674 }
12675 if (obj8) {
12676 arg9 = PyInt_AsLong(obj8) ? true : false;
12677 if (PyErr_Occurred()) SWIG_fail;
12678 }
12679 if (obj9) {
12680 arg10 = PyInt_AsLong(obj9) ? true : false;
12681 if (PyErr_Occurred()) SWIG_fail;
12682 }
12683 if (obj10) {
12684 arg11 = PyInt_AsLong(obj10) ? true : false;
12685 if (PyErr_Occurred()) SWIG_fail;
12686 }
12687 if (obj11) {
12688 arg12 = PyInt_AsLong(obj11) ? true : false;
12689 if (PyErr_Occurred()) SWIG_fail;
12690 }
12691 {
12692 PyThreadState* __tstate = wxPyBeginAllowThreads();
12693 result = (wxGridEvent *)new wxGridEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
12694
12695 wxPyEndAllowThreads(__tstate);
12696 if (PyErr_Occurred()) SWIG_fail;
12697 }
12698 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridEvent, 1);
12699 return resultobj;
12700 fail:
12701 return NULL;
12702 }
12703
12704
12705 static PyObject *_wrap_GridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12706 PyObject *resultobj;
12707 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12708 int result;
12709 PyObject * obj0 = 0 ;
12710 char *kwnames[] = {
12711 (char *) "self", NULL
12712 };
12713
12714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetRow",kwnames,&obj0)) goto fail;
12715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12716 {
12717 PyThreadState* __tstate = wxPyBeginAllowThreads();
12718 result = (int)(arg1)->GetRow();
12719
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 resultobj = PyInt_FromLong((long)result);
12724 return resultobj;
12725 fail:
12726 return NULL;
12727 }
12728
12729
12730 static PyObject *_wrap_GridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12731 PyObject *resultobj;
12732 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12733 int result;
12734 PyObject * obj0 = 0 ;
12735 char *kwnames[] = {
12736 (char *) "self", NULL
12737 };
12738
12739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetCol",kwnames,&obj0)) goto fail;
12740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12741 {
12742 PyThreadState* __tstate = wxPyBeginAllowThreads();
12743 result = (int)(arg1)->GetCol();
12744
12745 wxPyEndAllowThreads(__tstate);
12746 if (PyErr_Occurred()) SWIG_fail;
12747 }
12748 resultobj = PyInt_FromLong((long)result);
12749 return resultobj;
12750 fail:
12751 return NULL;
12752 }
12753
12754
12755 static PyObject *_wrap_GridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12756 PyObject *resultobj;
12757 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12758 wxPoint result;
12759 PyObject * obj0 = 0 ;
12760 char *kwnames[] = {
12761 (char *) "self", NULL
12762 };
12763
12764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetPosition",kwnames,&obj0)) goto fail;
12765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12766 {
12767 PyThreadState* __tstate = wxPyBeginAllowThreads();
12768 result = (arg1)->GetPosition();
12769
12770 wxPyEndAllowThreads(__tstate);
12771 if (PyErr_Occurred()) SWIG_fail;
12772 }
12773 {
12774 wxPoint * resultptr;
12775 resultptr = new wxPoint((wxPoint &) result);
12776 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12777 }
12778 return resultobj;
12779 fail:
12780 return NULL;
12781 }
12782
12783
12784 static PyObject *_wrap_GridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12785 PyObject *resultobj;
12786 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12787 bool result;
12788 PyObject * obj0 = 0 ;
12789 char *kwnames[] = {
12790 (char *) "self", NULL
12791 };
12792
12793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_Selecting",kwnames,&obj0)) goto fail;
12794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12795 {
12796 PyThreadState* __tstate = wxPyBeginAllowThreads();
12797 result = (bool)(arg1)->Selecting();
12798
12799 wxPyEndAllowThreads(__tstate);
12800 if (PyErr_Occurred()) SWIG_fail;
12801 }
12802 resultobj = PyInt_FromLong((long)result);
12803 return resultobj;
12804 fail:
12805 return NULL;
12806 }
12807
12808
12809 static PyObject *_wrap_GridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12810 PyObject *resultobj;
12811 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12812 bool result;
12813 PyObject * obj0 = 0 ;
12814 char *kwnames[] = {
12815 (char *) "self", NULL
12816 };
12817
12818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ControlDown",kwnames,&obj0)) goto fail;
12819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12820 {
12821 PyThreadState* __tstate = wxPyBeginAllowThreads();
12822 result = (bool)(arg1)->ControlDown();
12823
12824 wxPyEndAllowThreads(__tstate);
12825 if (PyErr_Occurred()) SWIG_fail;
12826 }
12827 resultobj = PyInt_FromLong((long)result);
12828 return resultobj;
12829 fail:
12830 return NULL;
12831 }
12832
12833
12834 static PyObject *_wrap_GridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12835 PyObject *resultobj;
12836 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12837 bool result;
12838 PyObject * obj0 = 0 ;
12839 char *kwnames[] = {
12840 (char *) "self", NULL
12841 };
12842
12843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_MetaDown",kwnames,&obj0)) goto fail;
12844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 result = (bool)(arg1)->MetaDown();
12848
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 resultobj = PyInt_FromLong((long)result);
12853 return resultobj;
12854 fail:
12855 return NULL;
12856 }
12857
12858
12859 static PyObject *_wrap_GridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12860 PyObject *resultobj;
12861 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12862 bool result;
12863 PyObject * obj0 = 0 ;
12864 char *kwnames[] = {
12865 (char *) "self", NULL
12866 };
12867
12868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ShiftDown",kwnames,&obj0)) goto fail;
12869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12870 {
12871 PyThreadState* __tstate = wxPyBeginAllowThreads();
12872 result = (bool)(arg1)->ShiftDown();
12873
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 resultobj = PyInt_FromLong((long)result);
12878 return resultobj;
12879 fail:
12880 return NULL;
12881 }
12882
12883
12884 static PyObject *_wrap_GridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12885 PyObject *resultobj;
12886 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
12887 bool result;
12888 PyObject * obj0 = 0 ;
12889 char *kwnames[] = {
12890 (char *) "self", NULL
12891 };
12892
12893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_AltDown",kwnames,&obj0)) goto fail;
12894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12895 {
12896 PyThreadState* __tstate = wxPyBeginAllowThreads();
12897 result = (bool)(arg1)->AltDown();
12898
12899 wxPyEndAllowThreads(__tstate);
12900 if (PyErr_Occurred()) SWIG_fail;
12901 }
12902 resultobj = PyInt_FromLong((long)result);
12903 return resultobj;
12904 fail:
12905 return NULL;
12906 }
12907
12908
12909 static PyObject * GridEvent_swigregister(PyObject *self, PyObject *args) {
12910 PyObject *obj;
12911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12912 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent, obj);
12913 Py_INCREF(obj);
12914 return Py_BuildValue((char *)"");
12915 }
12916 static PyObject *_wrap_new_GridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12917 PyObject *resultobj;
12918 int arg1 ;
12919 wxEventType arg2 ;
12920 wxGrid *arg3 = (wxGrid *) 0 ;
12921 int arg4 = (int) -1 ;
12922 int arg5 = (int) -1 ;
12923 int arg6 = (int) -1 ;
12924 bool arg7 = (bool) False ;
12925 bool arg8 = (bool) False ;
12926 bool arg9 = (bool) False ;
12927 bool arg10 = (bool) False ;
12928 wxGridSizeEvent *result;
12929 PyObject * obj2 = 0 ;
12930 PyObject * obj6 = 0 ;
12931 PyObject * obj7 = 0 ;
12932 PyObject * obj8 = 0 ;
12933 PyObject * obj9 = 0 ;
12934 char *kwnames[] = {
12935 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
12936 };
12937
12938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiO|iiiOOOO:new_GridSizeEvent",kwnames,&arg1,&arg2,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7,&obj8,&obj9)) goto fail;
12939 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12940 if (obj6) {
12941 arg7 = PyInt_AsLong(obj6) ? true : false;
12942 if (PyErr_Occurred()) SWIG_fail;
12943 }
12944 if (obj7) {
12945 arg8 = PyInt_AsLong(obj7) ? true : false;
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 if (obj8) {
12949 arg9 = PyInt_AsLong(obj8) ? true : false;
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 if (obj9) {
12953 arg10 = PyInt_AsLong(obj9) ? true : false;
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
12956 {
12957 PyThreadState* __tstate = wxPyBeginAllowThreads();
12958 result = (wxGridSizeEvent *)new wxGridSizeEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
12959
12960 wxPyEndAllowThreads(__tstate);
12961 if (PyErr_Occurred()) SWIG_fail;
12962 }
12963 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridSizeEvent, 1);
12964 return resultobj;
12965 fail:
12966 return NULL;
12967 }
12968
12969
12970 static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12971 PyObject *resultobj;
12972 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
12973 int result;
12974 PyObject * obj0 = 0 ;
12975 char *kwnames[] = {
12976 (char *) "self", NULL
12977 };
12978
12979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames,&obj0)) goto fail;
12980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12981 {
12982 PyThreadState* __tstate = wxPyBeginAllowThreads();
12983 result = (int)(arg1)->GetRowOrCol();
12984
12985 wxPyEndAllowThreads(__tstate);
12986 if (PyErr_Occurred()) SWIG_fail;
12987 }
12988 resultobj = PyInt_FromLong((long)result);
12989 return resultobj;
12990 fail:
12991 return NULL;
12992 }
12993
12994
12995 static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12996 PyObject *resultobj;
12997 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
12998 wxPoint result;
12999 PyObject * obj0 = 0 ;
13000 char *kwnames[] = {
13001 (char *) "self", NULL
13002 };
13003
13004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetPosition",kwnames,&obj0)) goto fail;
13005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13006 {
13007 PyThreadState* __tstate = wxPyBeginAllowThreads();
13008 result = (arg1)->GetPosition();
13009
13010 wxPyEndAllowThreads(__tstate);
13011 if (PyErr_Occurred()) SWIG_fail;
13012 }
13013 {
13014 wxPoint * resultptr;
13015 resultptr = new wxPoint((wxPoint &) result);
13016 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
13017 }
13018 return resultobj;
13019 fail:
13020 return NULL;
13021 }
13022
13023
13024 static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj;
13026 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
13027 bool result;
13028 PyObject * obj0 = 0 ;
13029 char *kwnames[] = {
13030 (char *) "self", NULL
13031 };
13032
13033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ControlDown",kwnames,&obj0)) goto fail;
13034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 result = (bool)(arg1)->ControlDown();
13038
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 resultobj = PyInt_FromLong((long)result);
13043 return resultobj;
13044 fail:
13045 return NULL;
13046 }
13047
13048
13049 static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13050 PyObject *resultobj;
13051 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
13052 bool result;
13053 PyObject * obj0 = 0 ;
13054 char *kwnames[] = {
13055 (char *) "self", NULL
13056 };
13057
13058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_MetaDown",kwnames,&obj0)) goto fail;
13059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13060 {
13061 PyThreadState* __tstate = wxPyBeginAllowThreads();
13062 result = (bool)(arg1)->MetaDown();
13063
13064 wxPyEndAllowThreads(__tstate);
13065 if (PyErr_Occurred()) SWIG_fail;
13066 }
13067 resultobj = PyInt_FromLong((long)result);
13068 return resultobj;
13069 fail:
13070 return NULL;
13071 }
13072
13073
13074 static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13075 PyObject *resultobj;
13076 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
13077 bool result;
13078 PyObject * obj0 = 0 ;
13079 char *kwnames[] = {
13080 (char *) "self", NULL
13081 };
13082
13083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ShiftDown",kwnames,&obj0)) goto fail;
13084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13085 {
13086 PyThreadState* __tstate = wxPyBeginAllowThreads();
13087 result = (bool)(arg1)->ShiftDown();
13088
13089 wxPyEndAllowThreads(__tstate);
13090 if (PyErr_Occurred()) SWIG_fail;
13091 }
13092 resultobj = PyInt_FromLong((long)result);
13093 return resultobj;
13094 fail:
13095 return NULL;
13096 }
13097
13098
13099 static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13100 PyObject *resultobj;
13101 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
13102 bool result;
13103 PyObject * obj0 = 0 ;
13104 char *kwnames[] = {
13105 (char *) "self", NULL
13106 };
13107
13108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_AltDown",kwnames,&obj0)) goto fail;
13109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13110 {
13111 PyThreadState* __tstate = wxPyBeginAllowThreads();
13112 result = (bool)(arg1)->AltDown();
13113
13114 wxPyEndAllowThreads(__tstate);
13115 if (PyErr_Occurred()) SWIG_fail;
13116 }
13117 resultobj = PyInt_FromLong((long)result);
13118 return resultobj;
13119 fail:
13120 return NULL;
13121 }
13122
13123
13124 static PyObject * GridSizeEvent_swigregister(PyObject *self, PyObject *args) {
13125 PyObject *obj;
13126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13127 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent, obj);
13128 Py_INCREF(obj);
13129 return Py_BuildValue((char *)"");
13130 }
13131 static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13132 PyObject *resultobj;
13133 int arg1 ;
13134 wxEventType arg2 ;
13135 wxGrid *arg3 = (wxGrid *) 0 ;
13136 wxGridCellCoords *arg4 = 0 ;
13137 wxGridCellCoords *arg5 = 0 ;
13138 bool arg6 = (bool) True ;
13139 bool arg7 = (bool) False ;
13140 bool arg8 = (bool) False ;
13141 bool arg9 = (bool) False ;
13142 bool arg10 = (bool) False ;
13143 wxGridRangeSelectEvent *result;
13144 wxGridCellCoords temp4 ;
13145 wxGridCellCoords temp5 ;
13146 PyObject * obj2 = 0 ;
13147 PyObject * obj3 = 0 ;
13148 PyObject * obj4 = 0 ;
13149 PyObject * obj5 = 0 ;
13150 PyObject * obj6 = 0 ;
13151 PyObject * obj7 = 0 ;
13152 PyObject * obj8 = 0 ;
13153 PyObject * obj9 = 0 ;
13154 char *kwnames[] = {
13155 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
13156 };
13157
13158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiOOO|OOOOO:new_GridRangeSelectEvent",kwnames,&arg1,&arg2,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13159 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13160 {
13161 arg4 = &temp4;
13162 if (! wxGridCellCoords_helper(obj3, &arg4)) SWIG_fail;
13163 }
13164 {
13165 arg5 = &temp5;
13166 if (! wxGridCellCoords_helper(obj4, &arg5)) SWIG_fail;
13167 }
13168 if (obj5) {
13169 arg6 = PyInt_AsLong(obj5) ? true : false;
13170 if (PyErr_Occurred()) SWIG_fail;
13171 }
13172 if (obj6) {
13173 arg7 = PyInt_AsLong(obj6) ? true : false;
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 if (obj7) {
13177 arg8 = PyInt_AsLong(obj7) ? true : false;
13178 if (PyErr_Occurred()) SWIG_fail;
13179 }
13180 if (obj8) {
13181 arg9 = PyInt_AsLong(obj8) ? true : false;
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
13184 if (obj9) {
13185 arg10 = PyInt_AsLong(obj9) ? true : false;
13186 if (PyErr_Occurred()) SWIG_fail;
13187 }
13188 {
13189 PyThreadState* __tstate = wxPyBeginAllowThreads();
13190 result = (wxGridRangeSelectEvent *)new wxGridRangeSelectEvent(arg1,arg2,arg3,(wxGridCellCoords const &)*arg4,(wxGridCellCoords const &)*arg5,arg6,arg7,arg8,arg9,arg10);
13191
13192 wxPyEndAllowThreads(__tstate);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 }
13195 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridRangeSelectEvent, 1);
13196 return resultobj;
13197 fail:
13198 return NULL;
13199 }
13200
13201
13202 static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13203 PyObject *resultobj;
13204 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13205 wxGridCellCoords result;
13206 PyObject * obj0 = 0 ;
13207 char *kwnames[] = {
13208 (char *) "self", NULL
13209 };
13210
13211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames,&obj0)) goto fail;
13212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
13215 result = (arg1)->GetTopLeftCoords();
13216
13217 wxPyEndAllowThreads(__tstate);
13218 if (PyErr_Occurred()) SWIG_fail;
13219 }
13220 {
13221 wxGridCellCoords * resultptr;
13222 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
13223 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGridCellCoords, 1);
13224 }
13225 return resultobj;
13226 fail:
13227 return NULL;
13228 }
13229
13230
13231 static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13232 PyObject *resultobj;
13233 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13234 wxGridCellCoords result;
13235 PyObject * obj0 = 0 ;
13236 char *kwnames[] = {
13237 (char *) "self", NULL
13238 };
13239
13240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames,&obj0)) goto fail;
13241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 result = (arg1)->GetBottomRightCoords();
13245
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 {
13250 wxGridCellCoords * resultptr;
13251 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
13252 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGridCellCoords, 1);
13253 }
13254 return resultobj;
13255 fail:
13256 return NULL;
13257 }
13258
13259
13260 static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13261 PyObject *resultobj;
13262 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13263 int result;
13264 PyObject * obj0 = 0 ;
13265 char *kwnames[] = {
13266 (char *) "self", NULL
13267 };
13268
13269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames,&obj0)) goto fail;
13270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13271 {
13272 PyThreadState* __tstate = wxPyBeginAllowThreads();
13273 result = (int)(arg1)->GetTopRow();
13274
13275 wxPyEndAllowThreads(__tstate);
13276 if (PyErr_Occurred()) SWIG_fail;
13277 }
13278 resultobj = PyInt_FromLong((long)result);
13279 return resultobj;
13280 fail:
13281 return NULL;
13282 }
13283
13284
13285 static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13286 PyObject *resultobj;
13287 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13288 int result;
13289 PyObject * obj0 = 0 ;
13290 char *kwnames[] = {
13291 (char *) "self", NULL
13292 };
13293
13294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames,&obj0)) goto fail;
13295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13296 {
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 result = (int)(arg1)->GetBottomRow();
13299
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 resultobj = PyInt_FromLong((long)result);
13304 return resultobj;
13305 fail:
13306 return NULL;
13307 }
13308
13309
13310 static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13311 PyObject *resultobj;
13312 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13313 int result;
13314 PyObject * obj0 = 0 ;
13315 char *kwnames[] = {
13316 (char *) "self", NULL
13317 };
13318
13319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames,&obj0)) goto fail;
13320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 result = (int)(arg1)->GetLeftCol();
13324
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 resultobj = PyInt_FromLong((long)result);
13329 return resultobj;
13330 fail:
13331 return NULL;
13332 }
13333
13334
13335 static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13336 PyObject *resultobj;
13337 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13338 int result;
13339 PyObject * obj0 = 0 ;
13340 char *kwnames[] = {
13341 (char *) "self", NULL
13342 };
13343
13344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames,&obj0)) goto fail;
13345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13346 {
13347 PyThreadState* __tstate = wxPyBeginAllowThreads();
13348 result = (int)(arg1)->GetRightCol();
13349
13350 wxPyEndAllowThreads(__tstate);
13351 if (PyErr_Occurred()) SWIG_fail;
13352 }
13353 resultobj = PyInt_FromLong((long)result);
13354 return resultobj;
13355 fail:
13356 return NULL;
13357 }
13358
13359
13360 static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
13361 PyObject *resultobj;
13362 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13363 bool result;
13364 PyObject * obj0 = 0 ;
13365 char *kwnames[] = {
13366 (char *) "self", NULL
13367 };
13368
13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_Selecting",kwnames,&obj0)) goto fail;
13370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 result = (bool)(arg1)->Selecting();
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 resultobj = PyInt_FromLong((long)result);
13379 return resultobj;
13380 fail:
13381 return NULL;
13382 }
13383
13384
13385 static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13386 PyObject *resultobj;
13387 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13388 bool result;
13389 PyObject * obj0 = 0 ;
13390 char *kwnames[] = {
13391 (char *) "self", NULL
13392 };
13393
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames,&obj0)) goto fail;
13395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13396 {
13397 PyThreadState* __tstate = wxPyBeginAllowThreads();
13398 result = (bool)(arg1)->ControlDown();
13399
13400 wxPyEndAllowThreads(__tstate);
13401 if (PyErr_Occurred()) SWIG_fail;
13402 }
13403 resultobj = PyInt_FromLong((long)result);
13404 return resultobj;
13405 fail:
13406 return NULL;
13407 }
13408
13409
13410 static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13411 PyObject *resultobj;
13412 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13413 bool result;
13414 PyObject * obj0 = 0 ;
13415 char *kwnames[] = {
13416 (char *) "self", NULL
13417 };
13418
13419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames,&obj0)) goto fail;
13420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13421 {
13422 PyThreadState* __tstate = wxPyBeginAllowThreads();
13423 result = (bool)(arg1)->MetaDown();
13424
13425 wxPyEndAllowThreads(__tstate);
13426 if (PyErr_Occurred()) SWIG_fail;
13427 }
13428 resultobj = PyInt_FromLong((long)result);
13429 return resultobj;
13430 fail:
13431 return NULL;
13432 }
13433
13434
13435 static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13436 PyObject *resultobj;
13437 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13438 bool result;
13439 PyObject * obj0 = 0 ;
13440 char *kwnames[] = {
13441 (char *) "self", NULL
13442 };
13443
13444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames,&obj0)) goto fail;
13445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13446 {
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 result = (bool)(arg1)->ShiftDown();
13449
13450 wxPyEndAllowThreads(__tstate);
13451 if (PyErr_Occurred()) SWIG_fail;
13452 }
13453 resultobj = PyInt_FromLong((long)result);
13454 return resultobj;
13455 fail:
13456 return NULL;
13457 }
13458
13459
13460 static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13461 PyObject *resultobj;
13462 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
13463 bool result;
13464 PyObject * obj0 = 0 ;
13465 char *kwnames[] = {
13466 (char *) "self", NULL
13467 };
13468
13469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_AltDown",kwnames,&obj0)) goto fail;
13470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13471 {
13472 PyThreadState* __tstate = wxPyBeginAllowThreads();
13473 result = (bool)(arg1)->AltDown();
13474
13475 wxPyEndAllowThreads(__tstate);
13476 if (PyErr_Occurred()) SWIG_fail;
13477 }
13478 resultobj = PyInt_FromLong((long)result);
13479 return resultobj;
13480 fail:
13481 return NULL;
13482 }
13483
13484
13485 static PyObject * GridRangeSelectEvent_swigregister(PyObject *self, PyObject *args) {
13486 PyObject *obj;
13487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13488 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent, obj);
13489 Py_INCREF(obj);
13490 return Py_BuildValue((char *)"");
13491 }
13492 static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13493 PyObject *resultobj;
13494 int arg1 ;
13495 wxEventType arg2 ;
13496 wxObject *arg3 = (wxObject *) 0 ;
13497 int arg4 ;
13498 int arg5 ;
13499 wxControl *arg6 = (wxControl *) 0 ;
13500 wxGridEditorCreatedEvent *result;
13501 PyObject * obj2 = 0 ;
13502 PyObject * obj5 = 0 ;
13503 char *kwnames[] = {
13504 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
13505 };
13506
13507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiOiiO:new_GridEditorCreatedEvent",kwnames,&arg1,&arg2,&obj2,&arg4,&arg5,&obj5)) goto fail;
13508 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13509 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13510 {
13511 PyThreadState* __tstate = wxPyBeginAllowThreads();
13512 result = (wxGridEditorCreatedEvent *)new wxGridEditorCreatedEvent(arg1,arg2,arg3,arg4,arg5,arg6);
13513
13514 wxPyEndAllowThreads(__tstate);
13515 if (PyErr_Occurred()) SWIG_fail;
13516 }
13517 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridEditorCreatedEvent, 1);
13518 return resultobj;
13519 fail:
13520 return NULL;
13521 }
13522
13523
13524 static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13525 PyObject *resultobj;
13526 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
13527 int result;
13528 PyObject * obj0 = 0 ;
13529 char *kwnames[] = {
13530 (char *) "self", NULL
13531 };
13532
13533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames,&obj0)) goto fail;
13534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13535 {
13536 PyThreadState* __tstate = wxPyBeginAllowThreads();
13537 result = (int)(arg1)->GetRow();
13538
13539 wxPyEndAllowThreads(__tstate);
13540 if (PyErr_Occurred()) SWIG_fail;
13541 }
13542 resultobj = PyInt_FromLong((long)result);
13543 return resultobj;
13544 fail:
13545 return NULL;
13546 }
13547
13548
13549 static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13550 PyObject *resultobj;
13551 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
13552 int result;
13553 PyObject * obj0 = 0 ;
13554 char *kwnames[] = {
13555 (char *) "self", NULL
13556 };
13557
13558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames,&obj0)) goto fail;
13559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13560 {
13561 PyThreadState* __tstate = wxPyBeginAllowThreads();
13562 result = (int)(arg1)->GetCol();
13563
13564 wxPyEndAllowThreads(__tstate);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 }
13567 resultobj = PyInt_FromLong((long)result);
13568 return resultobj;
13569 fail:
13570 return NULL;
13571 }
13572
13573
13574 static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13575 PyObject *resultobj;
13576 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
13577 wxControl *result;
13578 PyObject * obj0 = 0 ;
13579 char *kwnames[] = {
13580 (char *) "self", NULL
13581 };
13582
13583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames,&obj0)) goto fail;
13584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13585 {
13586 PyThreadState* __tstate = wxPyBeginAllowThreads();
13587 result = (wxControl *)(arg1)->GetControl();
13588
13589 wxPyEndAllowThreads(__tstate);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 }
13592 {
13593 resultobj = wxPyMake_wxObject(result);
13594 }
13595 return resultobj;
13596 fail:
13597 return NULL;
13598 }
13599
13600
13601 static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13602 PyObject *resultobj;
13603 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
13604 int arg2 ;
13605 PyObject * obj0 = 0 ;
13606 char *kwnames[] = {
13607 (char *) "self",(char *) "row", NULL
13608 };
13609
13610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridEditorCreatedEvent_SetRow",kwnames,&obj0,&arg2)) goto fail;
13611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13612 {
13613 PyThreadState* __tstate = wxPyBeginAllowThreads();
13614 (arg1)->SetRow(arg2);
13615
13616 wxPyEndAllowThreads(__tstate);
13617 if (PyErr_Occurred()) SWIG_fail;
13618 }
13619 Py_INCREF(Py_None); resultobj = Py_None;
13620 return resultobj;
13621 fail:
13622 return NULL;
13623 }
13624
13625
13626 static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13627 PyObject *resultobj;
13628 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
13629 int arg2 ;
13630 PyObject * obj0 = 0 ;
13631 char *kwnames[] = {
13632 (char *) "self",(char *) "col", NULL
13633 };
13634
13635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridEditorCreatedEvent_SetCol",kwnames,&obj0,&arg2)) goto fail;
13636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13637 {
13638 PyThreadState* __tstate = wxPyBeginAllowThreads();
13639 (arg1)->SetCol(arg2);
13640
13641 wxPyEndAllowThreads(__tstate);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
13644 Py_INCREF(Py_None); resultobj = Py_None;
13645 return resultobj;
13646 fail:
13647 return NULL;
13648 }
13649
13650
13651 static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13652 PyObject *resultobj;
13653 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
13654 wxControl *arg2 = (wxControl *) 0 ;
13655 PyObject * obj0 = 0 ;
13656 PyObject * obj1 = 0 ;
13657 char *kwnames[] = {
13658 (char *) "self",(char *) "ctrl", NULL
13659 };
13660
13661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames,&obj0,&obj1)) goto fail;
13662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13664 {
13665 PyThreadState* __tstate = wxPyBeginAllowThreads();
13666 (arg1)->SetControl(arg2);
13667
13668 wxPyEndAllowThreads(__tstate);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 }
13671 Py_INCREF(Py_None); resultobj = Py_None;
13672 return resultobj;
13673 fail:
13674 return NULL;
13675 }
13676
13677
13678 static PyObject * GridEditorCreatedEvent_swigregister(PyObject *self, PyObject *args) {
13679 PyObject *obj;
13680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13681 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent, obj);
13682 Py_INCREF(obj);
13683 return Py_BuildValue((char *)"");
13684 }
13685 static PyMethodDef SwigMethods[] = {
13686 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction) _wrap_GridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
13687 { (char *)"GridCellRenderer_SetParameters", (PyCFunction) _wrap_GridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
13688 { (char *)"GridCellRenderer_IncRef", (PyCFunction) _wrap_GridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
13689 { (char *)"GridCellRenderer_DecRef", (PyCFunction) _wrap_GridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
13690 { (char *)"GridCellRenderer_Draw", (PyCFunction) _wrap_GridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
13691 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction) _wrap_GridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
13692 { (char *)"GridCellRenderer_Clone", (PyCFunction) _wrap_GridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
13693 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister, METH_VARARGS },
13694 { (char *)"new_PyGridCellRenderer", (PyCFunction) _wrap_new_PyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
13695 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_PyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
13696 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_PyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13697 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister, METH_VARARGS },
13698 { (char *)"new_GridCellStringRenderer", (PyCFunction) _wrap_new_GridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
13699 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister, METH_VARARGS },
13700 { (char *)"new_GridCellNumberRenderer", (PyCFunction) _wrap_new_GridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
13701 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister, METH_VARARGS },
13702 { (char *)"new_GridCellFloatRenderer", (PyCFunction) _wrap_new_GridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
13703 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
13704 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
13705 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
13706 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
13707 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister, METH_VARARGS },
13708 { (char *)"new_GridCellBoolRenderer", (PyCFunction) _wrap_new_GridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
13709 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister, METH_VARARGS },
13710 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction) _wrap_new_GridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
13711 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister, METH_VARARGS },
13712 { (char *)"new_GridCellEnumRenderer", (PyCFunction) _wrap_new_GridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
13713 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister, METH_VARARGS },
13714 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_GridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
13715 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister, METH_VARARGS },
13716 { (char *)"GridCellEditor__setOORInfo", (PyCFunction) _wrap_GridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS },
13717 { (char *)"GridCellEditor_IsCreated", (PyCFunction) _wrap_GridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
13718 { (char *)"GridCellEditor_GetControl", (PyCFunction) _wrap_GridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
13719 { (char *)"GridCellEditor_SetControl", (PyCFunction) _wrap_GridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
13720 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction) _wrap_GridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS },
13721 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction) _wrap_GridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS },
13722 { (char *)"GridCellEditor_SetParameters", (PyCFunction) _wrap_GridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
13723 { (char *)"GridCellEditor_IncRef", (PyCFunction) _wrap_GridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
13724 { (char *)"GridCellEditor_DecRef", (PyCFunction) _wrap_GridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
13725 { (char *)"GridCellEditor_Create", (PyCFunction) _wrap_GridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
13726 { (char *)"GridCellEditor_BeginEdit", (PyCFunction) _wrap_GridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
13727 { (char *)"GridCellEditor_EndEdit", (PyCFunction) _wrap_GridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
13728 { (char *)"GridCellEditor_Reset", (PyCFunction) _wrap_GridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
13729 { (char *)"GridCellEditor_Clone", (PyCFunction) _wrap_GridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
13730 { (char *)"GridCellEditor_SetSize", (PyCFunction) _wrap_GridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
13731 { (char *)"GridCellEditor_Show", (PyCFunction) _wrap_GridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
13732 { (char *)"GridCellEditor_PaintBackground", (PyCFunction) _wrap_GridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13733 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_GridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
13734 { (char *)"GridCellEditor_StartingKey", (PyCFunction) _wrap_GridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
13735 { (char *)"GridCellEditor_StartingClick", (PyCFunction) _wrap_GridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
13736 { (char *)"GridCellEditor_HandleReturn", (PyCFunction) _wrap_GridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13737 { (char *)"GridCellEditor_Destroy", (PyCFunction) _wrap_GridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
13738 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister, METH_VARARGS },
13739 { (char *)"new_PyGridCellEditor", (PyCFunction) _wrap_new_PyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
13740 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_PyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
13741 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction) _wrap_PyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
13742 { (char *)"PyGridCellEditor_base_Show", (PyCFunction) _wrap_PyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
13743 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_PyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
13744 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_PyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
13745 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_PyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
13746 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_PyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
13747 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_PyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
13748 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction) _wrap_PyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
13749 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_PyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
13750 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister, METH_VARARGS },
13751 { (char *)"new_GridCellTextEditor", (PyCFunction) _wrap_new_GridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
13752 { (char *)"GridCellTextEditor_GetValue", (PyCFunction) _wrap_GridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
13753 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister, METH_VARARGS },
13754 { (char *)"new_GridCellNumberEditor", (PyCFunction) _wrap_new_GridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
13755 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction) _wrap_GridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
13756 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister, METH_VARARGS },
13757 { (char *)"new_GridCellFloatEditor", (PyCFunction) _wrap_new_GridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
13758 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction) _wrap_GridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
13759 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS },
13760 { (char *)"new_GridCellBoolEditor", (PyCFunction) _wrap_new_GridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
13761 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction) _wrap_GridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
13762 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS },
13763 { (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
13764 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction) _wrap_GridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
13765 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister, METH_VARARGS },
13766 { (char *)"new_GridCellEnumEditor", (PyCFunction) _wrap_new_GridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
13767 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction) _wrap_GridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
13768 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister, METH_VARARGS },
13769 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_GridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
13770 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_GridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
13771 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister, METH_VARARGS },
13772 { (char *)"GridCellAttr__setOORInfo", (PyCFunction) _wrap_GridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS },
13773 { (char *)"new_GridCellAttr", (PyCFunction) _wrap_new_GridCellAttr, METH_VARARGS | METH_KEYWORDS },
13774 { (char *)"GridCellAttr_Clone", (PyCFunction) _wrap_GridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
13775 { (char *)"GridCellAttr_MergeWith", (PyCFunction) _wrap_GridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
13776 { (char *)"GridCellAttr_IncRef", (PyCFunction) _wrap_GridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
13777 { (char *)"GridCellAttr_DecRef", (PyCFunction) _wrap_GridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
13778 { (char *)"GridCellAttr_SetTextColour", (PyCFunction) _wrap_GridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
13779 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13780 { (char *)"GridCellAttr_SetFont", (PyCFunction) _wrap_GridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
13781 { (char *)"GridCellAttr_SetAlignment", (PyCFunction) _wrap_GridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
13782 { (char *)"GridCellAttr_SetSize", (PyCFunction) _wrap_GridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS },
13783 { (char *)"GridCellAttr_SetOverflow", (PyCFunction) _wrap_GridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS },
13784 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction) _wrap_GridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13785 { (char *)"GridCellAttr_SetRenderer", (PyCFunction) _wrap_GridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
13786 { (char *)"GridCellAttr_SetEditor", (PyCFunction) _wrap_GridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
13787 { (char *)"GridCellAttr_SetKind", (PyCFunction) _wrap_GridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
13788 { (char *)"GridCellAttr_HasTextColour", (PyCFunction) _wrap_GridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
13789 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_GridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13790 { (char *)"GridCellAttr_HasFont", (PyCFunction) _wrap_GridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
13791 { (char *)"GridCellAttr_HasAlignment", (PyCFunction) _wrap_GridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
13792 { (char *)"GridCellAttr_HasRenderer", (PyCFunction) _wrap_GridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
13793 { (char *)"GridCellAttr_HasEditor", (PyCFunction) _wrap_GridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
13794 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_GridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
13795 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction) _wrap_GridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS },
13796 { (char *)"GridCellAttr_GetTextColour", (PyCFunction) _wrap_GridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
13797 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13798 { (char *)"GridCellAttr_GetFont", (PyCFunction) _wrap_GridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
13799 { (char *)"GridCellAttr_GetAlignment", (PyCFunction) _wrap_GridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
13800 { (char *)"GridCellAttr_GetSize", (PyCFunction) _wrap_GridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS },
13801 { (char *)"GridCellAttr_GetOverflow", (PyCFunction) _wrap_GridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS },
13802 { (char *)"GridCellAttr_GetRenderer", (PyCFunction) _wrap_GridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
13803 { (char *)"GridCellAttr_GetEditor", (PyCFunction) _wrap_GridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
13804 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction) _wrap_GridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13805 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction) _wrap_GridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
13806 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister, METH_VARARGS },
13807 { (char *)"new_GridCellAttrProvider", (PyCFunction) _wrap_new_GridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13808 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_GridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS },
13809 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction) _wrap_GridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
13810 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
13811 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13812 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13813 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
13814 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
13815 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister, METH_VARARGS },
13816 { (char *)"new_PyGridCellAttrProvider", (PyCFunction) _wrap_new_PyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13817 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_PyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
13818 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13819 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13820 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13821 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13822 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister, METH_VARARGS },
13823 { (char *)"GridTableBase__setOORInfo", (PyCFunction) _wrap_GridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS },
13824 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction) _wrap_GridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13825 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction) _wrap_GridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13826 { (char *)"GridTableBase_SetView", (PyCFunction) _wrap_GridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
13827 { (char *)"GridTableBase_GetView", (PyCFunction) _wrap_GridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
13828 { (char *)"GridTableBase_GetNumberRows", (PyCFunction) _wrap_GridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13829 { (char *)"GridTableBase_GetNumberCols", (PyCFunction) _wrap_GridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13830 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction) _wrap_GridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
13831 { (char *)"GridTableBase_GetValue", (PyCFunction) _wrap_GridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
13832 { (char *)"GridTableBase_SetValue", (PyCFunction) _wrap_GridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
13833 { (char *)"GridTableBase_GetTypeName", (PyCFunction) _wrap_GridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13834 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction) _wrap_GridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13835 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction) _wrap_GridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13836 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction) _wrap_GridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13837 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction) _wrap_GridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13838 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction) _wrap_GridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13839 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction) _wrap_GridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13840 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction) _wrap_GridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13841 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction) _wrap_GridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13842 { (char *)"GridTableBase_Clear", (PyCFunction) _wrap_GridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
13843 { (char *)"GridTableBase_InsertRows", (PyCFunction) _wrap_GridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
13844 { (char *)"GridTableBase_AppendRows", (PyCFunction) _wrap_GridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
13845 { (char *)"GridTableBase_DeleteRows", (PyCFunction) _wrap_GridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13846 { (char *)"GridTableBase_InsertCols", (PyCFunction) _wrap_GridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
13847 { (char *)"GridTableBase_AppendCols", (PyCFunction) _wrap_GridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
13848 { (char *)"GridTableBase_DeleteCols", (PyCFunction) _wrap_GridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13849 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction) _wrap_GridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13850 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction) _wrap_GridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13851 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction) _wrap_GridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13852 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction) _wrap_GridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13853 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction) _wrap_GridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13854 { (char *)"GridTableBase_GetAttr", (PyCFunction) _wrap_GridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
13855 { (char *)"GridTableBase_SetAttr", (PyCFunction) _wrap_GridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
13856 { (char *)"GridTableBase_SetRowAttr", (PyCFunction) _wrap_GridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13857 { (char *)"GridTableBase_SetColAttr", (PyCFunction) _wrap_GridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13858 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister, METH_VARARGS },
13859 { (char *)"new_PyGridTableBase", (PyCFunction) _wrap_new_PyGridTableBase, METH_VARARGS | METH_KEYWORDS },
13860 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_PyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
13861 { (char *)"PyGridTableBase_Destroy", (PyCFunction) _wrap_PyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
13862 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_PyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13863 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13864 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13865 { (char *)"PyGridTableBase_base_Clear", (PyCFunction) _wrap_PyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
13866 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction) _wrap_PyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
13867 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction) _wrap_PyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
13868 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_PyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13869 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction) _wrap_PyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
13870 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction) _wrap_PyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
13871 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_PyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13872 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13873 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13874 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13875 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13876 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_PyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13877 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction) _wrap_PyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13878 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13879 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13880 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13881 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister, METH_VARARGS },
13882 { (char *)"new_GridStringTable", (PyCFunction) _wrap_new_GridStringTable, METH_VARARGS | METH_KEYWORDS },
13883 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister, METH_VARARGS },
13884 { (char *)"new_GridTableMessage", (PyCFunction) _wrap_new_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
13885 { (char *)"delete_GridTableMessage", (PyCFunction) _wrap_delete_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
13886 { (char *)"GridTableMessage_SetTableObject", (PyCFunction) _wrap_GridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
13887 { (char *)"GridTableMessage_GetTableObject", (PyCFunction) _wrap_GridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
13888 { (char *)"GridTableMessage_SetId", (PyCFunction) _wrap_GridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
13889 { (char *)"GridTableMessage_GetId", (PyCFunction) _wrap_GridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
13890 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction) _wrap_GridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
13891 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction) _wrap_GridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
13892 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction) _wrap_GridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13893 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction) _wrap_GridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13894 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister, METH_VARARGS },
13895 { (char *)"new_GridCellCoords", (PyCFunction) _wrap_new_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
13896 { (char *)"delete_GridCellCoords", (PyCFunction) _wrap_delete_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
13897 { (char *)"GridCellCoords_GetRow", (PyCFunction) _wrap_GridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
13898 { (char *)"GridCellCoords_SetRow", (PyCFunction) _wrap_GridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
13899 { (char *)"GridCellCoords_GetCol", (PyCFunction) _wrap_GridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
13900 { (char *)"GridCellCoords_SetCol", (PyCFunction) _wrap_GridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
13901 { (char *)"GridCellCoords_Set", (PyCFunction) _wrap_GridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
13902 { (char *)"GridCellCoords___eq__", (PyCFunction) _wrap_GridCellCoords___eq__, METH_VARARGS | METH_KEYWORDS },
13903 { (char *)"GridCellCoords___ne__", (PyCFunction) _wrap_GridCellCoords___ne__, METH_VARARGS | METH_KEYWORDS },
13904 { (char *)"GridCellCoords_asTuple", (PyCFunction) _wrap_GridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
13905 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister, METH_VARARGS },
13906 { (char *)"new_Grid", (PyCFunction) _wrap_new_Grid, METH_VARARGS | METH_KEYWORDS },
13907 { (char *)"Grid_CreateGrid", (PyCFunction) _wrap_Grid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
13908 { (char *)"Grid_SetSelectionMode", (PyCFunction) _wrap_Grid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
13909 { (char *)"Grid_GetSelectionMode", (PyCFunction) _wrap_Grid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
13910 { (char *)"Grid_GetNumberRows", (PyCFunction) _wrap_Grid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13911 { (char *)"Grid_GetNumberCols", (PyCFunction) _wrap_Grid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13912 { (char *)"Grid_ProcessTableMessage", (PyCFunction) _wrap_Grid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
13913 { (char *)"Grid_GetTable", (PyCFunction) _wrap_Grid_GetTable, METH_VARARGS | METH_KEYWORDS },
13914 { (char *)"Grid_SetTable", (PyCFunction) _wrap_Grid_SetTable, METH_VARARGS | METH_KEYWORDS },
13915 { (char *)"Grid_ClearGrid", (PyCFunction) _wrap_Grid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
13916 { (char *)"Grid_InsertRows", (PyCFunction) _wrap_Grid_InsertRows, METH_VARARGS | METH_KEYWORDS },
13917 { (char *)"Grid_AppendRows", (PyCFunction) _wrap_Grid_AppendRows, METH_VARARGS | METH_KEYWORDS },
13918 { (char *)"Grid_DeleteRows", (PyCFunction) _wrap_Grid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13919 { (char *)"Grid_InsertCols", (PyCFunction) _wrap_Grid_InsertCols, METH_VARARGS | METH_KEYWORDS },
13920 { (char *)"Grid_AppendCols", (PyCFunction) _wrap_Grid_AppendCols, METH_VARARGS | METH_KEYWORDS },
13921 { (char *)"Grid_DeleteCols", (PyCFunction) _wrap_Grid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13922 { (char *)"Grid_DrawCellHighlight", (PyCFunction) _wrap_Grid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
13923 { (char *)"Grid_DrawTextRectangle", (PyCFunction) _wrap_Grid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
13924 { (char *)"Grid_GetTextBoxSize", (PyCFunction) _wrap_Grid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
13925 { (char *)"Grid_BeginBatch", (PyCFunction) _wrap_Grid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
13926 { (char *)"Grid_EndBatch", (PyCFunction) _wrap_Grid_EndBatch, METH_VARARGS | METH_KEYWORDS },
13927 { (char *)"Grid_GetBatchCount", (PyCFunction) _wrap_Grid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
13928 { (char *)"Grid_ForceRefresh", (PyCFunction) _wrap_Grid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
13929 { (char *)"Grid_Refresh", (PyCFunction) _wrap_Grid_Refresh, METH_VARARGS | METH_KEYWORDS },
13930 { (char *)"Grid_IsEditable", (PyCFunction) _wrap_Grid_IsEditable, METH_VARARGS | METH_KEYWORDS },
13931 { (char *)"Grid_EnableEditing", (PyCFunction) _wrap_Grid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
13932 { (char *)"Grid_EnableCellEditControl", (PyCFunction) _wrap_Grid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13933 { (char *)"Grid_DisableCellEditControl", (PyCFunction) _wrap_Grid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13934 { (char *)"Grid_CanEnableCellControl", (PyCFunction) _wrap_Grid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
13935 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction) _wrap_Grid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
13936 { (char *)"Grid_IsCellEditControlShown", (PyCFunction) _wrap_Grid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
13937 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction) _wrap_Grid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
13938 { (char *)"Grid_ShowCellEditControl", (PyCFunction) _wrap_Grid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
13939 { (char *)"Grid_HideCellEditControl", (PyCFunction) _wrap_Grid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
13940 { (char *)"Grid_SaveEditControlValue", (PyCFunction) _wrap_Grid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
13941 { (char *)"Grid_XYToCell", (PyCFunction) _wrap_Grid_XYToCell, METH_VARARGS | METH_KEYWORDS },
13942 { (char *)"Grid_YToRow", (PyCFunction) _wrap_Grid_YToRow, METH_VARARGS | METH_KEYWORDS },
13943 { (char *)"Grid_XToCol", (PyCFunction) _wrap_Grid_XToCol, METH_VARARGS | METH_KEYWORDS },
13944 { (char *)"Grid_YToEdgeOfRow", (PyCFunction) _wrap_Grid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
13945 { (char *)"Grid_XToEdgeOfCol", (PyCFunction) _wrap_Grid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
13946 { (char *)"Grid_CellToRect", (PyCFunction) _wrap_Grid_CellToRect, METH_VARARGS | METH_KEYWORDS },
13947 { (char *)"Grid_GetGridCursorRow", (PyCFunction) _wrap_Grid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
13948 { (char *)"Grid_GetGridCursorCol", (PyCFunction) _wrap_Grid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
13949 { (char *)"Grid_IsVisible", (PyCFunction) _wrap_Grid_IsVisible, METH_VARARGS | METH_KEYWORDS },
13950 { (char *)"Grid_MakeCellVisible", (PyCFunction) _wrap_Grid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
13951 { (char *)"Grid_SetGridCursor", (PyCFunction) _wrap_Grid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
13952 { (char *)"Grid_MoveCursorUp", (PyCFunction) _wrap_Grid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
13953 { (char *)"Grid_MoveCursorDown", (PyCFunction) _wrap_Grid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
13954 { (char *)"Grid_MoveCursorLeft", (PyCFunction) _wrap_Grid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
13955 { (char *)"Grid_MoveCursorRight", (PyCFunction) _wrap_Grid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
13956 { (char *)"Grid_MovePageDown", (PyCFunction) _wrap_Grid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
13957 { (char *)"Grid_MovePageUp", (PyCFunction) _wrap_Grid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
13958 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction) _wrap_Grid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
13959 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction) _wrap_Grid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
13960 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction) _wrap_Grid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
13961 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction) _wrap_Grid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
13962 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction) _wrap_Grid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13963 { (char *)"Grid_GetRowLabelSize", (PyCFunction) _wrap_Grid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13964 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction) _wrap_Grid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
13965 { (char *)"Grid_GetColLabelSize", (PyCFunction) _wrap_Grid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13966 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction) _wrap_Grid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13967 { (char *)"Grid_GetLabelTextColour", (PyCFunction) _wrap_Grid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13968 { (char *)"Grid_GetLabelFont", (PyCFunction) _wrap_Grid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
13969 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction) _wrap_Grid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13970 { (char *)"Grid_GetColLabelAlignment", (PyCFunction) _wrap_Grid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13971 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction) _wrap_Grid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
13972 { (char *)"Grid_GetRowLabelValue", (PyCFunction) _wrap_Grid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13973 { (char *)"Grid_GetColLabelValue", (PyCFunction) _wrap_Grid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13974 { (char *)"Grid_GetGridLineColour", (PyCFunction) _wrap_Grid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13975 { (char *)"Grid_GetCellHighlightColour", (PyCFunction) _wrap_Grid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13976 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
13977 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13978 { (char *)"Grid_SetRowLabelSize", (PyCFunction) _wrap_Grid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13979 { (char *)"Grid_SetColLabelSize", (PyCFunction) _wrap_Grid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13980 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction) _wrap_Grid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13981 { (char *)"Grid_SetLabelTextColour", (PyCFunction) _wrap_Grid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13982 { (char *)"Grid_SetLabelFont", (PyCFunction) _wrap_Grid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
13983 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction) _wrap_Grid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13984 { (char *)"Grid_SetColLabelAlignment", (PyCFunction) _wrap_Grid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13985 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction) _wrap_Grid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
13986 { (char *)"Grid_SetRowLabelValue", (PyCFunction) _wrap_Grid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13987 { (char *)"Grid_SetColLabelValue", (PyCFunction) _wrap_Grid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13988 { (char *)"Grid_SetGridLineColour", (PyCFunction) _wrap_Grid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13989 { (char *)"Grid_SetCellHighlightColour", (PyCFunction) _wrap_Grid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13990 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
13991 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13992 { (char *)"Grid_EnableDragRowSize", (PyCFunction) _wrap_Grid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
13993 { (char *)"Grid_DisableDragRowSize", (PyCFunction) _wrap_Grid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
13994 { (char *)"Grid_CanDragRowSize", (PyCFunction) _wrap_Grid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
13995 { (char *)"Grid_EnableDragColSize", (PyCFunction) _wrap_Grid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
13996 { (char *)"Grid_DisableDragColSize", (PyCFunction) _wrap_Grid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
13997 { (char *)"Grid_CanDragColSize", (PyCFunction) _wrap_Grid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
13998 { (char *)"Grid_EnableDragGridSize", (PyCFunction) _wrap_Grid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13999 { (char *)"Grid_DisableDragGridSize", (PyCFunction) _wrap_Grid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
14000 { (char *)"Grid_CanDragGridSize", (PyCFunction) _wrap_Grid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
14001 { (char *)"Grid_SetAttr", (PyCFunction) _wrap_Grid_SetAttr, METH_VARARGS | METH_KEYWORDS },
14002 { (char *)"Grid_SetRowAttr", (PyCFunction) _wrap_Grid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14003 { (char *)"Grid_SetColAttr", (PyCFunction) _wrap_Grid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14004 { (char *)"Grid_SetColFormatBool", (PyCFunction) _wrap_Grid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
14005 { (char *)"Grid_SetColFormatNumber", (PyCFunction) _wrap_Grid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
14006 { (char *)"Grid_SetColFormatFloat", (PyCFunction) _wrap_Grid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
14007 { (char *)"Grid_SetColFormatCustom", (PyCFunction) _wrap_Grid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
14008 { (char *)"Grid_EnableGridLines", (PyCFunction) _wrap_Grid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
14009 { (char *)"Grid_GridLinesEnabled", (PyCFunction) _wrap_Grid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
14010 { (char *)"Grid_GetDefaultRowSize", (PyCFunction) _wrap_Grid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
14011 { (char *)"Grid_GetRowSize", (PyCFunction) _wrap_Grid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
14012 { (char *)"Grid_GetDefaultColSize", (PyCFunction) _wrap_Grid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
14013 { (char *)"Grid_GetColSize", (PyCFunction) _wrap_Grid_GetColSize, METH_VARARGS | METH_KEYWORDS },
14014 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14015 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction) _wrap_Grid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14016 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction) _wrap_Grid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
14017 { (char *)"Grid_GetCellTextColour", (PyCFunction) _wrap_Grid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
14018 { (char *)"Grid_GetDefaultCellFont", (PyCFunction) _wrap_Grid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
14019 { (char *)"Grid_GetCellFont", (PyCFunction) _wrap_Grid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
14020 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction) _wrap_Grid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
14021 { (char *)"Grid_GetCellAlignment", (PyCFunction) _wrap_Grid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
14022 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction) _wrap_Grid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
14023 { (char *)"Grid_GetCellOverflow", (PyCFunction) _wrap_Grid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS },
14024 { (char *)"Grid_GetCellSize", (PyCFunction) _wrap_Grid_GetCellSize, METH_VARARGS | METH_KEYWORDS },
14025 { (char *)"Grid_SetDefaultRowSize", (PyCFunction) _wrap_Grid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
14026 { (char *)"Grid_SetRowSize", (PyCFunction) _wrap_Grid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
14027 { (char *)"Grid_SetDefaultColSize", (PyCFunction) _wrap_Grid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
14028 { (char *)"Grid_SetColSize", (PyCFunction) _wrap_Grid_SetColSize, METH_VARARGS | METH_KEYWORDS },
14029 { (char *)"Grid_AutoSizeColumn", (PyCFunction) _wrap_Grid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
14030 { (char *)"Grid_AutoSizeRow", (PyCFunction) _wrap_Grid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
14031 { (char *)"Grid_AutoSizeColumns", (PyCFunction) _wrap_Grid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
14032 { (char *)"Grid_AutoSizeRows", (PyCFunction) _wrap_Grid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
14033 { (char *)"Grid_AutoSize", (PyCFunction) _wrap_Grid_AutoSize, METH_VARARGS | METH_KEYWORDS },
14034 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction) _wrap_Grid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14035 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction) _wrap_Grid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS },
14036 { (char *)"Grid_SetColMinimalWidth", (PyCFunction) _wrap_Grid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
14037 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction) _wrap_Grid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
14038 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
14039 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
14040 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
14041 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
14042 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14043 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction) _wrap_Grid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14044 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction) _wrap_Grid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
14045 { (char *)"Grid_SetCellTextColour", (PyCFunction) _wrap_Grid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
14046 { (char *)"Grid_SetDefaultCellFont", (PyCFunction) _wrap_Grid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
14047 { (char *)"Grid_SetCellFont", (PyCFunction) _wrap_Grid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
14048 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction) _wrap_Grid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
14049 { (char *)"Grid_SetCellAlignment", (PyCFunction) _wrap_Grid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
14050 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction) _wrap_Grid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
14051 { (char *)"Grid_SetCellOverflow", (PyCFunction) _wrap_Grid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS },
14052 { (char *)"Grid_SetCellSize", (PyCFunction) _wrap_Grid_SetCellSize, METH_VARARGS | METH_KEYWORDS },
14053 { (char *)"Grid_SetDefaultRenderer", (PyCFunction) _wrap_Grid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
14054 { (char *)"Grid_SetCellRenderer", (PyCFunction) _wrap_Grid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
14055 { (char *)"Grid_GetDefaultRenderer", (PyCFunction) _wrap_Grid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
14056 { (char *)"Grid_GetCellRenderer", (PyCFunction) _wrap_Grid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
14057 { (char *)"Grid_SetDefaultEditor", (PyCFunction) _wrap_Grid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
14058 { (char *)"Grid_SetCellEditor", (PyCFunction) _wrap_Grid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
14059 { (char *)"Grid_GetDefaultEditor", (PyCFunction) _wrap_Grid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
14060 { (char *)"Grid_GetCellEditor", (PyCFunction) _wrap_Grid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
14061 { (char *)"Grid_GetCellValue", (PyCFunction) _wrap_Grid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
14062 { (char *)"Grid_SetCellValue", (PyCFunction) _wrap_Grid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
14063 { (char *)"Grid_IsReadOnly", (PyCFunction) _wrap_Grid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
14064 { (char *)"Grid_SetReadOnly", (PyCFunction) _wrap_Grid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
14065 { (char *)"Grid_SelectRow", (PyCFunction) _wrap_Grid_SelectRow, METH_VARARGS | METH_KEYWORDS },
14066 { (char *)"Grid_SelectCol", (PyCFunction) _wrap_Grid_SelectCol, METH_VARARGS | METH_KEYWORDS },
14067 { (char *)"Grid_SelectBlock", (PyCFunction) _wrap_Grid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
14068 { (char *)"Grid_SelectAll", (PyCFunction) _wrap_Grid_SelectAll, METH_VARARGS | METH_KEYWORDS },
14069 { (char *)"Grid_IsSelection", (PyCFunction) _wrap_Grid_IsSelection, METH_VARARGS | METH_KEYWORDS },
14070 { (char *)"Grid_ClearSelection", (PyCFunction) _wrap_Grid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
14071 { (char *)"Grid_IsInSelection", (PyCFunction) _wrap_Grid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
14072 { (char *)"Grid_GetSelectedCells", (PyCFunction) _wrap_Grid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS },
14073 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_Grid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS },
14074 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_Grid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS },
14075 { (char *)"Grid_GetSelectedRows", (PyCFunction) _wrap_Grid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS },
14076 { (char *)"Grid_GetSelectedCols", (PyCFunction) _wrap_Grid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS },
14077 { (char *)"Grid_DeselectRow", (PyCFunction) _wrap_Grid_DeselectRow, METH_VARARGS | METH_KEYWORDS },
14078 { (char *)"Grid_DeselectCol", (PyCFunction) _wrap_Grid_DeselectCol, METH_VARARGS | METH_KEYWORDS },
14079 { (char *)"Grid_DeselectCell", (PyCFunction) _wrap_Grid_DeselectCell, METH_VARARGS | METH_KEYWORDS },
14080 { (char *)"Grid_BlockToDeviceRect", (PyCFunction) _wrap_Grid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
14081 { (char *)"Grid_GetSelectionBackground", (PyCFunction) _wrap_Grid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
14082 { (char *)"Grid_GetSelectionForeground", (PyCFunction) _wrap_Grid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
14083 { (char *)"Grid_SetSelectionBackground", (PyCFunction) _wrap_Grid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
14084 { (char *)"Grid_SetSelectionForeground", (PyCFunction) _wrap_Grid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
14085 { (char *)"Grid_RegisterDataType", (PyCFunction) _wrap_Grid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
14086 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction) _wrap_Grid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
14087 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction) _wrap_Grid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
14088 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction) _wrap_Grid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
14089 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction) _wrap_Grid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
14090 { (char *)"Grid_SetMargins", (PyCFunction) _wrap_Grid_SetMargins, METH_VARARGS | METH_KEYWORDS },
14091 { (char *)"Grid_GetGridWindow", (PyCFunction) _wrap_Grid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
14092 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
14093 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
14094 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
14095 { (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS },
14096 { (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS },
14097 { (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
14098 { (char *)"GridEvent_GetCol", (PyCFunction) _wrap_GridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
14099 { (char *)"GridEvent_GetPosition", (PyCFunction) _wrap_GridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
14100 { (char *)"GridEvent_Selecting", (PyCFunction) _wrap_GridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
14101 { (char *)"GridEvent_ControlDown", (PyCFunction) _wrap_GridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
14102 { (char *)"GridEvent_MetaDown", (PyCFunction) _wrap_GridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
14103 { (char *)"GridEvent_ShiftDown", (PyCFunction) _wrap_GridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
14104 { (char *)"GridEvent_AltDown", (PyCFunction) _wrap_GridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
14105 { (char *)"GridEvent_swigregister", GridEvent_swigregister, METH_VARARGS },
14106 { (char *)"new_GridSizeEvent", (PyCFunction) _wrap_new_GridSizeEvent, METH_VARARGS | METH_KEYWORDS },
14107 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_GridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
14108 { (char *)"GridSizeEvent_GetPosition", (PyCFunction) _wrap_GridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
14109 { (char *)"GridSizeEvent_ControlDown", (PyCFunction) _wrap_GridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
14110 { (char *)"GridSizeEvent_MetaDown", (PyCFunction) _wrap_GridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
14111 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction) _wrap_GridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
14112 { (char *)"GridSizeEvent_AltDown", (PyCFunction) _wrap_GridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
14113 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister, METH_VARARGS },
14114 { (char *)"new_GridRangeSelectEvent", (PyCFunction) _wrap_new_GridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
14115 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
14116 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
14117 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
14118 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
14119 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
14120 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
14121 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction) _wrap_GridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
14122 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_GridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
14123 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_GridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
14124 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_GridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
14125 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction) _wrap_GridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
14126 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister, METH_VARARGS },
14127 { (char *)"new_GridEditorCreatedEvent", (PyCFunction) _wrap_new_GridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
14128 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
14129 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
14130 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
14131 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
14132 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
14133 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
14134 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister, METH_VARARGS },
14135 { NULL, NULL }
14136 };
14137
14138
14139 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
14140
14141 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x) {
14142 return (void *)((wxGridCellRenderer *) ((wxPyGridCellRenderer *) x));
14143 }
14144 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x) {
14145 return (void *)((wxGridCellRenderer *) ((wxGridCellStringRenderer *) x));
14146 }
14147 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x) {
14148 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
14149 }
14150 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x) {
14151 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
14152 }
14153 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x) {
14154 return (void *)((wxGridCellRenderer *) ((wxGridCellBoolRenderer *) x));
14155 }
14156 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x) {
14157 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
14158 }
14159 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x) {
14160 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
14161 }
14162 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x) {
14163 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
14164 }
14165 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x) {
14166 return (void *)((wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
14167 }
14168 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x) {
14169 return (void *)((wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
14170 }
14171 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x) {
14172 return (void *)((wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
14173 }
14174 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x) {
14175 return (void *)((wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
14176 }
14177 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x) {
14178 return (void *)((wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
14179 }
14180 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
14181 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
14182 }
14183 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
14184 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
14185 }
14186 static void *_p_wxGridTo_p_wxPanel(void *x) {
14187 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxGrid *) x));
14188 }
14189 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
14190 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
14191 }
14192 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
14193 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
14194 }
14195 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
14196 return (void *)((wxPanel *) ((wxPyPanel *) x));
14197 }
14198 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
14199 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
14200 }
14201 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
14202 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
14203 }
14204 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
14205 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
14206 }
14207 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x) {
14208 return (void *)((wxNotifyEvent *) ((wxGridSizeEvent *) x));
14209 }
14210 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x) {
14211 return (void *)((wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
14212 }
14213 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
14214 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
14215 }
14216 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x) {
14217 return (void *)((wxNotifyEvent *) ((wxGridEvent *) x));
14218 }
14219 static void *_p_wxGridTo_p_wxScrolledWindow(void *x) {
14220 return (void *)((wxScrolledWindow *) ((wxGrid *) x));
14221 }
14222 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
14223 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
14224 }
14225 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
14226 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
14227 }
14228 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
14229 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
14230 }
14231 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
14232 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
14233 }
14234 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
14235 return (void *)((wxWindow *) ((wxMenuBar *) x));
14236 }
14237 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
14238 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
14239 }
14240 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
14241 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
14242 }
14243 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
14244 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
14245 }
14246 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
14247 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
14248 }
14249 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
14250 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
14251 }
14252 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
14253 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
14254 }
14255 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
14256 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
14257 }
14258 static void *_p_wxPanelTo_p_wxWindow(void *x) {
14259 return (void *)((wxWindow *) ((wxPanel *) x));
14260 }
14261 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
14262 return (void *)((wxWindow *) ((wxStatusBar *) x));
14263 }
14264 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
14265 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
14266 }
14267 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
14268 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
14269 }
14270 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
14271 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
14272 }
14273 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
14274 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
14275 }
14276 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
14277 return (void *)((wxWindow *) ((wxPopupWindow *) x));
14278 }
14279 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
14280 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
14281 }
14282 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
14283 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
14284 }
14285 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
14286 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
14287 }
14288 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
14289 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
14290 }
14291 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
14292 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
14293 }
14294 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
14295 return (void *)((wxWindow *) ((wxSashWindow *) x));
14296 }
14297 static void *_p_wxControlTo_p_wxWindow(void *x) {
14298 return (void *)((wxWindow *) ((wxControl *) x));
14299 }
14300 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
14301 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
14302 }
14303 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
14304 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
14305 }
14306 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
14307 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
14308 }
14309 static void *_p_wxGridTo_p_wxWindow(void *x) {
14310 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
14311 }
14312 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
14313 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
14314 }
14315 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
14316 return (void *)((wxWindow *) ((wxPyWindow *) x));
14317 }
14318 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
14319 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
14320 }
14321 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
14322 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
14323 }
14324 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
14325 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
14326 }
14327 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
14328 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
14329 }
14330 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
14331 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
14332 }
14333 static void *_p_wxFrameTo_p_wxWindow(void *x) {
14334 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
14335 }
14336 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
14337 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
14338 }
14339 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
14340 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
14341 }
14342 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
14343 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
14344 }
14345 static void *_p_wxDialogTo_p_wxWindow(void *x) {
14346 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
14347 }
14348 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
14349 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
14350 }
14351 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
14352 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
14353 }
14354 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
14355 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
14356 }
14357 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
14358 return (void *)((wxControl *) ((wxControlWithItems *) x));
14359 }
14360 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
14361 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
14362 }
14363 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
14364 return (void *)((wxEvent *) ((wxMenuEvent *) x));
14365 }
14366 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
14367 return (void *)((wxEvent *) ((wxCloseEvent *) x));
14368 }
14369 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
14370 return (void *)((wxEvent *) ((wxMouseEvent *) x));
14371 }
14372 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
14373 return (void *)((wxEvent *) ((wxEraseEvent *) x));
14374 }
14375 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
14376 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
14377 }
14378 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
14379 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
14380 }
14381 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
14382 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
14383 }
14384 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
14385 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
14386 }
14387 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
14388 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
14389 }
14390 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
14391 return (void *)((wxEvent *) ((wxPyEvent *) x));
14392 }
14393 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
14394 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
14395 }
14396 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
14397 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
14398 }
14399 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x) {
14400 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
14401 }
14402 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
14403 return (void *)((wxEvent *) ((wxIdleEvent *) x));
14404 }
14405 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
14406 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
14407 }
14408 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
14409 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
14410 }
14411 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
14412 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
14413 }
14414 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
14415 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
14416 }
14417 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
14418 return (void *)((wxEvent *) ((wxActivateEvent *) x));
14419 }
14420 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
14421 return (void *)((wxEvent *) ((wxSizeEvent *) x));
14422 }
14423 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
14424 return (void *)((wxEvent *) ((wxMoveEvent *) x));
14425 }
14426 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x) {
14427 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
14428 }
14429 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
14430 return (void *)((wxEvent *) ((wxPaintEvent *) x));
14431 }
14432 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
14433 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
14434 }
14435 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
14436 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
14437 }
14438 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
14439 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
14440 }
14441 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
14442 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
14443 }
14444 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
14445 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
14446 }
14447 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
14448 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
14449 }
14450 static void *_p_wxGridEventTo_p_wxEvent(void *x) {
14451 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
14452 }
14453 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x) {
14454 return (void *)((wxEvent *) (wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
14455 }
14456 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
14457 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
14458 }
14459 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
14460 return (void *)((wxEvent *) ((wxFocusEvent *) x));
14461 }
14462 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
14463 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
14464 }
14465 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
14466 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
14467 }
14468 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
14469 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
14470 }
14471 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
14472 return (void *)((wxEvent *) ((wxShowEvent *) x));
14473 }
14474 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
14475 return (void *)((wxEvent *) ((wxCommandEvent *) x));
14476 }
14477 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
14478 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
14479 }
14480 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
14481 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
14482 }
14483 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
14484 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
14485 }
14486 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
14487 return (void *)((wxEvent *) ((wxKeyEvent *) x));
14488 }
14489 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
14490 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
14491 }
14492 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
14493 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
14494 }
14495 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
14496 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
14497 }
14498 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
14499 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
14500 }
14501 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
14502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
14503 }
14504 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
14505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
14506 }
14507 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
14508 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
14509 }
14510 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
14511 return (void *)((wxObject *) ((wxSizerItem *) x));
14512 }
14513 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
14514 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
14515 }
14516 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
14517 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
14518 }
14519 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
14520 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
14521 }
14522 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
14523 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
14524 }
14525 static void *_p_wxSizerTo_p_wxObject(void *x) {
14526 return (void *)((wxObject *) ((wxSizer *) x));
14527 }
14528 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
14529 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
14530 }
14531 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
14532 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
14533 }
14534 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
14535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
14536 }
14537 static void *_p_wxEventTo_p_wxObject(void *x) {
14538 return (void *)((wxObject *) ((wxEvent *) x));
14539 }
14540 static void *_p_wxFontDataTo_p_wxObject(void *x) {
14541 return (void *)((wxObject *) ((wxFontData *) x));
14542 }
14543 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
14544 return (void *)((wxObject *) ((wxPrintData *) x));
14545 }
14546 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
14547 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
14548 }
14549 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
14550 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
14551 }
14552 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
14553 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
14554 }
14555 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
14556 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
14557 }
14558 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
14559 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
14560 }
14561 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
14562 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
14563 }
14564 static void *_p_wxGridStringTableTo_p_wxObject(void *x) {
14565 return (void *)((wxObject *) (wxGridTableBase *) ((wxGridStringTable *) x));
14566 }
14567 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
14568 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
14569 }
14570 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
14571 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
14572 }
14573 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
14574 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
14575 }
14576 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
14577 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
14578 }
14579 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
14580 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
14581 }
14582 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
14583 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
14584 }
14585 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
14586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
14587 }
14588 static void *_p_wxGridEventTo_p_wxObject(void *x) {
14589 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
14590 }
14591 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x) {
14592 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
14593 }
14594 static void *_p_wxControlTo_p_wxObject(void *x) {
14595 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
14596 }
14597 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
14598 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
14599 }
14600 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
14601 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
14602 }
14603 static void *_p_wxFSFileTo_p_wxObject(void *x) {
14604 return (void *)((wxObject *) ((wxFSFile *) x));
14605 }
14606 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
14607 return (void *)((wxObject *) ((wxFindReplaceData *) x));
14608 }
14609 static void *_p_wxGridTo_p_wxObject(void *x) {
14610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
14611 }
14612 static void *_p_wxPySizerTo_p_wxObject(void *x) {
14613 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
14614 }
14615 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
14616 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
14617 }
14618 static void *_p_wxColourDataTo_p_wxObject(void *x) {
14619 return (void *)((wxObject *) ((wxColourData *) x));
14620 }
14621 static void *_p_wxPyEventTo_p_wxObject(void *x) {
14622 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
14623 }
14624 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
14625 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
14626 }
14627 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
14628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
14629 }
14630 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
14631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
14632 }
14633 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
14634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
14635 }
14636 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
14637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
14638 }
14639 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
14640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
14641 }
14642 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
14643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
14644 }
14645 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
14646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
14647 }
14648 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
14649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
14650 }
14651 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
14652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
14653 }
14654 static void *_p_wxShowEventTo_p_wxObject(void *x) {
14655 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
14656 }
14657 static void *_p_wxPrinterTo_p_wxObject(void *x) {
14658 return (void *)((wxObject *) ((wxPrinter *) x));
14659 }
14660 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
14661 return (void *)((wxObject *) ((wxMenuItem *) x));
14662 }
14663 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
14664 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
14665 }
14666 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
14667 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
14668 }
14669 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
14670 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
14671 }
14672 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
14673 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
14674 }
14675 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
14676 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
14677 }
14678 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
14679 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
14680 }
14681 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
14682 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
14683 }
14684 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
14685 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
14686 }
14687 static void *_p_wxGridSizeEventTo_p_wxObject(void *x) {
14688 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
14689 }
14690 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
14691 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
14692 }
14693 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
14694 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
14695 }
14696 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
14697 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
14698 }
14699 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
14700 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
14701 }
14702 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
14703 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
14704 }
14705 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
14706 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
14707 }
14708 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
14709 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
14710 }
14711 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
14712 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
14713 }
14714 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
14715 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
14716 }
14717 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
14718 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
14719 }
14720 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
14721 return (void *)((wxObject *) ((wxImageHandler *) x));
14722 }
14723 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
14724 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
14725 }
14726 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
14727 return (void *)((wxObject *) ((wxEvtHandler *) x));
14728 }
14729 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
14730 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
14731 }
14732 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x) {
14733 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
14734 }
14735 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
14736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
14737 }
14738 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
14739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
14740 }
14741 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
14742 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
14743 }
14744 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
14745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
14746 }
14747 static void *_p_wxImageTo_p_wxObject(void *x) {
14748 return (void *)((wxObject *) ((wxImage *) x));
14749 }
14750 static void *_p_wxFrameTo_p_wxObject(void *x) {
14751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
14752 }
14753 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
14754 return (void *)((wxObject *) ((wxPyPrintout *) x));
14755 }
14756 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
14757 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
14758 }
14759 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
14760 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
14761 }
14762 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
14763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
14764 }
14765 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
14766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
14767 }
14768 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
14769 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
14770 }
14771 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
14772 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
14773 }
14774 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
14775 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
14776 }
14777 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
14778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
14779 }
14780 static void *_p_wxWindowTo_p_wxObject(void *x) {
14781 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
14782 }
14783 static void *_p_wxMenuTo_p_wxObject(void *x) {
14784 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
14785 }
14786 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
14787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
14788 }
14789 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
14790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
14791 }
14792 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
14793 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
14794 }
14795 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
14796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
14797 }
14798 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
14799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
14800 }
14801 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
14802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
14803 }
14804 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
14805 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
14806 }
14807 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
14808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
14809 }
14810 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
14811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
14812 }
14813 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
14814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
14815 }
14816 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
14817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
14818 }
14819 static void *_p_wxSashEventTo_p_wxObject(void *x) {
14820 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
14821 }
14822 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
14823 return (void *)((wxObject *) ((wxPrintPreview *) x));
14824 }
14825 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
14826 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
14827 }
14828 static void *_p_wxPanelTo_p_wxObject(void *x) {
14829 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
14830 }
14831 static void *_p_wxDialogTo_p_wxObject(void *x) {
14832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
14833 }
14834 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
14835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
14836 }
14837 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
14838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
14839 }
14840 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
14841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
14842 }
14843 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
14844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
14845 }
14846 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
14847 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
14848 }
14849 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
14850 return (void *)((wxObject *) ((wxFileSystem *) x));
14851 }
14852 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
14853 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
14854 }
14855 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
14856 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
14857 }
14858 static void *_p_wxPyAppTo_p_wxObject(void *x) {
14859 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
14860 }
14861 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
14862 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
14863 }
14864 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
14865 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
14866 }
14867 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
14868 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
14869 }
14870 static void *_p_wxGridTableBaseTo_p_wxObject(void *x) {
14871 return (void *)((wxObject *) ((wxGridTableBase *) x));
14872 }
14873 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x) {
14874 return (void *)((wxObject *) (wxGridTableBase *) ((wxPyGridTableBase *) x));
14875 }
14876 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
14877 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
14878 }
14879 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
14880 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
14881 }
14882 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
14883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
14884 }
14885 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
14886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
14887 }
14888 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
14889 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
14890 }
14891 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
14892 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
14893 }
14894 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
14895 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
14896 }
14897 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
14898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
14899 }
14900 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
14901 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
14902 }
14903 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
14904 return (void *)((wxObject *) ((wxPrintDialogData *) x));
14905 }
14906 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
14907 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
14908 }
14909 static void *_p_wxValidatorTo_p_wxObject(void *x) {
14910 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
14911 }
14912 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
14913 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
14914 }
14915 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
14916 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
14917 }
14918 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
14919 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
14920 }
14921 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
14922 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
14923 }
14924 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
14925 return (void *)((wxEvtHandler *) ((wxValidator *) x));
14926 }
14927 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
14928 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
14929 }
14930 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
14931 return (void *)((wxEvtHandler *) ((wxMenu *) x));
14932 }
14933 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
14934 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
14935 }
14936 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
14937 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
14938 }
14939 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
14940 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
14941 }
14942 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
14943 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
14944 }
14945 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
14946 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
14947 }
14948 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
14949 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
14950 }
14951 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
14952 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
14953 }
14954 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
14955 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
14956 }
14957 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
14958 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
14959 }
14960 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
14961 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
14962 }
14963 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
14964 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
14965 }
14966 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
14967 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
14968 }
14969 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
14970 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
14971 }
14972 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
14973 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
14974 }
14975 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
14976 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
14977 }
14978 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
14979 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
14980 }
14981 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
14982 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
14983 }
14984 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
14985 return (void *)((wxEvtHandler *) ((wxWindow *) x));
14986 }
14987 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
14988 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
14989 }
14990 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
14991 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
14992 }
14993 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
14994 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
14995 }
14996 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
14997 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
14998 }
14999 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
15000 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
15001 }
15002 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
15003 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15004 }
15005 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
15006 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
15007 }
15008 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
15009 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
15010 }
15011 static void *_p_wxGridTo_p_wxEvtHandler(void *x) {
15012 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
15013 }
15014 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
15015 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15016 }
15017 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
15018 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
15019 }
15020 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
15021 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
15022 }
15023 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
15024 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15025 }
15026 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
15027 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15028 }
15029 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
15030 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
15031 }
15032 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
15033 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15034 }
15035 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
15036 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
15037 }
15038 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
15039 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
15040 }
15041 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
15042 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
15043 }
15044 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
15045 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
15046 }
15047 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
15048 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
15049 }
15050 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
15051 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
15052 }
15053 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
15054 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
15055 }
15056 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
15057 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
15058 }
15059 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
15060 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15061 }
15062 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x) {
15063 return (void *)((wxGridTableBase *) ((wxGridStringTable *) x));
15064 }
15065 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x) {
15066 return (void *)((wxGridTableBase *) ((wxPyGridTableBase *) x));
15067 }
15068 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x) {
15069 return (void *)((wxGridCellEditor *) ((wxPyGridCellEditor *) x));
15070 }
15071 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x) {
15072 return (void *)((wxGridCellEditor *) ((wxGridCellTextEditor *) x));
15073 }
15074 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x) {
15075 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
15076 }
15077 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x) {
15078 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
15079 }
15080 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x) {
15081 return (void *)((wxGridCellEditor *) ((wxGridCellBoolEditor *) x));
15082 }
15083 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x) {
15084 return (void *)((wxGridCellEditor *) ((wxGridCellChoiceEditor *) x));
15085 }
15086 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x) {
15087 return (void *)((wxGridCellEditor *) (wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
15088 }
15089 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x) {
15090 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
15091 }
15092 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x) {
15093 return (void *)((wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
15094 }
15095 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x) {
15096 return (void *)((wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
15097 }
15098 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x) {
15099 return (void *)((wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
15100 }
15101 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
15102 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
15103 }
15104 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
15105 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15106 }
15107 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
15108 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
15109 }
15110 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
15111 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
15112 }
15113 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
15114 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
15115 }
15116 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
15117 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
15118 }
15119 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
15120 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
15121 }
15122 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x) {
15123 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
15124 }
15125 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x) {
15126 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridSizeEvent *) x));
15127 }
15128 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
15129 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
15130 }
15131 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x) {
15132 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridEvent *) x));
15133 }
15134 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x) {
15135 return (void *)((wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
15136 }
15137 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
15138 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
15139 }
15140 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
15141 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
15142 }
15143 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
15144 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
15145 }
15146 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) {
15147 return (void *)((wxGridCellAttrProvider *) ((wxPyGridCellAttrProvider *) x));
15148 }
15149 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) {
15150 return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
15151 }
15152 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0},{"_p_wxGridCellAutoWrapStringRenderer"},{0}};
15153 static swig_type_info _swigt__p_wxGridCellEnumRenderer[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0},{"_p_wxGridCellEnumRenderer"},{0}};
15154 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0},{"_p_wxGridCellDateTimeRenderer"},{0}};
15155 static swig_type_info _swigt__p_wxGridCellBoolRenderer[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0},{"_p_wxGridCellBoolRenderer"},{0}};
15156 static swig_type_info _swigt__p_wxGridCellFloatRenderer[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0},{"_p_wxGridCellFloatRenderer"},{0}};
15157 static swig_type_info _swigt__p_wxGridCellNumberRenderer[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0},{"_p_wxGridCellNumberRenderer"},{0}};
15158 static swig_type_info _swigt__p_wxPyGridCellRenderer[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0},{"_p_wxPyGridCellRenderer"},{0}};
15159 static 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}};
15160 static 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}};
15161 static swig_type_info _swigt__p_wxGridCellAttr[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0},{"_p_wxGridCellAttr"},{0}};
15162 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
15163 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
15164 static swig_type_info _swigt__p_wxGridTableMessage[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0},{"_p_wxGridTableMessage"},{0}};
15165 static swig_type_info _swigt__p_wxGrid[] = {{"_p_wxGrid", 0, "wxGrid *", 0},{"_p_wxGrid"},{0}};
15166 static 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}};
15167 static 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}};
15168 static swig_type_info _swigt__p_wxGridRangeSelectEvent[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0},{"_p_wxGridRangeSelectEvent"},{0}};
15169 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
15170 static swig_type_info _swigt__p_wxGridCellCoords[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0},{"_p_wxGridCellCoords"},{0}};
15171 static 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}};
15172 static 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}};
15173 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
15174 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{0}};
15175 static 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}};
15176 static 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}};
15177 static swig_type_info _swigt__p_wxGridSizeEvent[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0},{"_p_wxGridSizeEvent"},{0}};
15178 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
15179 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
15180 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
15181 static 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}};
15182 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
15183 static swig_type_info _swigt__p_wxGridEvent[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0},{"_p_wxGridEvent"},{0}};
15184 static swig_type_info _swigt__p_wxGridEditorCreatedEvent[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0},{"_p_wxGridEditorCreatedEvent"},{0}};
15185 static 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}};
15186 static swig_type_info _swigt__p_wxGridCellFloatEditor[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0},{"_p_wxGridCellFloatEditor"},{0}};
15187 static swig_type_info _swigt__p_wxGridCellNumberEditor[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0},{"_p_wxGridCellNumberEditor"},{0}};
15188 static swig_type_info _swigt__p_wxPyGridCellEditor[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0},{"_p_wxPyGridCellEditor"},{0}};
15189 static 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}};
15190 static 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}};
15191 static swig_type_info _swigt__p_wxGridCellBoolEditor[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0},{"_p_wxGridCellBoolEditor"},{0}};
15192 static swig_type_info _swigt__p_wxPyGridTableBase[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0},{"_p_wxPyGridTableBase"},{0}};
15193 static swig_type_info _swigt__p_wxGridStringTable[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0},{"_p_wxGridStringTable"},{0}};
15194 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
15195 static 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}};
15196 static swig_type_info _swigt__p_wxGridCellAttrProvider[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0},{"_p_wxGridCellAttrProvider"},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider},{0}};
15197 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
15198 static swig_type_info _swigt__p_wxGridCellChoiceEditor[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0},{"_p_wxGridCellChoiceEditor"},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor},{0}};
15199 static swig_type_info _swigt__p_wxGridCellEnumEditor[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0},{"_p_wxGridCellEnumEditor"},{0}};
15200 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0},{"_p_wxGridCellAutoWrapStringEditor"},{0}};
15201 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
15202 static swig_type_info _swigt__p_wxPyGridCellAttrProvider[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0},{"_p_wxPyGridCellAttrProvider"},{0}};
15203
15204 static swig_type_info *swig_types_initial[] = {
15205 _swigt__p_wxGridCellAutoWrapStringRenderer,
15206 _swigt__p_wxGridCellEnumRenderer,
15207 _swigt__p_wxGridCellDateTimeRenderer,
15208 _swigt__p_wxGridCellBoolRenderer,
15209 _swigt__p_wxGridCellFloatRenderer,
15210 _swigt__p_wxGridCellNumberRenderer,
15211 _swigt__p_wxPyGridCellRenderer,
15212 _swigt__p_wxGridCellRenderer,
15213 _swigt__p_wxGridCellStringRenderer,
15214 _swigt__p_wxGridCellAttr,
15215 _swigt__p_wxColour,
15216 _swigt__p_wxDC,
15217 _swigt__p_wxGridTableMessage,
15218 _swigt__p_wxGrid,
15219 _swigt__p_wxPanel,
15220 _swigt__p_wxNotifyEvent,
15221 _swigt__p_wxGridRangeSelectEvent,
15222 _swigt__p_wxSize,
15223 _swigt__p_wxGridCellCoords,
15224 _swigt__p_wxScrolledWindow,
15225 _swigt__p_wxWindow,
15226 _swigt__p_wxFont,
15227 _swigt__p_wxControl,
15228 _swigt__p_wxEvent,
15229 _swigt__p_wxObject,
15230 _swigt__p_wxGridSizeEvent,
15231 _swigt__p_wxRect,
15232 _swigt__p_long,
15233 _swigt__p_wxString,
15234 _swigt__p_wxEvtHandler,
15235 _swigt__p_wxPoint,
15236 _swigt__p_wxGridEvent,
15237 _swigt__p_wxGridEditorCreatedEvent,
15238 _swigt__p_wxGridTableBase,
15239 _swigt__p_wxGridCellFloatEditor,
15240 _swigt__p_wxGridCellNumberEditor,
15241 _swigt__p_wxPyGridCellEditor,
15242 _swigt__p_wxGridCellEditor,
15243 _swigt__p_wxGridCellTextEditor,
15244 _swigt__p_wxGridCellBoolEditor,
15245 _swigt__p_wxPyGridTableBase,
15246 _swigt__p_wxGridStringTable,
15247 _swigt__p_wxArrayString,
15248 _swigt__p_wxCommandEvent,
15249 _swigt__p_wxGridCellAttrProvider,
15250 _swigt__p_wxKeyEvent,
15251 _swigt__p_wxGridCellChoiceEditor,
15252 _swigt__p_wxGridCellEnumEditor,
15253 _swigt__p_wxGridCellAutoWrapStringEditor,
15254 _swigt__p_int,
15255 _swigt__p_wxPyGridCellAttrProvider,
15256 0
15257 };
15258
15259
15260 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
15261
15262 static swig_const_info swig_const_table[] = {
15263 { SWIG_PY_STRING, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", 0},
15264 { SWIG_PY_STRING, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", 0},
15265 { SWIG_PY_STRING, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", 0},
15266 { SWIG_PY_STRING, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", 0},
15267 { SWIG_PY_STRING, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", 0},
15268 { SWIG_PY_STRING, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", 0},
15269 { SWIG_PY_STRING, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", 0},
15270 { SWIG_PY_STRING, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", 0},
15271 { SWIG_PY_STRING, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", 0},
15272 { SWIG_PY_INT, (char *)"GridCellAttr_Any", (long) wxGridCellAttr::Any, 0, 0, 0},
15273 { SWIG_PY_INT, (char *)"GridCellAttr_Default", (long) wxGridCellAttr::Default, 0, 0, 0},
15274 { SWIG_PY_INT, (char *)"GridCellAttr_Cell", (long) wxGridCellAttr::Cell, 0, 0, 0},
15275 { SWIG_PY_INT, (char *)"GridCellAttr_Row", (long) wxGridCellAttr::Row, 0, 0, 0},
15276 { SWIG_PY_INT, (char *)"GridCellAttr_Col", (long) wxGridCellAttr::Col, 0, 0, 0},
15277 { SWIG_PY_INT, (char *)"GridCellAttr_Merged", (long) wxGridCellAttr::Merged, 0, 0, 0},
15278 { SWIG_PY_INT, (char *)"GRIDTABLE_REQUEST_VIEW_GET_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES, 0, 0, 0},
15279 { SWIG_PY_INT, (char *)"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES, 0, 0, 0},
15280 { SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_ROWS_INSERTED", (long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED, 0, 0, 0},
15281 { SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_ROWS_APPENDED", (long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED, 0, 0, 0},
15282 { SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_ROWS_DELETED", (long) wxGRIDTABLE_NOTIFY_ROWS_DELETED, 0, 0, 0},
15283 { SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_COLS_INSERTED", (long) wxGRIDTABLE_NOTIFY_COLS_INSERTED, 0, 0, 0},
15284 { SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_COLS_APPENDED", (long) wxGRIDTABLE_NOTIFY_COLS_APPENDED, 0, 0, 0},
15285 { SWIG_PY_INT, (char *)"GRIDTABLE_NOTIFY_COLS_DELETED", (long) wxGRIDTABLE_NOTIFY_COLS_DELETED, 0, 0, 0},
15286 { SWIG_PY_INT, (char *)"Grid_wxGridSelectCells", (long) wxGrid::wxGridSelectCells, 0, 0, 0},
15287 { SWIG_PY_INT, (char *)"Grid_wxGridSelectRows", (long) wxGrid::wxGridSelectRows, 0, 0, 0},
15288 { SWIG_PY_INT, (char *)"Grid_wxGridSelectColumns", (long) wxGrid::wxGridSelectColumns, 0, 0, 0},
15289 { SWIG_PY_INT, (char *)"wxEVT_GRID_CELL_LEFT_CLICK", (long) wxEVT_GRID_CELL_LEFT_CLICK, 0, 0, 0},
15290 { SWIG_PY_INT, (char *)"wxEVT_GRID_CELL_RIGHT_CLICK", (long) wxEVT_GRID_CELL_RIGHT_CLICK, 0, 0, 0},
15291 { SWIG_PY_INT, (char *)"wxEVT_GRID_CELL_LEFT_DCLICK", (long) wxEVT_GRID_CELL_LEFT_DCLICK, 0, 0, 0},
15292 { SWIG_PY_INT, (char *)"wxEVT_GRID_CELL_RIGHT_DCLICK", (long) wxEVT_GRID_CELL_RIGHT_DCLICK, 0, 0, 0},
15293 { SWIG_PY_INT, (char *)"wxEVT_GRID_LABEL_LEFT_CLICK", (long) wxEVT_GRID_LABEL_LEFT_CLICK, 0, 0, 0},
15294 { SWIG_PY_INT, (char *)"wxEVT_GRID_LABEL_RIGHT_CLICK", (long) wxEVT_GRID_LABEL_RIGHT_CLICK, 0, 0, 0},
15295 { SWIG_PY_INT, (char *)"wxEVT_GRID_LABEL_LEFT_DCLICK", (long) wxEVT_GRID_LABEL_LEFT_DCLICK, 0, 0, 0},
15296 { SWIG_PY_INT, (char *)"wxEVT_GRID_LABEL_RIGHT_DCLICK", (long) wxEVT_GRID_LABEL_RIGHT_DCLICK, 0, 0, 0},
15297 { SWIG_PY_INT, (char *)"wxEVT_GRID_ROW_SIZE", (long) wxEVT_GRID_ROW_SIZE, 0, 0, 0},
15298 { SWIG_PY_INT, (char *)"wxEVT_GRID_COL_SIZE", (long) wxEVT_GRID_COL_SIZE, 0, 0, 0},
15299 { SWIG_PY_INT, (char *)"wxEVT_GRID_RANGE_SELECT", (long) wxEVT_GRID_RANGE_SELECT, 0, 0, 0},
15300 { SWIG_PY_INT, (char *)"wxEVT_GRID_CELL_CHANGE", (long) wxEVT_GRID_CELL_CHANGE, 0, 0, 0},
15301 { SWIG_PY_INT, (char *)"wxEVT_GRID_SELECT_CELL", (long) wxEVT_GRID_SELECT_CELL, 0, 0, 0},
15302 { SWIG_PY_INT, (char *)"wxEVT_GRID_EDITOR_SHOWN", (long) wxEVT_GRID_EDITOR_SHOWN, 0, 0, 0},
15303 { SWIG_PY_INT, (char *)"wxEVT_GRID_EDITOR_HIDDEN", (long) wxEVT_GRID_EDITOR_HIDDEN, 0, 0, 0},
15304 { SWIG_PY_INT, (char *)"wxEVT_GRID_EDITOR_CREATED", (long) wxEVT_GRID_EDITOR_CREATED, 0, 0, 0},
15305 {0}};
15306
15307 #ifdef __cplusplus
15308 }
15309 #endif
15310
15311 #ifdef __cplusplus
15312 extern "C"
15313 #endif
15314 SWIGEXPORT(void) SWIG_init(void) {
15315 static PyObject *SWIG_globals = 0;
15316 static int typeinit = 0;
15317 PyObject *m, *d;
15318 int i;
15319 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
15320 m = Py_InitModule((char *) SWIG_name, SwigMethods);
15321 d = PyModule_GetDict(m);
15322
15323 if (!typeinit) {
15324 for (i = 0; swig_types_initial[i]; i++) {
15325 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
15326 }
15327 typeinit = 1;
15328 }
15329 SWIG_InstallConstants(d,swig_const_table);
15330
15331 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
15332 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set);
15333 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set);
15334 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));
15335 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK));
15336 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK));
15337 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK));
15338 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK));
15339 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK));
15340 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK));
15341 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK));
15342 PyDict_SetItemString(d, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE));
15343 PyDict_SetItemString(d, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE));
15344 PyDict_SetItemString(d, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT));
15345 PyDict_SetItemString(d, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE));
15346 PyDict_SetItemString(d, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL));
15347 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN));
15348 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN));
15349 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED));
15350
15351
15352 }
15353