]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/grid_wrap.cpp
Added selection methods
[wxWidgets.git] / wxPython / src / msw / grid_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
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 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
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_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201 /* basic types */
202 /*
203 utilities
204 */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221 /* Contract support */
222
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225 #ifdef __cplusplus
226 }
227 #endif
228
229
230
231 /* -------- TYPES TABLE (BEGIN) -------- */
232
233 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
234 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
235 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
236 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
237 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
238 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
239 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
240 #define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
241 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
242 #define SWIGTYPE_p_wxGridCellAttr swig_types[9]
243 #define SWIGTYPE_p_wxColour swig_types[10]
244 #define SWIGTYPE_p_wxDC swig_types[11]
245 #define SWIGTYPE_p_wxGridTableMessage swig_types[12]
246 #define SWIGTYPE_p_wxGrid swig_types[13]
247 #define SWIGTYPE_p_char swig_types[14]
248 #define SWIGTYPE_p_wxPanel swig_types[15]
249 #define SWIGTYPE_p_wxNotifyEvent swig_types[16]
250 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[17]
251 #define SWIGTYPE_p_wxSize swig_types[18]
252 #define SWIGTYPE_p_wxGridCellCoords swig_types[19]
253 #define SWIGTYPE_p_wxScrolledWindow swig_types[20]
254 #define SWIGTYPE_p_wxWindow swig_types[21]
255 #define SWIGTYPE_p_wxFont swig_types[22]
256 #define SWIGTYPE_p_wxControl swig_types[23]
257 #define SWIGTYPE_p_wxEvent swig_types[24]
258 #define SWIGTYPE_p_wxObject swig_types[25]
259 #define SWIGTYPE_p_wxGridSizeEvent swig_types[26]
260 #define SWIGTYPE_p_wxRect swig_types[27]
261 #define SWIGTYPE_p_long swig_types[28]
262 #define SWIGTYPE_p_wxString swig_types[29]
263 #define SWIGTYPE_p_wxEvtHandler swig_types[30]
264 #define SWIGTYPE_p_wxPoint swig_types[31]
265 #define SWIGTYPE_p_wxGridEvent swig_types[32]
266 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[33]
267 #define SWIGTYPE_p_wxGridTableBase swig_types[34]
268 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]
269 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[36]
270 #define SWIGTYPE_p_wxGridCellEditor swig_types[37]
271 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[38]
272 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[39]
273 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[40]
274 #define SWIGTYPE_p_wxPyGridTableBase swig_types[41]
275 #define SWIGTYPE_p_wxGridStringTable swig_types[42]
276 #define SWIGTYPE_p_wxArrayString swig_types[43]
277 #define SWIGTYPE_p_wxCommandEvent swig_types[44]
278 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[45]
279 #define SWIGTYPE_p_wxKeyEvent swig_types[46]
280 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[47]
281 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[48]
282 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[49]
283 #define SWIGTYPE_p_int swig_types[50]
284 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[51]
285 static swig_type_info *swig_types[53];
286
287 /* -------- TYPES TABLE (END) -------- */
288
289
290 /*-----------------------------------------------
291 @(target):= _grid.so
292 ------------------------------------------------*/
293 #define SWIG_init init_grid
294
295 #define SWIG_name "_grid"
296
297 #include <limits.h>
298 #include <float.h>
299 #include <string.h>
300
301 #ifndef SWIGSTATIC
302 #ifdef __cplusplus
303 #define SWIGSTATIC(a) static inline a
304 #else
305 #define SWIGSTATIC(a) static a
306 #endif
307 #endif
308
309 #ifndef numeric_cast
310 #ifdef __cplusplus
311 #ifdef HAVE_NUMERIC_CAST
312 #define numeric_cast(type,a) numeric_cast<type>(a)
313 #else
314 #define numeric_cast(type,a) static_cast<type>(a)
315 #endif
316 #else
317 #define numeric_cast(type,a) (type)(a)
318 #endif
319 #endif
320
321
322
323 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
324 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
325 #define SWIG_PyObj_FromShort PyInt_FromLong
326 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
327 #define SWIG_PyObj_FromInt PyInt_FromLong
328 #define SWIG_PyObj_FromLong PyInt_FromLong
329 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
330 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
331 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
332 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
333
334
335 #include "wx/wxPython/wxPython.h"
336 #include "wx/wxPython/pyclasses.h"
337 #include "wx/wxPython/printfw.h"
338
339 #include <wx/grid.h>
340 #include <wx/generic/gridctrl.h>
341
342
343 static const wxString wxPyEmptyString(wxEmptyString);
344 static const wxString wxPyPanelNameStr(wxPanelNameStr);
345 static const wxString wxPyDateTimeFormatStr(wxT("%c"));
346
347
348 #define wxPyMake_TEMPLATE(TYPE) \
349 PyObject* wxPyMake_##TYPE(TYPE* source) { \
350 PyObject* target = NULL; \
351 if (source) { \
352 /* Check if there is already a pointer to a Python object in the \
353 OOR data that we can use. */ \
354 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
355 if (data) { \
356 target = data->m_obj; \
357 Py_INCREF(target); \
358 } \
359 /* Otherwise make a new wrapper for it the old fashioned way and \
360 give it the OOR treatment */ \
361 if (! target) { \
362 target = wxPyConstructObject(source, wxT(#TYPE), False); \
363 if (target) \
364 source->SetClientObject(new wxPyOORClientData(target)); \
365 } \
366 } else { /* source was NULL so return None. */ \
367 Py_INCREF(Py_None); target = Py_None; \
368 } \
369 return target; \
370 } \
371
372
373 wxPyMake_TEMPLATE(wxGridCellRenderer)
374 wxPyMake_TEMPLATE(wxGridCellEditor)
375 wxPyMake_TEMPLATE(wxGridCellAttr)
376 wxPyMake_TEMPLATE(wxGridCellAttrProvider)
377 wxPyMake_TEMPLATE(wxGridTableBase)
378
379
380
381 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
382 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
383 wxGridCellAttr* rval = NULL; \
384 bool found; \
385 wxPyBeginBlockThreads(); \
386 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
387 PyObject* ro; \
388 wxGridCellAttr* ptr; \
389 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
390 if (ro) { \
391 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
392 rval = ptr; \
393 Py_DECREF(ro); \
394 } \
395 } \
396 wxPyEndBlockThreads(); \
397 if (! found) \
398 rval = PCLASS::CBNAME(a, b, c); \
399 return rval; \
400 } \
401 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
402 return PCLASS::CBNAME(a, b, c); \
403 }
404
405
406
407 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
408 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
409 wxPyBeginBlockThreads(); \
410 bool found; \
411 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
412 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
413 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
414 Py_DECREF(obj); \
415 } \
416 wxPyEndBlockThreads(); \
417 if (! found) \
418 PCLASS::CBNAME(attr, a, b); \
419 } \
420 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
421 PCLASS::CBNAME(attr, a, b); \
422 }
423
424
425
426 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
427 void CBNAME(wxGridCellAttr *attr, int val) { \
428 wxPyBeginBlockThreads(); \
429 bool found; \
430 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
431 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
432 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
433 Py_DECREF(obj); \
434 } \
435 wxPyEndBlockThreads(); \
436 if (! found) \
437 PCLASS::CBNAME(attr, val); \
438 } \
439 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
440 PCLASS::CBNAME(attr, val); \
441 }
442
443
444
445 #define PYCALLBACK_INT__pure(CBNAME) \
446 int CBNAME() { \
447 wxPyBeginBlockThreads(); \
448 int rval = 0; \
449 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
450 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
451 wxPyEndBlockThreads(); \
452 return rval; \
453 }
454
455
456
457 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
458 bool CBNAME(int a, int b) { \
459 wxPyBeginBlockThreads(); \
460 bool rval = 0; \
461 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
462 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
463 wxPyEndBlockThreads(); \
464 return rval; \
465 }
466
467
468 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
469 wxString CBNAME(int a, int b) { \
470 wxPyBeginBlockThreads(); \
471 wxString rval; \
472 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
473 PyObject* ro; \
474 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
475 if (ro) { \
476 rval = Py2wxString(ro); \
477 Py_DECREF(ro); \
478 } \
479 } \
480 wxPyEndBlockThreads(); \
481 return rval; \
482 }
483
484
485 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
486 void CBNAME(int a, int b, const wxString& c) { \
487 wxPyBeginBlockThreads(); \
488 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
489 PyObject* s = wx2PyString(c); \
490 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
491 Py_DECREF(s); \
492 } \
493 wxPyEndBlockThreads(); \
494 }
495
496
497 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
498 wxString CBNAME(int a, int b) { \
499 bool found; \
500 wxPyBeginBlockThreads(); \
501 wxString rval; \
502 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
503 PyObject* ro; \
504 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
505 if (ro) { \
506 rval = Py2wxString(ro); \
507 Py_DECREF(ro); \
508 } \
509 } \
510 wxPyEndBlockThreads(); \
511 if (! found) \
512 rval = PCLASS::CBNAME(a, b); \
513 return rval; \
514 } \
515 wxString base_##CBNAME(int a, int b) { \
516 return PCLASS::CBNAME(a, b); \
517 }
518
519
520 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
521 bool CBNAME(int a, int b, const wxString& c) { \
522 bool rval = 0; \
523 bool found; \
524 wxPyBeginBlockThreads(); \
525 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
526 PyObject* s = wx2PyString(c); \
527 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
528 Py_DECREF(s); \
529 } \
530 wxPyEndBlockThreads(); \
531 if (! found) \
532 rval = PCLASS::CBNAME(a,b,c); \
533 return rval; \
534 } \
535 bool base_##CBNAME(int a, int b, const wxString& c) { \
536 return PCLASS::CBNAME(a,b,c); \
537 }
538
539
540
541
542 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
543 long CBNAME(int a, int b) { \
544 long rval; \
545 bool found; \
546 wxPyBeginBlockThreads(); \
547 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
548 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
549 wxPyEndBlockThreads(); \
550 if (! found) \
551 rval = PCLASS::CBNAME(a,b); \
552 return rval; \
553 } \
554 long base_##CBNAME(int a, int b) { \
555 return PCLASS::CBNAME(a,b); \
556 }
557
558
559
560 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
561 bool CBNAME(int a, int b) { \
562 bool rval = 0; \
563 bool found; \
564 wxPyBeginBlockThreads(); \
565 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
566 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
567 wxPyEndBlockThreads(); \
568 if (! found) \
569 rval = PCLASS::CBNAME(a,b); \
570 return rval; \
571 } \
572 bool base_##CBNAME(int a, int b) { \
573 return PCLASS::CBNAME(a,b); \
574 }
575
576
577
578 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
579 double CBNAME(int a, int b) { \
580 bool found; \
581 wxPyBeginBlockThreads(); \
582 double rval; \
583 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
584 PyObject* ro; \
585 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
586 if (ro) { \
587 PyObject* str = PyObject_Str(ro); \
588 rval = PyFloat_AsDouble(str); \
589 Py_DECREF(ro); Py_DECREF(str); \
590 } \
591 } \
592 wxPyEndBlockThreads(); \
593 if (! found) \
594 rval = PCLASS::CBNAME(a, b); \
595 return rval; \
596 } \
597 double base_##CBNAME(int a, int b) { \
598 return PCLASS::CBNAME(a, b); \
599 }
600
601
602
603 #define PYCALLBACK__(PCLASS, CBNAME) \
604 void CBNAME() { \
605 bool found; \
606 wxPyBeginBlockThreads(); \
607 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
608 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
609 wxPyEndBlockThreads(); \
610 if (! found) \
611 PCLASS::CBNAME(); \
612 } \
613 void base_##CBNAME() { \
614 PCLASS::CBNAME(); \
615 }
616
617
618
619
620 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
621 bool CBNAME(size_t a, size_t b) { \
622 bool rval = 0; \
623 bool found; \
624 wxPyBeginBlockThreads(); \
625 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
626 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
627 wxPyEndBlockThreads(); \
628 if (! found) \
629 rval = PCLASS::CBNAME(a,b); \
630 return rval; \
631 } \
632 bool base_##CBNAME(size_t a, size_t b) { \
633 return PCLASS::CBNAME(a,b); \
634 }
635
636
637
638 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
639 bool CBNAME(size_t a) { \
640 bool rval = 0; \
641 bool found; \
642 wxPyBeginBlockThreads(); \
643 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
644 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
645 wxPyEndBlockThreads(); \
646 if (! found) \
647 rval = PCLASS::CBNAME(a); \
648 return rval; \
649 } \
650 bool base_##CBNAME(size_t a) { \
651 return PCLASS::CBNAME(a); \
652 }
653
654
655 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
656 wxString CBNAME(int a) { \
657 bool found; \
658 wxPyBeginBlockThreads(); \
659 wxString rval; \
660 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
661 PyObject* ro; \
662 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
663 if (ro) { \
664 rval = Py2wxString(ro); \
665 Py_DECREF(ro); \
666 } \
667 } \
668 wxPyEndBlockThreads(); \
669 if (! found) \
670 rval = PCLASS::CBNAME(a); \
671 return rval; \
672 } \
673 wxString base_##CBNAME(int a) { \
674 return PCLASS::CBNAME(a); \
675 }
676
677
678 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
679 void CBNAME(int a, const wxString& c) { \
680 bool found; \
681 wxPyBeginBlockThreads(); \
682 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
683 PyObject* s = wx2PyString(c); \
684 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
685 Py_DECREF(s); \
686 } \
687 wxPyEndBlockThreads(); \
688 if (! found) \
689 PCLASS::CBNAME(a,c); \
690 } \
691 void base_##CBNAME(int a, const wxString& c) { \
692 PCLASS::CBNAME(a,c); \
693 }
694
695
696
697
698 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
699 bool CBNAME() { \
700 bool rval = 0; \
701 bool found; \
702 wxPyBeginBlockThreads(); \
703 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
704 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
705 wxPyEndBlockThreads(); \
706 if (! found) \
707 rval = PCLASS::CBNAME(); \
708 return rval; \
709 } \
710 bool base_##CBNAME() { \
711 return PCLASS::CBNAME(); \
712 }
713
714
715
716 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
717 void CBNAME(size_t a, int b) { \
718 bool found; \
719 wxPyBeginBlockThreads(); \
720 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
721 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
722 wxPyEndBlockThreads(); \
723 if (! found) \
724 PCLASS::CBNAME(a,b); \
725 } \
726 void base_##CBNAME(size_t a, int b) { \
727 PCLASS::CBNAME(a,b); \
728 }
729
730
731
732
733 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
734 void CBNAME(int a, int b, long c) { \
735 bool found; \
736 wxPyBeginBlockThreads(); \
737 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
738 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
739 wxPyEndBlockThreads(); \
740 if (! found) \
741 PCLASS::CBNAME(a,b,c); \
742 } \
743 void base_##CBNAME(int a, int b, long c) { \
744 PCLASS::CBNAME(a,b,c); \
745 }
746
747
748
749
750 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
751 void CBNAME(int a, int b, double c) { \
752 bool found; \
753 wxPyBeginBlockThreads(); \
754 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
755 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
756 wxPyEndBlockThreads(); \
757 if (! found) \
758 PCLASS::CBNAME(a,b,c); \
759 } \
760 void base_##CBNAME(int a, int b, double c) { \
761 PCLASS::CBNAME(a,b,c); \
762 }
763
764
765
766 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
767 void CBNAME(int a, int b, bool c) { \
768 bool found; \
769 wxPyBeginBlockThreads(); \
770 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
771 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
772 wxPyEndBlockThreads(); \
773 if (! found) \
774 PCLASS::CBNAME(a,b,c); \
775 } \
776 void base_##CBNAME(int a, int b, bool c) { \
777 PCLASS::CBNAME(a,b,c); \
778 }
779
780
781
782
783
784 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject *_self){
785 self->SetClientObject(new wxPyOORClientData(_self));
786 }
787
788 SWIGSTATIC(int)
789 SWIG_PyObj_AsInt(PyObject *obj)
790 {
791 return numeric_cast(int,
792 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
793 }
794
795
796 SWIGSTATIC(bool)
797 SWIG_PyObj_AsBool(PyObject *obj)
798 {
799 return PyObject_IsTrue(obj) ? true : false;
800 }
801
802
803 class wxPyGridCellRenderer : public wxGridCellRenderer
804 {
805 public:
806 wxPyGridCellRenderer() : wxGridCellRenderer() {};
807
808 // Implement Python callback aware virtual methods
809 void Draw(wxGrid& grid, wxGridCellAttr& attr,
810 wxDC& dc, const wxRect& rect,
811 int row, int col, bool isSelected) {
812 wxPyBeginBlockThreads();
813 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
814 PyObject* go = wxPyMake_wxObject(&grid);
815 PyObject* dco = wxPyMake_wxObject(&dc);
816 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
817 PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
818
819 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro,
820 row, col, isSelected));
821 Py_DECREF(go);
822 Py_DECREF(ao);
823 Py_DECREF(dco);
824 Py_DECREF(ro);
825 }
826 wxPyEndBlockThreads();
827 }
828
829 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
830 int row, int col) {
831 wxSize rval;
832 wxPyBeginBlockThreads();
833 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
834 PyObject* ro;
835 wxSize* ptr;
836 PyObject* go = wxPyMake_wxObject(&grid);
837 PyObject* dco = wxPyMake_wxObject(&dc);
838 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
839
840 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)",
841 go, ao, dco,
842 row, col));
843 Py_DECREF(go);
844 Py_DECREF(ao);
845 Py_DECREF(dco);
846
847 if (ro) {
848 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
849 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxSize"))) {
850 rval = *ptr;
851 }
852 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
853 PyObject* o1 = PySequence_GetItem(ro, 0);
854 PyObject* o2 = PySequence_GetItem(ro, 1);
855 if (PyNumber_Check(o1) && PyNumber_Check(o2))
856 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
857 else
858 PyErr_SetString(PyExc_TypeError, errmsg);
859 Py_DECREF(o1);
860 Py_DECREF(o2);
861 }
862 else {
863 PyErr_SetString(PyExc_TypeError, errmsg);
864 }
865 Py_DECREF(ro);
866 }
867 }
868 wxPyEndBlockThreads();
869 return rval;
870 }
871
872
873 wxGridCellRenderer *Clone() const {
874 wxGridCellRenderer* rval = NULL;
875 wxPyBeginBlockThreads();
876 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
877 PyObject* ro;
878 wxGridCellRenderer* ptr;
879 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
880 if (ro) {
881 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellRenderer")))
882 rval = ptr;
883 Py_DECREF(ro);
884 }
885 }
886 wxPyEndBlockThreads();
887 return rval;
888 }
889
890 DEC_PYCALLBACK__STRING(SetParameters);
891
892 PYPRIVATE;
893 };
894
895 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
896
897
898 void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject *_self){
899 self->SetClientObject(new wxPyOORClientData(_self));
900 }
901
902 class wxPyGridCellEditor : public wxGridCellEditor
903 {
904 public:
905 wxPyGridCellEditor() : wxGridCellEditor() {}
906
907 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
908 wxPyBeginBlockThreads();
909 if (wxPyCBH_findCallback(m_myInst, "Create")) {
910 PyObject* po = wxPyMake_wxObject(parent);
911 PyObject* eo = wxPyMake_wxObject(evtHandler);
912
913 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo));
914 Py_DECREF(po);
915 Py_DECREF(eo);
916 }
917 wxPyEndBlockThreads();
918 }
919
920
921 void BeginEdit(int row, int col, wxGrid* grid) {
922 wxPyBeginBlockThreads();
923 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
924 PyObject* go = wxPyMake_wxObject(grid);
925 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
926 Py_DECREF(go);
927 }
928 wxPyEndBlockThreads();
929 }
930
931
932 bool EndEdit(int row, int col, wxGrid* grid) {
933 bool rv = False;
934 wxPyBeginBlockThreads();
935 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
936 PyObject* go = wxPyMake_wxObject(grid);
937 rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
938 Py_DECREF(go);
939 }
940 wxPyEndBlockThreads();
941 return rv;
942 }
943
944
945 wxGridCellEditor* Clone() const {
946 wxGridCellEditor* rval = NULL;
947 wxPyBeginBlockThreads();
948 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
949 PyObject* ro;
950 wxGridCellEditor* ptr;
951 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
952 if (ro) {
953 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellEditor")))
954 rval = ptr;
955 Py_DECREF(ro);
956 }
957 }
958 wxPyEndBlockThreads();
959 return rval;
960 }
961
962
963 void Show(bool show, wxGridCellAttr *attr) {
964 bool found;
965 wxPyBeginBlockThreads();
966 if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) {
967 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
968 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao));
969 Py_DECREF(ao);
970 }
971 wxPyEndBlockThreads();
972 if (! found)
973 wxGridCellEditor::Show(show, attr);
974 }
975 void base_Show(bool show, wxGridCellAttr *attr) {
976 wxGridCellEditor::Show(show, attr);
977 }
978
979
980 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
981 bool found;
982 wxPyBeginBlockThreads();
983 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) {
984 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
985 PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
986
987 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao));
988
989 Py_DECREF(ro);
990 Py_DECREF(ao);
991 }
992 wxPyEndBlockThreads();
993 if (! found)
994 wxGridCellEditor::PaintBackground(rectCell, attr);
995 }
996 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
997 wxGridCellEditor::PaintBackground(rectCell, attr);
998 }
999
1000
1001 DEC_PYCALLBACK___pure(Reset);
1002 DEC_PYCALLBACK__constany(SetSize, wxRect);
1003 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
1004 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
1005 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
1006 DEC_PYCALLBACK__(StartingClick);
1007 DEC_PYCALLBACK__(Destroy);
1008 DEC_PYCALLBACK__STRING(SetParameters);
1009 DEC_PYCALLBACK_STRING__constpure(GetValue);
1010
1011 PYPRIVATE;
1012 };
1013
1014
1015 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
1016 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
1017 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
1018 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
1019 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
1020 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
1021 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
1022 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
1023 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue);
1024
1025
1026 void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject *_self){
1027 self->SetClientObject(new wxPyOORClientData(_self));
1028 }
1029
1030 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1031 PyObject* o2;
1032 PyObject* o3;
1033
1034 if (!target) {
1035 target = o;
1036 } else if (target == Py_None) {
1037 Py_DECREF(Py_None);
1038 target = o;
1039 } else {
1040 if (!PyTuple_Check(target)) {
1041 o2 = target;
1042 target = PyTuple_New(1);
1043 PyTuple_SetItem(target, 0, o2);
1044 }
1045 o3 = PyTuple_New(1);
1046 PyTuple_SetItem(o3, 0, o);
1047
1048 o2 = target;
1049 target = PySequence_Concat(o2, o3);
1050 Py_DECREF(o2);
1051 Py_DECREF(o3);
1052 }
1053 return target;
1054 }
1055
1056 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject *_self){
1057 self->SetClientObject(new wxPyOORClientData(_self));
1058 }
1059
1060 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
1061 {
1062 public:
1063 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1064
1065 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
1066 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
1067 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
1068 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
1069
1070 PYPRIVATE;
1071 };
1072
1073 void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject *_self){
1074 self->SetClientObject(new wxPyOORClientData(_self));
1075 }
1076
1077 SWIGSTATIC(long)
1078 SWIG_PyObj_AsLong(PyObject * obj)
1079 {
1080 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
1081 }
1082
1083
1084 SWIGSTATIC(double)
1085 SWIG_PyObj_AsDouble(PyObject *obj)
1086 {
1087 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
1088 #if HAVE_LONG_LONG
1089 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
1090 #else
1091 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
1092 #endif
1093 if (PyErr_Occurred()) {
1094 PyErr_Clear();
1095 PyErr_SetString(PyExc_TypeError, "a double is expected");
1096 }
1097 }
1098
1099
1100 class wxPyGridTableBase : public wxGridTableBase
1101 {
1102 public:
1103 wxPyGridTableBase() : wxGridTableBase() {}
1104
1105 PYCALLBACK_INT__pure(GetNumberRows);
1106 PYCALLBACK_INT__pure(GetNumberCols);
1107 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
1108 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
1109 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
1110 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
1111 PYCALLBACK__(wxGridTableBase, Clear);
1112 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
1113 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
1114 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
1115 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
1116 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
1117 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
1118 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
1119 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
1120 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
1121 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
1122 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
1123 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
1124 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
1125 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
1126 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
1127
1128
1129 wxString GetValue(int row, int col) {
1130 wxPyBeginBlockThreads();
1131 wxString rval;
1132 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1133 PyObject* ro;
1134 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
1135 if (ro) {
1136 rval = Py2wxString(ro);
1137 Py_DECREF(ro);
1138 }
1139 }
1140 wxPyEndBlockThreads();
1141 return rval;
1142 }
1143
1144 void SetValue(int row, int col, const wxString& val) {
1145 wxPyBeginBlockThreads();
1146 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1147 PyObject* s = wx2PyString(val);
1148 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s));
1149 Py_DECREF(s);
1150 }
1151 wxPyEndBlockThreads();
1152 }
1153
1154
1155 // Map the Get/Set methods for the standard non-string types to
1156 // the GetValue and SetValue python methods.
1157 long GetValueAsLong( int row, int col ) {
1158 long rval = 0;
1159 wxPyBeginBlockThreads();
1160 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1161 PyObject* ro;
1162 PyObject* num;
1163 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1164 if (ro && PyNumber_Check(ro)) {
1165 num = PyNumber_Int(ro);
1166 if (num) {
1167 rval = PyInt_AsLong(num);
1168 Py_DECREF(num);
1169 }
1170 Py_DECREF(ro);
1171 }
1172 }
1173 wxPyEndBlockThreads();
1174 return rval;
1175 }
1176
1177 double GetValueAsDouble( int row, int col ) {
1178 double rval = 0.0;
1179 wxPyBeginBlockThreads();
1180 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1181 PyObject* ro;
1182 PyObject* num;
1183 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1184 if (ro && PyNumber_Check(ro)) {
1185 num = PyNumber_Float(ro);
1186 if (num) {
1187 rval = PyFloat_AsDouble(num);
1188 Py_DECREF(num);
1189 }
1190 Py_DECREF(ro);
1191 }
1192 }
1193 wxPyEndBlockThreads();
1194 return rval;
1195 }
1196
1197 bool GetValueAsBool( int row, int col ) {
1198 return (bool)GetValueAsLong(row, col);
1199 }
1200
1201 void SetValueAsLong( int row, int col, long value ) {
1202 wxPyBeginBlockThreads();
1203 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1204 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
1205 }
1206 wxPyEndBlockThreads();
1207 }
1208
1209 void SetValueAsDouble( int row, int col, double value ) {
1210 wxPyBeginBlockThreads();
1211 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1212 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
1213 }
1214 wxPyEndBlockThreads();
1215 }
1216
1217 void SetValueAsBool( int row, int col, bool value ) {
1218 SetValueAsLong( row, col, (long)value );
1219 }
1220
1221
1222 PYPRIVATE;
1223 };
1224
1225 void wxPyGridTableBase_Destroy(wxPyGridTableBase *self){ delete self; }
1226 PyObject *wxGridCellCoords_asTuple(wxGridCellCoords *self){
1227 PyObject* tup = PyTuple_New(2);
1228 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1229 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1230 return tup;
1231 }
1232
1233 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
1234
1235 // If source is an object instance then it may already be the right type
1236 if (wxPySwigInstance_Check(source)) {
1237 wxGridCellCoords* ptr;
1238 if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1239 goto error;
1240 *obj = ptr;
1241 return True;
1242 }
1243 // otherwise a 2-tuple of integers is expected
1244 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
1245 PyObject* o1 = PySequence_GetItem(source, 0);
1246 PyObject* o2 = PySequence_GetItem(source, 1);
1247 if (!PyNumber_Check(o1) || !PyNumber_Check(o2)) {
1248 Py_DECREF(o1);
1249 Py_DECREF(o2);
1250 goto error;
1251 }
1252 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
1253 Py_DECREF(o1);
1254 Py_DECREF(o2);
1255 return True;
1256 }
1257
1258 error:
1259 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1260 return False;
1261 }
1262
1263
1264 bool wxGridCellCoords_typecheck(PyObject* source) {
1265 void* ptr;
1266
1267 if (wxPySwigInstance_Check(source) &&
1268 wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1269 return True;
1270
1271 PyErr_Clear();
1272 if (PySequence_Check(source) && PySequence_Length(source) == 2)
1273 return True;
1274
1275 return False;
1276 }
1277
1278
1279 PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray& source)
1280 {
1281 PyObject* list = PyList_New(0);
1282 size_t idx;
1283 for (idx = 0; idx < source.GetCount(); idx += 1) {
1284 wxGridCellCoords& coord = source.Item(idx);
1285 PyObject* tup = PyTuple_New(2);
1286 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow()));
1287 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol()));
1288 PyList_Append(list, tup);
1289 Py_DECREF(tup);
1290 }
1291 return list;
1292 }
1293
1294
1295 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
1296
1297 wxGridCellCoords wxGrid_XYToCell(wxGrid *self,int x,int y){
1298 wxGridCellCoords rv;
1299 self->XYToCell(x, y, rv);
1300 return rv;
1301 }
1302 #ifdef __cplusplus
1303 extern "C" {
1304 #endif
1305 static int _wrap_DateTimeFormatStr_set(PyObject *) {
1306 PyErr_SetString(PyExc_TypeError,"Variable DateTimeFormatStr is read-only.");
1307 return 1;
1308 }
1309
1310
1311 static PyObject *_wrap_DateTimeFormatStr_get() {
1312 PyObject *pyobj;
1313
1314 {
1315 #if wxUSE_UNICODE
1316 pyobj = PyUnicode_FromWideChar((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1317 #else
1318 pyobj = PyString_FromStringAndSize((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1319 #endif
1320 }
1321 return pyobj;
1322 }
1323
1324
1325 static int _wrap_GridNoCellCoords_set(PyObject *) {
1326 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellCoords is read-only.");
1327 return 1;
1328 }
1329
1330
1331 static PyObject *_wrap_GridNoCellCoords_get() {
1332 PyObject *pyobj;
1333
1334 pyobj = SWIG_NewPointerObj((void *) &wxGridNoCellCoords, SWIGTYPE_p_wxGridCellCoords, 0);
1335 return pyobj;
1336 }
1337
1338
1339 static int _wrap_GridNoCellRect_set(PyObject *) {
1340 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellRect is read-only.");
1341 return 1;
1342 }
1343
1344
1345 static PyObject *_wrap_GridNoCellRect_get() {
1346 PyObject *pyobj;
1347
1348 pyobj = SWIG_NewPointerObj((void *) &wxGridNoCellRect, SWIGTYPE_p_wxRect, 0);
1349 return pyobj;
1350 }
1351
1352
1353 static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1354 PyObject *resultobj;
1355 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1356 PyObject *arg2 = (PyObject *) 0 ;
1357 PyObject * obj0 = 0 ;
1358 PyObject * obj1 = 0 ;
1359 char *kwnames[] = {
1360 (char *) "self",(char *) "_self", NULL
1361 };
1362
1363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
1364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1365 arg2 = obj1;
1366 {
1367 PyThreadState* __tstate = wxPyBeginAllowThreads();
1368 wxGridCellRenderer__setOORInfo(arg1,arg2);
1369
1370 wxPyEndAllowThreads(__tstate);
1371 if (PyErr_Occurred()) SWIG_fail;
1372 }
1373 Py_INCREF(Py_None); resultobj = Py_None;
1374 return resultobj;
1375 fail:
1376 return NULL;
1377 }
1378
1379
1380 static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1381 PyObject *resultobj;
1382 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1383 wxString *arg2 = 0 ;
1384 bool temp2 = False ;
1385 PyObject * obj0 = 0 ;
1386 PyObject * obj1 = 0 ;
1387 char *kwnames[] = {
1388 (char *) "self",(char *) "params", NULL
1389 };
1390
1391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer_SetParameters",kwnames,&obj0,&obj1)) goto fail;
1392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1393 {
1394 arg2 = wxString_in_helper(obj1);
1395 if (arg2 == NULL) SWIG_fail;
1396 temp2 = True;
1397 }
1398 {
1399 PyThreadState* __tstate = wxPyBeginAllowThreads();
1400 (arg1)->SetParameters((wxString const &)*arg2);
1401
1402 wxPyEndAllowThreads(__tstate);
1403 if (PyErr_Occurred()) SWIG_fail;
1404 }
1405 Py_INCREF(Py_None); resultobj = Py_None;
1406 {
1407 if (temp2)
1408 delete arg2;
1409 }
1410 return resultobj;
1411 fail:
1412 {
1413 if (temp2)
1414 delete arg2;
1415 }
1416 return NULL;
1417 }
1418
1419
1420 static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1421 PyObject *resultobj;
1422 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1423 PyObject * obj0 = 0 ;
1424 char *kwnames[] = {
1425 (char *) "self", NULL
1426 };
1427
1428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_IncRef",kwnames,&obj0)) goto fail;
1429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1430 {
1431 PyThreadState* __tstate = wxPyBeginAllowThreads();
1432 (arg1)->IncRef();
1433
1434 wxPyEndAllowThreads(__tstate);
1435 if (PyErr_Occurred()) SWIG_fail;
1436 }
1437 Py_INCREF(Py_None); resultobj = Py_None;
1438 return resultobj;
1439 fail:
1440 return NULL;
1441 }
1442
1443
1444 static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1445 PyObject *resultobj;
1446 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1447 PyObject * obj0 = 0 ;
1448 char *kwnames[] = {
1449 (char *) "self", NULL
1450 };
1451
1452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_DecRef",kwnames,&obj0)) goto fail;
1453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1454 {
1455 PyThreadState* __tstate = wxPyBeginAllowThreads();
1456 (arg1)->DecRef();
1457
1458 wxPyEndAllowThreads(__tstate);
1459 if (PyErr_Occurred()) SWIG_fail;
1460 }
1461 Py_INCREF(Py_None); resultobj = Py_None;
1462 return resultobj;
1463 fail:
1464 return NULL;
1465 }
1466
1467
1468 static PyObject *_wrap_GridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
1469 PyObject *resultobj;
1470 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1471 wxGrid *arg2 = 0 ;
1472 wxGridCellAttr *arg3 = 0 ;
1473 wxDC *arg4 = 0 ;
1474 wxRect *arg5 = 0 ;
1475 int arg6 ;
1476 int arg7 ;
1477 bool arg8 ;
1478 wxRect temp5 ;
1479 PyObject * obj0 = 0 ;
1480 PyObject * obj1 = 0 ;
1481 PyObject * obj2 = 0 ;
1482 PyObject * obj3 = 0 ;
1483 PyObject * obj4 = 0 ;
1484 PyObject * obj5 = 0 ;
1485 PyObject * obj6 = 0 ;
1486 PyObject * obj7 = 0 ;
1487 char *kwnames[] = {
1488 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1489 };
1490
1491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1493 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1494 if (arg2 == NULL) {
1495 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1496 }
1497 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1498 if (arg3 == NULL) {
1499 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1500 }
1501 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1502 if (arg4 == NULL) {
1503 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1504 }
1505 {
1506 arg5 = &temp5;
1507 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
1508 }
1509 {
1510 arg6 = (int) SWIG_PyObj_AsInt(obj5);
1511 if (PyErr_Occurred()) SWIG_fail;
1512 }
1513 {
1514 arg7 = (int) SWIG_PyObj_AsInt(obj6);
1515 if (PyErr_Occurred()) SWIG_fail;
1516 }
1517 {
1518 arg8 = (bool) SWIG_PyObj_AsBool(obj7);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 }
1521 {
1522 PyThreadState* __tstate = wxPyBeginAllowThreads();
1523 (arg1)->Draw(*arg2,*arg3,*arg4,(wxRect const &)*arg5,arg6,arg7,arg8);
1524
1525 wxPyEndAllowThreads(__tstate);
1526 if (PyErr_Occurred()) SWIG_fail;
1527 }
1528 Py_INCREF(Py_None); resultobj = Py_None;
1529 return resultobj;
1530 fail:
1531 return NULL;
1532 }
1533
1534
1535 static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1536 PyObject *resultobj;
1537 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1538 wxGrid *arg2 = 0 ;
1539 wxGridCellAttr *arg3 = 0 ;
1540 wxDC *arg4 = 0 ;
1541 int arg5 ;
1542 int arg6 ;
1543 wxSize result;
1544 PyObject * obj0 = 0 ;
1545 PyObject * obj1 = 0 ;
1546 PyObject * obj2 = 0 ;
1547 PyObject * obj3 = 0 ;
1548 PyObject * obj4 = 0 ;
1549 PyObject * obj5 = 0 ;
1550 char *kwnames[] = {
1551 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1552 };
1553
1554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1556 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1557 if (arg2 == NULL) {
1558 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1559 }
1560 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1561 if (arg3 == NULL) {
1562 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1563 }
1564 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1565 if (arg4 == NULL) {
1566 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1567 }
1568 {
1569 arg5 = (int) SWIG_PyObj_AsInt(obj4);
1570 if (PyErr_Occurred()) SWIG_fail;
1571 }
1572 {
1573 arg6 = (int) SWIG_PyObj_AsInt(obj5);
1574 if (PyErr_Occurred()) SWIG_fail;
1575 }
1576 {
1577 PyThreadState* __tstate = wxPyBeginAllowThreads();
1578 result = (arg1)->GetBestSize(*arg2,*arg3,*arg4,arg5,arg6);
1579
1580 wxPyEndAllowThreads(__tstate);
1581 if (PyErr_Occurred()) SWIG_fail;
1582 }
1583 {
1584 wxSize * resultptr;
1585 resultptr = new wxSize((wxSize &) result);
1586 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1587 }
1588 return resultobj;
1589 fail:
1590 return NULL;
1591 }
1592
1593
1594 static PyObject *_wrap_GridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1595 PyObject *resultobj;
1596 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1597 wxGridCellRenderer *result;
1598 PyObject * obj0 = 0 ;
1599 char *kwnames[] = {
1600 (char *) "self", NULL
1601 };
1602
1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_Clone",kwnames,&obj0)) goto fail;
1604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1605 {
1606 PyThreadState* __tstate = wxPyBeginAllowThreads();
1607 result = (wxGridCellRenderer *)((wxGridCellRenderer const *)arg1)->Clone();
1608
1609 wxPyEndAllowThreads(__tstate);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 }
1612 {
1613 resultobj = wxPyMake_wxGridCellRenderer(result);
1614 }
1615 return resultobj;
1616 fail:
1617 return NULL;
1618 }
1619
1620
1621 static PyObject * GridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1622 PyObject *obj;
1623 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1624 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer, obj);
1625 Py_INCREF(obj);
1626 return Py_BuildValue((char *)"");
1627 }
1628 static PyObject *_wrap_new_PyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1629 PyObject *resultobj;
1630 wxPyGridCellRenderer *result;
1631 char *kwnames[] = {
1632 NULL
1633 };
1634
1635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellRenderer",kwnames)) goto fail;
1636 {
1637 PyThreadState* __tstate = wxPyBeginAllowThreads();
1638 result = (wxPyGridCellRenderer *)new wxPyGridCellRenderer();
1639
1640 wxPyEndAllowThreads(__tstate);
1641 if (PyErr_Occurred()) SWIG_fail;
1642 }
1643 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridCellRenderer, 1);
1644 return resultobj;
1645 fail:
1646 return NULL;
1647 }
1648
1649
1650 static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1651 PyObject *resultobj;
1652 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1653 PyObject *arg2 = (PyObject *) 0 ;
1654 PyObject *arg3 = (PyObject *) 0 ;
1655 PyObject * obj0 = 0 ;
1656 PyObject * obj1 = 0 ;
1657 PyObject * obj2 = 0 ;
1658 char *kwnames[] = {
1659 (char *) "self",(char *) "self",(char *) "_class", NULL
1660 };
1661
1662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1664 arg2 = obj1;
1665 arg3 = obj2;
1666 {
1667 PyThreadState* __tstate = wxPyBeginAllowThreads();
1668 (arg1)->_setCallbackInfo(arg2,arg3);
1669
1670 wxPyEndAllowThreads(__tstate);
1671 if (PyErr_Occurred()) SWIG_fail;
1672 }
1673 Py_INCREF(Py_None); resultobj = Py_None;
1674 return resultobj;
1675 fail:
1676 return NULL;
1677 }
1678
1679
1680 static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1681 PyObject *resultobj;
1682 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1683 wxString *arg2 = 0 ;
1684 bool temp2 = False ;
1685 PyObject * obj0 = 0 ;
1686 PyObject * obj1 = 0 ;
1687 char *kwnames[] = {
1688 (char *) "self",(char *) "params", NULL
1689 };
1690
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
1692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1693 {
1694 arg2 = wxString_in_helper(obj1);
1695 if (arg2 == NULL) SWIG_fail;
1696 temp2 = True;
1697 }
1698 {
1699 PyThreadState* __tstate = wxPyBeginAllowThreads();
1700 (arg1)->base_SetParameters((wxString const &)*arg2);
1701
1702 wxPyEndAllowThreads(__tstate);
1703 if (PyErr_Occurred()) SWIG_fail;
1704 }
1705 Py_INCREF(Py_None); resultobj = Py_None;
1706 {
1707 if (temp2)
1708 delete arg2;
1709 }
1710 return resultobj;
1711 fail:
1712 {
1713 if (temp2)
1714 delete arg2;
1715 }
1716 return NULL;
1717 }
1718
1719
1720 static PyObject * PyGridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1721 PyObject *obj;
1722 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1723 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer, obj);
1724 Py_INCREF(obj);
1725 return Py_BuildValue((char *)"");
1726 }
1727 static PyObject *_wrap_new_GridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1728 PyObject *resultobj;
1729 wxGridCellStringRenderer *result;
1730 char *kwnames[] = {
1731 NULL
1732 };
1733
1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellStringRenderer",kwnames)) goto fail;
1735 {
1736 PyThreadState* __tstate = wxPyBeginAllowThreads();
1737 result = (wxGridCellStringRenderer *)new wxGridCellStringRenderer();
1738
1739 wxPyEndAllowThreads(__tstate);
1740 if (PyErr_Occurred()) SWIG_fail;
1741 }
1742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellStringRenderer, 1);
1743 return resultobj;
1744 fail:
1745 return NULL;
1746 }
1747
1748
1749 static PyObject * GridCellStringRenderer_swigregister(PyObject *self, PyObject *args) {
1750 PyObject *obj;
1751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1752 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer, obj);
1753 Py_INCREF(obj);
1754 return Py_BuildValue((char *)"");
1755 }
1756 static PyObject *_wrap_new_GridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1757 PyObject *resultobj;
1758 wxGridCellNumberRenderer *result;
1759 char *kwnames[] = {
1760 NULL
1761 };
1762
1763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellNumberRenderer",kwnames)) goto fail;
1764 {
1765 PyThreadState* __tstate = wxPyBeginAllowThreads();
1766 result = (wxGridCellNumberRenderer *)new wxGridCellNumberRenderer();
1767
1768 wxPyEndAllowThreads(__tstate);
1769 if (PyErr_Occurred()) SWIG_fail;
1770 }
1771 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellNumberRenderer, 1);
1772 return resultobj;
1773 fail:
1774 return NULL;
1775 }
1776
1777
1778 static PyObject * GridCellNumberRenderer_swigregister(PyObject *self, PyObject *args) {
1779 PyObject *obj;
1780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1781 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer, obj);
1782 Py_INCREF(obj);
1783 return Py_BuildValue((char *)"");
1784 }
1785 static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1786 PyObject *resultobj;
1787 int arg1 = (int) -1 ;
1788 int arg2 = (int) -1 ;
1789 wxGridCellFloatRenderer *result;
1790 PyObject * obj0 = 0 ;
1791 PyObject * obj1 = 0 ;
1792 char *kwnames[] = {
1793 (char *) "width",(char *) "precision", NULL
1794 };
1795
1796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatRenderer",kwnames,&obj0,&obj1)) goto fail;
1797 if (obj0) {
1798 {
1799 arg1 = (int) SWIG_PyObj_AsInt(obj0);
1800 if (PyErr_Occurred()) SWIG_fail;
1801 }
1802 }
1803 if (obj1) {
1804 {
1805 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1806 if (PyErr_Occurred()) SWIG_fail;
1807 }
1808 }
1809 {
1810 PyThreadState* __tstate = wxPyBeginAllowThreads();
1811 result = (wxGridCellFloatRenderer *)new wxGridCellFloatRenderer(arg1,arg2);
1812
1813 wxPyEndAllowThreads(__tstate);
1814 if (PyErr_Occurred()) SWIG_fail;
1815 }
1816 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellFloatRenderer, 1);
1817 return resultobj;
1818 fail:
1819 return NULL;
1820 }
1821
1822
1823 static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1824 PyObject *resultobj;
1825 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1826 int result;
1827 PyObject * obj0 = 0 ;
1828 char *kwnames[] = {
1829 (char *) "self", NULL
1830 };
1831
1832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames,&obj0)) goto fail;
1833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1834 {
1835 PyThreadState* __tstate = wxPyBeginAllowThreads();
1836 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetWidth();
1837
1838 wxPyEndAllowThreads(__tstate);
1839 if (PyErr_Occurred()) SWIG_fail;
1840 }
1841 resultobj = SWIG_PyObj_FromInt((int)result);
1842 return resultobj;
1843 fail:
1844 return NULL;
1845 }
1846
1847
1848 static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1849 PyObject *resultobj;
1850 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1851 int arg2 ;
1852 PyObject * obj0 = 0 ;
1853 PyObject * obj1 = 0 ;
1854 char *kwnames[] = {
1855 (char *) "self",(char *) "width", NULL
1856 };
1857
1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames,&obj0,&obj1)) goto fail;
1859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1860 {
1861 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1862 if (PyErr_Occurred()) SWIG_fail;
1863 }
1864 {
1865 PyThreadState* __tstate = wxPyBeginAllowThreads();
1866 (arg1)->SetWidth(arg2);
1867
1868 wxPyEndAllowThreads(__tstate);
1869 if (PyErr_Occurred()) SWIG_fail;
1870 }
1871 Py_INCREF(Py_None); resultobj = Py_None;
1872 return resultobj;
1873 fail:
1874 return NULL;
1875 }
1876
1877
1878 static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1879 PyObject *resultobj;
1880 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1881 int result;
1882 PyObject * obj0 = 0 ;
1883 char *kwnames[] = {
1884 (char *) "self", NULL
1885 };
1886
1887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames,&obj0)) goto fail;
1888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1889 {
1890 PyThreadState* __tstate = wxPyBeginAllowThreads();
1891 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetPrecision();
1892
1893 wxPyEndAllowThreads(__tstate);
1894 if (PyErr_Occurred()) SWIG_fail;
1895 }
1896 resultobj = SWIG_PyObj_FromInt((int)result);
1897 return resultobj;
1898 fail:
1899 return NULL;
1900 }
1901
1902
1903 static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1904 PyObject *resultobj;
1905 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1906 int arg2 ;
1907 PyObject * obj0 = 0 ;
1908 PyObject * obj1 = 0 ;
1909 char *kwnames[] = {
1910 (char *) "self",(char *) "precision", NULL
1911 };
1912
1913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames,&obj0,&obj1)) goto fail;
1914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1915 {
1916 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1917 if (PyErr_Occurred()) SWIG_fail;
1918 }
1919 {
1920 PyThreadState* __tstate = wxPyBeginAllowThreads();
1921 (arg1)->SetPrecision(arg2);
1922
1923 wxPyEndAllowThreads(__tstate);
1924 if (PyErr_Occurred()) SWIG_fail;
1925 }
1926 Py_INCREF(Py_None); resultobj = Py_None;
1927 return resultobj;
1928 fail:
1929 return NULL;
1930 }
1931
1932
1933 static PyObject * GridCellFloatRenderer_swigregister(PyObject *self, PyObject *args) {
1934 PyObject *obj;
1935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1936 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer, obj);
1937 Py_INCREF(obj);
1938 return Py_BuildValue((char *)"");
1939 }
1940 static PyObject *_wrap_new_GridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1941 PyObject *resultobj;
1942 wxGridCellBoolRenderer *result;
1943 char *kwnames[] = {
1944 NULL
1945 };
1946
1947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolRenderer",kwnames)) goto fail;
1948 {
1949 PyThreadState* __tstate = wxPyBeginAllowThreads();
1950 result = (wxGridCellBoolRenderer *)new wxGridCellBoolRenderer();
1951
1952 wxPyEndAllowThreads(__tstate);
1953 if (PyErr_Occurred()) SWIG_fail;
1954 }
1955 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellBoolRenderer, 1);
1956 return resultobj;
1957 fail:
1958 return NULL;
1959 }
1960
1961
1962 static PyObject * GridCellBoolRenderer_swigregister(PyObject *self, PyObject *args) {
1963 PyObject *obj;
1964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1965 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer, obj);
1966 Py_INCREF(obj);
1967 return Py_BuildValue((char *)"");
1968 }
1969 static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1970 PyObject *resultobj;
1971 wxString arg1 = (wxString) wxPyDateTimeFormatStr ;
1972 wxString arg2 = (wxString) wxPyDateTimeFormatStr ;
1973 wxGridCellDateTimeRenderer *result;
1974 PyObject * obj0 = 0 ;
1975 PyObject * obj1 = 0 ;
1976 char *kwnames[] = {
1977 (char *) "outformat",(char *) "informat", NULL
1978 };
1979
1980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail;
1981 if (obj0) {
1982 {
1983 wxString* sptr = wxString_in_helper(obj0);
1984 if (sptr == NULL) SWIG_fail;
1985 arg1 = *sptr;
1986 delete sptr;
1987 }
1988 }
1989 if (obj1) {
1990 {
1991 wxString* sptr = wxString_in_helper(obj1);
1992 if (sptr == NULL) SWIG_fail;
1993 arg2 = *sptr;
1994 delete sptr;
1995 }
1996 }
1997 {
1998 PyThreadState* __tstate = wxPyBeginAllowThreads();
1999 result = (wxGridCellDateTimeRenderer *)new wxGridCellDateTimeRenderer(arg1,arg2);
2000
2001 wxPyEndAllowThreads(__tstate);
2002 if (PyErr_Occurred()) SWIG_fail;
2003 }
2004 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellDateTimeRenderer, 1);
2005 return resultobj;
2006 fail:
2007 return NULL;
2008 }
2009
2010
2011 static PyObject * GridCellDateTimeRenderer_swigregister(PyObject *self, PyObject *args) {
2012 PyObject *obj;
2013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2014 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer, obj);
2015 Py_INCREF(obj);
2016 return Py_BuildValue((char *)"");
2017 }
2018 static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2019 PyObject *resultobj;
2020 wxString const &arg1_defvalue = wxPyEmptyString ;
2021 wxString *arg1 = (wxString *) &arg1_defvalue ;
2022 wxGridCellEnumRenderer *result;
2023 bool temp1 = False ;
2024 PyObject * obj0 = 0 ;
2025 char *kwnames[] = {
2026 (char *) "choices", NULL
2027 };
2028
2029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumRenderer",kwnames,&obj0)) goto fail;
2030 if (obj0) {
2031 {
2032 arg1 = wxString_in_helper(obj0);
2033 if (arg1 == NULL) SWIG_fail;
2034 temp1 = True;
2035 }
2036 }
2037 {
2038 PyThreadState* __tstate = wxPyBeginAllowThreads();
2039 result = (wxGridCellEnumRenderer *)new wxGridCellEnumRenderer((wxString const &)*arg1);
2040
2041 wxPyEndAllowThreads(__tstate);
2042 if (PyErr_Occurred()) SWIG_fail;
2043 }
2044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellEnumRenderer, 1);
2045 {
2046 if (temp1)
2047 delete arg1;
2048 }
2049 return resultobj;
2050 fail:
2051 {
2052 if (temp1)
2053 delete arg1;
2054 }
2055 return NULL;
2056 }
2057
2058
2059 static PyObject * GridCellEnumRenderer_swigregister(PyObject *self, PyObject *args) {
2060 PyObject *obj;
2061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2062 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer, obj);
2063 Py_INCREF(obj);
2064 return Py_BuildValue((char *)"");
2065 }
2066 static PyObject *_wrap_new_GridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2067 PyObject *resultobj;
2068 wxGridCellAutoWrapStringRenderer *result;
2069 char *kwnames[] = {
2070 NULL
2071 };
2072
2073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringRenderer",kwnames)) goto fail;
2074 {
2075 PyThreadState* __tstate = wxPyBeginAllowThreads();
2076 result = (wxGridCellAutoWrapStringRenderer *)new wxGridCellAutoWrapStringRenderer();
2077
2078 wxPyEndAllowThreads(__tstate);
2079 if (PyErr_Occurred()) SWIG_fail;
2080 }
2081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, 1);
2082 return resultobj;
2083 fail:
2084 return NULL;
2085 }
2086
2087
2088 static PyObject * GridCellAutoWrapStringRenderer_swigregister(PyObject *self, PyObject *args) {
2089 PyObject *obj;
2090 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2091 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, obj);
2092 Py_INCREF(obj);
2093 return Py_BuildValue((char *)"");
2094 }
2095 static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2096 PyObject *resultobj;
2097 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2098 PyObject *arg2 = (PyObject *) 0 ;
2099 PyObject * obj0 = 0 ;
2100 PyObject * obj1 = 0 ;
2101 char *kwnames[] = {
2102 (char *) "self",(char *) "_self", NULL
2103 };
2104
2105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2107 arg2 = obj1;
2108 {
2109 PyThreadState* __tstate = wxPyBeginAllowThreads();
2110 wxGridCellEditor__setOORInfo(arg1,arg2);
2111
2112 wxPyEndAllowThreads(__tstate);
2113 if (PyErr_Occurred()) SWIG_fail;
2114 }
2115 Py_INCREF(Py_None); resultobj = Py_None;
2116 return resultobj;
2117 fail:
2118 return NULL;
2119 }
2120
2121
2122 static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
2123 PyObject *resultobj;
2124 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2125 bool result;
2126 PyObject * obj0 = 0 ;
2127 char *kwnames[] = {
2128 (char *) "self", NULL
2129 };
2130
2131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IsCreated",kwnames,&obj0)) goto fail;
2132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2133 {
2134 PyThreadState* __tstate = wxPyBeginAllowThreads();
2135 result = (bool)(arg1)->IsCreated();
2136
2137 wxPyEndAllowThreads(__tstate);
2138 if (PyErr_Occurred()) SWIG_fail;
2139 }
2140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2141 return resultobj;
2142 fail:
2143 return NULL;
2144 }
2145
2146
2147 static PyObject *_wrap_GridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2148 PyObject *resultobj;
2149 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2150 wxControl *result;
2151 PyObject * obj0 = 0 ;
2152 char *kwnames[] = {
2153 (char *) "self", NULL
2154 };
2155
2156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetControl",kwnames,&obj0)) goto fail;
2157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2158 {
2159 PyThreadState* __tstate = wxPyBeginAllowThreads();
2160 result = (wxControl *)(arg1)->GetControl();
2161
2162 wxPyEndAllowThreads(__tstate);
2163 if (PyErr_Occurred()) SWIG_fail;
2164 }
2165 {
2166 resultobj = wxPyMake_wxObject(result);
2167 }
2168 return resultobj;
2169 fail:
2170 return NULL;
2171 }
2172
2173
2174 static PyObject *_wrap_GridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2175 PyObject *resultobj;
2176 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2177 wxControl *arg2 = (wxControl *) 0 ;
2178 PyObject * obj0 = 0 ;
2179 PyObject * obj1 = 0 ;
2180 char *kwnames[] = {
2181 (char *) "self",(char *) "control", NULL
2182 };
2183
2184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetControl",kwnames,&obj0,&obj1)) goto fail;
2185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2186 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2187 {
2188 PyThreadState* __tstate = wxPyBeginAllowThreads();
2189 (arg1)->SetControl(arg2);
2190
2191 wxPyEndAllowThreads(__tstate);
2192 if (PyErr_Occurred()) SWIG_fail;
2193 }
2194 Py_INCREF(Py_None); resultobj = Py_None;
2195 return resultobj;
2196 fail:
2197 return NULL;
2198 }
2199
2200
2201 static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2202 PyObject *resultobj;
2203 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2204 wxGridCellAttr *result;
2205 PyObject * obj0 = 0 ;
2206 char *kwnames[] = {
2207 (char *) "self", NULL
2208 };
2209
2210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetCellAttr",kwnames,&obj0)) goto fail;
2211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2212 {
2213 PyThreadState* __tstate = wxPyBeginAllowThreads();
2214 result = (wxGridCellAttr *)(arg1)->GetCellAttr();
2215
2216 wxPyEndAllowThreads(__tstate);
2217 if (PyErr_Occurred()) SWIG_fail;
2218 }
2219 {
2220 resultobj = wxPyMake_wxGridCellAttr(result);
2221 }
2222 return resultobj;
2223 fail:
2224 return NULL;
2225 }
2226
2227
2228 static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2229 PyObject *resultobj;
2230 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2231 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
2232 PyObject * obj0 = 0 ;
2233 PyObject * obj1 = 0 ;
2234 char *kwnames[] = {
2235 (char *) "self",(char *) "attr", NULL
2236 };
2237
2238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetCellAttr",kwnames,&obj0,&obj1)) goto fail;
2239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2240 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2241 {
2242 PyThreadState* __tstate = wxPyBeginAllowThreads();
2243 (arg1)->SetCellAttr(arg2);
2244
2245 wxPyEndAllowThreads(__tstate);
2246 if (PyErr_Occurred()) SWIG_fail;
2247 }
2248 Py_INCREF(Py_None); resultobj = Py_None;
2249 return resultobj;
2250 fail:
2251 return NULL;
2252 }
2253
2254
2255 static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2256 PyObject *resultobj;
2257 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2258 wxString *arg2 = 0 ;
2259 bool temp2 = False ;
2260 PyObject * obj0 = 0 ;
2261 PyObject * obj1 = 0 ;
2262 char *kwnames[] = {
2263 (char *) "self",(char *) "params", NULL
2264 };
2265
2266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetParameters",kwnames,&obj0,&obj1)) goto fail;
2267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2268 {
2269 arg2 = wxString_in_helper(obj1);
2270 if (arg2 == NULL) SWIG_fail;
2271 temp2 = True;
2272 }
2273 {
2274 PyThreadState* __tstate = wxPyBeginAllowThreads();
2275 (arg1)->SetParameters((wxString const &)*arg2);
2276
2277 wxPyEndAllowThreads(__tstate);
2278 if (PyErr_Occurred()) SWIG_fail;
2279 }
2280 Py_INCREF(Py_None); resultobj = Py_None;
2281 {
2282 if (temp2)
2283 delete arg2;
2284 }
2285 return resultobj;
2286 fail:
2287 {
2288 if (temp2)
2289 delete arg2;
2290 }
2291 return NULL;
2292 }
2293
2294
2295 static PyObject *_wrap_GridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2296 PyObject *resultobj;
2297 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2298 PyObject * obj0 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "self", NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IncRef",kwnames,&obj0)) goto fail;
2304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 (arg1)->IncRef();
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 }
2312 Py_INCREF(Py_None); resultobj = Py_None;
2313 return resultobj;
2314 fail:
2315 return NULL;
2316 }
2317
2318
2319 static PyObject *_wrap_GridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2320 PyObject *resultobj;
2321 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2322 PyObject * obj0 = 0 ;
2323 char *kwnames[] = {
2324 (char *) "self", NULL
2325 };
2326
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_DecRef",kwnames,&obj0)) goto fail;
2328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2329 {
2330 PyThreadState* __tstate = wxPyBeginAllowThreads();
2331 (arg1)->DecRef();
2332
2333 wxPyEndAllowThreads(__tstate);
2334 if (PyErr_Occurred()) SWIG_fail;
2335 }
2336 Py_INCREF(Py_None); resultobj = Py_None;
2337 return resultobj;
2338 fail:
2339 return NULL;
2340 }
2341
2342
2343 static PyObject *_wrap_GridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2344 PyObject *resultobj;
2345 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2346 wxWindow *arg2 = (wxWindow *) 0 ;
2347 int arg3 ;
2348 wxEvtHandler *arg4 = (wxEvtHandler *) 0 ;
2349 PyObject * obj0 = 0 ;
2350 PyObject * obj1 = 0 ;
2351 PyObject * obj2 = 0 ;
2352 PyObject * obj3 = 0 ;
2353 char *kwnames[] = {
2354 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2355 };
2356
2357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2360 {
2361 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2362 if (PyErr_Occurred()) SWIG_fail;
2363 }
2364 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2365 {
2366 PyThreadState* __tstate = wxPyBeginAllowThreads();
2367 (arg1)->Create(arg2,arg3,arg4);
2368
2369 wxPyEndAllowThreads(__tstate);
2370 if (PyErr_Occurred()) SWIG_fail;
2371 }
2372 Py_INCREF(Py_None); resultobj = Py_None;
2373 return resultobj;
2374 fail:
2375 return NULL;
2376 }
2377
2378
2379 static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2380 PyObject *resultobj;
2381 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2382 int arg2 ;
2383 int arg3 ;
2384 wxGrid *arg4 = (wxGrid *) 0 ;
2385 PyObject * obj0 = 0 ;
2386 PyObject * obj1 = 0 ;
2387 PyObject * obj2 = 0 ;
2388 PyObject * obj3 = 0 ;
2389 char *kwnames[] = {
2390 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2391 };
2392
2393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2395 {
2396 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2397 if (PyErr_Occurred()) SWIG_fail;
2398 }
2399 {
2400 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2401 if (PyErr_Occurred()) SWIG_fail;
2402 }
2403 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2404 {
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
2406 (arg1)->BeginEdit(arg2,arg3,arg4);
2407
2408 wxPyEndAllowThreads(__tstate);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2411 Py_INCREF(Py_None); resultobj = Py_None;
2412 return resultobj;
2413 fail:
2414 return NULL;
2415 }
2416
2417
2418 static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2419 PyObject *resultobj;
2420 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2421 int arg2 ;
2422 int arg3 ;
2423 wxGrid *arg4 = (wxGrid *) 0 ;
2424 bool result;
2425 PyObject * obj0 = 0 ;
2426 PyObject * obj1 = 0 ;
2427 PyObject * obj2 = 0 ;
2428 PyObject * obj3 = 0 ;
2429 char *kwnames[] = {
2430 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2431 };
2432
2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_EndEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2435 {
2436 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2437 if (PyErr_Occurred()) SWIG_fail;
2438 }
2439 {
2440 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2441 if (PyErr_Occurred()) SWIG_fail;
2442 }
2443 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2444 {
2445 PyThreadState* __tstate = wxPyBeginAllowThreads();
2446 result = (bool)(arg1)->EndEdit(arg2,arg3,arg4);
2447
2448 wxPyEndAllowThreads(__tstate);
2449 if (PyErr_Occurred()) SWIG_fail;
2450 }
2451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2452 return resultobj;
2453 fail:
2454 return NULL;
2455 }
2456
2457
2458 static PyObject *_wrap_GridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
2459 PyObject *resultobj;
2460 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2461 PyObject * obj0 = 0 ;
2462 char *kwnames[] = {
2463 (char *) "self", NULL
2464 };
2465
2466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Reset",kwnames,&obj0)) goto fail;
2467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2468 {
2469 PyThreadState* __tstate = wxPyBeginAllowThreads();
2470 (arg1)->Reset();
2471
2472 wxPyEndAllowThreads(__tstate);
2473 if (PyErr_Occurred()) SWIG_fail;
2474 }
2475 Py_INCREF(Py_None); resultobj = Py_None;
2476 return resultobj;
2477 fail:
2478 return NULL;
2479 }
2480
2481
2482 static PyObject *_wrap_GridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2483 PyObject *resultobj;
2484 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2485 wxGridCellEditor *result;
2486 PyObject * obj0 = 0 ;
2487 char *kwnames[] = {
2488 (char *) "self", NULL
2489 };
2490
2491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Clone",kwnames,&obj0)) goto fail;
2492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2493 {
2494 PyThreadState* __tstate = wxPyBeginAllowThreads();
2495 result = (wxGridCellEditor *)((wxGridCellEditor const *)arg1)->Clone();
2496
2497 wxPyEndAllowThreads(__tstate);
2498 if (PyErr_Occurred()) SWIG_fail;
2499 }
2500 {
2501 resultobj = wxPyMake_wxGridCellEditor(result);
2502 }
2503 return resultobj;
2504 fail:
2505 return NULL;
2506 }
2507
2508
2509 static PyObject *_wrap_GridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2510 PyObject *resultobj;
2511 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2512 wxRect *arg2 = 0 ;
2513 wxRect temp2 ;
2514 PyObject * obj0 = 0 ;
2515 PyObject * obj1 = 0 ;
2516 char *kwnames[] = {
2517 (char *) "self",(char *) "rect", NULL
2518 };
2519
2520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetSize",kwnames,&obj0,&obj1)) goto fail;
2521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2522 {
2523 arg2 = &temp2;
2524 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2525 }
2526 {
2527 PyThreadState* __tstate = wxPyBeginAllowThreads();
2528 (arg1)->SetSize((wxRect const &)*arg2);
2529
2530 wxPyEndAllowThreads(__tstate);
2531 if (PyErr_Occurred()) SWIG_fail;
2532 }
2533 Py_INCREF(Py_None); resultobj = Py_None;
2534 return resultobj;
2535 fail:
2536 return NULL;
2537 }
2538
2539
2540 static PyObject *_wrap_GridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2541 PyObject *resultobj;
2542 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2543 bool arg2 ;
2544 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
2545 PyObject * obj0 = 0 ;
2546 PyObject * obj1 = 0 ;
2547 PyObject * obj2 = 0 ;
2548 char *kwnames[] = {
2549 (char *) "self",(char *) "show",(char *) "attr", NULL
2550 };
2551
2552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridCellEditor_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
2553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2554 {
2555 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2556 if (PyErr_Occurred()) SWIG_fail;
2557 }
2558 if (obj2) {
2559 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2560 }
2561 {
2562 PyThreadState* __tstate = wxPyBeginAllowThreads();
2563 (arg1)->Show(arg2,arg3);
2564
2565 wxPyEndAllowThreads(__tstate);
2566 if (PyErr_Occurred()) SWIG_fail;
2567 }
2568 Py_INCREF(Py_None); resultobj = Py_None;
2569 return resultobj;
2570 fail:
2571 return NULL;
2572 }
2573
2574
2575 static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2576 PyObject *resultobj;
2577 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2578 wxRect *arg2 = 0 ;
2579 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
2580 wxRect temp2 ;
2581 PyObject * obj0 = 0 ;
2582 PyObject * obj1 = 0 ;
2583 PyObject * obj2 = 0 ;
2584 char *kwnames[] = {
2585 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2586 };
2587
2588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellEditor_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2590 {
2591 arg2 = &temp2;
2592 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2593 }
2594 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2595 {
2596 PyThreadState* __tstate = wxPyBeginAllowThreads();
2597 (arg1)->PaintBackground((wxRect const &)*arg2,arg3);
2598
2599 wxPyEndAllowThreads(__tstate);
2600 if (PyErr_Occurred()) SWIG_fail;
2601 }
2602 Py_INCREF(Py_None); resultobj = Py_None;
2603 return resultobj;
2604 fail:
2605 return NULL;
2606 }
2607
2608
2609 static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2610 PyObject *resultobj;
2611 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2612 wxKeyEvent *arg2 = 0 ;
2613 bool result;
2614 PyObject * obj0 = 0 ;
2615 PyObject * obj1 = 0 ;
2616 char *kwnames[] = {
2617 (char *) "self",(char *) "event", NULL
2618 };
2619
2620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
2621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2622 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2623 if (arg2 == NULL) {
2624 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2625 }
2626 {
2627 PyThreadState* __tstate = wxPyBeginAllowThreads();
2628 result = (bool)(arg1)->IsAcceptedKey(*arg2);
2629
2630 wxPyEndAllowThreads(__tstate);
2631 if (PyErr_Occurred()) SWIG_fail;
2632 }
2633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2634 return resultobj;
2635 fail:
2636 return NULL;
2637 }
2638
2639
2640 static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2641 PyObject *resultobj;
2642 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2643 wxKeyEvent *arg2 = 0 ;
2644 PyObject * obj0 = 0 ;
2645 PyObject * obj1 = 0 ;
2646 char *kwnames[] = {
2647 (char *) "self",(char *) "event", NULL
2648 };
2649
2650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_StartingKey",kwnames,&obj0,&obj1)) goto fail;
2651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2652 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2653 if (arg2 == NULL) {
2654 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2655 }
2656 {
2657 PyThreadState* __tstate = wxPyBeginAllowThreads();
2658 (arg1)->StartingKey(*arg2);
2659
2660 wxPyEndAllowThreads(__tstate);
2661 if (PyErr_Occurred()) SWIG_fail;
2662 }
2663 Py_INCREF(Py_None); resultobj = Py_None;
2664 return resultobj;
2665 fail:
2666 return NULL;
2667 }
2668
2669
2670 static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2671 PyObject *resultobj;
2672 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2673 PyObject * obj0 = 0 ;
2674 char *kwnames[] = {
2675 (char *) "self", NULL
2676 };
2677
2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_StartingClick",kwnames,&obj0)) goto fail;
2679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2680 {
2681 PyThreadState* __tstate = wxPyBeginAllowThreads();
2682 (arg1)->StartingClick();
2683
2684 wxPyEndAllowThreads(__tstate);
2685 if (PyErr_Occurred()) SWIG_fail;
2686 }
2687 Py_INCREF(Py_None); resultobj = Py_None;
2688 return resultobj;
2689 fail:
2690 return NULL;
2691 }
2692
2693
2694 static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2695 PyObject *resultobj;
2696 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2697 wxKeyEvent *arg2 = 0 ;
2698 PyObject * obj0 = 0 ;
2699 PyObject * obj1 = 0 ;
2700 char *kwnames[] = {
2701 (char *) "self",(char *) "event", NULL
2702 };
2703
2704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
2705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2706 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2707 if (arg2 == NULL) {
2708 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2709 }
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 (arg1)->HandleReturn(*arg2);
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 Py_INCREF(Py_None); resultobj = Py_None;
2718 return resultobj;
2719 fail:
2720 return NULL;
2721 }
2722
2723
2724 static PyObject *_wrap_GridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2725 PyObject *resultobj;
2726 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2727 PyObject * obj0 = 0 ;
2728 char *kwnames[] = {
2729 (char *) "self", NULL
2730 };
2731
2732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Destroy",kwnames,&obj0)) goto fail;
2733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2734 {
2735 PyThreadState* __tstate = wxPyBeginAllowThreads();
2736 (arg1)->Destroy();
2737
2738 wxPyEndAllowThreads(__tstate);
2739 if (PyErr_Occurred()) SWIG_fail;
2740 }
2741 Py_INCREF(Py_None); resultobj = Py_None;
2742 return resultobj;
2743 fail:
2744 return NULL;
2745 }
2746
2747
2748 static PyObject * GridCellEditor_swigregister(PyObject *self, PyObject *args) {
2749 PyObject *obj;
2750 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2751 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor, obj);
2752 Py_INCREF(obj);
2753 return Py_BuildValue((char *)"");
2754 }
2755 static PyObject *_wrap_new_PyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2756 PyObject *resultobj;
2757 wxPyGridCellEditor *result;
2758 char *kwnames[] = {
2759 NULL
2760 };
2761
2762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellEditor",kwnames)) goto fail;
2763 {
2764 PyThreadState* __tstate = wxPyBeginAllowThreads();
2765 result = (wxPyGridCellEditor *)new wxPyGridCellEditor();
2766
2767 wxPyEndAllowThreads(__tstate);
2768 if (PyErr_Occurred()) SWIG_fail;
2769 }
2770 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridCellEditor, 1);
2771 return resultobj;
2772 fail:
2773 return NULL;
2774 }
2775
2776
2777 static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2778 PyObject *resultobj;
2779 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2780 PyObject *arg2 = (PyObject *) 0 ;
2781 PyObject *arg3 = (PyObject *) 0 ;
2782 PyObject * obj0 = 0 ;
2783 PyObject * obj1 = 0 ;
2784 PyObject * obj2 = 0 ;
2785 char *kwnames[] = {
2786 (char *) "self",(char *) "self",(char *) "_class", NULL
2787 };
2788
2789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2791 arg2 = obj1;
2792 arg3 = obj2;
2793 {
2794 PyThreadState* __tstate = wxPyBeginAllowThreads();
2795 (arg1)->_setCallbackInfo(arg2,arg3);
2796
2797 wxPyEndAllowThreads(__tstate);
2798 if (PyErr_Occurred()) SWIG_fail;
2799 }
2800 Py_INCREF(Py_None); resultobj = Py_None;
2801 return resultobj;
2802 fail:
2803 return NULL;
2804 }
2805
2806
2807 static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2808 PyObject *resultobj;
2809 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2810 wxRect *arg2 = 0 ;
2811 wxRect temp2 ;
2812 PyObject * obj0 = 0 ;
2813 PyObject * obj1 = 0 ;
2814 char *kwnames[] = {
2815 (char *) "self",(char *) "rect", NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames,&obj0,&obj1)) goto fail;
2819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2820 {
2821 arg2 = &temp2;
2822 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2823 }
2824 {
2825 PyThreadState* __tstate = wxPyBeginAllowThreads();
2826 (arg1)->base_SetSize((wxRect const &)*arg2);
2827
2828 wxPyEndAllowThreads(__tstate);
2829 if (PyErr_Occurred()) SWIG_fail;
2830 }
2831 Py_INCREF(Py_None); resultobj = Py_None;
2832 return resultobj;
2833 fail:
2834 return NULL;
2835 }
2836
2837
2838 static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2839 PyObject *resultobj;
2840 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2841 bool arg2 ;
2842 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
2843 PyObject * obj0 = 0 ;
2844 PyObject * obj1 = 0 ;
2845 PyObject * obj2 = 0 ;
2846 char *kwnames[] = {
2847 (char *) "self",(char *) "show",(char *) "attr", NULL
2848 };
2849
2850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
2851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2852 {
2853 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 if (obj2) {
2857 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2858 }
2859 {
2860 PyThreadState* __tstate = wxPyBeginAllowThreads();
2861 (arg1)->base_Show(arg2,arg3);
2862
2863 wxPyEndAllowThreads(__tstate);
2864 if (PyErr_Occurred()) SWIG_fail;
2865 }
2866 Py_INCREF(Py_None); resultobj = Py_None;
2867 return resultobj;
2868 fail:
2869 return NULL;
2870 }
2871
2872
2873 static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2874 PyObject *resultobj;
2875 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2876 wxRect *arg2 = 0 ;
2877 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
2878 wxRect temp2 ;
2879 PyObject * obj0 = 0 ;
2880 PyObject * obj1 = 0 ;
2881 PyObject * obj2 = 0 ;
2882 char *kwnames[] = {
2883 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2884 };
2885
2886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2888 {
2889 arg2 = &temp2;
2890 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2891 }
2892 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 (arg1)->base_PaintBackground((wxRect const &)*arg2,arg3);
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 Py_INCREF(Py_None); resultobj = Py_None;
2901 return resultobj;
2902 fail:
2903 return NULL;
2904 }
2905
2906
2907 static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2908 PyObject *resultobj;
2909 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2910 wxKeyEvent *arg2 = 0 ;
2911 bool result;
2912 PyObject * obj0 = 0 ;
2913 PyObject * obj1 = 0 ;
2914 char *kwnames[] = {
2915 (char *) "self",(char *) "event", NULL
2916 };
2917
2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
2919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2920 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2921 if (arg2 == NULL) {
2922 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2923 }
2924 {
2925 PyThreadState* __tstate = wxPyBeginAllowThreads();
2926 result = (bool)(arg1)->base_IsAcceptedKey(*arg2);
2927
2928 wxPyEndAllowThreads(__tstate);
2929 if (PyErr_Occurred()) SWIG_fail;
2930 }
2931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2932 return resultobj;
2933 fail:
2934 return NULL;
2935 }
2936
2937
2938 static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2939 PyObject *resultobj;
2940 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2941 wxKeyEvent *arg2 = 0 ;
2942 PyObject * obj0 = 0 ;
2943 PyObject * obj1 = 0 ;
2944 char *kwnames[] = {
2945 (char *) "self",(char *) "event", NULL
2946 };
2947
2948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames,&obj0,&obj1)) goto fail;
2949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2950 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2951 if (arg2 == NULL) {
2952 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2953 }
2954 {
2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
2956 (arg1)->base_StartingKey(*arg2);
2957
2958 wxPyEndAllowThreads(__tstate);
2959 if (PyErr_Occurred()) SWIG_fail;
2960 }
2961 Py_INCREF(Py_None); resultobj = Py_None;
2962 return resultobj;
2963 fail:
2964 return NULL;
2965 }
2966
2967
2968 static PyObject *_wrap_PyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2969 PyObject *resultobj;
2970 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2971 PyObject * obj0 = 0 ;
2972 char *kwnames[] = {
2973 (char *) "self", NULL
2974 };
2975
2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames,&obj0)) goto fail;
2977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2978 {
2979 PyThreadState* __tstate = wxPyBeginAllowThreads();
2980 (arg1)->base_StartingClick();
2981
2982 wxPyEndAllowThreads(__tstate);
2983 if (PyErr_Occurred()) SWIG_fail;
2984 }
2985 Py_INCREF(Py_None); resultobj = Py_None;
2986 return resultobj;
2987 fail:
2988 return NULL;
2989 }
2990
2991
2992 static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2993 PyObject *resultobj;
2994 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2995 wxKeyEvent *arg2 = 0 ;
2996 PyObject * obj0 = 0 ;
2997 PyObject * obj1 = 0 ;
2998 char *kwnames[] = {
2999 (char *) "self",(char *) "event", NULL
3000 };
3001
3002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
3003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3005 if (arg2 == NULL) {
3006 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3007 }
3008 {
3009 PyThreadState* __tstate = wxPyBeginAllowThreads();
3010 (arg1)->base_HandleReturn(*arg2);
3011
3012 wxPyEndAllowThreads(__tstate);
3013 if (PyErr_Occurred()) SWIG_fail;
3014 }
3015 Py_INCREF(Py_None); resultobj = Py_None;
3016 return resultobj;
3017 fail:
3018 return NULL;
3019 }
3020
3021
3022 static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
3023 PyObject *resultobj;
3024 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3025 PyObject * obj0 = 0 ;
3026 char *kwnames[] = {
3027 (char *) "self", NULL
3028 };
3029
3030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_Destroy",kwnames,&obj0)) goto fail;
3031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3032 {
3033 PyThreadState* __tstate = wxPyBeginAllowThreads();
3034 (arg1)->base_Destroy();
3035
3036 wxPyEndAllowThreads(__tstate);
3037 if (PyErr_Occurred()) SWIG_fail;
3038 }
3039 Py_INCREF(Py_None); resultobj = Py_None;
3040 return resultobj;
3041 fail:
3042 return NULL;
3043 }
3044
3045
3046 static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
3047 PyObject *resultobj;
3048 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3049 wxString *arg2 = 0 ;
3050 bool temp2 = False ;
3051 PyObject * obj0 = 0 ;
3052 PyObject * obj1 = 0 ;
3053 char *kwnames[] = {
3054 (char *) "self",(char *) "params", NULL
3055 };
3056
3057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
3058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3059 {
3060 arg2 = wxString_in_helper(obj1);
3061 if (arg2 == NULL) SWIG_fail;
3062 temp2 = True;
3063 }
3064 {
3065 PyThreadState* __tstate = wxPyBeginAllowThreads();
3066 (arg1)->base_SetParameters((wxString const &)*arg2);
3067
3068 wxPyEndAllowThreads(__tstate);
3069 if (PyErr_Occurred()) SWIG_fail;
3070 }
3071 Py_INCREF(Py_None); resultobj = Py_None;
3072 {
3073 if (temp2)
3074 delete arg2;
3075 }
3076 return resultobj;
3077 fail:
3078 {
3079 if (temp2)
3080 delete arg2;
3081 }
3082 return NULL;
3083 }
3084
3085
3086 static PyObject * PyGridCellEditor_swigregister(PyObject *self, PyObject *args) {
3087 PyObject *obj;
3088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3089 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor, obj);
3090 Py_INCREF(obj);
3091 return Py_BuildValue((char *)"");
3092 }
3093 static PyObject *_wrap_new_GridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3094 PyObject *resultobj;
3095 wxGridCellTextEditor *result;
3096 char *kwnames[] = {
3097 NULL
3098 };
3099
3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellTextEditor",kwnames)) goto fail;
3101 {
3102 PyThreadState* __tstate = wxPyBeginAllowThreads();
3103 result = (wxGridCellTextEditor *)new wxGridCellTextEditor();
3104
3105 wxPyEndAllowThreads(__tstate);
3106 if (PyErr_Occurred()) SWIG_fail;
3107 }
3108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellTextEditor, 1);
3109 return resultobj;
3110 fail:
3111 return NULL;
3112 }
3113
3114
3115 static PyObject *_wrap_GridCellTextEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3116 PyObject *resultobj;
3117 wxGridCellTextEditor *arg1 = (wxGridCellTextEditor *) 0 ;
3118 wxString result;
3119 PyObject * obj0 = 0 ;
3120 char *kwnames[] = {
3121 (char *) "self", NULL
3122 };
3123
3124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellTextEditor_GetValue",kwnames,&obj0)) goto fail;
3125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellTextEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3126 {
3127 PyThreadState* __tstate = wxPyBeginAllowThreads();
3128 result = (arg1)->GetValue();
3129
3130 wxPyEndAllowThreads(__tstate);
3131 if (PyErr_Occurred()) SWIG_fail;
3132 }
3133 {
3134 #if wxUSE_UNICODE
3135 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3136 #else
3137 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3138 #endif
3139 }
3140 return resultobj;
3141 fail:
3142 return NULL;
3143 }
3144
3145
3146 static PyObject * GridCellTextEditor_swigregister(PyObject *self, PyObject *args) {
3147 PyObject *obj;
3148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3149 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor, obj);
3150 Py_INCREF(obj);
3151 return Py_BuildValue((char *)"");
3152 }
3153 static PyObject *_wrap_new_GridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3154 PyObject *resultobj;
3155 int arg1 = (int) -1 ;
3156 int arg2 = (int) -1 ;
3157 wxGridCellNumberEditor *result;
3158 PyObject * obj0 = 0 ;
3159 PyObject * obj1 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "min",(char *) "max", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellNumberEditor",kwnames,&obj0,&obj1)) goto fail;
3165 if (obj0) {
3166 {
3167 arg1 = (int) SWIG_PyObj_AsInt(obj0);
3168 if (PyErr_Occurred()) SWIG_fail;
3169 }
3170 }
3171 if (obj1) {
3172 {
3173 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 }
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 result = (wxGridCellNumberEditor *)new wxGridCellNumberEditor(arg1,arg2);
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellNumberEditor, 1);
3185 return resultobj;
3186 fail:
3187 return NULL;
3188 }
3189
3190
3191 static PyObject *_wrap_GridCellNumberEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3192 PyObject *resultobj;
3193 wxGridCellNumberEditor *arg1 = (wxGridCellNumberEditor *) 0 ;
3194 wxString result;
3195 PyObject * obj0 = 0 ;
3196 char *kwnames[] = {
3197 (char *) "self", NULL
3198 };
3199
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellNumberEditor_GetValue",kwnames,&obj0)) goto fail;
3201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellNumberEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3202 {
3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
3204 result = (arg1)->GetValue();
3205
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
3209 {
3210 #if wxUSE_UNICODE
3211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3212 #else
3213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3214 #endif
3215 }
3216 return resultobj;
3217 fail:
3218 return NULL;
3219 }
3220
3221
3222 static PyObject * GridCellNumberEditor_swigregister(PyObject *self, PyObject *args) {
3223 PyObject *obj;
3224 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3225 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor, obj);
3226 Py_INCREF(obj);
3227 return Py_BuildValue((char *)"");
3228 }
3229 static PyObject *_wrap_new_GridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3230 PyObject *resultobj;
3231 wxGridCellFloatEditor *result;
3232 char *kwnames[] = {
3233 NULL
3234 };
3235
3236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellFloatEditor",kwnames)) goto fail;
3237 {
3238 PyThreadState* __tstate = wxPyBeginAllowThreads();
3239 result = (wxGridCellFloatEditor *)new wxGridCellFloatEditor();
3240
3241 wxPyEndAllowThreads(__tstate);
3242 if (PyErr_Occurred()) SWIG_fail;
3243 }
3244 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellFloatEditor, 1);
3245 return resultobj;
3246 fail:
3247 return NULL;
3248 }
3249
3250
3251 static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3252 PyObject *resultobj;
3253 wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ;
3254 wxString result;
3255 PyObject * obj0 = 0 ;
3256 char *kwnames[] = {
3257 (char *) "self", NULL
3258 };
3259
3260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatEditor_GetValue",kwnames,&obj0)) goto fail;
3261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellFloatEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3262 {
3263 PyThreadState* __tstate = wxPyBeginAllowThreads();
3264 result = (arg1)->GetValue();
3265
3266 wxPyEndAllowThreads(__tstate);
3267 if (PyErr_Occurred()) SWIG_fail;
3268 }
3269 {
3270 #if wxUSE_UNICODE
3271 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3272 #else
3273 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3274 #endif
3275 }
3276 return resultobj;
3277 fail:
3278 return NULL;
3279 }
3280
3281
3282 static PyObject * GridCellFloatEditor_swigregister(PyObject *self, PyObject *args) {
3283 PyObject *obj;
3284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3285 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor, obj);
3286 Py_INCREF(obj);
3287 return Py_BuildValue((char *)"");
3288 }
3289 static PyObject *_wrap_new_GridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3290 PyObject *resultobj;
3291 wxGridCellBoolEditor *result;
3292 char *kwnames[] = {
3293 NULL
3294 };
3295
3296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolEditor",kwnames)) goto fail;
3297 {
3298 PyThreadState* __tstate = wxPyBeginAllowThreads();
3299 result = (wxGridCellBoolEditor *)new wxGridCellBoolEditor();
3300
3301 wxPyEndAllowThreads(__tstate);
3302 if (PyErr_Occurred()) SWIG_fail;
3303 }
3304 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellBoolEditor, 1);
3305 return resultobj;
3306 fail:
3307 return NULL;
3308 }
3309
3310
3311 static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3312 PyObject *resultobj;
3313 wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ;
3314 wxString result;
3315 PyObject * obj0 = 0 ;
3316 char *kwnames[] = {
3317 (char *) "self", NULL
3318 };
3319
3320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellBoolEditor_GetValue",kwnames,&obj0)) goto fail;
3321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellBoolEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3322 {
3323 PyThreadState* __tstate = wxPyBeginAllowThreads();
3324 result = (arg1)->GetValue();
3325
3326 wxPyEndAllowThreads(__tstate);
3327 if (PyErr_Occurred()) SWIG_fail;
3328 }
3329 {
3330 #if wxUSE_UNICODE
3331 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3332 #else
3333 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3334 #endif
3335 }
3336 return resultobj;
3337 fail:
3338 return NULL;
3339 }
3340
3341
3342 static PyObject * GridCellBoolEditor_swigregister(PyObject *self, PyObject *args) {
3343 PyObject *obj;
3344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3345 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor, obj);
3346 Py_INCREF(obj);
3347 return Py_BuildValue((char *)"");
3348 }
3349 static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3350 PyObject *resultobj;
3351 int arg1 = (int) 0 ;
3352 wxString *arg2 = (wxString *) NULL ;
3353 bool arg3 = (bool) False ;
3354 wxGridCellChoiceEditor *result;
3355 PyObject * obj0 = 0 ;
3356 PyObject * obj1 = 0 ;
3357 char *kwnames[] = {
3358 (char *) "choices",(char *) "allowOthers", NULL
3359 };
3360
3361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellChoiceEditor",kwnames,&obj0,&obj1)) goto fail;
3362 if (obj0) {
3363 {
3364 arg1 = PyList_Size(obj0);
3365 arg2 = wxString_LIST_helper(obj0);
3366 if (arg2 == NULL) SWIG_fail;
3367 }
3368 }
3369 if (obj1) {
3370 {
3371 arg3 = (bool) SWIG_PyObj_AsBool(obj1);
3372 if (PyErr_Occurred()) SWIG_fail;
3373 }
3374 }
3375 {
3376 PyThreadState* __tstate = wxPyBeginAllowThreads();
3377 result = (wxGridCellChoiceEditor *)new wxGridCellChoiceEditor(arg1,(wxString const *)arg2,arg3);
3378
3379 wxPyEndAllowThreads(__tstate);
3380 if (PyErr_Occurred()) SWIG_fail;
3381 }
3382 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellChoiceEditor, 1);
3383 {
3384 if (arg2) delete [] arg2;
3385 }
3386 return resultobj;
3387 fail:
3388 {
3389 if (arg2) delete [] arg2;
3390 }
3391 return NULL;
3392 }
3393
3394
3395 static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3396 PyObject *resultobj;
3397 wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ;
3398 wxString result;
3399 PyObject * obj0 = 0 ;
3400 char *kwnames[] = {
3401 (char *) "self", NULL
3402 };
3403
3404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellChoiceEditor_GetValue",kwnames,&obj0)) goto fail;
3405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellChoiceEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3406 {
3407 PyThreadState* __tstate = wxPyBeginAllowThreads();
3408 result = (arg1)->GetValue();
3409
3410 wxPyEndAllowThreads(__tstate);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 }
3413 {
3414 #if wxUSE_UNICODE
3415 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3416 #else
3417 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3418 #endif
3419 }
3420 return resultobj;
3421 fail:
3422 return NULL;
3423 }
3424
3425
3426 static PyObject * GridCellChoiceEditor_swigregister(PyObject *self, PyObject *args) {
3427 PyObject *obj;
3428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3429 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor, obj);
3430 Py_INCREF(obj);
3431 return Py_BuildValue((char *)"");
3432 }
3433 static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3434 PyObject *resultobj;
3435 wxString const &arg1_defvalue = wxPyEmptyString ;
3436 wxString *arg1 = (wxString *) &arg1_defvalue ;
3437 wxGridCellEnumEditor *result;
3438 bool temp1 = False ;
3439 PyObject * obj0 = 0 ;
3440 char *kwnames[] = {
3441 (char *) "choices", NULL
3442 };
3443
3444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumEditor",kwnames,&obj0)) goto fail;
3445 if (obj0) {
3446 {
3447 arg1 = wxString_in_helper(obj0);
3448 if (arg1 == NULL) SWIG_fail;
3449 temp1 = True;
3450 }
3451 }
3452 {
3453 PyThreadState* __tstate = wxPyBeginAllowThreads();
3454 result = (wxGridCellEnumEditor *)new wxGridCellEnumEditor((wxString const &)*arg1);
3455
3456 wxPyEndAllowThreads(__tstate);
3457 if (PyErr_Occurred()) SWIG_fail;
3458 }
3459 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellEnumEditor, 1);
3460 {
3461 if (temp1)
3462 delete arg1;
3463 }
3464 return resultobj;
3465 fail:
3466 {
3467 if (temp1)
3468 delete arg1;
3469 }
3470 return NULL;
3471 }
3472
3473
3474 static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3475 PyObject *resultobj;
3476 wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ;
3477 wxString result;
3478 PyObject * obj0 = 0 ;
3479 char *kwnames[] = {
3480 (char *) "self", NULL
3481 };
3482
3483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEnumEditor_GetValue",kwnames,&obj0)) goto fail;
3484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellEnumEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3485 {
3486 PyThreadState* __tstate = wxPyBeginAllowThreads();
3487 result = (arg1)->GetValue();
3488
3489 wxPyEndAllowThreads(__tstate);
3490 if (PyErr_Occurred()) SWIG_fail;
3491 }
3492 {
3493 #if wxUSE_UNICODE
3494 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3495 #else
3496 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3497 #endif
3498 }
3499 return resultobj;
3500 fail:
3501 return NULL;
3502 }
3503
3504
3505 static PyObject * GridCellEnumEditor_swigregister(PyObject *self, PyObject *args) {
3506 PyObject *obj;
3507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3508 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor, obj);
3509 Py_INCREF(obj);
3510 return Py_BuildValue((char *)"");
3511 }
3512 static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3513 PyObject *resultobj;
3514 wxGridCellAutoWrapStringEditor *result;
3515 char *kwnames[] = {
3516 NULL
3517 };
3518
3519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringEditor",kwnames)) goto fail;
3520 {
3521 PyThreadState* __tstate = wxPyBeginAllowThreads();
3522 result = (wxGridCellAutoWrapStringEditor *)new wxGridCellAutoWrapStringEditor();
3523
3524 wxPyEndAllowThreads(__tstate);
3525 if (PyErr_Occurred()) SWIG_fail;
3526 }
3527 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellAutoWrapStringEditor, 1);
3528 return resultobj;
3529 fail:
3530 return NULL;
3531 }
3532
3533
3534 static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3535 PyObject *resultobj;
3536 wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ;
3537 wxString result;
3538 PyObject * obj0 = 0 ;
3539 char *kwnames[] = {
3540 (char *) "self", NULL
3541 };
3542
3543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames,&obj0)) goto fail;
3544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAutoWrapStringEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3545 {
3546 PyThreadState* __tstate = wxPyBeginAllowThreads();
3547 result = (arg1)->GetValue();
3548
3549 wxPyEndAllowThreads(__tstate);
3550 if (PyErr_Occurred()) SWIG_fail;
3551 }
3552 {
3553 #if wxUSE_UNICODE
3554 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3555 #else
3556 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3557 #endif
3558 }
3559 return resultobj;
3560 fail:
3561 return NULL;
3562 }
3563
3564
3565 static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *self, PyObject *args) {
3566 PyObject *obj;
3567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3568 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor, obj);
3569 Py_INCREF(obj);
3570 return Py_BuildValue((char *)"");
3571 }
3572 static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3573 PyObject *resultobj;
3574 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3575 PyObject *arg2 = (PyObject *) 0 ;
3576 PyObject * obj0 = 0 ;
3577 PyObject * obj1 = 0 ;
3578 char *kwnames[] = {
3579 (char *) "self",(char *) "_self", NULL
3580 };
3581
3582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
3583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3584 arg2 = obj1;
3585 {
3586 PyThreadState* __tstate = wxPyBeginAllowThreads();
3587 wxGridCellAttr__setOORInfo(arg1,arg2);
3588
3589 wxPyEndAllowThreads(__tstate);
3590 if (PyErr_Occurred()) SWIG_fail;
3591 }
3592 Py_INCREF(Py_None); resultobj = Py_None;
3593 return resultobj;
3594 fail:
3595 return NULL;
3596 }
3597
3598
3599 static PyObject *_wrap_new_GridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3600 PyObject *resultobj;
3601 wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ;
3602 wxGridCellAttr *result;
3603 PyObject * obj0 = 0 ;
3604 char *kwnames[] = {
3605 (char *) "attrDefault", NULL
3606 };
3607
3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellAttr",kwnames,&obj0)) goto fail;
3609 if (obj0) {
3610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3611 }
3612 {
3613 PyThreadState* __tstate = wxPyBeginAllowThreads();
3614 result = (wxGridCellAttr *)new wxGridCellAttr(arg1);
3615
3616 wxPyEndAllowThreads(__tstate);
3617 if (PyErr_Occurred()) SWIG_fail;
3618 }
3619 {
3620 resultobj = wxPyMake_wxGridCellAttr(result);
3621 }
3622 return resultobj;
3623 fail:
3624 return NULL;
3625 }
3626
3627
3628 static PyObject *_wrap_GridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3629 PyObject *resultobj;
3630 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3631 wxGridCellAttr *result;
3632 PyObject * obj0 = 0 ;
3633 char *kwnames[] = {
3634 (char *) "self", NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_Clone",kwnames,&obj0)) goto fail;
3638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3639 {
3640 PyThreadState* __tstate = wxPyBeginAllowThreads();
3641 result = (wxGridCellAttr *)((wxGridCellAttr const *)arg1)->Clone();
3642
3643 wxPyEndAllowThreads(__tstate);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 {
3647 resultobj = wxPyMake_wxGridCellAttr(result);
3648 }
3649 return resultobj;
3650 fail:
3651 return NULL;
3652 }
3653
3654
3655 static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3656 PyObject *resultobj;
3657 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3658 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
3659 PyObject * obj0 = 0 ;
3660 PyObject * obj1 = 0 ;
3661 char *kwnames[] = {
3662 (char *) "self",(char *) "mergefrom", NULL
3663 };
3664
3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_MergeWith",kwnames,&obj0,&obj1)) goto fail;
3666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3668 {
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
3670 (arg1)->MergeWith(arg2);
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
3675 Py_INCREF(Py_None); resultobj = Py_None;
3676 return resultobj;
3677 fail:
3678 return NULL;
3679 }
3680
3681
3682 static PyObject *_wrap_GridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3683 PyObject *resultobj;
3684 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3685 PyObject * obj0 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "self", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IncRef",kwnames,&obj0)) goto fail;
3691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3692 {
3693 PyThreadState* __tstate = wxPyBeginAllowThreads();
3694 (arg1)->IncRef();
3695
3696 wxPyEndAllowThreads(__tstate);
3697 if (PyErr_Occurred()) SWIG_fail;
3698 }
3699 Py_INCREF(Py_None); resultobj = Py_None;
3700 return resultobj;
3701 fail:
3702 return NULL;
3703 }
3704
3705
3706 static PyObject *_wrap_GridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3707 PyObject *resultobj;
3708 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3709 PyObject * obj0 = 0 ;
3710 char *kwnames[] = {
3711 (char *) "self", NULL
3712 };
3713
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_DecRef",kwnames,&obj0)) goto fail;
3715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3716 {
3717 PyThreadState* __tstate = wxPyBeginAllowThreads();
3718 (arg1)->DecRef();
3719
3720 wxPyEndAllowThreads(__tstate);
3721 if (PyErr_Occurred()) SWIG_fail;
3722 }
3723 Py_INCREF(Py_None); resultobj = Py_None;
3724 return resultobj;
3725 fail:
3726 return NULL;
3727 }
3728
3729
3730 static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3731 PyObject *resultobj;
3732 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3733 wxColour *arg2 = 0 ;
3734 wxColour temp2 ;
3735 PyObject * obj0 = 0 ;
3736 PyObject * obj1 = 0 ;
3737 char *kwnames[] = {
3738 (char *) "self",(char *) "colText", NULL
3739 };
3740
3741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
3742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3743 {
3744 arg2 = &temp2;
3745 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3746 }
3747 {
3748 PyThreadState* __tstate = wxPyBeginAllowThreads();
3749 (arg1)->SetTextColour((wxColour const &)*arg2);
3750
3751 wxPyEndAllowThreads(__tstate);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 }
3754 Py_INCREF(Py_None); resultobj = Py_None;
3755 return resultobj;
3756 fail:
3757 return NULL;
3758 }
3759
3760
3761 static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3762 PyObject *resultobj;
3763 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3764 wxColour *arg2 = 0 ;
3765 wxColour temp2 ;
3766 PyObject * obj0 = 0 ;
3767 PyObject * obj1 = 0 ;
3768 char *kwnames[] = {
3769 (char *) "self",(char *) "colBack", NULL
3770 };
3771
3772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
3773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3774 {
3775 arg2 = &temp2;
3776 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3777 }
3778 {
3779 PyThreadState* __tstate = wxPyBeginAllowThreads();
3780 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
3781
3782 wxPyEndAllowThreads(__tstate);
3783 if (PyErr_Occurred()) SWIG_fail;
3784 }
3785 Py_INCREF(Py_None); resultobj = Py_None;
3786 return resultobj;
3787 fail:
3788 return NULL;
3789 }
3790
3791
3792 static PyObject *_wrap_GridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3793 PyObject *resultobj;
3794 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3795 wxFont *arg2 = 0 ;
3796 PyObject * obj0 = 0 ;
3797 PyObject * obj1 = 0 ;
3798 char *kwnames[] = {
3799 (char *) "self",(char *) "font", NULL
3800 };
3801
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
3803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3805 if (arg2 == NULL) {
3806 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3807 }
3808 {
3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
3810 (arg1)->SetFont((wxFont const &)*arg2);
3811
3812 wxPyEndAllowThreads(__tstate);
3813 if (PyErr_Occurred()) SWIG_fail;
3814 }
3815 Py_INCREF(Py_None); resultobj = Py_None;
3816 return resultobj;
3817 fail:
3818 return NULL;
3819 }
3820
3821
3822 static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3823 PyObject *resultobj;
3824 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3825 int arg2 ;
3826 int arg3 ;
3827 PyObject * obj0 = 0 ;
3828 PyObject * obj1 = 0 ;
3829 PyObject * obj2 = 0 ;
3830 char *kwnames[] = {
3831 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
3832 };
3833
3834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
3835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3836 {
3837 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3838 if (PyErr_Occurred()) SWIG_fail;
3839 }
3840 {
3841 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 {
3845 PyThreadState* __tstate = wxPyBeginAllowThreads();
3846 (arg1)->SetAlignment(arg2,arg3);
3847
3848 wxPyEndAllowThreads(__tstate);
3849 if (PyErr_Occurred()) SWIG_fail;
3850 }
3851 Py_INCREF(Py_None); resultobj = Py_None;
3852 return resultobj;
3853 fail:
3854 return NULL;
3855 }
3856
3857
3858 static PyObject *_wrap_GridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3859 PyObject *resultobj;
3860 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3861 int arg2 ;
3862 int arg3 ;
3863 PyObject * obj0 = 0 ;
3864 PyObject * obj1 = 0 ;
3865 PyObject * obj2 = 0 ;
3866 char *kwnames[] = {
3867 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
3868 };
3869
3870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3872 {
3873 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 {
3877 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3878 if (PyErr_Occurred()) SWIG_fail;
3879 }
3880 {
3881 PyThreadState* __tstate = wxPyBeginAllowThreads();
3882 (arg1)->SetSize(arg2,arg3);
3883
3884 wxPyEndAllowThreads(__tstate);
3885 if (PyErr_Occurred()) SWIG_fail;
3886 }
3887 Py_INCREF(Py_None); resultobj = Py_None;
3888 return resultobj;
3889 fail:
3890 return NULL;
3891 }
3892
3893
3894 static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
3895 PyObject *resultobj;
3896 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3897 bool arg2 = (bool) True ;
3898 PyObject * obj0 = 0 ;
3899 PyObject * obj1 = 0 ;
3900 char *kwnames[] = {
3901 (char *) "self",(char *) "allow", NULL
3902 };
3903
3904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetOverflow",kwnames,&obj0,&obj1)) goto fail;
3905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3906 if (obj1) {
3907 {
3908 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3909 if (PyErr_Occurred()) SWIG_fail;
3910 }
3911 }
3912 {
3913 PyThreadState* __tstate = wxPyBeginAllowThreads();
3914 (arg1)->SetOverflow(arg2);
3915
3916 wxPyEndAllowThreads(__tstate);
3917 if (PyErr_Occurred()) SWIG_fail;
3918 }
3919 Py_INCREF(Py_None); resultobj = Py_None;
3920 return resultobj;
3921 fail:
3922 return NULL;
3923 }
3924
3925
3926 static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3927 PyObject *resultobj;
3928 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3929 bool arg2 = (bool) True ;
3930 PyObject * obj0 = 0 ;
3931 PyObject * obj1 = 0 ;
3932 char *kwnames[] = {
3933 (char *) "self",(char *) "isReadOnly", NULL
3934 };
3935
3936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
3937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3938 if (obj1) {
3939 {
3940 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3941 if (PyErr_Occurred()) SWIG_fail;
3942 }
3943 }
3944 {
3945 PyThreadState* __tstate = wxPyBeginAllowThreads();
3946 (arg1)->SetReadOnly(arg2);
3947
3948 wxPyEndAllowThreads(__tstate);
3949 if (PyErr_Occurred()) SWIG_fail;
3950 }
3951 Py_INCREF(Py_None); resultobj = Py_None;
3952 return resultobj;
3953 fail:
3954 return NULL;
3955 }
3956
3957
3958 static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3959 PyObject *resultobj;
3960 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3961 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
3962 PyObject * obj0 = 0 ;
3963 PyObject * obj1 = 0 ;
3964 char *kwnames[] = {
3965 (char *) "self",(char *) "renderer", NULL
3966 };
3967
3968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetRenderer",kwnames,&obj0,&obj1)) goto fail;
3969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3970 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3971 {
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 (arg1)->SetRenderer(arg2);
3974
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) SWIG_fail;
3977 }
3978 Py_INCREF(Py_None); resultobj = Py_None;
3979 return resultobj;
3980 fail:
3981 return NULL;
3982 }
3983
3984
3985 static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3986 PyObject *resultobj;
3987 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3988 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
3989 PyObject * obj0 = 0 ;
3990 PyObject * obj1 = 0 ;
3991 char *kwnames[] = {
3992 (char *) "self",(char *) "editor", NULL
3993 };
3994
3995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetEditor",kwnames,&obj0,&obj1)) goto fail;
3996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3997 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3998 {
3999 PyThreadState* __tstate = wxPyBeginAllowThreads();
4000 (arg1)->SetEditor(arg2);
4001
4002 wxPyEndAllowThreads(__tstate);
4003 if (PyErr_Occurred()) SWIG_fail;
4004 }
4005 Py_INCREF(Py_None); resultobj = Py_None;
4006 return resultobj;
4007 fail:
4008 return NULL;
4009 }
4010
4011
4012 static PyObject *_wrap_GridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
4013 PyObject *resultobj;
4014 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4015 int arg2 ;
4016 PyObject * obj0 = 0 ;
4017 PyObject * obj1 = 0 ;
4018 char *kwnames[] = {
4019 (char *) "self",(char *) "kind", NULL
4020 };
4021
4022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetKind",kwnames,&obj0,&obj1)) goto fail;
4023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4024 {
4025 arg2 = (wxGridCellAttr::wxAttrKind) SWIG_PyObj_AsInt(obj1);
4026 if (PyErr_Occurred()) SWIG_fail;
4027 }
4028 {
4029 PyThreadState* __tstate = wxPyBeginAllowThreads();
4030 (arg1)->SetKind((wxGridCellAttr::wxAttrKind )arg2);
4031
4032 wxPyEndAllowThreads(__tstate);
4033 if (PyErr_Occurred()) SWIG_fail;
4034 }
4035 Py_INCREF(Py_None); resultobj = Py_None;
4036 return resultobj;
4037 fail:
4038 return NULL;
4039 }
4040
4041
4042 static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4043 PyObject *resultobj;
4044 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4045 bool result;
4046 PyObject * obj0 = 0 ;
4047 char *kwnames[] = {
4048 (char *) "self", NULL
4049 };
4050
4051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasTextColour",kwnames,&obj0)) goto fail;
4052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4053 {
4054 PyThreadState* __tstate = wxPyBeginAllowThreads();
4055 result = (bool)((wxGridCellAttr const *)arg1)->HasTextColour();
4056
4057 wxPyEndAllowThreads(__tstate);
4058 if (PyErr_Occurred()) SWIG_fail;
4059 }
4060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4061 return resultobj;
4062 fail:
4063 return NULL;
4064 }
4065
4066
4067 static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4068 PyObject *resultobj;
4069 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4070 bool result;
4071 PyObject * obj0 = 0 ;
4072 char *kwnames[] = {
4073 (char *) "self", NULL
4074 };
4075
4076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
4077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4078 {
4079 PyThreadState* __tstate = wxPyBeginAllowThreads();
4080 result = (bool)((wxGridCellAttr const *)arg1)->HasBackgroundColour();
4081
4082 wxPyEndAllowThreads(__tstate);
4083 if (PyErr_Occurred()) SWIG_fail;
4084 }
4085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4086 return resultobj;
4087 fail:
4088 return NULL;
4089 }
4090
4091
4092 static PyObject *_wrap_GridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4093 PyObject *resultobj;
4094 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4095 bool result;
4096 PyObject * obj0 = 0 ;
4097 char *kwnames[] = {
4098 (char *) "self", NULL
4099 };
4100
4101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasFont",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 result = (bool)((wxGridCellAttr const *)arg1)->HasFont();
4106
4107 wxPyEndAllowThreads(__tstate);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4111 return resultobj;
4112 fail:
4113 return NULL;
4114 }
4115
4116
4117 static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4118 PyObject *resultobj;
4119 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4120 bool result;
4121 PyObject * obj0 = 0 ;
4122 char *kwnames[] = {
4123 (char *) "self", NULL
4124 };
4125
4126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasAlignment",kwnames,&obj0)) goto fail;
4127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4128 {
4129 PyThreadState* __tstate = wxPyBeginAllowThreads();
4130 result = (bool)((wxGridCellAttr const *)arg1)->HasAlignment();
4131
4132 wxPyEndAllowThreads(__tstate);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 }
4135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4136 return resultobj;
4137 fail:
4138 return NULL;
4139 }
4140
4141
4142 static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4143 PyObject *resultobj;
4144 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4145 bool result;
4146 PyObject * obj0 = 0 ;
4147 char *kwnames[] = {
4148 (char *) "self", NULL
4149 };
4150
4151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasRenderer",kwnames,&obj0)) goto fail;
4152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4153 {
4154 PyThreadState* __tstate = wxPyBeginAllowThreads();
4155 result = (bool)((wxGridCellAttr const *)arg1)->HasRenderer();
4156
4157 wxPyEndAllowThreads(__tstate);
4158 if (PyErr_Occurred()) SWIG_fail;
4159 }
4160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4161 return resultobj;
4162 fail:
4163 return NULL;
4164 }
4165
4166
4167 static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4168 PyObject *resultobj;
4169 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4170 bool result;
4171 PyObject * obj0 = 0 ;
4172 char *kwnames[] = {
4173 (char *) "self", NULL
4174 };
4175
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasEditor",kwnames,&obj0)) goto fail;
4177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4178 {
4179 PyThreadState* __tstate = wxPyBeginAllowThreads();
4180 result = (bool)((wxGridCellAttr const *)arg1)->HasEditor();
4181
4182 wxPyEndAllowThreads(__tstate);
4183 if (PyErr_Occurred()) SWIG_fail;
4184 }
4185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4186 return resultobj;
4187 fail:
4188 return NULL;
4189 }
4190
4191
4192 static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4193 PyObject *resultobj;
4194 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4195 bool result;
4196 PyObject * obj0 = 0 ;
4197 char *kwnames[] = {
4198 (char *) "self", NULL
4199 };
4200
4201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames,&obj0)) goto fail;
4202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4203 {
4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
4205 result = (bool)((wxGridCellAttr const *)arg1)->HasReadWriteMode();
4206
4207 wxPyEndAllowThreads(__tstate);
4208 if (PyErr_Occurred()) SWIG_fail;
4209 }
4210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4211 return resultobj;
4212 fail:
4213 return NULL;
4214 }
4215
4216
4217 static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4218 PyObject *resultobj;
4219 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4220 bool result;
4221 PyObject * obj0 = 0 ;
4222 char *kwnames[] = {
4223 (char *) "self", NULL
4224 };
4225
4226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasOverflowMode",kwnames,&obj0)) goto fail;
4227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4228 {
4229 PyThreadState* __tstate = wxPyBeginAllowThreads();
4230 result = (bool)((wxGridCellAttr const *)arg1)->HasOverflowMode();
4231
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 }
4235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4236 return resultobj;
4237 fail:
4238 return NULL;
4239 }
4240
4241
4242 static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4243 PyObject *resultobj;
4244 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4245 wxColour result;
4246 PyObject * obj0 = 0 ;
4247 char *kwnames[] = {
4248 (char *) "self", NULL
4249 };
4250
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetTextColour",kwnames,&obj0)) goto fail;
4252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4253 {
4254 PyThreadState* __tstate = wxPyBeginAllowThreads();
4255 result = ((wxGridCellAttr const *)arg1)->GetTextColour();
4256
4257 wxPyEndAllowThreads(__tstate);
4258 if (PyErr_Occurred()) SWIG_fail;
4259 }
4260 {
4261 wxColour * resultptr;
4262 resultptr = new wxColour((wxColour &) result);
4263 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4264 }
4265 return resultobj;
4266 fail:
4267 return NULL;
4268 }
4269
4270
4271 static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4272 PyObject *resultobj;
4273 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4274 wxColour result;
4275 PyObject * obj0 = 0 ;
4276 char *kwnames[] = {
4277 (char *) "self", NULL
4278 };
4279
4280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
4281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4282 {
4283 PyThreadState* __tstate = wxPyBeginAllowThreads();
4284 result = ((wxGridCellAttr const *)arg1)->GetBackgroundColour();
4285
4286 wxPyEndAllowThreads(__tstate);
4287 if (PyErr_Occurred()) SWIG_fail;
4288 }
4289 {
4290 wxColour * resultptr;
4291 resultptr = new wxColour((wxColour &) result);
4292 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4293 }
4294 return resultobj;
4295 fail:
4296 return NULL;
4297 }
4298
4299
4300 static PyObject *_wrap_GridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4301 PyObject *resultobj;
4302 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4303 wxFont result;
4304 PyObject * obj0 = 0 ;
4305 char *kwnames[] = {
4306 (char *) "self", NULL
4307 };
4308
4309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetFont",kwnames,&obj0)) goto fail;
4310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4311 {
4312 PyThreadState* __tstate = wxPyBeginAllowThreads();
4313 result = ((wxGridCellAttr const *)arg1)->GetFont();
4314
4315 wxPyEndAllowThreads(__tstate);
4316 if (PyErr_Occurred()) SWIG_fail;
4317 }
4318 {
4319 wxFont * resultptr;
4320 resultptr = new wxFont((wxFont &) result);
4321 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
4322 }
4323 return resultobj;
4324 fail:
4325 return NULL;
4326 }
4327
4328
4329 static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4330 PyObject *resultobj;
4331 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4332 int *arg2 = (int *) 0 ;
4333 int *arg3 = (int *) 0 ;
4334 int temp2 ;
4335 int temp3 ;
4336 PyObject * obj0 = 0 ;
4337 char *kwnames[] = {
4338 (char *) "self", NULL
4339 };
4340
4341 arg2 = &temp2;
4342 arg3 = &temp3;
4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetAlignment",kwnames,&obj0)) goto fail;
4344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4345 {
4346 PyThreadState* __tstate = wxPyBeginAllowThreads();
4347 ((wxGridCellAttr const *)arg1)->GetAlignment(arg2,arg3);
4348
4349 wxPyEndAllowThreads(__tstate);
4350 if (PyErr_Occurred()) SWIG_fail;
4351 }
4352 Py_INCREF(Py_None); resultobj = Py_None;
4353 {
4354 PyObject *o = PyInt_FromLong((long) (*arg2));
4355 resultobj = t_output_helper(resultobj,o);
4356 }
4357 {
4358 PyObject *o = PyInt_FromLong((long) (*arg3));
4359 resultobj = t_output_helper(resultobj,o);
4360 }
4361 return resultobj;
4362 fail:
4363 return NULL;
4364 }
4365
4366
4367 static PyObject *_wrap_GridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4368 PyObject *resultobj;
4369 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4370 int *arg2 = (int *) 0 ;
4371 int *arg3 = (int *) 0 ;
4372 int temp2 ;
4373 int temp3 ;
4374 PyObject * obj0 = 0 ;
4375 char *kwnames[] = {
4376 (char *) "self", NULL
4377 };
4378
4379 arg2 = &temp2;
4380 arg3 = &temp3;
4381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetSize",kwnames,&obj0)) goto fail;
4382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4383 {
4384 PyThreadState* __tstate = wxPyBeginAllowThreads();
4385 ((wxGridCellAttr const *)arg1)->GetSize(arg2,arg3);
4386
4387 wxPyEndAllowThreads(__tstate);
4388 if (PyErr_Occurred()) SWIG_fail;
4389 }
4390 Py_INCREF(Py_None); resultobj = Py_None;
4391 {
4392 PyObject *o = PyInt_FromLong((long) (*arg2));
4393 resultobj = t_output_helper(resultobj,o);
4394 }
4395 {
4396 PyObject *o = PyInt_FromLong((long) (*arg3));
4397 resultobj = t_output_helper(resultobj,o);
4398 }
4399 return resultobj;
4400 fail:
4401 return NULL;
4402 }
4403
4404
4405 static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4406 PyObject *resultobj;
4407 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4408 bool result;
4409 PyObject * obj0 = 0 ;
4410 char *kwnames[] = {
4411 (char *) "self", NULL
4412 };
4413
4414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetOverflow",kwnames,&obj0)) goto fail;
4415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4416 {
4417 PyThreadState* __tstate = wxPyBeginAllowThreads();
4418 result = (bool)((wxGridCellAttr const *)arg1)->GetOverflow();
4419
4420 wxPyEndAllowThreads(__tstate);
4421 if (PyErr_Occurred()) SWIG_fail;
4422 }
4423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4424 return resultobj;
4425 fail:
4426 return NULL;
4427 }
4428
4429
4430 static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4431 PyObject *resultobj;
4432 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4433 wxGrid *arg2 = (wxGrid *) 0 ;
4434 int arg3 ;
4435 int arg4 ;
4436 wxGridCellRenderer *result;
4437 PyObject * obj0 = 0 ;
4438 PyObject * obj1 = 0 ;
4439 PyObject * obj2 = 0 ;
4440 PyObject * obj3 = 0 ;
4441 char *kwnames[] = {
4442 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4443 };
4444
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4447 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4448 {
4449 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4450 if (PyErr_Occurred()) SWIG_fail;
4451 }
4452 {
4453 arg4 = (int) SWIG_PyObj_AsInt(obj3);
4454 if (PyErr_Occurred()) SWIG_fail;
4455 }
4456 {
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 result = (wxGridCellRenderer *)((wxGridCellAttr const *)arg1)->GetRenderer(arg2,arg3,arg4);
4459
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
4463 {
4464 resultobj = wxPyMake_wxGridCellRenderer(result);
4465 }
4466 return resultobj;
4467 fail:
4468 return NULL;
4469 }
4470
4471
4472 static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4473 PyObject *resultobj;
4474 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4475 wxGrid *arg2 = (wxGrid *) 0 ;
4476 int arg3 ;
4477 int arg4 ;
4478 wxGridCellEditor *result;
4479 PyObject * obj0 = 0 ;
4480 PyObject * obj1 = 0 ;
4481 PyObject * obj2 = 0 ;
4482 PyObject * obj3 = 0 ;
4483 char *kwnames[] = {
4484 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4485 };
4486
4487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4489 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4490 {
4491 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 {
4495 arg4 = (int) SWIG_PyObj_AsInt(obj3);
4496 if (PyErr_Occurred()) SWIG_fail;
4497 }
4498 {
4499 PyThreadState* __tstate = wxPyBeginAllowThreads();
4500 result = (wxGridCellEditor *)((wxGridCellAttr const *)arg1)->GetEditor(arg2,arg3,arg4);
4501
4502 wxPyEndAllowThreads(__tstate);
4503 if (PyErr_Occurred()) SWIG_fail;
4504 }
4505 {
4506 resultobj = wxPyMake_wxGridCellEditor(result);
4507 }
4508 return resultobj;
4509 fail:
4510 return NULL;
4511 }
4512
4513
4514 static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4515 PyObject *resultobj;
4516 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4517 bool result;
4518 PyObject * obj0 = 0 ;
4519 char *kwnames[] = {
4520 (char *) "self", NULL
4521 };
4522
4523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IsReadOnly",kwnames,&obj0)) goto fail;
4524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4525 {
4526 PyThreadState* __tstate = wxPyBeginAllowThreads();
4527 result = (bool)((wxGridCellAttr const *)arg1)->IsReadOnly();
4528
4529 wxPyEndAllowThreads(__tstate);
4530 if (PyErr_Occurred()) SWIG_fail;
4531 }
4532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4533 return resultobj;
4534 fail:
4535 return NULL;
4536 }
4537
4538
4539 static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4540 PyObject *resultobj;
4541 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4542 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4543 PyObject * obj0 = 0 ;
4544 PyObject * obj1 = 0 ;
4545 char *kwnames[] = {
4546 (char *) "self",(char *) "defAttr", NULL
4547 };
4548
4549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetDefAttr",kwnames,&obj0,&obj1)) goto fail;
4550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4551 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4552 {
4553 PyThreadState* __tstate = wxPyBeginAllowThreads();
4554 (arg1)->SetDefAttr(arg2);
4555
4556 wxPyEndAllowThreads(__tstate);
4557 if (PyErr_Occurred()) SWIG_fail;
4558 }
4559 Py_INCREF(Py_None); resultobj = Py_None;
4560 return resultobj;
4561 fail:
4562 return NULL;
4563 }
4564
4565
4566 static PyObject * GridCellAttr_swigregister(PyObject *self, PyObject *args) {
4567 PyObject *obj;
4568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4569 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr, obj);
4570 Py_INCREF(obj);
4571 return Py_BuildValue((char *)"");
4572 }
4573 static PyObject *_wrap_new_GridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj;
4575 wxGridCellAttrProvider *result;
4576 char *kwnames[] = {
4577 NULL
4578 };
4579
4580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAttrProvider",kwnames)) goto fail;
4581 {
4582 PyThreadState* __tstate = wxPyBeginAllowThreads();
4583 result = (wxGridCellAttrProvider *)new wxGridCellAttrProvider();
4584
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 }
4588 {
4589 resultobj = wxPyMake_wxGridCellAttrProvider(result);
4590 }
4591 return resultobj;
4592 fail:
4593 return NULL;
4594 }
4595
4596
4597 static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4598 PyObject *resultobj;
4599 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4600 PyObject *arg2 = (PyObject *) 0 ;
4601 PyObject * obj0 = 0 ;
4602 PyObject * obj1 = 0 ;
4603 char *kwnames[] = {
4604 (char *) "self",(char *) "_self", NULL
4605 };
4606
4607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
4608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4609 arg2 = obj1;
4610 {
4611 PyThreadState* __tstate = wxPyBeginAllowThreads();
4612 wxGridCellAttrProvider__setOORInfo(arg1,arg2);
4613
4614 wxPyEndAllowThreads(__tstate);
4615 if (PyErr_Occurred()) SWIG_fail;
4616 }
4617 Py_INCREF(Py_None); resultobj = Py_None;
4618 return resultobj;
4619 fail:
4620 return NULL;
4621 }
4622
4623
4624 static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4625 PyObject *resultobj;
4626 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4627 int arg2 ;
4628 int arg3 ;
4629 int arg4 ;
4630 wxGridCellAttr *result;
4631 PyObject * obj0 = 0 ;
4632 PyObject * obj1 = 0 ;
4633 PyObject * obj2 = 0 ;
4634 PyObject * obj3 = 0 ;
4635 char *kwnames[] = {
4636 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4637 };
4638
4639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4641 {
4642 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4643 if (PyErr_Occurred()) SWIG_fail;
4644 }
4645 {
4646 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 }
4649 {
4650 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_PyObj_AsInt(obj3);
4651 if (PyErr_Occurred()) SWIG_fail;
4652 }
4653 {
4654 PyThreadState* __tstate = wxPyBeginAllowThreads();
4655 result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
4656
4657 wxPyEndAllowThreads(__tstate);
4658 if (PyErr_Occurred()) SWIG_fail;
4659 }
4660 {
4661 resultobj = wxPyMake_wxGridCellAttr(result);
4662 }
4663 return resultobj;
4664 fail:
4665 return NULL;
4666 }
4667
4668
4669 static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4670 PyObject *resultobj;
4671 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4672 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4673 int arg3 ;
4674 int arg4 ;
4675 PyObject * obj0 = 0 ;
4676 PyObject * obj1 = 0 ;
4677 PyObject * obj2 = 0 ;
4678 PyObject * obj3 = 0 ;
4679 char *kwnames[] = {
4680 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4681 };
4682
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4686 {
4687 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4688 if (PyErr_Occurred()) SWIG_fail;
4689 }
4690 {
4691 arg4 = (int) SWIG_PyObj_AsInt(obj3);
4692 if (PyErr_Occurred()) SWIG_fail;
4693 }
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 (arg1)->SetAttr(arg2,arg3,arg4);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 Py_INCREF(Py_None); resultobj = Py_None;
4702 return resultobj;
4703 fail:
4704 return NULL;
4705 }
4706
4707
4708 static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject *resultobj;
4710 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4711 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4712 int arg3 ;
4713 PyObject * obj0 = 0 ;
4714 PyObject * obj1 = 0 ;
4715 PyObject * obj2 = 0 ;
4716 char *kwnames[] = {
4717 (char *) "self",(char *) "attr",(char *) "row", NULL
4718 };
4719
4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
4721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4723 {
4724 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4725 if (PyErr_Occurred()) SWIG_fail;
4726 }
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 (arg1)->SetRowAttr(arg2,arg3);
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 Py_INCREF(Py_None); resultobj = Py_None;
4735 return resultobj;
4736 fail:
4737 return NULL;
4738 }
4739
4740
4741 static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4742 PyObject *resultobj;
4743 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4744 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4745 int arg3 ;
4746 PyObject * obj0 = 0 ;
4747 PyObject * obj1 = 0 ;
4748 PyObject * obj2 = 0 ;
4749 char *kwnames[] = {
4750 (char *) "self",(char *) "attr",(char *) "col", NULL
4751 };
4752
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
4754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4755 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4756 {
4757 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4760 {
4761 PyThreadState* __tstate = wxPyBeginAllowThreads();
4762 (arg1)->SetColAttr(arg2,arg3);
4763
4764 wxPyEndAllowThreads(__tstate);
4765 if (PyErr_Occurred()) SWIG_fail;
4766 }
4767 Py_INCREF(Py_None); resultobj = Py_None;
4768 return resultobj;
4769 fail:
4770 return NULL;
4771 }
4772
4773
4774 static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4775 PyObject *resultobj;
4776 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4777 size_t arg2 ;
4778 int arg3 ;
4779 PyObject * obj0 = 0 ;
4780 PyObject * obj1 = 0 ;
4781 PyObject * obj2 = 0 ;
4782 char *kwnames[] = {
4783 (char *) "self",(char *) "pos",(char *) "numRows", NULL
4784 };
4785
4786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
4787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4788 {
4789 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 {
4793 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 {
4797 PyThreadState* __tstate = wxPyBeginAllowThreads();
4798 (arg1)->UpdateAttrRows(arg2,arg3);
4799
4800 wxPyEndAllowThreads(__tstate);
4801 if (PyErr_Occurred()) SWIG_fail;
4802 }
4803 Py_INCREF(Py_None); resultobj = Py_None;
4804 return resultobj;
4805 fail:
4806 return NULL;
4807 }
4808
4809
4810 static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4811 PyObject *resultobj;
4812 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4813 size_t arg2 ;
4814 int arg3 ;
4815 PyObject * obj0 = 0 ;
4816 PyObject * obj1 = 0 ;
4817 PyObject * obj2 = 0 ;
4818 char *kwnames[] = {
4819 (char *) "self",(char *) "pos",(char *) "numCols", NULL
4820 };
4821
4822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
4823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4824 {
4825 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 {
4829 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 {
4833 PyThreadState* __tstate = wxPyBeginAllowThreads();
4834 (arg1)->UpdateAttrCols(arg2,arg3);
4835
4836 wxPyEndAllowThreads(__tstate);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 }
4839 Py_INCREF(Py_None); resultobj = Py_None;
4840 return resultobj;
4841 fail:
4842 return NULL;
4843 }
4844
4845
4846 static PyObject * GridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
4847 PyObject *obj;
4848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4849 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider, obj);
4850 Py_INCREF(obj);
4851 return Py_BuildValue((char *)"");
4852 }
4853 static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj;
4855 wxPyGridCellAttrProvider *result;
4856 char *kwnames[] = {
4857 NULL
4858 };
4859
4860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellAttrProvider",kwnames)) goto fail;
4861 {
4862 PyThreadState* __tstate = wxPyBeginAllowThreads();
4863 result = (wxPyGridCellAttrProvider *)new wxPyGridCellAttrProvider();
4864
4865 wxPyEndAllowThreads(__tstate);
4866 if (PyErr_Occurred()) SWIG_fail;
4867 }
4868 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridCellAttrProvider, 1);
4869 return resultobj;
4870 fail:
4871 return NULL;
4872 }
4873
4874
4875 static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4876 PyObject *resultobj;
4877 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
4878 PyObject *arg2 = (PyObject *) 0 ;
4879 PyObject *arg3 = (PyObject *) 0 ;
4880 PyObject * obj0 = 0 ;
4881 PyObject * obj1 = 0 ;
4882 PyObject * obj2 = 0 ;
4883 char *kwnames[] = {
4884 (char *) "self",(char *) "self",(char *) "_class", NULL
4885 };
4886
4887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
4888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4889 arg2 = obj1;
4890 arg3 = obj2;
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 (arg1)->_setCallbackInfo(arg2,arg3);
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 Py_INCREF(Py_None); resultobj = Py_None;
4899 return resultobj;
4900 fail:
4901 return NULL;
4902 }
4903
4904
4905 static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4906 PyObject *resultobj;
4907 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
4908 int arg2 ;
4909 int arg3 ;
4910 int arg4 ;
4911 wxGridCellAttr *result;
4912 PyObject * obj0 = 0 ;
4913 PyObject * obj1 = 0 ;
4914 PyObject * obj2 = 0 ;
4915 PyObject * obj3 = 0 ;
4916 char *kwnames[] = {
4917 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4918 };
4919
4920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4922 {
4923 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 {
4927 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4928 if (PyErr_Occurred()) SWIG_fail;
4929 }
4930 {
4931 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_PyObj_AsInt(obj3);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 }
4934 {
4935 PyThreadState* __tstate = wxPyBeginAllowThreads();
4936 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
4937
4938 wxPyEndAllowThreads(__tstate);
4939 if (PyErr_Occurred()) SWIG_fail;
4940 }
4941 {
4942 resultobj = wxPyMake_wxGridCellAttr(result);
4943 }
4944 return resultobj;
4945 fail:
4946 return NULL;
4947 }
4948
4949
4950 static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4951 PyObject *resultobj;
4952 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
4953 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4954 int arg3 ;
4955 int arg4 ;
4956 PyObject * obj0 = 0 ;
4957 PyObject * obj1 = 0 ;
4958 PyObject * obj2 = 0 ;
4959 PyObject * obj3 = 0 ;
4960 char *kwnames[] = {
4961 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4962 };
4963
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4967 {
4968 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 {
4972 arg4 = (int) SWIG_PyObj_AsInt(obj3);
4973 if (PyErr_Occurred()) SWIG_fail;
4974 }
4975 {
4976 PyThreadState* __tstate = wxPyBeginAllowThreads();
4977 (arg1)->base_SetAttr(arg2,arg3,arg4);
4978
4979 wxPyEndAllowThreads(__tstate);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
4982 Py_INCREF(Py_None); resultobj = Py_None;
4983 return resultobj;
4984 fail:
4985 return NULL;
4986 }
4987
4988
4989 static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4990 PyObject *resultobj;
4991 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
4992 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4993 int arg3 ;
4994 PyObject * obj0 = 0 ;
4995 PyObject * obj1 = 0 ;
4996 PyObject * obj2 = 0 ;
4997 char *kwnames[] = {
4998 (char *) "self",(char *) "attr",(char *) "row", NULL
4999 };
5000
5001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
5002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5003 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5004 {
5005 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 {
5009 PyThreadState* __tstate = wxPyBeginAllowThreads();
5010 (arg1)->base_SetRowAttr(arg2,arg3);
5011
5012 wxPyEndAllowThreads(__tstate);
5013 if (PyErr_Occurred()) SWIG_fail;
5014 }
5015 Py_INCREF(Py_None); resultobj = Py_None;
5016 return resultobj;
5017 fail:
5018 return NULL;
5019 }
5020
5021
5022 static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj;
5024 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5025 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5026 int arg3 ;
5027 PyObject * obj0 = 0 ;
5028 PyObject * obj1 = 0 ;
5029 PyObject * obj2 = 0 ;
5030 char *kwnames[] = {
5031 (char *) "self",(char *) "attr",(char *) "col", NULL
5032 };
5033
5034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
5035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5036 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5037 {
5038 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 {
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 (arg1)->base_SetColAttr(arg2,arg3);
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 Py_INCREF(Py_None); resultobj = Py_None;
5049 return resultobj;
5050 fail:
5051 return NULL;
5052 }
5053
5054
5055 static PyObject * PyGridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
5056 PyObject *obj;
5057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5058 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider, obj);
5059 Py_INCREF(obj);
5060 return Py_BuildValue((char *)"");
5061 }
5062 static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5063 PyObject *resultobj;
5064 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5065 PyObject *arg2 = (PyObject *) 0 ;
5066 PyObject * obj0 = 0 ;
5067 PyObject * obj1 = 0 ;
5068 char *kwnames[] = {
5069 (char *) "self",(char *) "_self", NULL
5070 };
5071
5072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
5073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5074 arg2 = obj1;
5075 {
5076 PyThreadState* __tstate = wxPyBeginAllowThreads();
5077 wxGridTableBase__setOORInfo(arg1,arg2);
5078
5079 wxPyEndAllowThreads(__tstate);
5080 if (PyErr_Occurred()) SWIG_fail;
5081 }
5082 Py_INCREF(Py_None); resultobj = Py_None;
5083 return resultobj;
5084 fail:
5085 return NULL;
5086 }
5087
5088
5089 static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5090 PyObject *resultobj;
5091 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5092 wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ;
5093 PyObject * obj0 = 0 ;
5094 PyObject * obj1 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self",(char *) "attrProvider", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetAttrProvider",kwnames,&obj0,&obj1)) goto fail;
5100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5101 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttrProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 (arg1)->SetAttrProvider(arg2);
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 Py_INCREF(Py_None); resultobj = Py_None;
5110 return resultobj;
5111 fail:
5112 return NULL;
5113 }
5114
5115
5116 static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5117 PyObject *resultobj;
5118 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5119 wxGridCellAttrProvider *result;
5120 PyObject * obj0 = 0 ;
5121 char *kwnames[] = {
5122 (char *) "self", NULL
5123 };
5124
5125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetAttrProvider",kwnames,&obj0)) goto fail;
5126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5127 {
5128 PyThreadState* __tstate = wxPyBeginAllowThreads();
5129 result = (wxGridCellAttrProvider *)((wxGridTableBase const *)arg1)->GetAttrProvider();
5130
5131 wxPyEndAllowThreads(__tstate);
5132 if (PyErr_Occurred()) SWIG_fail;
5133 }
5134 {
5135 resultobj = wxPyMake_wxGridCellAttrProvider(result);
5136 }
5137 return resultobj;
5138 fail:
5139 return NULL;
5140 }
5141
5142
5143 static PyObject *_wrap_GridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5144 PyObject *resultobj;
5145 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5146 wxGrid *arg2 = (wxGrid *) 0 ;
5147 PyObject * obj0 = 0 ;
5148 PyObject * obj1 = 0 ;
5149 char *kwnames[] = {
5150 (char *) "self",(char *) "grid", NULL
5151 };
5152
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetView",kwnames,&obj0,&obj1)) goto fail;
5154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5155 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5156 {
5157 PyThreadState* __tstate = wxPyBeginAllowThreads();
5158 (arg1)->SetView(arg2);
5159
5160 wxPyEndAllowThreads(__tstate);
5161 if (PyErr_Occurred()) SWIG_fail;
5162 }
5163 Py_INCREF(Py_None); resultobj = Py_None;
5164 return resultobj;
5165 fail:
5166 return NULL;
5167 }
5168
5169
5170 static PyObject *_wrap_GridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5171 PyObject *resultobj;
5172 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5173 wxGrid *result;
5174 PyObject * obj0 = 0 ;
5175 char *kwnames[] = {
5176 (char *) "self", NULL
5177 };
5178
5179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetView",kwnames,&obj0)) goto fail;
5180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5181 {
5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
5183 result = (wxGrid *)((wxGridTableBase const *)arg1)->GetView();
5184
5185 wxPyEndAllowThreads(__tstate);
5186 if (PyErr_Occurred()) SWIG_fail;
5187 }
5188 {
5189 resultobj = wxPyMake_wxObject(result);
5190 }
5191 return resultobj;
5192 fail:
5193 return NULL;
5194 }
5195
5196
5197 static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5198 PyObject *resultobj;
5199 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5200 int result;
5201 PyObject * obj0 = 0 ;
5202 char *kwnames[] = {
5203 (char *) "self", NULL
5204 };
5205
5206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberRows",kwnames,&obj0)) goto fail;
5207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5208 {
5209 PyThreadState* __tstate = wxPyBeginAllowThreads();
5210 result = (int)(arg1)->GetNumberRows();
5211
5212 wxPyEndAllowThreads(__tstate);
5213 if (PyErr_Occurred()) SWIG_fail;
5214 }
5215 resultobj = SWIG_PyObj_FromInt((int)result);
5216 return resultobj;
5217 fail:
5218 return NULL;
5219 }
5220
5221
5222 static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5223 PyObject *resultobj;
5224 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5225 int result;
5226 PyObject * obj0 = 0 ;
5227 char *kwnames[] = {
5228 (char *) "self", NULL
5229 };
5230
5231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberCols",kwnames,&obj0)) goto fail;
5232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5233 {
5234 PyThreadState* __tstate = wxPyBeginAllowThreads();
5235 result = (int)(arg1)->GetNumberCols();
5236
5237 wxPyEndAllowThreads(__tstate);
5238 if (PyErr_Occurred()) SWIG_fail;
5239 }
5240 resultobj = SWIG_PyObj_FromInt((int)result);
5241 return resultobj;
5242 fail:
5243 return NULL;
5244 }
5245
5246
5247 static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5248 PyObject *resultobj;
5249 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5250 int arg2 ;
5251 int arg3 ;
5252 bool result;
5253 PyObject * obj0 = 0 ;
5254 PyObject * obj1 = 0 ;
5255 PyObject * obj2 = 0 ;
5256 char *kwnames[] = {
5257 (char *) "self",(char *) "row",(char *) "col", NULL
5258 };
5259
5260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
5261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5262 {
5263 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 {
5267 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5268 if (PyErr_Occurred()) SWIG_fail;
5269 }
5270 {
5271 PyThreadState* __tstate = wxPyBeginAllowThreads();
5272 result = (bool)(arg1)->IsEmptyCell(arg2,arg3);
5273
5274 wxPyEndAllowThreads(__tstate);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
5277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5278 return resultobj;
5279 fail:
5280 return NULL;
5281 }
5282
5283
5284 static PyObject *_wrap_GridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5285 PyObject *resultobj;
5286 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5287 int arg2 ;
5288 int arg3 ;
5289 wxString result;
5290 PyObject * obj0 = 0 ;
5291 PyObject * obj1 = 0 ;
5292 PyObject * obj2 = 0 ;
5293 char *kwnames[] = {
5294 (char *) "self",(char *) "row",(char *) "col", NULL
5295 };
5296
5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
5298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5299 {
5300 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5301 if (PyErr_Occurred()) SWIG_fail;
5302 }
5303 {
5304 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 {
5308 PyThreadState* __tstate = wxPyBeginAllowThreads();
5309 result = (arg1)->GetValue(arg2,arg3);
5310
5311 wxPyEndAllowThreads(__tstate);
5312 if (PyErr_Occurred()) SWIG_fail;
5313 }
5314 {
5315 #if wxUSE_UNICODE
5316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5317 #else
5318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5319 #endif
5320 }
5321 return resultobj;
5322 fail:
5323 return NULL;
5324 }
5325
5326
5327 static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5328 PyObject *resultobj;
5329 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5330 int arg2 ;
5331 int arg3 ;
5332 wxString *arg4 = 0 ;
5333 bool temp4 = False ;
5334 PyObject * obj0 = 0 ;
5335 PyObject * obj1 = 0 ;
5336 PyObject * obj2 = 0 ;
5337 PyObject * obj3 = 0 ;
5338 char *kwnames[] = {
5339 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5340 };
5341
5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5344 {
5345 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 }
5348 {
5349 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 {
5353 arg4 = wxString_in_helper(obj3);
5354 if (arg4 == NULL) SWIG_fail;
5355 temp4 = True;
5356 }
5357 {
5358 PyThreadState* __tstate = wxPyBeginAllowThreads();
5359 (arg1)->SetValue(arg2,arg3,(wxString const &)*arg4);
5360
5361 wxPyEndAllowThreads(__tstate);
5362 if (PyErr_Occurred()) SWIG_fail;
5363 }
5364 Py_INCREF(Py_None); resultobj = Py_None;
5365 {
5366 if (temp4)
5367 delete arg4;
5368 }
5369 return resultobj;
5370 fail:
5371 {
5372 if (temp4)
5373 delete arg4;
5374 }
5375 return NULL;
5376 }
5377
5378
5379 static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5380 PyObject *resultobj;
5381 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5382 int arg2 ;
5383 int arg3 ;
5384 wxString result;
5385 PyObject * obj0 = 0 ;
5386 PyObject * obj1 = 0 ;
5387 PyObject * obj2 = 0 ;
5388 char *kwnames[] = {
5389 (char *) "self",(char *) "row",(char *) "col", NULL
5390 };
5391
5392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
5393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5394 {
5395 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5396 if (PyErr_Occurred()) SWIG_fail;
5397 }
5398 {
5399 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5400 if (PyErr_Occurred()) SWIG_fail;
5401 }
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 result = (arg1)->GetTypeName(arg2,arg3);
5405
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 {
5410 #if wxUSE_UNICODE
5411 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5412 #else
5413 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5414 #endif
5415 }
5416 return resultobj;
5417 fail:
5418 return NULL;
5419 }
5420
5421
5422 static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5423 PyObject *resultobj;
5424 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5425 int arg2 ;
5426 int arg3 ;
5427 wxString *arg4 = 0 ;
5428 bool result;
5429 bool temp4 = False ;
5430 PyObject * obj0 = 0 ;
5431 PyObject * obj1 = 0 ;
5432 PyObject * obj2 = 0 ;
5433 PyObject * obj3 = 0 ;
5434 char *kwnames[] = {
5435 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5436 };
5437
5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5440 {
5441 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 }
5444 {
5445 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5446 if (PyErr_Occurred()) SWIG_fail;
5447 }
5448 {
5449 arg4 = wxString_in_helper(obj3);
5450 if (arg4 == NULL) SWIG_fail;
5451 temp4 = True;
5452 }
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
5455 result = (bool)(arg1)->CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
5456
5457 wxPyEndAllowThreads(__tstate);
5458 if (PyErr_Occurred()) SWIG_fail;
5459 }
5460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5461 {
5462 if (temp4)
5463 delete arg4;
5464 }
5465 return resultobj;
5466 fail:
5467 {
5468 if (temp4)
5469 delete arg4;
5470 }
5471 return NULL;
5472 }
5473
5474
5475 static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5476 PyObject *resultobj;
5477 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5478 int arg2 ;
5479 int arg3 ;
5480 wxString *arg4 = 0 ;
5481 bool result;
5482 bool temp4 = False ;
5483 PyObject * obj0 = 0 ;
5484 PyObject * obj1 = 0 ;
5485 PyObject * obj2 = 0 ;
5486 PyObject * obj3 = 0 ;
5487 char *kwnames[] = {
5488 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5489 };
5490
5491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5493 {
5494 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 {
5498 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5499 if (PyErr_Occurred()) SWIG_fail;
5500 }
5501 {
5502 arg4 = wxString_in_helper(obj3);
5503 if (arg4 == NULL) SWIG_fail;
5504 temp4 = True;
5505 }
5506 {
5507 PyThreadState* __tstate = wxPyBeginAllowThreads();
5508 result = (bool)(arg1)->CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
5509
5510 wxPyEndAllowThreads(__tstate);
5511 if (PyErr_Occurred()) SWIG_fail;
5512 }
5513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5514 {
5515 if (temp4)
5516 delete arg4;
5517 }
5518 return resultobj;
5519 fail:
5520 {
5521 if (temp4)
5522 delete arg4;
5523 }
5524 return NULL;
5525 }
5526
5527
5528 static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5529 PyObject *resultobj;
5530 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5531 int arg2 ;
5532 int arg3 ;
5533 long result;
5534 PyObject * obj0 = 0 ;
5535 PyObject * obj1 = 0 ;
5536 PyObject * obj2 = 0 ;
5537 char *kwnames[] = {
5538 (char *) "self",(char *) "row",(char *) "col", NULL
5539 };
5540
5541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames,&obj0,&obj1,&obj2)) goto fail;
5542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5543 {
5544 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 {
5548 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5549 if (PyErr_Occurred()) SWIG_fail;
5550 }
5551 {
5552 PyThreadState* __tstate = wxPyBeginAllowThreads();
5553 result = (long)(arg1)->GetValueAsLong(arg2,arg3);
5554
5555 wxPyEndAllowThreads(__tstate);
5556 if (PyErr_Occurred()) SWIG_fail;
5557 }
5558 resultobj = SWIG_PyObj_FromLong((long)result);
5559 return resultobj;
5560 fail:
5561 return NULL;
5562 }
5563
5564
5565 static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5566 PyObject *resultobj;
5567 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5568 int arg2 ;
5569 int arg3 ;
5570 double result;
5571 PyObject * obj0 = 0 ;
5572 PyObject * obj1 = 0 ;
5573 PyObject * obj2 = 0 ;
5574 char *kwnames[] = {
5575 (char *) "self",(char *) "row",(char *) "col", NULL
5576 };
5577
5578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames,&obj0,&obj1,&obj2)) goto fail;
5579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5580 {
5581 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 }
5584 {
5585 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5586 if (PyErr_Occurred()) SWIG_fail;
5587 }
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 result = (double)(arg1)->GetValueAsDouble(arg2,arg3);
5591
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) SWIG_fail;
5594 }
5595 resultobj = SWIG_PyObj_FromDouble((double)result);
5596 return resultobj;
5597 fail:
5598 return NULL;
5599 }
5600
5601
5602 static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject *resultobj;
5604 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5605 int arg2 ;
5606 int arg3 ;
5607 bool result;
5608 PyObject * obj0 = 0 ;
5609 PyObject * obj1 = 0 ;
5610 PyObject * obj2 = 0 ;
5611 char *kwnames[] = {
5612 (char *) "self",(char *) "row",(char *) "col", NULL
5613 };
5614
5615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
5616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5617 {
5618 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 {
5622 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5623 if (PyErr_Occurred()) SWIG_fail;
5624 }
5625 {
5626 PyThreadState* __tstate = wxPyBeginAllowThreads();
5627 result = (bool)(arg1)->GetValueAsBool(arg2,arg3);
5628
5629 wxPyEndAllowThreads(__tstate);
5630 if (PyErr_Occurred()) SWIG_fail;
5631 }
5632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5633 return resultobj;
5634 fail:
5635 return NULL;
5636 }
5637
5638
5639 static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5640 PyObject *resultobj;
5641 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5642 int arg2 ;
5643 int arg3 ;
5644 long arg4 ;
5645 PyObject * obj0 = 0 ;
5646 PyObject * obj1 = 0 ;
5647 PyObject * obj2 = 0 ;
5648 PyObject * obj3 = 0 ;
5649 char *kwnames[] = {
5650 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5651 };
5652
5653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5655 {
5656 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 {
5660 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5661 if (PyErr_Occurred()) SWIG_fail;
5662 }
5663 {
5664 arg4 = (long) SWIG_PyObj_AsLong(obj3);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 (arg1)->SetValueAsLong(arg2,arg3,arg4);
5670
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 Py_INCREF(Py_None); resultobj = Py_None;
5675 return resultobj;
5676 fail:
5677 return NULL;
5678 }
5679
5680
5681 static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5682 PyObject *resultobj;
5683 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5684 int arg2 ;
5685 int arg3 ;
5686 double arg4 ;
5687 PyObject * obj0 = 0 ;
5688 PyObject * obj1 = 0 ;
5689 PyObject * obj2 = 0 ;
5690 PyObject * obj3 = 0 ;
5691 char *kwnames[] = {
5692 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5693 };
5694
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5697 {
5698 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5699 if (PyErr_Occurred()) SWIG_fail;
5700 }
5701 {
5702 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
5705 {
5706 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 (arg1)->SetValueAsDouble(arg2,arg3,arg4);
5712
5713 wxPyEndAllowThreads(__tstate);
5714 if (PyErr_Occurred()) SWIG_fail;
5715 }
5716 Py_INCREF(Py_None); resultobj = Py_None;
5717 return resultobj;
5718 fail:
5719 return NULL;
5720 }
5721
5722
5723 static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5724 PyObject *resultobj;
5725 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5726 int arg2 ;
5727 int arg3 ;
5728 bool arg4 ;
5729 PyObject * obj0 = 0 ;
5730 PyObject * obj1 = 0 ;
5731 PyObject * obj2 = 0 ;
5732 PyObject * obj3 = 0 ;
5733 char *kwnames[] = {
5734 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5735 };
5736
5737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5739 {
5740 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 }
5743 {
5744 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5745 if (PyErr_Occurred()) SWIG_fail;
5746 }
5747 {
5748 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 {
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5753 (arg1)->SetValueAsBool(arg2,arg3,arg4);
5754
5755 wxPyEndAllowThreads(__tstate);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 }
5758 Py_INCREF(Py_None); resultobj = Py_None;
5759 return resultobj;
5760 fail:
5761 return NULL;
5762 }
5763
5764
5765 static PyObject *_wrap_GridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj;
5767 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5768 PyObject * obj0 = 0 ;
5769 char *kwnames[] = {
5770 (char *) "self", NULL
5771 };
5772
5773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_Clear",kwnames,&obj0)) goto fail;
5774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5775 {
5776 PyThreadState* __tstate = wxPyBeginAllowThreads();
5777 (arg1)->Clear();
5778
5779 wxPyEndAllowThreads(__tstate);
5780 if (PyErr_Occurred()) SWIG_fail;
5781 }
5782 Py_INCREF(Py_None); resultobj = Py_None;
5783 return resultobj;
5784 fail:
5785 return NULL;
5786 }
5787
5788
5789 static PyObject *_wrap_GridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5790 PyObject *resultobj;
5791 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5792 size_t arg2 = (size_t) 0 ;
5793 size_t arg3 = (size_t) 1 ;
5794 bool result;
5795 PyObject * obj0 = 0 ;
5796 PyObject * obj1 = 0 ;
5797 PyObject * obj2 = 0 ;
5798 char *kwnames[] = {
5799 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5800 };
5801
5802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
5803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5804 if (obj1) {
5805 {
5806 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
5807 if (PyErr_Occurred()) SWIG_fail;
5808 }
5809 }
5810 if (obj2) {
5811 {
5812 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
5815 }
5816 {
5817 PyThreadState* __tstate = wxPyBeginAllowThreads();
5818 result = (bool)(arg1)->InsertRows(arg2,arg3);
5819
5820 wxPyEndAllowThreads(__tstate);
5821 if (PyErr_Occurred()) SWIG_fail;
5822 }
5823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5824 return resultobj;
5825 fail:
5826 return NULL;
5827 }
5828
5829
5830 static PyObject *_wrap_GridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5831 PyObject *resultobj;
5832 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5833 size_t arg2 = (size_t) 1 ;
5834 bool result;
5835 PyObject * obj0 = 0 ;
5836 PyObject * obj1 = 0 ;
5837 char *kwnames[] = {
5838 (char *) "self",(char *) "numRows", NULL
5839 };
5840
5841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendRows",kwnames,&obj0,&obj1)) goto fail;
5842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5843 if (obj1) {
5844 {
5845 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
5846 if (PyErr_Occurred()) SWIG_fail;
5847 }
5848 }
5849 {
5850 PyThreadState* __tstate = wxPyBeginAllowThreads();
5851 result = (bool)(arg1)->AppendRows(arg2);
5852
5853 wxPyEndAllowThreads(__tstate);
5854 if (PyErr_Occurred()) SWIG_fail;
5855 }
5856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5857 return resultobj;
5858 fail:
5859 return NULL;
5860 }
5861
5862
5863 static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5864 PyObject *resultobj;
5865 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5866 size_t arg2 = (size_t) 0 ;
5867 size_t arg3 = (size_t) 1 ;
5868 bool result;
5869 PyObject * obj0 = 0 ;
5870 PyObject * obj1 = 0 ;
5871 PyObject * obj2 = 0 ;
5872 char *kwnames[] = {
5873 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5874 };
5875
5876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
5877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5878 if (obj1) {
5879 {
5880 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
5881 if (PyErr_Occurred()) SWIG_fail;
5882 }
5883 }
5884 if (obj2) {
5885 {
5886 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
5887 if (PyErr_Occurred()) SWIG_fail;
5888 }
5889 }
5890 {
5891 PyThreadState* __tstate = wxPyBeginAllowThreads();
5892 result = (bool)(arg1)->DeleteRows(arg2,arg3);
5893
5894 wxPyEndAllowThreads(__tstate);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 }
5897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5898 return resultobj;
5899 fail:
5900 return NULL;
5901 }
5902
5903
5904 static PyObject *_wrap_GridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5905 PyObject *resultobj;
5906 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5907 size_t arg2 = (size_t) 0 ;
5908 size_t arg3 = (size_t) 1 ;
5909 bool result;
5910 PyObject * obj0 = 0 ;
5911 PyObject * obj1 = 0 ;
5912 PyObject * obj2 = 0 ;
5913 char *kwnames[] = {
5914 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5915 };
5916
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
5918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5919 if (obj1) {
5920 {
5921 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 }
5924 }
5925 if (obj2) {
5926 {
5927 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 }
5930 }
5931 {
5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
5933 result = (bool)(arg1)->InsertCols(arg2,arg3);
5934
5935 wxPyEndAllowThreads(__tstate);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
5938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5939 return resultobj;
5940 fail:
5941 return NULL;
5942 }
5943
5944
5945 static PyObject *_wrap_GridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5946 PyObject *resultobj;
5947 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5948 size_t arg2 = (size_t) 1 ;
5949 bool result;
5950 PyObject * obj0 = 0 ;
5951 PyObject * obj1 = 0 ;
5952 char *kwnames[] = {
5953 (char *) "self",(char *) "numCols", NULL
5954 };
5955
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendCols",kwnames,&obj0,&obj1)) goto fail;
5957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5958 if (obj1) {
5959 {
5960 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
5961 if (PyErr_Occurred()) SWIG_fail;
5962 }
5963 }
5964 {
5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
5966 result = (bool)(arg1)->AppendCols(arg2);
5967
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 }
5971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5972 return resultobj;
5973 fail:
5974 return NULL;
5975 }
5976
5977
5978 static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5979 PyObject *resultobj;
5980 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5981 size_t arg2 = (size_t) 0 ;
5982 size_t arg3 = (size_t) 1 ;
5983 bool result;
5984 PyObject * obj0 = 0 ;
5985 PyObject * obj1 = 0 ;
5986 PyObject * obj2 = 0 ;
5987 char *kwnames[] = {
5988 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5989 };
5990
5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
5992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5993 if (obj1) {
5994 {
5995 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 }
5999 if (obj2) {
6000 {
6001 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
6002 if (PyErr_Occurred()) SWIG_fail;
6003 }
6004 }
6005 {
6006 PyThreadState* __tstate = wxPyBeginAllowThreads();
6007 result = (bool)(arg1)->DeleteCols(arg2,arg3);
6008
6009 wxPyEndAllowThreads(__tstate);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 }
6012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6013 return resultobj;
6014 fail:
6015 return NULL;
6016 }
6017
6018
6019 static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6020 PyObject *resultobj;
6021 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6022 int arg2 ;
6023 wxString result;
6024 PyObject * obj0 = 0 ;
6025 PyObject * obj1 = 0 ;
6026 char *kwnames[] = {
6027 (char *) "self",(char *) "row", NULL
6028 };
6029
6030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
6031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6032 {
6033 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 result = (arg1)->GetRowLabelValue(arg2);
6039
6040 wxPyEndAllowThreads(__tstate);
6041 if (PyErr_Occurred()) SWIG_fail;
6042 }
6043 {
6044 #if wxUSE_UNICODE
6045 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6046 #else
6047 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6048 #endif
6049 }
6050 return resultobj;
6051 fail:
6052 return NULL;
6053 }
6054
6055
6056 static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6057 PyObject *resultobj;
6058 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6059 int arg2 ;
6060 wxString result;
6061 PyObject * obj0 = 0 ;
6062 PyObject * obj1 = 0 ;
6063 char *kwnames[] = {
6064 (char *) "self",(char *) "col", NULL
6065 };
6066
6067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
6068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6069 {
6070 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6071 if (PyErr_Occurred()) SWIG_fail;
6072 }
6073 {
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
6075 result = (arg1)->GetColLabelValue(arg2);
6076
6077 wxPyEndAllowThreads(__tstate);
6078 if (PyErr_Occurred()) SWIG_fail;
6079 }
6080 {
6081 #if wxUSE_UNICODE
6082 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6083 #else
6084 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6085 #endif
6086 }
6087 return resultobj;
6088 fail:
6089 return NULL;
6090 }
6091
6092
6093 static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6094 PyObject *resultobj;
6095 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6096 int arg2 ;
6097 wxString *arg3 = 0 ;
6098 bool temp3 = False ;
6099 PyObject * obj0 = 0 ;
6100 PyObject * obj1 = 0 ;
6101 PyObject * obj2 = 0 ;
6102 char *kwnames[] = {
6103 (char *) "self",(char *) "row",(char *) "value", NULL
6104 };
6105
6106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
6107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6108 {
6109 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 }
6112 {
6113 arg3 = wxString_in_helper(obj2);
6114 if (arg3 == NULL) SWIG_fail;
6115 temp3 = True;
6116 }
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
6120
6121 wxPyEndAllowThreads(__tstate);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
6124 Py_INCREF(Py_None); resultobj = Py_None;
6125 {
6126 if (temp3)
6127 delete arg3;
6128 }
6129 return resultobj;
6130 fail:
6131 {
6132 if (temp3)
6133 delete arg3;
6134 }
6135 return NULL;
6136 }
6137
6138
6139 static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6140 PyObject *resultobj;
6141 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6142 int arg2 ;
6143 wxString *arg3 = 0 ;
6144 bool temp3 = False ;
6145 PyObject * obj0 = 0 ;
6146 PyObject * obj1 = 0 ;
6147 PyObject * obj2 = 0 ;
6148 char *kwnames[] = {
6149 (char *) "self",(char *) "col",(char *) "value", NULL
6150 };
6151
6152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
6153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6154 {
6155 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6156 if (PyErr_Occurred()) SWIG_fail;
6157 }
6158 {
6159 arg3 = wxString_in_helper(obj2);
6160 if (arg3 == NULL) SWIG_fail;
6161 temp3 = True;
6162 }
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 Py_INCREF(Py_None); resultobj = Py_None;
6171 {
6172 if (temp3)
6173 delete arg3;
6174 }
6175 return resultobj;
6176 fail:
6177 {
6178 if (temp3)
6179 delete arg3;
6180 }
6181 return NULL;
6182 }
6183
6184
6185 static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6186 PyObject *resultobj;
6187 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6188 bool result;
6189 PyObject * obj0 = 0 ;
6190 char *kwnames[] = {
6191 (char *) "self", NULL
6192 };
6193
6194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_CanHaveAttributes",kwnames,&obj0)) goto fail;
6195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 result = (bool)(arg1)->CanHaveAttributes();
6199
6200 wxPyEndAllowThreads(__tstate);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6204 return resultobj;
6205 fail:
6206 return NULL;
6207 }
6208
6209
6210 static PyObject *_wrap_GridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6211 PyObject *resultobj;
6212 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6213 int arg2 ;
6214 int arg3 ;
6215 int arg4 ;
6216 wxGridCellAttr *result;
6217 PyObject * obj0 = 0 ;
6218 PyObject * obj1 = 0 ;
6219 PyObject * obj2 = 0 ;
6220 PyObject * obj3 = 0 ;
6221 char *kwnames[] = {
6222 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6223 };
6224
6225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6227 {
6228 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6229 if (PyErr_Occurred()) SWIG_fail;
6230 }
6231 {
6232 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 }
6235 {
6236 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_PyObj_AsInt(obj3);
6237 if (PyErr_Occurred()) SWIG_fail;
6238 }
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 {
6247 resultobj = wxPyMake_wxGridCellAttr(result);
6248 }
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 static PyObject *_wrap_GridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6258 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6259 int arg3 ;
6260 int arg4 ;
6261 PyObject * obj0 = 0 ;
6262 PyObject * obj1 = 0 ;
6263 PyObject * obj2 = 0 ;
6264 PyObject * obj3 = 0 ;
6265 char *kwnames[] = {
6266 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6267 };
6268
6269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6272 {
6273 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 {
6277 arg4 = (int) SWIG_PyObj_AsInt(obj3);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 }
6280 {
6281 PyThreadState* __tstate = wxPyBeginAllowThreads();
6282 (arg1)->SetAttr(arg2,arg3,arg4);
6283
6284 wxPyEndAllowThreads(__tstate);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 }
6287 Py_INCREF(Py_None); resultobj = Py_None;
6288 return resultobj;
6289 fail:
6290 return NULL;
6291 }
6292
6293
6294 static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6295 PyObject *resultobj;
6296 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6297 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6298 int arg3 ;
6299 PyObject * obj0 = 0 ;
6300 PyObject * obj1 = 0 ;
6301 PyObject * obj2 = 0 ;
6302 char *kwnames[] = {
6303 (char *) "self",(char *) "attr",(char *) "row", NULL
6304 };
6305
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
6307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6308 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6309 {
6310 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
6313 {
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 (arg1)->SetRowAttr(arg2,arg3);
6316
6317 wxPyEndAllowThreads(__tstate);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 }
6320 Py_INCREF(Py_None); resultobj = Py_None;
6321 return resultobj;
6322 fail:
6323 return NULL;
6324 }
6325
6326
6327 static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6328 PyObject *resultobj;
6329 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6330 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6331 int arg3 ;
6332 PyObject * obj0 = 0 ;
6333 PyObject * obj1 = 0 ;
6334 PyObject * obj2 = 0 ;
6335 char *kwnames[] = {
6336 (char *) "self",(char *) "attr",(char *) "col", NULL
6337 };
6338
6339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
6340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6342 {
6343 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
6346 {
6347 PyThreadState* __tstate = wxPyBeginAllowThreads();
6348 (arg1)->SetColAttr(arg2,arg3);
6349
6350 wxPyEndAllowThreads(__tstate);
6351 if (PyErr_Occurred()) SWIG_fail;
6352 }
6353 Py_INCREF(Py_None); resultobj = Py_None;
6354 return resultobj;
6355 fail:
6356 return NULL;
6357 }
6358
6359
6360 static PyObject * GridTableBase_swigregister(PyObject *self, PyObject *args) {
6361 PyObject *obj;
6362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6363 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase, obj);
6364 Py_INCREF(obj);
6365 return Py_BuildValue((char *)"");
6366 }
6367 static PyObject *_wrap_new_PyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj;
6369 wxPyGridTableBase *result;
6370 char *kwnames[] = {
6371 NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridTableBase",kwnames)) goto fail;
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (wxPyGridTableBase *)new wxPyGridTableBase();
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyGridTableBase, 1);
6383 return resultobj;
6384 fail:
6385 return NULL;
6386 }
6387
6388
6389 static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6392 PyObject *arg2 = (PyObject *) 0 ;
6393 PyObject *arg3 = (PyObject *) 0 ;
6394 PyObject * obj0 = 0 ;
6395 PyObject * obj1 = 0 ;
6396 PyObject * obj2 = 0 ;
6397 char *kwnames[] = {
6398 (char *) "self",(char *) "self",(char *) "_class", NULL
6399 };
6400
6401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6403 arg2 = obj1;
6404 arg3 = obj2;
6405 {
6406 PyThreadState* __tstate = wxPyBeginAllowThreads();
6407 (arg1)->_setCallbackInfo(arg2,arg3);
6408
6409 wxPyEndAllowThreads(__tstate);
6410 if (PyErr_Occurred()) SWIG_fail;
6411 }
6412 Py_INCREF(Py_None); resultobj = Py_None;
6413 return resultobj;
6414 fail:
6415 return NULL;
6416 }
6417
6418
6419 static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6420 PyObject *resultobj;
6421 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6422 PyObject * obj0 = 0 ;
6423 char *kwnames[] = {
6424 (char *) "self", NULL
6425 };
6426
6427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_Destroy",kwnames,&obj0)) goto fail;
6428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6429 {
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 wxPyGridTableBase_Destroy(arg1);
6432
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 Py_INCREF(Py_None); resultobj = Py_None;
6437 return resultobj;
6438 fail:
6439 return NULL;
6440 }
6441
6442
6443 static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
6444 PyObject *resultobj;
6445 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6446 int arg2 ;
6447 int arg3 ;
6448 wxString result;
6449 PyObject * obj0 = 0 ;
6450 PyObject * obj1 = 0 ;
6451 PyObject * obj2 = 0 ;
6452 char *kwnames[] = {
6453 (char *) "self",(char *) "row",(char *) "col", NULL
6454 };
6455
6456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
6457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6458 {
6459 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6460 if (PyErr_Occurred()) SWIG_fail;
6461 }
6462 {
6463 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 {
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
6468 result = (arg1)->base_GetTypeName(arg2,arg3);
6469
6470 wxPyEndAllowThreads(__tstate);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 }
6473 {
6474 #if wxUSE_UNICODE
6475 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6476 #else
6477 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6478 #endif
6479 }
6480 return resultobj;
6481 fail:
6482 return NULL;
6483 }
6484
6485
6486 static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6487 PyObject *resultobj;
6488 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6489 int arg2 ;
6490 int arg3 ;
6491 wxString *arg4 = 0 ;
6492 bool result;
6493 bool temp4 = False ;
6494 PyObject * obj0 = 0 ;
6495 PyObject * obj1 = 0 ;
6496 PyObject * obj2 = 0 ;
6497 PyObject * obj3 = 0 ;
6498 char *kwnames[] = {
6499 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6500 };
6501
6502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6504 {
6505 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 {
6509 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 {
6513 arg4 = wxString_in_helper(obj3);
6514 if (arg4 == NULL) SWIG_fail;
6515 temp4 = True;
6516 }
6517 {
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 result = (bool)(arg1)->base_CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
6520
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6525 {
6526 if (temp4)
6527 delete arg4;
6528 }
6529 return resultobj;
6530 fail:
6531 {
6532 if (temp4)
6533 delete arg4;
6534 }
6535 return NULL;
6536 }
6537
6538
6539 static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6540 PyObject *resultobj;
6541 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6542 int arg2 ;
6543 int arg3 ;
6544 wxString *arg4 = 0 ;
6545 bool result;
6546 bool temp4 = False ;
6547 PyObject * obj0 = 0 ;
6548 PyObject * obj1 = 0 ;
6549 PyObject * obj2 = 0 ;
6550 PyObject * obj3 = 0 ;
6551 char *kwnames[] = {
6552 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6553 };
6554
6555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6557 {
6558 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 {
6562 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6563 if (PyErr_Occurred()) SWIG_fail;
6564 }
6565 {
6566 arg4 = wxString_in_helper(obj3);
6567 if (arg4 == NULL) SWIG_fail;
6568 temp4 = True;
6569 }
6570 {
6571 PyThreadState* __tstate = wxPyBeginAllowThreads();
6572 result = (bool)(arg1)->base_CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
6573
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6578 {
6579 if (temp4)
6580 delete arg4;
6581 }
6582 return resultobj;
6583 fail:
6584 {
6585 if (temp4)
6586 delete arg4;
6587 }
6588 return NULL;
6589 }
6590
6591
6592 static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6593 PyObject *resultobj;
6594 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6595 PyObject * obj0 = 0 ;
6596 char *kwnames[] = {
6597 (char *) "self", NULL
6598 };
6599
6600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_Clear",kwnames,&obj0)) goto fail;
6601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6602 {
6603 PyThreadState* __tstate = wxPyBeginAllowThreads();
6604 (arg1)->base_Clear();
6605
6606 wxPyEndAllowThreads(__tstate);
6607 if (PyErr_Occurred()) SWIG_fail;
6608 }
6609 Py_INCREF(Py_None); resultobj = Py_None;
6610 return resultobj;
6611 fail:
6612 return NULL;
6613 }
6614
6615
6616 static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6617 PyObject *resultobj;
6618 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6619 size_t arg2 = (size_t) 0 ;
6620 size_t arg3 = (size_t) 1 ;
6621 bool result;
6622 PyObject * obj0 = 0 ;
6623 PyObject * obj1 = 0 ;
6624 PyObject * obj2 = 0 ;
6625 char *kwnames[] = {
6626 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6627 };
6628
6629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6631 if (obj1) {
6632 {
6633 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 }
6637 if (obj2) {
6638 {
6639 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
6640 if (PyErr_Occurred()) SWIG_fail;
6641 }
6642 }
6643 {
6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
6645 result = (bool)(arg1)->base_InsertRows(arg2,arg3);
6646
6647 wxPyEndAllowThreads(__tstate);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
6650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6651 return resultobj;
6652 fail:
6653 return NULL;
6654 }
6655
6656
6657 static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6658 PyObject *resultobj;
6659 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6660 size_t arg2 = (size_t) 1 ;
6661 bool result;
6662 PyObject * obj0 = 0 ;
6663 PyObject * obj1 = 0 ;
6664 char *kwnames[] = {
6665 (char *) "self",(char *) "numRows", NULL
6666 };
6667
6668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames,&obj0,&obj1)) goto fail;
6669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6670 if (obj1) {
6671 {
6672 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
6673 if (PyErr_Occurred()) SWIG_fail;
6674 }
6675 }
6676 {
6677 PyThreadState* __tstate = wxPyBeginAllowThreads();
6678 result = (bool)(arg1)->base_AppendRows(arg2);
6679
6680 wxPyEndAllowThreads(__tstate);
6681 if (PyErr_Occurred()) SWIG_fail;
6682 }
6683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6684 return resultobj;
6685 fail:
6686 return NULL;
6687 }
6688
6689
6690 static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6691 PyObject *resultobj;
6692 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6693 size_t arg2 = (size_t) 0 ;
6694 size_t arg3 = (size_t) 1 ;
6695 bool result;
6696 PyObject * obj0 = 0 ;
6697 PyObject * obj1 = 0 ;
6698 PyObject * obj2 = 0 ;
6699 char *kwnames[] = {
6700 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6701 };
6702
6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6705 if (obj1) {
6706 {
6707 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
6708 if (PyErr_Occurred()) SWIG_fail;
6709 }
6710 }
6711 if (obj2) {
6712 {
6713 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
6714 if (PyErr_Occurred()) SWIG_fail;
6715 }
6716 }
6717 {
6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
6719 result = (bool)(arg1)->base_DeleteRows(arg2,arg3);
6720
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6725 return resultobj;
6726 fail:
6727 return NULL;
6728 }
6729
6730
6731 static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6732 PyObject *resultobj;
6733 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6734 size_t arg2 = (size_t) 0 ;
6735 size_t arg3 = (size_t) 1 ;
6736 bool result;
6737 PyObject * obj0 = 0 ;
6738 PyObject * obj1 = 0 ;
6739 PyObject * obj2 = 0 ;
6740 char *kwnames[] = {
6741 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6742 };
6743
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
6745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6746 if (obj1) {
6747 {
6748 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
6749 if (PyErr_Occurred()) SWIG_fail;
6750 }
6751 }
6752 if (obj2) {
6753 {
6754 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
6755 if (PyErr_Occurred()) SWIG_fail;
6756 }
6757 }
6758 {
6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
6760 result = (bool)(arg1)->base_InsertCols(arg2,arg3);
6761
6762 wxPyEndAllowThreads(__tstate);
6763 if (PyErr_Occurred()) SWIG_fail;
6764 }
6765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6766 return resultobj;
6767 fail:
6768 return NULL;
6769 }
6770
6771
6772 static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6773 PyObject *resultobj;
6774 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6775 size_t arg2 = (size_t) 1 ;
6776 bool result;
6777 PyObject * obj0 = 0 ;
6778 PyObject * obj1 = 0 ;
6779 char *kwnames[] = {
6780 (char *) "self",(char *) "numCols", NULL
6781 };
6782
6783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames,&obj0,&obj1)) goto fail;
6784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6785 if (obj1) {
6786 {
6787 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 }
6791 {
6792 PyThreadState* __tstate = wxPyBeginAllowThreads();
6793 result = (bool)(arg1)->base_AppendCols(arg2);
6794
6795 wxPyEndAllowThreads(__tstate);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6799 return resultobj;
6800 fail:
6801 return NULL;
6802 }
6803
6804
6805 static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6806 PyObject *resultobj;
6807 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6808 size_t arg2 = (size_t) 0 ;
6809 size_t arg3 = (size_t) 1 ;
6810 bool result;
6811 PyObject * obj0 = 0 ;
6812 PyObject * obj1 = 0 ;
6813 PyObject * obj2 = 0 ;
6814 char *kwnames[] = {
6815 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6816 };
6817
6818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
6819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6820 if (obj1) {
6821 {
6822 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
6823 if (PyErr_Occurred()) SWIG_fail;
6824 }
6825 }
6826 if (obj2) {
6827 {
6828 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
6829 if (PyErr_Occurred()) SWIG_fail;
6830 }
6831 }
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 result = (bool)(arg1)->base_DeleteCols(arg2,arg3);
6835
6836 wxPyEndAllowThreads(__tstate);
6837 if (PyErr_Occurred()) SWIG_fail;
6838 }
6839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6840 return resultobj;
6841 fail:
6842 return NULL;
6843 }
6844
6845
6846 static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6847 PyObject *resultobj;
6848 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6849 int arg2 ;
6850 wxString result;
6851 PyObject * obj0 = 0 ;
6852 PyObject * obj1 = 0 ;
6853 char *kwnames[] = {
6854 (char *) "self",(char *) "row", NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
6858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6859 {
6860 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 }
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 result = (arg1)->base_GetRowLabelValue(arg2);
6866
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 {
6871 #if wxUSE_UNICODE
6872 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6873 #else
6874 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6875 #endif
6876 }
6877 return resultobj;
6878 fail:
6879 return NULL;
6880 }
6881
6882
6883 static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6884 PyObject *resultobj;
6885 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6886 int arg2 ;
6887 wxString result;
6888 PyObject * obj0 = 0 ;
6889 PyObject * obj1 = 0 ;
6890 char *kwnames[] = {
6891 (char *) "self",(char *) "col", NULL
6892 };
6893
6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
6895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6896 {
6897 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
6900 {
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 result = (arg1)->base_GetColLabelValue(arg2);
6903
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 {
6908 #if wxUSE_UNICODE
6909 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6910 #else
6911 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6912 #endif
6913 }
6914 return resultobj;
6915 fail:
6916 return NULL;
6917 }
6918
6919
6920 static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6921 PyObject *resultobj;
6922 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6923 int arg2 ;
6924 wxString *arg3 = 0 ;
6925 bool temp3 = False ;
6926 PyObject * obj0 = 0 ;
6927 PyObject * obj1 = 0 ;
6928 PyObject * obj2 = 0 ;
6929 char *kwnames[] = {
6930 (char *) "self",(char *) "row",(char *) "value", NULL
6931 };
6932
6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
6934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6935 {
6936 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 }
6939 {
6940 arg3 = wxString_in_helper(obj2);
6941 if (arg3 == NULL) SWIG_fail;
6942 temp3 = True;
6943 }
6944 {
6945 PyThreadState* __tstate = wxPyBeginAllowThreads();
6946 (arg1)->base_SetRowLabelValue(arg2,(wxString const &)*arg3);
6947
6948 wxPyEndAllowThreads(__tstate);
6949 if (PyErr_Occurred()) SWIG_fail;
6950 }
6951 Py_INCREF(Py_None); resultobj = Py_None;
6952 {
6953 if (temp3)
6954 delete arg3;
6955 }
6956 return resultobj;
6957 fail:
6958 {
6959 if (temp3)
6960 delete arg3;
6961 }
6962 return NULL;
6963 }
6964
6965
6966 static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6967 PyObject *resultobj;
6968 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6969 int arg2 ;
6970 wxString *arg3 = 0 ;
6971 bool temp3 = False ;
6972 PyObject * obj0 = 0 ;
6973 PyObject * obj1 = 0 ;
6974 PyObject * obj2 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self",(char *) "col",(char *) "value", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
6980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6981 {
6982 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6983 if (PyErr_Occurred()) SWIG_fail;
6984 }
6985 {
6986 arg3 = wxString_in_helper(obj2);
6987 if (arg3 == NULL) SWIG_fail;
6988 temp3 = True;
6989 }
6990 {
6991 PyThreadState* __tstate = wxPyBeginAllowThreads();
6992 (arg1)->base_SetColLabelValue(arg2,(wxString const &)*arg3);
6993
6994 wxPyEndAllowThreads(__tstate);
6995 if (PyErr_Occurred()) SWIG_fail;
6996 }
6997 Py_INCREF(Py_None); resultobj = Py_None;
6998 {
6999 if (temp3)
7000 delete arg3;
7001 }
7002 return resultobj;
7003 fail:
7004 {
7005 if (temp3)
7006 delete arg3;
7007 }
7008 return NULL;
7009 }
7010
7011
7012 static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
7013 PyObject *resultobj;
7014 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7015 bool result;
7016 PyObject * obj0 = 0 ;
7017 char *kwnames[] = {
7018 (char *) "self", NULL
7019 };
7020
7021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames,&obj0)) goto fail;
7022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 result = (bool)(arg1)->base_CanHaveAttributes();
7026
7027 wxPyEndAllowThreads(__tstate);
7028 if (PyErr_Occurred()) SWIG_fail;
7029 }
7030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7031 return resultobj;
7032 fail:
7033 return NULL;
7034 }
7035
7036
7037 static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7038 PyObject *resultobj;
7039 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7040 int arg2 ;
7041 int arg3 ;
7042 int arg4 ;
7043 wxGridCellAttr *result;
7044 PyObject * obj0 = 0 ;
7045 PyObject * obj1 = 0 ;
7046 PyObject * obj2 = 0 ;
7047 PyObject * obj3 = 0 ;
7048 char *kwnames[] = {
7049 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7054 {
7055 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 {
7059 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
7062 {
7063 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_PyObj_AsInt(obj3);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 }
7066 {
7067 PyThreadState* __tstate = wxPyBeginAllowThreads();
7068 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
7069
7070 wxPyEndAllowThreads(__tstate);
7071 if (PyErr_Occurred()) SWIG_fail;
7072 }
7073 {
7074 resultobj = wxPyMake_wxGridCellAttr(result);
7075 }
7076 return resultobj;
7077 fail:
7078 return NULL;
7079 }
7080
7081
7082 static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7083 PyObject *resultobj;
7084 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7085 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7086 int arg3 ;
7087 int arg4 ;
7088 PyObject * obj0 = 0 ;
7089 PyObject * obj1 = 0 ;
7090 PyObject * obj2 = 0 ;
7091 PyObject * obj3 = 0 ;
7092 char *kwnames[] = {
7093 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7094 };
7095
7096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7098 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7099 {
7100 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7101 if (PyErr_Occurred()) SWIG_fail;
7102 }
7103 {
7104 arg4 = (int) SWIG_PyObj_AsInt(obj3);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 {
7108 PyThreadState* __tstate = wxPyBeginAllowThreads();
7109 (arg1)->base_SetAttr(arg2,arg3,arg4);
7110
7111 wxPyEndAllowThreads(__tstate);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 }
7114 Py_INCREF(Py_None); resultobj = Py_None;
7115 return resultobj;
7116 fail:
7117 return NULL;
7118 }
7119
7120
7121 static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7122 PyObject *resultobj;
7123 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7124 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7125 int arg3 ;
7126 PyObject * obj0 = 0 ;
7127 PyObject * obj1 = 0 ;
7128 PyObject * obj2 = 0 ;
7129 char *kwnames[] = {
7130 (char *) "self",(char *) "attr",(char *) "row", NULL
7131 };
7132
7133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
7134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7135 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7136 {
7137 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
7140 {
7141 PyThreadState* __tstate = wxPyBeginAllowThreads();
7142 (arg1)->base_SetRowAttr(arg2,arg3);
7143
7144 wxPyEndAllowThreads(__tstate);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 }
7147 Py_INCREF(Py_None); resultobj = Py_None;
7148 return resultobj;
7149 fail:
7150 return NULL;
7151 }
7152
7153
7154 static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7155 PyObject *resultobj;
7156 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7157 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7158 int arg3 ;
7159 PyObject * obj0 = 0 ;
7160 PyObject * obj1 = 0 ;
7161 PyObject * obj2 = 0 ;
7162 char *kwnames[] = {
7163 (char *) "self",(char *) "attr",(char *) "col", NULL
7164 };
7165
7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
7167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7169 {
7170 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 {
7174 PyThreadState* __tstate = wxPyBeginAllowThreads();
7175 (arg1)->base_SetColAttr(arg2,arg3);
7176
7177 wxPyEndAllowThreads(__tstate);
7178 if (PyErr_Occurred()) SWIG_fail;
7179 }
7180 Py_INCREF(Py_None); resultobj = Py_None;
7181 return resultobj;
7182 fail:
7183 return NULL;
7184 }
7185
7186
7187 static PyObject * PyGridTableBase_swigregister(PyObject *self, PyObject *args) {
7188 PyObject *obj;
7189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7190 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase, obj);
7191 Py_INCREF(obj);
7192 return Py_BuildValue((char *)"");
7193 }
7194 static PyObject *_wrap_new_GridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7195 PyObject *resultobj;
7196 int arg1 = (int) 0 ;
7197 int arg2 = (int) 0 ;
7198 wxGridStringTable *result;
7199 PyObject * obj0 = 0 ;
7200 PyObject * obj1 = 0 ;
7201 char *kwnames[] = {
7202 (char *) "numRows",(char *) "numCols", NULL
7203 };
7204
7205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridStringTable",kwnames,&obj0,&obj1)) goto fail;
7206 if (obj0) {
7207 {
7208 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 }
7211 }
7212 if (obj1) {
7213 {
7214 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 }
7218 {
7219 PyThreadState* __tstate = wxPyBeginAllowThreads();
7220 result = (wxGridStringTable *)new wxGridStringTable(arg1,arg2);
7221
7222 wxPyEndAllowThreads(__tstate);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
7225 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridStringTable, 1);
7226 return resultobj;
7227 fail:
7228 return NULL;
7229 }
7230
7231
7232 static PyObject * GridStringTable_swigregister(PyObject *self, PyObject *args) {
7233 PyObject *obj;
7234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7235 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable, obj);
7236 Py_INCREF(obj);
7237 return Py_BuildValue((char *)"");
7238 }
7239 static PyObject *_wrap_new_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7240 PyObject *resultobj;
7241 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7242 int arg2 ;
7243 int arg3 = (int) -1 ;
7244 int arg4 = (int) -1 ;
7245 wxGridTableMessage *result;
7246 PyObject * obj0 = 0 ;
7247 PyObject * obj1 = 0 ;
7248 PyObject * obj2 = 0 ;
7249 PyObject * obj3 = 0 ;
7250 char *kwnames[] = {
7251 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7252 };
7253
7254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_GridTableMessage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7256 {
7257 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7258 if (PyErr_Occurred()) SWIG_fail;
7259 }
7260 if (obj2) {
7261 {
7262 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
7265 }
7266 if (obj3) {
7267 {
7268 arg4 = (int) SWIG_PyObj_AsInt(obj3);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
7271 }
7272 {
7273 PyThreadState* __tstate = wxPyBeginAllowThreads();
7274 result = (wxGridTableMessage *)new wxGridTableMessage(arg1,arg2,arg3,arg4);
7275
7276 wxPyEndAllowThreads(__tstate);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 }
7279 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridTableMessage, 1);
7280 return resultobj;
7281 fail:
7282 return NULL;
7283 }
7284
7285
7286 static PyObject *_wrap_delete_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7287 PyObject *resultobj;
7288 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7289 PyObject * obj0 = 0 ;
7290 char *kwnames[] = {
7291 (char *) "self", NULL
7292 };
7293
7294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridTableMessage",kwnames,&obj0)) goto fail;
7295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7296 {
7297 PyThreadState* __tstate = wxPyBeginAllowThreads();
7298 delete arg1;
7299
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 Py_INCREF(Py_None); resultobj = Py_None;
7304 return resultobj;
7305 fail:
7306 return NULL;
7307 }
7308
7309
7310 static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7311 PyObject *resultobj;
7312 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7313 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
7314 PyObject * obj0 = 0 ;
7315 PyObject * obj1 = 0 ;
7316 char *kwnames[] = {
7317 (char *) "self",(char *) "table", NULL
7318 };
7319
7320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetTableObject",kwnames,&obj0,&obj1)) goto fail;
7321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7322 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7323 {
7324 PyThreadState* __tstate = wxPyBeginAllowThreads();
7325 (arg1)->SetTableObject(arg2);
7326
7327 wxPyEndAllowThreads(__tstate);
7328 if (PyErr_Occurred()) SWIG_fail;
7329 }
7330 Py_INCREF(Py_None); resultobj = Py_None;
7331 return resultobj;
7332 fail:
7333 return NULL;
7334 }
7335
7336
7337 static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7338 PyObject *resultobj;
7339 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7340 wxGridTableBase *result;
7341 PyObject * obj0 = 0 ;
7342 char *kwnames[] = {
7343 (char *) "self", NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetTableObject",kwnames,&obj0)) goto fail;
7347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 result = (wxGridTableBase *)((wxGridTableMessage const *)arg1)->GetTableObject();
7351
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
7355 {
7356 resultobj = wxPyMake_wxGridTableBase(result);
7357 }
7358 return resultobj;
7359 fail:
7360 return NULL;
7361 }
7362
7363
7364 static PyObject *_wrap_GridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7365 PyObject *resultobj;
7366 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7367 int arg2 ;
7368 PyObject * obj0 = 0 ;
7369 PyObject * obj1 = 0 ;
7370 char *kwnames[] = {
7371 (char *) "self",(char *) "id", NULL
7372 };
7373
7374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetId",kwnames,&obj0,&obj1)) goto fail;
7375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7376 {
7377 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7378 if (PyErr_Occurred()) SWIG_fail;
7379 }
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 (arg1)->SetId(arg2);
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 Py_INCREF(Py_None); resultobj = Py_None;
7388 return resultobj;
7389 fail:
7390 return NULL;
7391 }
7392
7393
7394 static PyObject *_wrap_GridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7395 PyObject *resultobj;
7396 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7397 int result;
7398 PyObject * obj0 = 0 ;
7399 char *kwnames[] = {
7400 (char *) "self", NULL
7401 };
7402
7403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetId",kwnames,&obj0)) goto fail;
7404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7405 {
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 result = (int)(arg1)->GetId();
7408
7409 wxPyEndAllowThreads(__tstate);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 }
7412 resultobj = SWIG_PyObj_FromInt((int)result);
7413 return resultobj;
7414 fail:
7415 return NULL;
7416 }
7417
7418
7419 static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7420 PyObject *resultobj;
7421 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7422 int arg2 ;
7423 PyObject * obj0 = 0 ;
7424 PyObject * obj1 = 0 ;
7425 char *kwnames[] = {
7426 (char *) "self",(char *) "comInt1", NULL
7427 };
7428
7429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt",kwnames,&obj0,&obj1)) goto fail;
7430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7431 {
7432 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7433 if (PyErr_Occurred()) SWIG_fail;
7434 }
7435 {
7436 PyThreadState* __tstate = wxPyBeginAllowThreads();
7437 (arg1)->SetCommandInt(arg2);
7438
7439 wxPyEndAllowThreads(__tstate);
7440 if (PyErr_Occurred()) SWIG_fail;
7441 }
7442 Py_INCREF(Py_None); resultobj = Py_None;
7443 return resultobj;
7444 fail:
7445 return NULL;
7446 }
7447
7448
7449 static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7450 PyObject *resultobj;
7451 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7452 int result;
7453 PyObject * obj0 = 0 ;
7454 char *kwnames[] = {
7455 (char *) "self", NULL
7456 };
7457
7458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt",kwnames,&obj0)) goto fail;
7459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 result = (int)(arg1)->GetCommandInt();
7463
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 }
7467 resultobj = SWIG_PyObj_FromInt((int)result);
7468 return resultobj;
7469 fail:
7470 return NULL;
7471 }
7472
7473
7474 static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7475 PyObject *resultobj;
7476 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7477 int arg2 ;
7478 PyObject * obj0 = 0 ;
7479 PyObject * obj1 = 0 ;
7480 char *kwnames[] = {
7481 (char *) "self",(char *) "comInt2", NULL
7482 };
7483
7484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames,&obj0,&obj1)) goto fail;
7485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7486 {
7487 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
7490 {
7491 PyThreadState* __tstate = wxPyBeginAllowThreads();
7492 (arg1)->SetCommandInt2(arg2);
7493
7494 wxPyEndAllowThreads(__tstate);
7495 if (PyErr_Occurred()) SWIG_fail;
7496 }
7497 Py_INCREF(Py_None); resultobj = Py_None;
7498 return resultobj;
7499 fail:
7500 return NULL;
7501 }
7502
7503
7504 static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7505 PyObject *resultobj;
7506 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7507 int result;
7508 PyObject * obj0 = 0 ;
7509 char *kwnames[] = {
7510 (char *) "self", NULL
7511 };
7512
7513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt2",kwnames,&obj0)) goto fail;
7514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7515 {
7516 PyThreadState* __tstate = wxPyBeginAllowThreads();
7517 result = (int)(arg1)->GetCommandInt2();
7518
7519 wxPyEndAllowThreads(__tstate);
7520 if (PyErr_Occurred()) SWIG_fail;
7521 }
7522 resultobj = SWIG_PyObj_FromInt((int)result);
7523 return resultobj;
7524 fail:
7525 return NULL;
7526 }
7527
7528
7529 static PyObject * GridTableMessage_swigregister(PyObject *self, PyObject *args) {
7530 PyObject *obj;
7531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7532 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage, obj);
7533 Py_INCREF(obj);
7534 return Py_BuildValue((char *)"");
7535 }
7536 static PyObject *_wrap_new_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7537 PyObject *resultobj;
7538 int arg1 = (int) -1 ;
7539 int arg2 = (int) -1 ;
7540 wxGridCellCoords *result;
7541 PyObject * obj0 = 0 ;
7542 PyObject * obj1 = 0 ;
7543 char *kwnames[] = {
7544 (char *) "r",(char *) "c", NULL
7545 };
7546
7547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellCoords",kwnames,&obj0,&obj1)) goto fail;
7548 if (obj0) {
7549 {
7550 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7551 if (PyErr_Occurred()) SWIG_fail;
7552 }
7553 }
7554 if (obj1) {
7555 {
7556 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7557 if (PyErr_Occurred()) SWIG_fail;
7558 }
7559 }
7560 {
7561 PyThreadState* __tstate = wxPyBeginAllowThreads();
7562 result = (wxGridCellCoords *)new wxGridCellCoords(arg1,arg2);
7563
7564 wxPyEndAllowThreads(__tstate);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 }
7567 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridCellCoords, 1);
7568 return resultobj;
7569 fail:
7570 return NULL;
7571 }
7572
7573
7574 static PyObject *_wrap_delete_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7575 PyObject *resultobj;
7576 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7577 PyObject * obj0 = 0 ;
7578 char *kwnames[] = {
7579 (char *) "self", NULL
7580 };
7581
7582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridCellCoords",kwnames,&obj0)) goto fail;
7583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7584 {
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 delete arg1;
7587
7588 wxPyEndAllowThreads(__tstate);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 }
7591 Py_INCREF(Py_None); resultobj = Py_None;
7592 return resultobj;
7593 fail:
7594 return NULL;
7595 }
7596
7597
7598 static PyObject *_wrap_GridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7599 PyObject *resultobj;
7600 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7601 int result;
7602 PyObject * obj0 = 0 ;
7603 char *kwnames[] = {
7604 (char *) "self", NULL
7605 };
7606
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetRow",kwnames,&obj0)) goto fail;
7608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 result = (int)((wxGridCellCoords const *)arg1)->GetRow();
7612
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 resultobj = SWIG_PyObj_FromInt((int)result);
7617 return resultobj;
7618 fail:
7619 return NULL;
7620 }
7621
7622
7623 static PyObject *_wrap_GridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7624 PyObject *resultobj;
7625 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7626 int arg2 ;
7627 PyObject * obj0 = 0 ;
7628 PyObject * obj1 = 0 ;
7629 char *kwnames[] = {
7630 (char *) "self",(char *) "n", NULL
7631 };
7632
7633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetRow",kwnames,&obj0,&obj1)) goto fail;
7634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7635 {
7636 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7637 if (PyErr_Occurred()) SWIG_fail;
7638 }
7639 {
7640 PyThreadState* __tstate = wxPyBeginAllowThreads();
7641 (arg1)->SetRow(arg2);
7642
7643 wxPyEndAllowThreads(__tstate);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 Py_INCREF(Py_None); resultobj = Py_None;
7647 return resultobj;
7648 fail:
7649 return NULL;
7650 }
7651
7652
7653 static PyObject *_wrap_GridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7654 PyObject *resultobj;
7655 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7656 int result;
7657 PyObject * obj0 = 0 ;
7658 char *kwnames[] = {
7659 (char *) "self", NULL
7660 };
7661
7662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetCol",kwnames,&obj0)) goto fail;
7663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7664 {
7665 PyThreadState* __tstate = wxPyBeginAllowThreads();
7666 result = (int)((wxGridCellCoords const *)arg1)->GetCol();
7667
7668 wxPyEndAllowThreads(__tstate);
7669 if (PyErr_Occurred()) SWIG_fail;
7670 }
7671 resultobj = SWIG_PyObj_FromInt((int)result);
7672 return resultobj;
7673 fail:
7674 return NULL;
7675 }
7676
7677
7678 static PyObject *_wrap_GridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7679 PyObject *resultobj;
7680 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7681 int arg2 ;
7682 PyObject * obj0 = 0 ;
7683 PyObject * obj1 = 0 ;
7684 char *kwnames[] = {
7685 (char *) "self",(char *) "n", NULL
7686 };
7687
7688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetCol",kwnames,&obj0,&obj1)) goto fail;
7689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7690 {
7691 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 {
7695 PyThreadState* __tstate = wxPyBeginAllowThreads();
7696 (arg1)->SetCol(arg2);
7697
7698 wxPyEndAllowThreads(__tstate);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 }
7701 Py_INCREF(Py_None); resultobj = Py_None;
7702 return resultobj;
7703 fail:
7704 return NULL;
7705 }
7706
7707
7708 static PyObject *_wrap_GridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7709 PyObject *resultobj;
7710 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7711 int arg2 ;
7712 int arg3 ;
7713 PyObject * obj0 = 0 ;
7714 PyObject * obj1 = 0 ;
7715 PyObject * obj2 = 0 ;
7716 char *kwnames[] = {
7717 (char *) "self",(char *) "row",(char *) "col", NULL
7718 };
7719
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellCoords_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
7721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7722 {
7723 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 {
7727 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7728 if (PyErr_Occurred()) SWIG_fail;
7729 }
7730 {
7731 PyThreadState* __tstate = wxPyBeginAllowThreads();
7732 (arg1)->Set(arg2,arg3);
7733
7734 wxPyEndAllowThreads(__tstate);
7735 if (PyErr_Occurred()) SWIG_fail;
7736 }
7737 Py_INCREF(Py_None); resultobj = Py_None;
7738 return resultobj;
7739 fail:
7740 return NULL;
7741 }
7742
7743
7744 static PyObject *_wrap_GridCellCoords___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
7745 PyObject *resultobj;
7746 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7747 wxGridCellCoords *arg2 = 0 ;
7748 bool result;
7749 PyObject * obj0 = 0 ;
7750 PyObject * obj1 = 0 ;
7751 char *kwnames[] = {
7752 (char *) "self",(char *) "other", NULL
7753 };
7754
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___eq__",kwnames,&obj0,&obj1)) goto fail;
7756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7757 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7758 if (arg2 == NULL) {
7759 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7760 }
7761 {
7762 PyThreadState* __tstate = wxPyBeginAllowThreads();
7763 result = (bool)((wxGridCellCoords const *)arg1)->operator ==((wxGridCellCoords const &)*arg2);
7764
7765 wxPyEndAllowThreads(__tstate);
7766 if (PyErr_Occurred()) SWIG_fail;
7767 }
7768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7769 return resultobj;
7770 fail:
7771 return NULL;
7772 }
7773
7774
7775 static PyObject *_wrap_GridCellCoords___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
7776 PyObject *resultobj;
7777 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7778 wxGridCellCoords *arg2 = 0 ;
7779 bool result;
7780 PyObject * obj0 = 0 ;
7781 PyObject * obj1 = 0 ;
7782 char *kwnames[] = {
7783 (char *) "self",(char *) "other", NULL
7784 };
7785
7786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___ne__",kwnames,&obj0,&obj1)) goto fail;
7787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7789 if (arg2 == NULL) {
7790 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7791 }
7792 {
7793 PyThreadState* __tstate = wxPyBeginAllowThreads();
7794 result = (bool)((wxGridCellCoords const *)arg1)->operator !=((wxGridCellCoords const &)*arg2);
7795
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7800 return resultobj;
7801 fail:
7802 return NULL;
7803 }
7804
7805
7806 static PyObject *_wrap_GridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
7807 PyObject *resultobj;
7808 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7809 PyObject *result;
7810 PyObject * obj0 = 0 ;
7811 char *kwnames[] = {
7812 (char *) "self", NULL
7813 };
7814
7815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_asTuple",kwnames,&obj0)) goto fail;
7816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridCellCoords,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 result = (PyObject *)wxGridCellCoords_asTuple(arg1);
7820
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 resultobj = result;
7825 return resultobj;
7826 fail:
7827 return NULL;
7828 }
7829
7830
7831 static PyObject * GridCellCoords_swigregister(PyObject *self, PyObject *args) {
7832 PyObject *obj;
7833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7834 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords, obj);
7835 Py_INCREF(obj);
7836 return Py_BuildValue((char *)"");
7837 }
7838 static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs) {
7839 PyObject *resultobj;
7840 wxWindow *arg1 = (wxWindow *) 0 ;
7841 int arg2 ;
7842 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7843 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7844 wxSize const &arg4_defvalue = wxDefaultSize ;
7845 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7846 long arg5 = (long) wxWANTS_CHARS ;
7847 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7848 wxString *arg6 = (wxString *) &arg6_defvalue ;
7849 wxGrid *result;
7850 wxPoint temp3 ;
7851 wxSize temp4 ;
7852 bool temp6 = False ;
7853 PyObject * obj0 = 0 ;
7854 PyObject * obj1 = 0 ;
7855 PyObject * obj2 = 0 ;
7856 PyObject * obj3 = 0 ;
7857 PyObject * obj4 = 0 ;
7858 PyObject * obj5 = 0 ;
7859 char *kwnames[] = {
7860 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7861 };
7862
7863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Grid",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7865 {
7866 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 if (obj2) {
7870 {
7871 arg3 = &temp3;
7872 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7873 }
7874 }
7875 if (obj3) {
7876 {
7877 arg4 = &temp4;
7878 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7879 }
7880 }
7881 if (obj4) {
7882 {
7883 arg5 = (long) SWIG_PyObj_AsLong(obj4);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 }
7887 if (obj5) {
7888 {
7889 arg6 = wxString_in_helper(obj5);
7890 if (arg6 == NULL) SWIG_fail;
7891 temp6 = True;
7892 }
7893 }
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 result = (wxGrid *)new wxGrid(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 {
7902 resultobj = wxPyMake_wxObject(result);
7903 }
7904 {
7905 if (temp6)
7906 delete arg6;
7907 }
7908 return resultobj;
7909 fail:
7910 {
7911 if (temp6)
7912 delete arg6;
7913 }
7914 return NULL;
7915 }
7916
7917
7918 static PyObject *_wrap_Grid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7919 PyObject *resultobj;
7920 wxGrid *arg1 = (wxGrid *) 0 ;
7921 int arg2 ;
7922 int arg3 ;
7923 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
7924 bool result;
7925 PyObject * obj0 = 0 ;
7926 PyObject * obj1 = 0 ;
7927 PyObject * obj2 = 0 ;
7928 PyObject * obj3 = 0 ;
7929 char *kwnames[] = {
7930 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
7931 };
7932
7933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_CreateGrid",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7935 {
7936 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 {
7940 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 if (obj3) {
7944 {
7945 arg4 = (WXGRIDSELECTIONMODES) SWIG_PyObj_AsInt(obj3);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 }
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (bool)(arg1)->CreateGrid(arg2,arg3,arg4);
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 static PyObject *_wrap_Grid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 wxGrid *arg1 = (wxGrid *) 0 ;
7966 WXGRIDSELECTIONMODES arg2 ;
7967 PyObject * obj0 = 0 ;
7968 PyObject * obj1 = 0 ;
7969 char *kwnames[] = {
7970 (char *) "self",(char *) "selmode", NULL
7971 };
7972
7973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
7974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7975 {
7976 arg2 = (WXGRIDSELECTIONMODES) SWIG_PyObj_AsInt(obj1);
7977 if (PyErr_Occurred()) SWIG_fail;
7978 }
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 (arg1)->SetSelectionMode(arg2);
7982
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 }
7986 Py_INCREF(Py_None); resultobj = Py_None;
7987 return resultobj;
7988 fail:
7989 return NULL;
7990 }
7991
7992
7993 static PyObject *_wrap_Grid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7994 PyObject *resultobj;
7995 wxGrid *arg1 = (wxGrid *) 0 ;
7996 WXGRIDSELECTIONMODES result;
7997 PyObject * obj0 = 0 ;
7998 char *kwnames[] = {
7999 (char *) "self", NULL
8000 };
8001
8002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionMode",kwnames,&obj0)) goto fail;
8003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8004 {
8005 PyThreadState* __tstate = wxPyBeginAllowThreads();
8006 result = (WXGRIDSELECTIONMODES)(arg1)->GetSelectionMode();
8007
8008 wxPyEndAllowThreads(__tstate);
8009 if (PyErr_Occurred()) SWIG_fail;
8010 }
8011 resultobj = SWIG_PyObj_FromInt((int)result);
8012 return resultobj;
8013 fail:
8014 return NULL;
8015 }
8016
8017
8018 static PyObject *_wrap_Grid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8019 PyObject *resultobj;
8020 wxGrid *arg1 = (wxGrid *) 0 ;
8021 int result;
8022 PyObject * obj0 = 0 ;
8023 char *kwnames[] = {
8024 (char *) "self", NULL
8025 };
8026
8027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberRows",kwnames,&obj0)) goto fail;
8028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 result = (int)(arg1)->GetNumberRows();
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
8036 resultobj = SWIG_PyObj_FromInt((int)result);
8037 return resultobj;
8038 fail:
8039 return NULL;
8040 }
8041
8042
8043 static PyObject *_wrap_Grid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8044 PyObject *resultobj;
8045 wxGrid *arg1 = (wxGrid *) 0 ;
8046 int result;
8047 PyObject * obj0 = 0 ;
8048 char *kwnames[] = {
8049 (char *) "self", NULL
8050 };
8051
8052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberCols",kwnames,&obj0)) goto fail;
8053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8054 {
8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
8056 result = (int)(arg1)->GetNumberCols();
8057
8058 wxPyEndAllowThreads(__tstate);
8059 if (PyErr_Occurred()) SWIG_fail;
8060 }
8061 resultobj = SWIG_PyObj_FromInt((int)result);
8062 return resultobj;
8063 fail:
8064 return NULL;
8065 }
8066
8067
8068 static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8069 PyObject *resultobj;
8070 wxGrid *arg1 = (wxGrid *) 0 ;
8071 wxGridTableMessage *arg2 = 0 ;
8072 bool result;
8073 PyObject * obj0 = 0 ;
8074 PyObject * obj1 = 0 ;
8075 char *kwnames[] = {
8076 (char *) "self","arg2", NULL
8077 };
8078
8079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_ProcessTableMessage",kwnames,&obj0,&obj1)) goto fail;
8080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8081 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridTableMessage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8082 if (arg2 == NULL) {
8083 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8084 }
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 result = (bool)(arg1)->ProcessTableMessage(*arg2);
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8093 return resultobj;
8094 fail:
8095 return NULL;
8096 }
8097
8098
8099 static PyObject *_wrap_Grid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8100 PyObject *resultobj;
8101 wxGrid *arg1 = (wxGrid *) 0 ;
8102 wxGridTableBase *result;
8103 PyObject * obj0 = 0 ;
8104 char *kwnames[] = {
8105 (char *) "self", NULL
8106 };
8107
8108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetTable",kwnames,&obj0)) goto fail;
8109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8110 {
8111 PyThreadState* __tstate = wxPyBeginAllowThreads();
8112 result = (wxGridTableBase *)((wxGrid const *)arg1)->GetTable();
8113
8114 wxPyEndAllowThreads(__tstate);
8115 if (PyErr_Occurred()) SWIG_fail;
8116 }
8117 {
8118 resultobj = wxPyMake_wxGridTableBase(result);
8119 }
8120 return resultobj;
8121 fail:
8122 return NULL;
8123 }
8124
8125
8126 static PyObject *_wrap_Grid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8127 PyObject *resultobj;
8128 wxGrid *arg1 = (wxGrid *) 0 ;
8129 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
8130 bool arg3 = (bool) False ;
8131 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8132 bool result;
8133 PyObject * obj0 = 0 ;
8134 PyObject * obj1 = 0 ;
8135 PyObject * obj2 = 0 ;
8136 PyObject * obj3 = 0 ;
8137 char *kwnames[] = {
8138 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8139 };
8140
8141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetTable",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridTableBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8144 if (obj2) {
8145 {
8146 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
8147 if (PyErr_Occurred()) SWIG_fail;
8148 }
8149 }
8150 if (obj3) {
8151 {
8152 arg4 = (WXGRIDSELECTIONMODES) SWIG_PyObj_AsInt(obj3);
8153 if (PyErr_Occurred()) SWIG_fail;
8154 }
8155 }
8156 {
8157 PyThreadState* __tstate = wxPyBeginAllowThreads();
8158 result = (bool)(arg1)->SetTable(arg2,arg3,arg4);
8159
8160 wxPyEndAllowThreads(__tstate);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 }
8163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8164 return resultobj;
8165 fail:
8166 return NULL;
8167 }
8168
8169
8170 static PyObject *_wrap_Grid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8171 PyObject *resultobj;
8172 wxGrid *arg1 = (wxGrid *) 0 ;
8173 PyObject * obj0 = 0 ;
8174 char *kwnames[] = {
8175 (char *) "self", NULL
8176 };
8177
8178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearGrid",kwnames,&obj0)) goto fail;
8179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8180 {
8181 PyThreadState* __tstate = wxPyBeginAllowThreads();
8182 (arg1)->ClearGrid();
8183
8184 wxPyEndAllowThreads(__tstate);
8185 if (PyErr_Occurred()) SWIG_fail;
8186 }
8187 Py_INCREF(Py_None); resultobj = Py_None;
8188 return resultobj;
8189 fail:
8190 return NULL;
8191 }
8192
8193
8194 static PyObject *_wrap_Grid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8195 PyObject *resultobj;
8196 wxGrid *arg1 = (wxGrid *) 0 ;
8197 int arg2 = (int) 0 ;
8198 int arg3 = (int) 1 ;
8199 bool arg4 = (bool) True ;
8200 bool result;
8201 PyObject * obj0 = 0 ;
8202 PyObject * obj1 = 0 ;
8203 PyObject * obj2 = 0 ;
8204 PyObject * obj3 = 0 ;
8205 char *kwnames[] = {
8206 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8207 };
8208
8209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8211 if (obj1) {
8212 {
8213 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8214 if (PyErr_Occurred()) SWIG_fail;
8215 }
8216 }
8217 if (obj2) {
8218 {
8219 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 }
8223 if (obj3) {
8224 {
8225 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
8226 if (PyErr_Occurred()) SWIG_fail;
8227 }
8228 }
8229 {
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 result = (bool)(arg1)->InsertRows(arg2,arg3,arg4);
8232
8233 wxPyEndAllowThreads(__tstate);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8237 return resultobj;
8238 fail:
8239 return NULL;
8240 }
8241
8242
8243 static PyObject *_wrap_Grid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8244 PyObject *resultobj;
8245 wxGrid *arg1 = (wxGrid *) 0 ;
8246 int arg2 = (int) 1 ;
8247 bool arg3 = (bool) True ;
8248 bool result;
8249 PyObject * obj0 = 0 ;
8250 PyObject * obj1 = 0 ;
8251 PyObject * obj2 = 0 ;
8252 char *kwnames[] = {
8253 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8254 };
8255
8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
8257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8258 if (obj1) {
8259 {
8260 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8261 if (PyErr_Occurred()) SWIG_fail;
8262 }
8263 }
8264 if (obj2) {
8265 {
8266 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
8267 if (PyErr_Occurred()) SWIG_fail;
8268 }
8269 }
8270 {
8271 PyThreadState* __tstate = wxPyBeginAllowThreads();
8272 result = (bool)(arg1)->AppendRows(arg2,arg3);
8273
8274 wxPyEndAllowThreads(__tstate);
8275 if (PyErr_Occurred()) SWIG_fail;
8276 }
8277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8278 return resultobj;
8279 fail:
8280 return NULL;
8281 }
8282
8283
8284 static PyObject *_wrap_Grid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8285 PyObject *resultobj;
8286 wxGrid *arg1 = (wxGrid *) 0 ;
8287 int arg2 = (int) 0 ;
8288 int arg3 = (int) 1 ;
8289 bool arg4 = (bool) True ;
8290 bool result;
8291 PyObject * obj0 = 0 ;
8292 PyObject * obj1 = 0 ;
8293 PyObject * obj2 = 0 ;
8294 PyObject * obj3 = 0 ;
8295 char *kwnames[] = {
8296 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8297 };
8298
8299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8301 if (obj1) {
8302 {
8303 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
8306 }
8307 if (obj2) {
8308 {
8309 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8310 if (PyErr_Occurred()) SWIG_fail;
8311 }
8312 }
8313 if (obj3) {
8314 {
8315 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
8318 }
8319 {
8320 PyThreadState* __tstate = wxPyBeginAllowThreads();
8321 result = (bool)(arg1)->DeleteRows(arg2,arg3,arg4);
8322
8323 wxPyEndAllowThreads(__tstate);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 }
8326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8327 return resultobj;
8328 fail:
8329 return NULL;
8330 }
8331
8332
8333 static PyObject *_wrap_Grid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8334 PyObject *resultobj;
8335 wxGrid *arg1 = (wxGrid *) 0 ;
8336 int arg2 = (int) 0 ;
8337 int arg3 = (int) 1 ;
8338 bool arg4 = (bool) True ;
8339 bool result;
8340 PyObject * obj0 = 0 ;
8341 PyObject * obj1 = 0 ;
8342 PyObject * obj2 = 0 ;
8343 PyObject * obj3 = 0 ;
8344 char *kwnames[] = {
8345 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8346 };
8347
8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8350 if (obj1) {
8351 {
8352 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
8355 }
8356 if (obj2) {
8357 {
8358 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8359 if (PyErr_Occurred()) SWIG_fail;
8360 }
8361 }
8362 if (obj3) {
8363 {
8364 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 }
8367 }
8368 {
8369 PyThreadState* __tstate = wxPyBeginAllowThreads();
8370 result = (bool)(arg1)->InsertCols(arg2,arg3,arg4);
8371
8372 wxPyEndAllowThreads(__tstate);
8373 if (PyErr_Occurred()) SWIG_fail;
8374 }
8375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8376 return resultobj;
8377 fail:
8378 return NULL;
8379 }
8380
8381
8382 static PyObject *_wrap_Grid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8383 PyObject *resultobj;
8384 wxGrid *arg1 = (wxGrid *) 0 ;
8385 int arg2 = (int) 1 ;
8386 bool arg3 = (bool) True ;
8387 bool result;
8388 PyObject * obj0 = 0 ;
8389 PyObject * obj1 = 0 ;
8390 PyObject * obj2 = 0 ;
8391 char *kwnames[] = {
8392 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8393 };
8394
8395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
8396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8397 if (obj1) {
8398 {
8399 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8400 if (PyErr_Occurred()) SWIG_fail;
8401 }
8402 }
8403 if (obj2) {
8404 {
8405 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
8406 if (PyErr_Occurred()) SWIG_fail;
8407 }
8408 }
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 result = (bool)(arg1)->AppendCols(arg2,arg3);
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8417 return resultobj;
8418 fail:
8419 return NULL;
8420 }
8421
8422
8423 static PyObject *_wrap_Grid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8424 PyObject *resultobj;
8425 wxGrid *arg1 = (wxGrid *) 0 ;
8426 int arg2 = (int) 0 ;
8427 int arg3 = (int) 1 ;
8428 bool arg4 = (bool) True ;
8429 bool result;
8430 PyObject * obj0 = 0 ;
8431 PyObject * obj1 = 0 ;
8432 PyObject * obj2 = 0 ;
8433 PyObject * obj3 = 0 ;
8434 char *kwnames[] = {
8435 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8436 };
8437
8438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8440 if (obj1) {
8441 {
8442 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8443 if (PyErr_Occurred()) SWIG_fail;
8444 }
8445 }
8446 if (obj2) {
8447 {
8448 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 }
8452 if (obj3) {
8453 {
8454 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
8455 if (PyErr_Occurred()) SWIG_fail;
8456 }
8457 }
8458 {
8459 PyThreadState* __tstate = wxPyBeginAllowThreads();
8460 result = (bool)(arg1)->DeleteCols(arg2,arg3,arg4);
8461
8462 wxPyEndAllowThreads(__tstate);
8463 if (PyErr_Occurred()) SWIG_fail;
8464 }
8465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8466 return resultobj;
8467 fail:
8468 return NULL;
8469 }
8470
8471
8472 static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8473 PyObject *resultobj;
8474 wxGrid *arg1 = (wxGrid *) 0 ;
8475 wxDC *arg2 = 0 ;
8476 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
8477 PyObject * obj0 = 0 ;
8478 PyObject * obj1 = 0 ;
8479 PyObject * obj2 = 0 ;
8480 char *kwnames[] = {
8481 (char *) "self",(char *) "dc",(char *) "attr", NULL
8482 };
8483
8484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DrawCellHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
8485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8486 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8487 if (arg2 == NULL) {
8488 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8489 }
8490 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 (arg1)->DrawCellHighlight(*arg2,(wxGridCellAttr const *)arg3);
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
8498 Py_INCREF(Py_None); resultobj = Py_None;
8499 return resultobj;
8500 fail:
8501 return NULL;
8502 }
8503
8504
8505 static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8506 PyObject *resultobj;
8507 wxGrid *arg1 = (wxGrid *) 0 ;
8508 wxDC *arg2 = 0 ;
8509 wxString *arg3 = 0 ;
8510 wxRect *arg4 = 0 ;
8511 int arg5 = (int) wxLEFT ;
8512 int arg6 = (int) wxTOP ;
8513 int arg7 = (int) wxHORIZONTAL ;
8514 bool temp3 = False ;
8515 wxRect temp4 ;
8516 PyObject * obj0 = 0 ;
8517 PyObject * obj1 = 0 ;
8518 PyObject * obj2 = 0 ;
8519 PyObject * obj3 = 0 ;
8520 PyObject * obj4 = 0 ;
8521 PyObject * obj5 = 0 ;
8522 PyObject * obj6 = 0 ;
8523 char *kwnames[] = {
8524 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8525 };
8526
8527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8530 if (arg2 == NULL) {
8531 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8532 }
8533 {
8534 arg3 = wxString_in_helper(obj2);
8535 if (arg3 == NULL) SWIG_fail;
8536 temp3 = True;
8537 }
8538 {
8539 arg4 = &temp4;
8540 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
8541 }
8542 if (obj4) {
8543 {
8544 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8545 if (PyErr_Occurred()) SWIG_fail;
8546 }
8547 }
8548 if (obj5) {
8549 {
8550 arg6 = (int) SWIG_PyObj_AsInt(obj5);
8551 if (PyErr_Occurred()) SWIG_fail;
8552 }
8553 }
8554 if (obj6) {
8555 {
8556 arg7 = (int) SWIG_PyObj_AsInt(obj6);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 }
8559 }
8560 {
8561 PyThreadState* __tstate = wxPyBeginAllowThreads();
8562 (arg1)->DrawTextRectangle(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
8563
8564 wxPyEndAllowThreads(__tstate);
8565 if (PyErr_Occurred()) SWIG_fail;
8566 }
8567 Py_INCREF(Py_None); resultobj = Py_None;
8568 {
8569 if (temp3)
8570 delete arg3;
8571 }
8572 return resultobj;
8573 fail:
8574 {
8575 if (temp3)
8576 delete arg3;
8577 }
8578 return NULL;
8579 }
8580
8581
8582 static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8583 PyObject *resultobj;
8584 wxGrid *arg1 = (wxGrid *) 0 ;
8585 wxDC *arg2 = 0 ;
8586 wxArrayString *arg3 = 0 ;
8587 long *arg4 = (long *) 0 ;
8588 long *arg5 = (long *) 0 ;
8589 long temp4 ;
8590 long temp5 ;
8591 PyObject * obj0 = 0 ;
8592 PyObject * obj1 = 0 ;
8593 PyObject * obj2 = 0 ;
8594 char *kwnames[] = {
8595 (char *) "self",(char *) "dc",(char *) "lines", NULL
8596 };
8597
8598 arg4 = &temp4;
8599 arg5 = &temp5;
8600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetTextBoxSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
8601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8602 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8603 if (arg2 == NULL) {
8604 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8605 }
8606 {
8607 if (! PySequence_Check(obj2)) {
8608 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8609 SWIG_fail;
8610 }
8611 arg3 = new wxArrayString;
8612 int i, len=PySequence_Length(obj2);
8613 for (i=0; i<len; i++) {
8614 PyObject* item = PySequence_GetItem(obj2, i);
8615 #if wxUSE_UNICODE
8616 PyObject* str = PyObject_Unicode(item);
8617 #else
8618 PyObject* str = PyObject_Str(item);
8619 #endif
8620 arg3->Add(Py2wxString(str));
8621 Py_DECREF(item);
8622 Py_DECREF(str);
8623 }
8624 }
8625 {
8626 PyThreadState* __tstate = wxPyBeginAllowThreads();
8627 (arg1)->GetTextBoxSize(*arg2,*arg3,arg4,arg5);
8628
8629 wxPyEndAllowThreads(__tstate);
8630 if (PyErr_Occurred()) SWIG_fail;
8631 }
8632 Py_INCREF(Py_None); resultobj = Py_None;
8633 {
8634 PyObject *o = PyInt_FromLong((long) (*arg4));
8635 resultobj = t_output_helper(resultobj,o);
8636 }
8637 {
8638 PyObject *o = PyInt_FromLong((long) (*arg5));
8639 resultobj = t_output_helper(resultobj,o);
8640 }
8641 {
8642 if (arg3) delete arg3;
8643 }
8644 return resultobj;
8645 fail:
8646 {
8647 if (arg3) delete arg3;
8648 }
8649 return NULL;
8650 }
8651
8652
8653 static PyObject *_wrap_Grid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8654 PyObject *resultobj;
8655 wxGrid *arg1 = (wxGrid *) 0 ;
8656 PyObject * obj0 = 0 ;
8657 char *kwnames[] = {
8658 (char *) "self", NULL
8659 };
8660
8661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_BeginBatch",kwnames,&obj0)) goto fail;
8662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8663 {
8664 PyThreadState* __tstate = wxPyBeginAllowThreads();
8665 (arg1)->BeginBatch();
8666
8667 wxPyEndAllowThreads(__tstate);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 }
8670 Py_INCREF(Py_None); resultobj = Py_None;
8671 return resultobj;
8672 fail:
8673 return NULL;
8674 }
8675
8676
8677 static PyObject *_wrap_Grid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8678 PyObject *resultobj;
8679 wxGrid *arg1 = (wxGrid *) 0 ;
8680 PyObject * obj0 = 0 ;
8681 char *kwnames[] = {
8682 (char *) "self", NULL
8683 };
8684
8685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_EndBatch",kwnames,&obj0)) goto fail;
8686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 (arg1)->EndBatch();
8690
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 Py_INCREF(Py_None); resultobj = Py_None;
8695 return resultobj;
8696 fail:
8697 return NULL;
8698 }
8699
8700
8701 static PyObject *_wrap_Grid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8702 PyObject *resultobj;
8703 wxGrid *arg1 = (wxGrid *) 0 ;
8704 int result;
8705 PyObject * obj0 = 0 ;
8706 char *kwnames[] = {
8707 (char *) "self", NULL
8708 };
8709
8710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetBatchCount",kwnames,&obj0)) goto fail;
8711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8712 {
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 result = (int)(arg1)->GetBatchCount();
8715
8716 wxPyEndAllowThreads(__tstate);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 }
8719 resultobj = SWIG_PyObj_FromInt((int)result);
8720 return resultobj;
8721 fail:
8722 return NULL;
8723 }
8724
8725
8726 static PyObject *_wrap_Grid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8727 PyObject *resultobj;
8728 wxGrid *arg1 = (wxGrid *) 0 ;
8729 PyObject * obj0 = 0 ;
8730 char *kwnames[] = {
8731 (char *) "self", NULL
8732 };
8733
8734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ForceRefresh",kwnames,&obj0)) goto fail;
8735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 (arg1)->ForceRefresh();
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 Py_INCREF(Py_None); resultobj = Py_None;
8744 return resultobj;
8745 fail:
8746 return NULL;
8747 }
8748
8749
8750 static PyObject *_wrap_Grid_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8751 PyObject *resultobj;
8752 wxGrid *arg1 = (wxGrid *) 0 ;
8753 bool arg2 = (bool) True ;
8754 wxRect *arg3 = (wxRect *) NULL ;
8755 PyObject * obj0 = 0 ;
8756 PyObject * obj1 = 0 ;
8757 PyObject * obj2 = 0 ;
8758 char *kwnames[] = {
8759 (char *) "self",(char *) "eraseb",(char *) "rect", NULL
8760 };
8761
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
8763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8764 if (obj1) {
8765 {
8766 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 }
8769 }
8770 if (obj2) {
8771 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8772 }
8773 {
8774 PyThreadState* __tstate = wxPyBeginAllowThreads();
8775 (arg1)->Refresh(arg2,(wxRect const *)arg3);
8776
8777 wxPyEndAllowThreads(__tstate);
8778 if (PyErr_Occurred()) SWIG_fail;
8779 }
8780 Py_INCREF(Py_None); resultobj = Py_None;
8781 return resultobj;
8782 fail:
8783 return NULL;
8784 }
8785
8786
8787 static PyObject *_wrap_Grid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8788 PyObject *resultobj;
8789 wxGrid *arg1 = (wxGrid *) 0 ;
8790 bool result;
8791 PyObject * obj0 = 0 ;
8792 char *kwnames[] = {
8793 (char *) "self", NULL
8794 };
8795
8796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsEditable",kwnames,&obj0)) goto fail;
8797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8798 {
8799 PyThreadState* __tstate = wxPyBeginAllowThreads();
8800 result = (bool)(arg1)->IsEditable();
8801
8802 wxPyEndAllowThreads(__tstate);
8803 if (PyErr_Occurred()) SWIG_fail;
8804 }
8805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8806 return resultobj;
8807 fail:
8808 return NULL;
8809 }
8810
8811
8812 static PyObject *_wrap_Grid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
8813 PyObject *resultobj;
8814 wxGrid *arg1 = (wxGrid *) 0 ;
8815 bool arg2 ;
8816 PyObject * obj0 = 0 ;
8817 PyObject * obj1 = 0 ;
8818 char *kwnames[] = {
8819 (char *) "self",(char *) "edit", NULL
8820 };
8821
8822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_EnableEditing",kwnames,&obj0,&obj1)) goto fail;
8823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8824 {
8825 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
8828 {
8829 PyThreadState* __tstate = wxPyBeginAllowThreads();
8830 (arg1)->EnableEditing(arg2);
8831
8832 wxPyEndAllowThreads(__tstate);
8833 if (PyErr_Occurred()) SWIG_fail;
8834 }
8835 Py_INCREF(Py_None); resultobj = Py_None;
8836 return resultobj;
8837 fail:
8838 return NULL;
8839 }
8840
8841
8842 static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8843 PyObject *resultobj;
8844 wxGrid *arg1 = (wxGrid *) 0 ;
8845 bool arg2 = (bool) True ;
8846 PyObject * obj0 = 0 ;
8847 PyObject * obj1 = 0 ;
8848 char *kwnames[] = {
8849 (char *) "self",(char *) "enable", NULL
8850 };
8851
8852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableCellEditControl",kwnames,&obj0,&obj1)) goto fail;
8853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8854 if (obj1) {
8855 {
8856 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 }
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 (arg1)->EnableCellEditControl(arg2);
8863
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
8867 Py_INCREF(Py_None); resultobj = Py_None;
8868 return resultobj;
8869 fail:
8870 return NULL;
8871 }
8872
8873
8874 static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8875 PyObject *resultobj;
8876 wxGrid *arg1 = (wxGrid *) 0 ;
8877 PyObject * obj0 = 0 ;
8878 char *kwnames[] = {
8879 (char *) "self", NULL
8880 };
8881
8882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableCellEditControl",kwnames,&obj0)) goto fail;
8883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8884 {
8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
8886 (arg1)->DisableCellEditControl();
8887
8888 wxPyEndAllowThreads(__tstate);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 }
8891 Py_INCREF(Py_None); resultobj = Py_None;
8892 return resultobj;
8893 fail:
8894 return NULL;
8895 }
8896
8897
8898 static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8899 PyObject *resultobj;
8900 wxGrid *arg1 = (wxGrid *) 0 ;
8901 bool result;
8902 PyObject * obj0 = 0 ;
8903 char *kwnames[] = {
8904 (char *) "self", NULL
8905 };
8906
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanEnableCellControl",kwnames,&obj0)) goto fail;
8908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8909 {
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 result = (bool)((wxGrid const *)arg1)->CanEnableCellControl();
8912
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8917 return resultobj;
8918 fail:
8919 return NULL;
8920 }
8921
8922
8923 static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8924 PyObject *resultobj;
8925 wxGrid *arg1 = (wxGrid *) 0 ;
8926 bool result;
8927 PyObject * obj0 = 0 ;
8928 char *kwnames[] = {
8929 (char *) "self", NULL
8930 };
8931
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlEnabled",kwnames,&obj0)) goto fail;
8933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8934 {
8935 PyThreadState* __tstate = wxPyBeginAllowThreads();
8936 result = (bool)((wxGrid const *)arg1)->IsCellEditControlEnabled();
8937
8938 wxPyEndAllowThreads(__tstate);
8939 if (PyErr_Occurred()) SWIG_fail;
8940 }
8941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8942 return resultobj;
8943 fail:
8944 return NULL;
8945 }
8946
8947
8948 static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj;
8950 wxGrid *arg1 = (wxGrid *) 0 ;
8951 bool result;
8952 PyObject * obj0 = 0 ;
8953 char *kwnames[] = {
8954 (char *) "self", NULL
8955 };
8956
8957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlShown",kwnames,&obj0)) goto fail;
8958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 result = (bool)((wxGrid const *)arg1)->IsCellEditControlShown();
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8967 return resultobj;
8968 fail:
8969 return NULL;
8970 }
8971
8972
8973 static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxGrid *arg1 = (wxGrid *) 0 ;
8976 bool result;
8977 PyObject * obj0 = 0 ;
8978 char *kwnames[] = {
8979 (char *) "self", NULL
8980 };
8981
8982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames,&obj0)) goto fail;
8983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8984 {
8985 PyThreadState* __tstate = wxPyBeginAllowThreads();
8986 result = (bool)((wxGrid const *)arg1)->IsCurrentCellReadOnly();
8987
8988 wxPyEndAllowThreads(__tstate);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 }
8991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8992 return resultobj;
8993 fail:
8994 return NULL;
8995 }
8996
8997
8998 static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8999 PyObject *resultobj;
9000 wxGrid *arg1 = (wxGrid *) 0 ;
9001 PyObject * obj0 = 0 ;
9002 char *kwnames[] = {
9003 (char *) "self", NULL
9004 };
9005
9006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ShowCellEditControl",kwnames,&obj0)) goto fail;
9007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 (arg1)->ShowCellEditControl();
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 Py_INCREF(Py_None); resultobj = Py_None;
9016 return resultobj;
9017 fail:
9018 return NULL;
9019 }
9020
9021
9022 static PyObject *_wrap_Grid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj;
9024 wxGrid *arg1 = (wxGrid *) 0 ;
9025 PyObject * obj0 = 0 ;
9026 char *kwnames[] = {
9027 (char *) "self", NULL
9028 };
9029
9030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_HideCellEditControl",kwnames,&obj0)) goto fail;
9031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9032 {
9033 PyThreadState* __tstate = wxPyBeginAllowThreads();
9034 (arg1)->HideCellEditControl();
9035
9036 wxPyEndAllowThreads(__tstate);
9037 if (PyErr_Occurred()) SWIG_fail;
9038 }
9039 Py_INCREF(Py_None); resultobj = Py_None;
9040 return resultobj;
9041 fail:
9042 return NULL;
9043 }
9044
9045
9046 static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9047 PyObject *resultobj;
9048 wxGrid *arg1 = (wxGrid *) 0 ;
9049 PyObject * obj0 = 0 ;
9050 char *kwnames[] = {
9051 (char *) "self", NULL
9052 };
9053
9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SaveEditControlValue",kwnames,&obj0)) goto fail;
9055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 (arg1)->SaveEditControlValue();
9059
9060 wxPyEndAllowThreads(__tstate);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 }
9063 Py_INCREF(Py_None); resultobj = Py_None;
9064 return resultobj;
9065 fail:
9066 return NULL;
9067 }
9068
9069
9070 static PyObject *_wrap_Grid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
9071 PyObject *resultobj;
9072 wxGrid *arg1 = (wxGrid *) 0 ;
9073 int arg2 ;
9074 int arg3 ;
9075 wxGridCellCoords result;
9076 PyObject * obj0 = 0 ;
9077 PyObject * obj1 = 0 ;
9078 PyObject * obj2 = 0 ;
9079 char *kwnames[] = {
9080 (char *) "self",(char *) "x",(char *) "y", NULL
9081 };
9082
9083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_XYToCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
9084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9085 {
9086 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 {
9090 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 result = wxGrid_XYToCell(arg1,arg2,arg3);
9096
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 }
9100 {
9101 wxGridCellCoords * resultptr;
9102 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
9103 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGridCellCoords, 1);
9104 }
9105 return resultobj;
9106 fail:
9107 return NULL;
9108 }
9109
9110
9111 static PyObject *_wrap_Grid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9112 PyObject *resultobj;
9113 wxGrid *arg1 = (wxGrid *) 0 ;
9114 int arg2 ;
9115 int result;
9116 PyObject * obj0 = 0 ;
9117 PyObject * obj1 = 0 ;
9118 char *kwnames[] = {
9119 (char *) "self",(char *) "y", NULL
9120 };
9121
9122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToRow",kwnames,&obj0,&obj1)) goto fail;
9123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9124 {
9125 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 }
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 result = (int)(arg1)->YToRow(arg2);
9131
9132 wxPyEndAllowThreads(__tstate);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 resultobj = SWIG_PyObj_FromInt((int)result);
9136 return resultobj;
9137 fail:
9138 return NULL;
9139 }
9140
9141
9142 static PyObject *_wrap_Grid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj;
9144 wxGrid *arg1 = (wxGrid *) 0 ;
9145 int arg2 ;
9146 int result;
9147 PyObject * obj0 = 0 ;
9148 PyObject * obj1 = 0 ;
9149 char *kwnames[] = {
9150 (char *) "self",(char *) "x", NULL
9151 };
9152
9153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToCol",kwnames,&obj0,&obj1)) goto fail;
9154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9155 {
9156 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 {
9160 PyThreadState* __tstate = wxPyBeginAllowThreads();
9161 result = (int)(arg1)->XToCol(arg2);
9162
9163 wxPyEndAllowThreads(__tstate);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 }
9166 resultobj = SWIG_PyObj_FromInt((int)result);
9167 return resultobj;
9168 fail:
9169 return NULL;
9170 }
9171
9172
9173 static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9174 PyObject *resultobj;
9175 wxGrid *arg1 = (wxGrid *) 0 ;
9176 int arg2 ;
9177 int result;
9178 PyObject * obj0 = 0 ;
9179 PyObject * obj1 = 0 ;
9180 char *kwnames[] = {
9181 (char *) "self",(char *) "y", NULL
9182 };
9183
9184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToEdgeOfRow",kwnames,&obj0,&obj1)) goto fail;
9185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9186 {
9187 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9188 if (PyErr_Occurred()) SWIG_fail;
9189 }
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 result = (int)(arg1)->YToEdgeOfRow(arg2);
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 resultobj = SWIG_PyObj_FromInt((int)result);
9198 return resultobj;
9199 fail:
9200 return NULL;
9201 }
9202
9203
9204 static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9205 PyObject *resultobj;
9206 wxGrid *arg1 = (wxGrid *) 0 ;
9207 int arg2 ;
9208 int result;
9209 PyObject * obj0 = 0 ;
9210 PyObject * obj1 = 0 ;
9211 char *kwnames[] = {
9212 (char *) "self",(char *) "x", NULL
9213 };
9214
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToEdgeOfCol",kwnames,&obj0,&obj1)) goto fail;
9216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9217 {
9218 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 }
9221 {
9222 PyThreadState* __tstate = wxPyBeginAllowThreads();
9223 result = (int)(arg1)->XToEdgeOfCol(arg2);
9224
9225 wxPyEndAllowThreads(__tstate);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
9228 resultobj = SWIG_PyObj_FromInt((int)result);
9229 return resultobj;
9230 fail:
9231 return NULL;
9232 }
9233
9234
9235 static PyObject *_wrap_Grid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9236 PyObject *resultobj;
9237 wxGrid *arg1 = (wxGrid *) 0 ;
9238 int arg2 ;
9239 int arg3 ;
9240 wxRect result;
9241 PyObject * obj0 = 0 ;
9242 PyObject * obj1 = 0 ;
9243 PyObject * obj2 = 0 ;
9244 char *kwnames[] = {
9245 (char *) "self",(char *) "row",(char *) "col", NULL
9246 };
9247
9248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_CellToRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
9249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9250 {
9251 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9252 if (PyErr_Occurred()) SWIG_fail;
9253 }
9254 {
9255 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 result = (arg1)->CellToRect(arg2,arg3);
9261
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) SWIG_fail;
9264 }
9265 {
9266 wxRect * resultptr;
9267 resultptr = new wxRect((wxRect &) result);
9268 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
9269 }
9270 return resultobj;
9271 fail:
9272 return NULL;
9273 }
9274
9275
9276 static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9277 PyObject *resultobj;
9278 wxGrid *arg1 = (wxGrid *) 0 ;
9279 int result;
9280 PyObject * obj0 = 0 ;
9281 char *kwnames[] = {
9282 (char *) "self", NULL
9283 };
9284
9285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorRow",kwnames,&obj0)) goto fail;
9286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9287 {
9288 PyThreadState* __tstate = wxPyBeginAllowThreads();
9289 result = (int)(arg1)->GetGridCursorRow();
9290
9291 wxPyEndAllowThreads(__tstate);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 }
9294 resultobj = SWIG_PyObj_FromInt((int)result);
9295 return resultobj;
9296 fail:
9297 return NULL;
9298 }
9299
9300
9301 static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9302 PyObject *resultobj;
9303 wxGrid *arg1 = (wxGrid *) 0 ;
9304 int result;
9305 PyObject * obj0 = 0 ;
9306 char *kwnames[] = {
9307 (char *) "self", NULL
9308 };
9309
9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorCol",kwnames,&obj0)) goto fail;
9311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9312 {
9313 PyThreadState* __tstate = wxPyBeginAllowThreads();
9314 result = (int)(arg1)->GetGridCursorCol();
9315
9316 wxPyEndAllowThreads(__tstate);
9317 if (PyErr_Occurred()) SWIG_fail;
9318 }
9319 resultobj = SWIG_PyObj_FromInt((int)result);
9320 return resultobj;
9321 fail:
9322 return NULL;
9323 }
9324
9325
9326 static PyObject *_wrap_Grid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9327 PyObject *resultobj;
9328 wxGrid *arg1 = (wxGrid *) 0 ;
9329 int arg2 ;
9330 int arg3 ;
9331 bool arg4 = (bool) True ;
9332 bool result;
9333 PyObject * obj0 = 0 ;
9334 PyObject * obj1 = 0 ;
9335 PyObject * obj2 = 0 ;
9336 PyObject * obj3 = 0 ;
9337 char *kwnames[] = {
9338 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9339 };
9340
9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_IsVisible",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9343 {
9344 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 {
9348 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9349 if (PyErr_Occurred()) SWIG_fail;
9350 }
9351 if (obj3) {
9352 {
9353 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 }
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 result = (bool)(arg1)->IsVisible(arg2,arg3,arg4);
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9365 return resultobj;
9366 fail:
9367 return NULL;
9368 }
9369
9370
9371 static PyObject *_wrap_Grid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj;
9373 wxGrid *arg1 = (wxGrid *) 0 ;
9374 int arg2 ;
9375 int arg3 ;
9376 PyObject * obj0 = 0 ;
9377 PyObject * obj1 = 0 ;
9378 PyObject * obj2 = 0 ;
9379 char *kwnames[] = {
9380 (char *) "self",(char *) "row",(char *) "col", NULL
9381 };
9382
9383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_MakeCellVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
9384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9385 {
9386 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 {
9390 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9391 if (PyErr_Occurred()) SWIG_fail;
9392 }
9393 {
9394 PyThreadState* __tstate = wxPyBeginAllowThreads();
9395 (arg1)->MakeCellVisible(arg2,arg3);
9396
9397 wxPyEndAllowThreads(__tstate);
9398 if (PyErr_Occurred()) SWIG_fail;
9399 }
9400 Py_INCREF(Py_None); resultobj = Py_None;
9401 return resultobj;
9402 fail:
9403 return NULL;
9404 }
9405
9406
9407 static PyObject *_wrap_Grid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9408 PyObject *resultobj;
9409 wxGrid *arg1 = (wxGrid *) 0 ;
9410 int arg2 ;
9411 int arg3 ;
9412 PyObject * obj0 = 0 ;
9413 PyObject * obj1 = 0 ;
9414 PyObject * obj2 = 0 ;
9415 char *kwnames[] = {
9416 (char *) "self",(char *) "row",(char *) "col", NULL
9417 };
9418
9419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetGridCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
9420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9421 {
9422 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 }
9425 {
9426 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 (arg1)->SetGridCursor(arg2,arg3);
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 Py_INCREF(Py_None); resultobj = Py_None;
9437 return resultobj;
9438 fail:
9439 return NULL;
9440 }
9441
9442
9443 static PyObject *_wrap_Grid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9444 PyObject *resultobj;
9445 wxGrid *arg1 = (wxGrid *) 0 ;
9446 bool arg2 ;
9447 bool result;
9448 PyObject * obj0 = 0 ;
9449 PyObject * obj1 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self",(char *) "expandSelection", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUp",kwnames,&obj0,&obj1)) goto fail;
9455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9456 {
9457 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 {
9461 PyThreadState* __tstate = wxPyBeginAllowThreads();
9462 result = (bool)(arg1)->MoveCursorUp(arg2);
9463
9464 wxPyEndAllowThreads(__tstate);
9465 if (PyErr_Occurred()) SWIG_fail;
9466 }
9467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9468 return resultobj;
9469 fail:
9470 return NULL;
9471 }
9472
9473
9474 static PyObject *_wrap_Grid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9475 PyObject *resultobj;
9476 wxGrid *arg1 = (wxGrid *) 0 ;
9477 bool arg2 ;
9478 bool result;
9479 PyObject * obj0 = 0 ;
9480 PyObject * obj1 = 0 ;
9481 char *kwnames[] = {
9482 (char *) "self",(char *) "expandSelection", NULL
9483 };
9484
9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDown",kwnames,&obj0,&obj1)) goto fail;
9486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9487 {
9488 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 }
9491 {
9492 PyThreadState* __tstate = wxPyBeginAllowThreads();
9493 result = (bool)(arg1)->MoveCursorDown(arg2);
9494
9495 wxPyEndAllowThreads(__tstate);
9496 if (PyErr_Occurred()) SWIG_fail;
9497 }
9498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9499 return resultobj;
9500 fail:
9501 return NULL;
9502 }
9503
9504
9505 static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9506 PyObject *resultobj;
9507 wxGrid *arg1 = (wxGrid *) 0 ;
9508 bool arg2 ;
9509 bool result;
9510 PyObject * obj0 = 0 ;
9511 PyObject * obj1 = 0 ;
9512 char *kwnames[] = {
9513 (char *) "self",(char *) "expandSelection", NULL
9514 };
9515
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeft",kwnames,&obj0,&obj1)) goto fail;
9517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9518 {
9519 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9520 if (PyErr_Occurred()) SWIG_fail;
9521 }
9522 {
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 result = (bool)(arg1)->MoveCursorLeft(arg2);
9525
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9530 return resultobj;
9531 fail:
9532 return NULL;
9533 }
9534
9535
9536 static PyObject *_wrap_Grid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9537 PyObject *resultobj;
9538 wxGrid *arg1 = (wxGrid *) 0 ;
9539 bool arg2 ;
9540 bool result;
9541 PyObject * obj0 = 0 ;
9542 PyObject * obj1 = 0 ;
9543 char *kwnames[] = {
9544 (char *) "self",(char *) "expandSelection", NULL
9545 };
9546
9547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRight",kwnames,&obj0,&obj1)) goto fail;
9548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9549 {
9550 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
9553 {
9554 PyThreadState* __tstate = wxPyBeginAllowThreads();
9555 result = (bool)(arg1)->MoveCursorRight(arg2);
9556
9557 wxPyEndAllowThreads(__tstate);
9558 if (PyErr_Occurred()) SWIG_fail;
9559 }
9560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9561 return resultobj;
9562 fail:
9563 return NULL;
9564 }
9565
9566
9567 static PyObject *_wrap_Grid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9568 PyObject *resultobj;
9569 wxGrid *arg1 = (wxGrid *) 0 ;
9570 bool result;
9571 PyObject * obj0 = 0 ;
9572 char *kwnames[] = {
9573 (char *) "self", NULL
9574 };
9575
9576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageDown",kwnames,&obj0)) goto fail;
9577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9578 {
9579 PyThreadState* __tstate = wxPyBeginAllowThreads();
9580 result = (bool)(arg1)->MovePageDown();
9581
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9586 return resultobj;
9587 fail:
9588 return NULL;
9589 }
9590
9591
9592 static PyObject *_wrap_Grid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9593 PyObject *resultobj;
9594 wxGrid *arg1 = (wxGrid *) 0 ;
9595 bool result;
9596 PyObject * obj0 = 0 ;
9597 char *kwnames[] = {
9598 (char *) "self", NULL
9599 };
9600
9601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageUp",kwnames,&obj0)) goto fail;
9602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9603 {
9604 PyThreadState* __tstate = wxPyBeginAllowThreads();
9605 result = (bool)(arg1)->MovePageUp();
9606
9607 wxPyEndAllowThreads(__tstate);
9608 if (PyErr_Occurred()) SWIG_fail;
9609 }
9610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9611 return resultobj;
9612 fail:
9613 return NULL;
9614 }
9615
9616
9617 static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9618 PyObject *resultobj;
9619 wxGrid *arg1 = (wxGrid *) 0 ;
9620 bool arg2 ;
9621 bool result;
9622 PyObject * obj0 = 0 ;
9623 PyObject * obj1 = 0 ;
9624 char *kwnames[] = {
9625 (char *) "self",(char *) "expandSelection", NULL
9626 };
9627
9628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUpBlock",kwnames,&obj0,&obj1)) goto fail;
9629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9630 {
9631 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9632 if (PyErr_Occurred()) SWIG_fail;
9633 }
9634 {
9635 PyThreadState* __tstate = wxPyBeginAllowThreads();
9636 result = (bool)(arg1)->MoveCursorUpBlock(arg2);
9637
9638 wxPyEndAllowThreads(__tstate);
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9642 return resultobj;
9643 fail:
9644 return NULL;
9645 }
9646
9647
9648 static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9649 PyObject *resultobj;
9650 wxGrid *arg1 = (wxGrid *) 0 ;
9651 bool arg2 ;
9652 bool result;
9653 PyObject * obj0 = 0 ;
9654 PyObject * obj1 = 0 ;
9655 char *kwnames[] = {
9656 (char *) "self",(char *) "expandSelection", NULL
9657 };
9658
9659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDownBlock",kwnames,&obj0,&obj1)) goto fail;
9660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9661 {
9662 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 result = (bool)(arg1)->MoveCursorDownBlock(arg2);
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9673 return resultobj;
9674 fail:
9675 return NULL;
9676 }
9677
9678
9679 static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9680 PyObject *resultobj;
9681 wxGrid *arg1 = (wxGrid *) 0 ;
9682 bool arg2 ;
9683 bool result;
9684 PyObject * obj0 = 0 ;
9685 PyObject * obj1 = 0 ;
9686 char *kwnames[] = {
9687 (char *) "self",(char *) "expandSelection", NULL
9688 };
9689
9690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames,&obj0,&obj1)) goto fail;
9691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9692 {
9693 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 }
9696 {
9697 PyThreadState* __tstate = wxPyBeginAllowThreads();
9698 result = (bool)(arg1)->MoveCursorLeftBlock(arg2);
9699
9700 wxPyEndAllowThreads(__tstate);
9701 if (PyErr_Occurred()) SWIG_fail;
9702 }
9703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9704 return resultobj;
9705 fail:
9706 return NULL;
9707 }
9708
9709
9710 static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9711 PyObject *resultobj;
9712 wxGrid *arg1 = (wxGrid *) 0 ;
9713 bool arg2 ;
9714 bool result;
9715 PyObject * obj0 = 0 ;
9716 PyObject * obj1 = 0 ;
9717 char *kwnames[] = {
9718 (char *) "self",(char *) "expandSelection", NULL
9719 };
9720
9721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRightBlock",kwnames,&obj0,&obj1)) goto fail;
9722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9723 {
9724 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 {
9728 PyThreadState* __tstate = wxPyBeginAllowThreads();
9729 result = (bool)(arg1)->MoveCursorRightBlock(arg2);
9730
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9735 return resultobj;
9736 fail:
9737 return NULL;
9738 }
9739
9740
9741 static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9742 PyObject *resultobj;
9743 wxGrid *arg1 = (wxGrid *) 0 ;
9744 int result;
9745 PyObject * obj0 = 0 ;
9746 char *kwnames[] = {
9747 (char *) "self", NULL
9748 };
9749
9750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames,&obj0)) goto fail;
9751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 result = (int)(arg1)->GetDefaultRowLabelSize();
9755
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 resultobj = SWIG_PyObj_FromInt((int)result);
9760 return resultobj;
9761 fail:
9762 return NULL;
9763 }
9764
9765
9766 static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9767 PyObject *resultobj;
9768 wxGrid *arg1 = (wxGrid *) 0 ;
9769 int result;
9770 PyObject * obj0 = 0 ;
9771 char *kwnames[] = {
9772 (char *) "self", NULL
9773 };
9774
9775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelSize",kwnames,&obj0)) goto fail;
9776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9777 {
9778 PyThreadState* __tstate = wxPyBeginAllowThreads();
9779 result = (int)(arg1)->GetRowLabelSize();
9780
9781 wxPyEndAllowThreads(__tstate);
9782 if (PyErr_Occurred()) SWIG_fail;
9783 }
9784 resultobj = SWIG_PyObj_FromInt((int)result);
9785 return resultobj;
9786 fail:
9787 return NULL;
9788 }
9789
9790
9791 static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9792 PyObject *resultobj;
9793 wxGrid *arg1 = (wxGrid *) 0 ;
9794 int result;
9795 PyObject * obj0 = 0 ;
9796 char *kwnames[] = {
9797 (char *) "self", NULL
9798 };
9799
9800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColLabelSize",kwnames,&obj0)) goto fail;
9801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9802 {
9803 PyThreadState* __tstate = wxPyBeginAllowThreads();
9804 result = (int)(arg1)->GetDefaultColLabelSize();
9805
9806 wxPyEndAllowThreads(__tstate);
9807 if (PyErr_Occurred()) SWIG_fail;
9808 }
9809 resultobj = SWIG_PyObj_FromInt((int)result);
9810 return resultobj;
9811 fail:
9812 return NULL;
9813 }
9814
9815
9816 static PyObject *_wrap_Grid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9817 PyObject *resultobj;
9818 wxGrid *arg1 = (wxGrid *) 0 ;
9819 int result;
9820 PyObject * obj0 = 0 ;
9821 char *kwnames[] = {
9822 (char *) "self", NULL
9823 };
9824
9825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelSize",kwnames,&obj0)) goto fail;
9826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9827 {
9828 PyThreadState* __tstate = wxPyBeginAllowThreads();
9829 result = (int)(arg1)->GetColLabelSize();
9830
9831 wxPyEndAllowThreads(__tstate);
9832 if (PyErr_Occurred()) SWIG_fail;
9833 }
9834 resultobj = SWIG_PyObj_FromInt((int)result);
9835 return resultobj;
9836 fail:
9837 return NULL;
9838 }
9839
9840
9841 static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9842 PyObject *resultobj;
9843 wxGrid *arg1 = (wxGrid *) 0 ;
9844 wxColour result;
9845 PyObject * obj0 = 0 ;
9846 char *kwnames[] = {
9847 (char *) "self", NULL
9848 };
9849
9850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelBackgroundColour",kwnames,&obj0)) goto fail;
9851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 result = (arg1)->GetLabelBackgroundColour();
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 {
9860 wxColour * resultptr;
9861 resultptr = new wxColour((wxColour &) result);
9862 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9863 }
9864 return resultobj;
9865 fail:
9866 return NULL;
9867 }
9868
9869
9870 static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9871 PyObject *resultobj;
9872 wxGrid *arg1 = (wxGrid *) 0 ;
9873 wxColour result;
9874 PyObject * obj0 = 0 ;
9875 char *kwnames[] = {
9876 (char *) "self", NULL
9877 };
9878
9879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelTextColour",kwnames,&obj0)) goto fail;
9880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 result = (arg1)->GetLabelTextColour();
9884
9885 wxPyEndAllowThreads(__tstate);
9886 if (PyErr_Occurred()) SWIG_fail;
9887 }
9888 {
9889 wxColour * resultptr;
9890 resultptr = new wxColour((wxColour &) result);
9891 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9892 }
9893 return resultobj;
9894 fail:
9895 return NULL;
9896 }
9897
9898
9899 static PyObject *_wrap_Grid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9900 PyObject *resultobj;
9901 wxGrid *arg1 = (wxGrid *) 0 ;
9902 wxFont result;
9903 PyObject * obj0 = 0 ;
9904 char *kwnames[] = {
9905 (char *) "self", NULL
9906 };
9907
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelFont",kwnames,&obj0)) goto fail;
9909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9910 {
9911 PyThreadState* __tstate = wxPyBeginAllowThreads();
9912 result = (arg1)->GetLabelFont();
9913
9914 wxPyEndAllowThreads(__tstate);
9915 if (PyErr_Occurred()) SWIG_fail;
9916 }
9917 {
9918 wxFont * resultptr;
9919 resultptr = new wxFont((wxFont &) result);
9920 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
9921 }
9922 return resultobj;
9923 fail:
9924 return NULL;
9925 }
9926
9927
9928 static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxGrid *arg1 = (wxGrid *) 0 ;
9931 int *arg2 = (int *) 0 ;
9932 int *arg3 = (int *) 0 ;
9933 int temp2 ;
9934 int temp3 ;
9935 PyObject * obj0 = 0 ;
9936 char *kwnames[] = {
9937 (char *) "self", NULL
9938 };
9939
9940 arg2 = &temp2;
9941 arg3 = &temp3;
9942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelAlignment",kwnames,&obj0)) goto fail;
9943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 (arg1)->GetRowLabelAlignment(arg2,arg3);
9947
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 }
9951 Py_INCREF(Py_None); resultobj = Py_None;
9952 {
9953 PyObject *o = PyInt_FromLong((long) (*arg2));
9954 resultobj = t_output_helper(resultobj,o);
9955 }
9956 {
9957 PyObject *o = PyInt_FromLong((long) (*arg3));
9958 resultobj = t_output_helper(resultobj,o);
9959 }
9960 return resultobj;
9961 fail:
9962 return NULL;
9963 }
9964
9965
9966 static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9967 PyObject *resultobj;
9968 wxGrid *arg1 = (wxGrid *) 0 ;
9969 int *arg2 = (int *) 0 ;
9970 int *arg3 = (int *) 0 ;
9971 int temp2 ;
9972 int temp3 ;
9973 PyObject * obj0 = 0 ;
9974 char *kwnames[] = {
9975 (char *) "self", NULL
9976 };
9977
9978 arg2 = &temp2;
9979 arg3 = &temp3;
9980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelAlignment",kwnames,&obj0)) goto fail;
9981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9982 {
9983 PyThreadState* __tstate = wxPyBeginAllowThreads();
9984 (arg1)->GetColLabelAlignment(arg2,arg3);
9985
9986 wxPyEndAllowThreads(__tstate);
9987 if (PyErr_Occurred()) SWIG_fail;
9988 }
9989 Py_INCREF(Py_None); resultobj = Py_None;
9990 {
9991 PyObject *o = PyInt_FromLong((long) (*arg2));
9992 resultobj = t_output_helper(resultobj,o);
9993 }
9994 {
9995 PyObject *o = PyInt_FromLong((long) (*arg3));
9996 resultobj = t_output_helper(resultobj,o);
9997 }
9998 return resultobj;
9999 fail:
10000 return NULL;
10001 }
10002
10003
10004 static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10005 PyObject *resultobj;
10006 wxGrid *arg1 = (wxGrid *) 0 ;
10007 int result;
10008 PyObject * obj0 = 0 ;
10009 char *kwnames[] = {
10010 (char *) "self", NULL
10011 };
10012
10013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelTextOrientation",kwnames,&obj0)) goto fail;
10014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10015 {
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
10017 result = (int)(arg1)->GetColLabelTextOrientation();
10018
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
10022 resultobj = SWIG_PyObj_FromInt((int)result);
10023 return resultobj;
10024 fail:
10025 return NULL;
10026 }
10027
10028
10029 static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10030 PyObject *resultobj;
10031 wxGrid *arg1 = (wxGrid *) 0 ;
10032 int arg2 ;
10033 wxString result;
10034 PyObject * obj0 = 0 ;
10035 PyObject * obj1 = 0 ;
10036 char *kwnames[] = {
10037 (char *) "self",(char *) "row", NULL
10038 };
10039
10040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
10041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10042 {
10043 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
10046 {
10047 PyThreadState* __tstate = wxPyBeginAllowThreads();
10048 result = (arg1)->GetRowLabelValue(arg2);
10049
10050 wxPyEndAllowThreads(__tstate);
10051 if (PyErr_Occurred()) SWIG_fail;
10052 }
10053 {
10054 #if wxUSE_UNICODE
10055 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10056 #else
10057 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10058 #endif
10059 }
10060 return resultobj;
10061 fail:
10062 return NULL;
10063 }
10064
10065
10066 static PyObject *_wrap_Grid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10067 PyObject *resultobj;
10068 wxGrid *arg1 = (wxGrid *) 0 ;
10069 int arg2 ;
10070 wxString result;
10071 PyObject * obj0 = 0 ;
10072 PyObject * obj1 = 0 ;
10073 char *kwnames[] = {
10074 (char *) "self",(char *) "col", NULL
10075 };
10076
10077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
10078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10079 {
10080 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 result = (arg1)->GetColLabelValue(arg2);
10086
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 {
10091 #if wxUSE_UNICODE
10092 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10093 #else
10094 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10095 #endif
10096 }
10097 return resultobj;
10098 fail:
10099 return NULL;
10100 }
10101
10102
10103 static PyObject *_wrap_Grid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10104 PyObject *resultobj;
10105 wxGrid *arg1 = (wxGrid *) 0 ;
10106 wxColour result;
10107 PyObject * obj0 = 0 ;
10108 char *kwnames[] = {
10109 (char *) "self", NULL
10110 };
10111
10112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridLineColour",kwnames,&obj0)) goto fail;
10113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10114 {
10115 PyThreadState* __tstate = wxPyBeginAllowThreads();
10116 result = (arg1)->GetGridLineColour();
10117
10118 wxPyEndAllowThreads(__tstate);
10119 if (PyErr_Occurred()) SWIG_fail;
10120 }
10121 {
10122 wxColour * resultptr;
10123 resultptr = new wxColour((wxColour &) result);
10124 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10125 }
10126 return resultobj;
10127 fail:
10128 return NULL;
10129 }
10130
10131
10132 static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10133 PyObject *resultobj;
10134 wxGrid *arg1 = (wxGrid *) 0 ;
10135 wxColour result;
10136 PyObject * obj0 = 0 ;
10137 char *kwnames[] = {
10138 (char *) "self", NULL
10139 };
10140
10141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightColour",kwnames,&obj0)) goto fail;
10142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10143 {
10144 PyThreadState* __tstate = wxPyBeginAllowThreads();
10145 result = (arg1)->GetCellHighlightColour();
10146
10147 wxPyEndAllowThreads(__tstate);
10148 if (PyErr_Occurred()) SWIG_fail;
10149 }
10150 {
10151 wxColour * resultptr;
10152 resultptr = new wxColour((wxColour &) result);
10153 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10154 }
10155 return resultobj;
10156 fail:
10157 return NULL;
10158 }
10159
10160
10161 static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10162 PyObject *resultobj;
10163 wxGrid *arg1 = (wxGrid *) 0 ;
10164 int result;
10165 PyObject * obj0 = 0 ;
10166 char *kwnames[] = {
10167 (char *) "self", NULL
10168 };
10169
10170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames,&obj0)) goto fail;
10171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10172 {
10173 PyThreadState* __tstate = wxPyBeginAllowThreads();
10174 result = (int)(arg1)->GetCellHighlightPenWidth();
10175
10176 wxPyEndAllowThreads(__tstate);
10177 if (PyErr_Occurred()) SWIG_fail;
10178 }
10179 resultobj = SWIG_PyObj_FromInt((int)result);
10180 return resultobj;
10181 fail:
10182 return NULL;
10183 }
10184
10185
10186 static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10187 PyObject *resultobj;
10188 wxGrid *arg1 = (wxGrid *) 0 ;
10189 int result;
10190 PyObject * obj0 = 0 ;
10191 char *kwnames[] = {
10192 (char *) "self", NULL
10193 };
10194
10195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames,&obj0)) goto fail;
10196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10197 {
10198 PyThreadState* __tstate = wxPyBeginAllowThreads();
10199 result = (int)(arg1)->GetCellHighlightROPenWidth();
10200
10201 wxPyEndAllowThreads(__tstate);
10202 if (PyErr_Occurred()) SWIG_fail;
10203 }
10204 resultobj = SWIG_PyObj_FromInt((int)result);
10205 return resultobj;
10206 fail:
10207 return NULL;
10208 }
10209
10210
10211 static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10212 PyObject *resultobj;
10213 wxGrid *arg1 = (wxGrid *) 0 ;
10214 int arg2 ;
10215 PyObject * obj0 = 0 ;
10216 PyObject * obj1 = 0 ;
10217 char *kwnames[] = {
10218 (char *) "self",(char *) "width", NULL
10219 };
10220
10221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
10222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10223 {
10224 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 }
10227 {
10228 PyThreadState* __tstate = wxPyBeginAllowThreads();
10229 (arg1)->SetRowLabelSize(arg2);
10230
10231 wxPyEndAllowThreads(__tstate);
10232 if (PyErr_Occurred()) SWIG_fail;
10233 }
10234 Py_INCREF(Py_None); resultobj = Py_None;
10235 return resultobj;
10236 fail:
10237 return NULL;
10238 }
10239
10240
10241 static PyObject *_wrap_Grid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10242 PyObject *resultobj;
10243 wxGrid *arg1 = (wxGrid *) 0 ;
10244 int arg2 ;
10245 PyObject * obj0 = 0 ;
10246 PyObject * obj1 = 0 ;
10247 char *kwnames[] = {
10248 (char *) "self",(char *) "height", NULL
10249 };
10250
10251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelSize",kwnames,&obj0,&obj1)) goto fail;
10252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10253 {
10254 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
10257 {
10258 PyThreadState* __tstate = wxPyBeginAllowThreads();
10259 (arg1)->SetColLabelSize(arg2);
10260
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 Py_INCREF(Py_None); resultobj = Py_None;
10265 return resultobj;
10266 fail:
10267 return NULL;
10268 }
10269
10270
10271 static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10272 PyObject *resultobj;
10273 wxGrid *arg1 = (wxGrid *) 0 ;
10274 wxColour *arg2 = 0 ;
10275 wxColour temp2 ;
10276 PyObject * obj0 = 0 ;
10277 PyObject * obj1 = 0 ;
10278 char *kwnames[] = {
10279 (char *) "self","arg2", NULL
10280 };
10281
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
10283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10284 {
10285 arg2 = &temp2;
10286 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10287 }
10288 {
10289 PyThreadState* __tstate = wxPyBeginAllowThreads();
10290 (arg1)->SetLabelBackgroundColour((wxColour const &)*arg2);
10291
10292 wxPyEndAllowThreads(__tstate);
10293 if (PyErr_Occurred()) SWIG_fail;
10294 }
10295 Py_INCREF(Py_None); resultobj = Py_None;
10296 return resultobj;
10297 fail:
10298 return NULL;
10299 }
10300
10301
10302 static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10303 PyObject *resultobj;
10304 wxGrid *arg1 = (wxGrid *) 0 ;
10305 wxColour *arg2 = 0 ;
10306 wxColour temp2 ;
10307 PyObject * obj0 = 0 ;
10308 PyObject * obj1 = 0 ;
10309 char *kwnames[] = {
10310 (char *) "self","arg2", NULL
10311 };
10312
10313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelTextColour",kwnames,&obj0,&obj1)) goto fail;
10314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10315 {
10316 arg2 = &temp2;
10317 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10318 }
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
10321 (arg1)->SetLabelTextColour((wxColour const &)*arg2);
10322
10323 wxPyEndAllowThreads(__tstate);
10324 if (PyErr_Occurred()) SWIG_fail;
10325 }
10326 Py_INCREF(Py_None); resultobj = Py_None;
10327 return resultobj;
10328 fail:
10329 return NULL;
10330 }
10331
10332
10333 static PyObject *_wrap_Grid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10334 PyObject *resultobj;
10335 wxGrid *arg1 = (wxGrid *) 0 ;
10336 wxFont *arg2 = 0 ;
10337 PyObject * obj0 = 0 ;
10338 PyObject * obj1 = 0 ;
10339 char *kwnames[] = {
10340 (char *) "self","arg2", NULL
10341 };
10342
10343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelFont",kwnames,&obj0,&obj1)) goto fail;
10344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10346 if (arg2 == NULL) {
10347 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10348 }
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 (arg1)->SetLabelFont((wxFont const &)*arg2);
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 Py_INCREF(Py_None); resultobj = Py_None;
10357 return resultobj;
10358 fail:
10359 return NULL;
10360 }
10361
10362
10363 static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10364 PyObject *resultobj;
10365 wxGrid *arg1 = (wxGrid *) 0 ;
10366 int arg2 ;
10367 int arg3 ;
10368 PyObject * obj0 = 0 ;
10369 PyObject * obj1 = 0 ;
10370 PyObject * obj2 = 0 ;
10371 char *kwnames[] = {
10372 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10373 };
10374
10375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
10376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10377 {
10378 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10379 if (PyErr_Occurred()) SWIG_fail;
10380 }
10381 {
10382 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
10387 (arg1)->SetRowLabelAlignment(arg2,arg3);
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 Py_INCREF(Py_None); resultobj = Py_None;
10393 return resultobj;
10394 fail:
10395 return NULL;
10396 }
10397
10398
10399 static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10400 PyObject *resultobj;
10401 wxGrid *arg1 = (wxGrid *) 0 ;
10402 int arg2 ;
10403 int arg3 ;
10404 PyObject * obj0 = 0 ;
10405 PyObject * obj1 = 0 ;
10406 PyObject * obj2 = 0 ;
10407 char *kwnames[] = {
10408 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10409 };
10410
10411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
10412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10413 {
10414 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 }
10417 {
10418 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10419 if (PyErr_Occurred()) SWIG_fail;
10420 }
10421 {
10422 PyThreadState* __tstate = wxPyBeginAllowThreads();
10423 (arg1)->SetColLabelAlignment(arg2,arg3);
10424
10425 wxPyEndAllowThreads(__tstate);
10426 if (PyErr_Occurred()) SWIG_fail;
10427 }
10428 Py_INCREF(Py_None); resultobj = Py_None;
10429 return resultobj;
10430 fail:
10431 return NULL;
10432 }
10433
10434
10435 static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10436 PyObject *resultobj;
10437 wxGrid *arg1 = (wxGrid *) 0 ;
10438 int arg2 ;
10439 PyObject * obj0 = 0 ;
10440 PyObject * obj1 = 0 ;
10441 char *kwnames[] = {
10442 (char *) "self",(char *) "textOrientation", NULL
10443 };
10444
10445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames,&obj0,&obj1)) goto fail;
10446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10447 {
10448 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 {
10452 PyThreadState* __tstate = wxPyBeginAllowThreads();
10453 (arg1)->SetColLabelTextOrientation(arg2);
10454
10455 wxPyEndAllowThreads(__tstate);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 }
10458 Py_INCREF(Py_None); resultobj = Py_None;
10459 return resultobj;
10460 fail:
10461 return NULL;
10462 }
10463
10464
10465 static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10466 PyObject *resultobj;
10467 wxGrid *arg1 = (wxGrid *) 0 ;
10468 int arg2 ;
10469 wxString *arg3 = 0 ;
10470 bool temp3 = False ;
10471 PyObject * obj0 = 0 ;
10472 PyObject * obj1 = 0 ;
10473 PyObject * obj2 = 0 ;
10474 char *kwnames[] = {
10475 (char *) "self",(char *) "row","arg3", NULL
10476 };
10477
10478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
10479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10480 {
10481 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10482 if (PyErr_Occurred()) SWIG_fail;
10483 }
10484 {
10485 arg3 = wxString_in_helper(obj2);
10486 if (arg3 == NULL) SWIG_fail;
10487 temp3 = True;
10488 }
10489 {
10490 PyThreadState* __tstate = wxPyBeginAllowThreads();
10491 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
10492
10493 wxPyEndAllowThreads(__tstate);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 }
10496 Py_INCREF(Py_None); resultobj = Py_None;
10497 {
10498 if (temp3)
10499 delete arg3;
10500 }
10501 return resultobj;
10502 fail:
10503 {
10504 if (temp3)
10505 delete arg3;
10506 }
10507 return NULL;
10508 }
10509
10510
10511 static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10512 PyObject *resultobj;
10513 wxGrid *arg1 = (wxGrid *) 0 ;
10514 int arg2 ;
10515 wxString *arg3 = 0 ;
10516 bool temp3 = False ;
10517 PyObject * obj0 = 0 ;
10518 PyObject * obj1 = 0 ;
10519 PyObject * obj2 = 0 ;
10520 char *kwnames[] = {
10521 (char *) "self",(char *) "col","arg3", NULL
10522 };
10523
10524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
10525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10526 {
10527 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10528 if (PyErr_Occurred()) SWIG_fail;
10529 }
10530 {
10531 arg3 = wxString_in_helper(obj2);
10532 if (arg3 == NULL) SWIG_fail;
10533 temp3 = True;
10534 }
10535 {
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
10537 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
10538
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 Py_INCREF(Py_None); resultobj = Py_None;
10543 {
10544 if (temp3)
10545 delete arg3;
10546 }
10547 return resultobj;
10548 fail:
10549 {
10550 if (temp3)
10551 delete arg3;
10552 }
10553 return NULL;
10554 }
10555
10556
10557 static PyObject *_wrap_Grid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10558 PyObject *resultobj;
10559 wxGrid *arg1 = (wxGrid *) 0 ;
10560 wxColour *arg2 = 0 ;
10561 wxColour temp2 ;
10562 PyObject * obj0 = 0 ;
10563 PyObject * obj1 = 0 ;
10564 char *kwnames[] = {
10565 (char *) "self","arg2", NULL
10566 };
10567
10568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetGridLineColour",kwnames,&obj0,&obj1)) goto fail;
10569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10570 {
10571 arg2 = &temp2;
10572 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10573 }
10574 {
10575 PyThreadState* __tstate = wxPyBeginAllowThreads();
10576 (arg1)->SetGridLineColour((wxColour const &)*arg2);
10577
10578 wxPyEndAllowThreads(__tstate);
10579 if (PyErr_Occurred()) SWIG_fail;
10580 }
10581 Py_INCREF(Py_None); resultobj = Py_None;
10582 return resultobj;
10583 fail:
10584 return NULL;
10585 }
10586
10587
10588 static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10589 PyObject *resultobj;
10590 wxGrid *arg1 = (wxGrid *) 0 ;
10591 wxColour *arg2 = 0 ;
10592 wxColour temp2 ;
10593 PyObject * obj0 = 0 ;
10594 PyObject * obj1 = 0 ;
10595 char *kwnames[] = {
10596 (char *) "self","arg2", NULL
10597 };
10598
10599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightColour",kwnames,&obj0,&obj1)) goto fail;
10600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10601 {
10602 arg2 = &temp2;
10603 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10604 }
10605 {
10606 PyThreadState* __tstate = wxPyBeginAllowThreads();
10607 (arg1)->SetCellHighlightColour((wxColour const &)*arg2);
10608
10609 wxPyEndAllowThreads(__tstate);
10610 if (PyErr_Occurred()) SWIG_fail;
10611 }
10612 Py_INCREF(Py_None); resultobj = Py_None;
10613 return resultobj;
10614 fail:
10615 return NULL;
10616 }
10617
10618
10619 static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10620 PyObject *resultobj;
10621 wxGrid *arg1 = (wxGrid *) 0 ;
10622 int arg2 ;
10623 PyObject * obj0 = 0 ;
10624 PyObject * obj1 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "self",(char *) "width", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames,&obj0,&obj1)) goto fail;
10630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10631 {
10632 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10633 if (PyErr_Occurred()) SWIG_fail;
10634 }
10635 {
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
10637 (arg1)->SetCellHighlightPenWidth(arg2);
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 Py_INCREF(Py_None); resultobj = Py_None;
10643 return resultobj;
10644 fail:
10645 return NULL;
10646 }
10647
10648
10649 static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10650 PyObject *resultobj;
10651 wxGrid *arg1 = (wxGrid *) 0 ;
10652 int arg2 ;
10653 PyObject * obj0 = 0 ;
10654 PyObject * obj1 = 0 ;
10655 char *kwnames[] = {
10656 (char *) "self",(char *) "width", NULL
10657 };
10658
10659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames,&obj0,&obj1)) goto fail;
10660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10661 {
10662 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 {
10666 PyThreadState* __tstate = wxPyBeginAllowThreads();
10667 (arg1)->SetCellHighlightROPenWidth(arg2);
10668
10669 wxPyEndAllowThreads(__tstate);
10670 if (PyErr_Occurred()) SWIG_fail;
10671 }
10672 Py_INCREF(Py_None); resultobj = Py_None;
10673 return resultobj;
10674 fail:
10675 return NULL;
10676 }
10677
10678
10679 static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10680 PyObject *resultobj;
10681 wxGrid *arg1 = (wxGrid *) 0 ;
10682 bool arg2 = (bool) True ;
10683 PyObject * obj0 = 0 ;
10684 PyObject * obj1 = 0 ;
10685 char *kwnames[] = {
10686 (char *) "self",(char *) "enable", NULL
10687 };
10688
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragRowSize",kwnames,&obj0,&obj1)) goto fail;
10690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10691 if (obj1) {
10692 {
10693 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
10694 if (PyErr_Occurred()) SWIG_fail;
10695 }
10696 }
10697 {
10698 PyThreadState* __tstate = wxPyBeginAllowThreads();
10699 (arg1)->EnableDragRowSize(arg2);
10700
10701 wxPyEndAllowThreads(__tstate);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 }
10704 Py_INCREF(Py_None); resultobj = Py_None;
10705 return resultobj;
10706 fail:
10707 return NULL;
10708 }
10709
10710
10711 static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10712 PyObject *resultobj;
10713 wxGrid *arg1 = (wxGrid *) 0 ;
10714 PyObject * obj0 = 0 ;
10715 char *kwnames[] = {
10716 (char *) "self", NULL
10717 };
10718
10719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragRowSize",kwnames,&obj0)) goto fail;
10720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 (arg1)->DisableDragRowSize();
10724
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
10728 Py_INCREF(Py_None); resultobj = Py_None;
10729 return resultobj;
10730 fail:
10731 return NULL;
10732 }
10733
10734
10735 static PyObject *_wrap_Grid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10736 PyObject *resultobj;
10737 wxGrid *arg1 = (wxGrid *) 0 ;
10738 bool result;
10739 PyObject * obj0 = 0 ;
10740 char *kwnames[] = {
10741 (char *) "self", NULL
10742 };
10743
10744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragRowSize",kwnames,&obj0)) goto fail;
10745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10746 {
10747 PyThreadState* __tstate = wxPyBeginAllowThreads();
10748 result = (bool)(arg1)->CanDragRowSize();
10749
10750 wxPyEndAllowThreads(__tstate);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 }
10753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10754 return resultobj;
10755 fail:
10756 return NULL;
10757 }
10758
10759
10760 static PyObject *_wrap_Grid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10761 PyObject *resultobj;
10762 wxGrid *arg1 = (wxGrid *) 0 ;
10763 bool arg2 = (bool) True ;
10764 PyObject * obj0 = 0 ;
10765 PyObject * obj1 = 0 ;
10766 char *kwnames[] = {
10767 (char *) "self",(char *) "enable", NULL
10768 };
10769
10770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragColSize",kwnames,&obj0,&obj1)) goto fail;
10771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10772 if (obj1) {
10773 {
10774 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 }
10778 {
10779 PyThreadState* __tstate = wxPyBeginAllowThreads();
10780 (arg1)->EnableDragColSize(arg2);
10781
10782 wxPyEndAllowThreads(__tstate);
10783 if (PyErr_Occurred()) SWIG_fail;
10784 }
10785 Py_INCREF(Py_None); resultobj = Py_None;
10786 return resultobj;
10787 fail:
10788 return NULL;
10789 }
10790
10791
10792 static PyObject *_wrap_Grid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10793 PyObject *resultobj;
10794 wxGrid *arg1 = (wxGrid *) 0 ;
10795 PyObject * obj0 = 0 ;
10796 char *kwnames[] = {
10797 (char *) "self", NULL
10798 };
10799
10800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragColSize",kwnames,&obj0)) goto fail;
10801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10802 {
10803 PyThreadState* __tstate = wxPyBeginAllowThreads();
10804 (arg1)->DisableDragColSize();
10805
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 Py_INCREF(Py_None); resultobj = Py_None;
10810 return resultobj;
10811 fail:
10812 return NULL;
10813 }
10814
10815
10816 static PyObject *_wrap_Grid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10817 PyObject *resultobj;
10818 wxGrid *arg1 = (wxGrid *) 0 ;
10819 bool result;
10820 PyObject * obj0 = 0 ;
10821 char *kwnames[] = {
10822 (char *) "self", NULL
10823 };
10824
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragColSize",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 result = (bool)(arg1)->CanDragColSize();
10830
10831 wxPyEndAllowThreads(__tstate);
10832 if (PyErr_Occurred()) SWIG_fail;
10833 }
10834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10835 return resultobj;
10836 fail:
10837 return NULL;
10838 }
10839
10840
10841 static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10842 PyObject *resultobj;
10843 wxGrid *arg1 = (wxGrid *) 0 ;
10844 bool arg2 = (bool) True ;
10845 PyObject * obj0 = 0 ;
10846 PyObject * obj1 = 0 ;
10847 char *kwnames[] = {
10848 (char *) "self",(char *) "enable", NULL
10849 };
10850
10851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragGridSize",kwnames,&obj0,&obj1)) goto fail;
10852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10853 if (obj1) {
10854 {
10855 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 }
10859 {
10860 PyThreadState* __tstate = wxPyBeginAllowThreads();
10861 (arg1)->EnableDragGridSize(arg2);
10862
10863 wxPyEndAllowThreads(__tstate);
10864 if (PyErr_Occurred()) SWIG_fail;
10865 }
10866 Py_INCREF(Py_None); resultobj = Py_None;
10867 return resultobj;
10868 fail:
10869 return NULL;
10870 }
10871
10872
10873 static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10874 PyObject *resultobj;
10875 wxGrid *arg1 = (wxGrid *) 0 ;
10876 PyObject * obj0 = 0 ;
10877 char *kwnames[] = {
10878 (char *) "self", NULL
10879 };
10880
10881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragGridSize",kwnames,&obj0)) goto fail;
10882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 (arg1)->DisableDragGridSize();
10886
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
10890 Py_INCREF(Py_None); resultobj = Py_None;
10891 return resultobj;
10892 fail:
10893 return NULL;
10894 }
10895
10896
10897 static PyObject *_wrap_Grid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10898 PyObject *resultobj;
10899 wxGrid *arg1 = (wxGrid *) 0 ;
10900 bool result;
10901 PyObject * obj0 = 0 ;
10902 char *kwnames[] = {
10903 (char *) "self", NULL
10904 };
10905
10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragGridSize",kwnames,&obj0)) goto fail;
10907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10908 {
10909 PyThreadState* __tstate = wxPyBeginAllowThreads();
10910 result = (bool)(arg1)->CanDragGridSize();
10911
10912 wxPyEndAllowThreads(__tstate);
10913 if (PyErr_Occurred()) SWIG_fail;
10914 }
10915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10916 return resultobj;
10917 fail:
10918 return NULL;
10919 }
10920
10921
10922 static PyObject *_wrap_Grid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10923 PyObject *resultobj;
10924 wxGrid *arg1 = (wxGrid *) 0 ;
10925 int arg2 ;
10926 int arg3 ;
10927 wxGridCellAttr *arg4 = (wxGridCellAttr *) 0 ;
10928 PyObject * obj0 = 0 ;
10929 PyObject * obj1 = 0 ;
10930 PyObject * obj2 = 0 ;
10931 PyObject * obj3 = 0 ;
10932 char *kwnames[] = {
10933 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
10934 };
10935
10936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10938 {
10939 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 {
10943 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10944 if (PyErr_Occurred()) SWIG_fail;
10945 }
10946 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10947 {
10948 PyThreadState* __tstate = wxPyBeginAllowThreads();
10949 (arg1)->SetAttr(arg2,arg3,arg4);
10950
10951 wxPyEndAllowThreads(__tstate);
10952 if (PyErr_Occurred()) SWIG_fail;
10953 }
10954 Py_INCREF(Py_None); resultobj = Py_None;
10955 return resultobj;
10956 fail:
10957 return NULL;
10958 }
10959
10960
10961 static PyObject *_wrap_Grid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10962 PyObject *resultobj;
10963 wxGrid *arg1 = (wxGrid *) 0 ;
10964 int arg2 ;
10965 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
10966 PyObject * obj0 = 0 ;
10967 PyObject * obj1 = 0 ;
10968 PyObject * obj2 = 0 ;
10969 char *kwnames[] = {
10970 (char *) "self",(char *) "row",(char *) "attr", NULL
10971 };
10972
10973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
10974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10975 {
10976 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10977 if (PyErr_Occurred()) SWIG_fail;
10978 }
10979 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10980 {
10981 PyThreadState* __tstate = wxPyBeginAllowThreads();
10982 (arg1)->SetRowAttr(arg2,arg3);
10983
10984 wxPyEndAllowThreads(__tstate);
10985 if (PyErr_Occurred()) SWIG_fail;
10986 }
10987 Py_INCREF(Py_None); resultobj = Py_None;
10988 return resultobj;
10989 fail:
10990 return NULL;
10991 }
10992
10993
10994 static PyObject *_wrap_Grid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10995 PyObject *resultobj;
10996 wxGrid *arg1 = (wxGrid *) 0 ;
10997 int arg2 ;
10998 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
10999 PyObject * obj0 = 0 ;
11000 PyObject * obj1 = 0 ;
11001 PyObject * obj2 = 0 ;
11002 char *kwnames[] = {
11003 (char *) "self",(char *) "col",(char *) "attr", NULL
11004 };
11005
11006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
11007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11008 {
11009 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11010 if (PyErr_Occurred()) SWIG_fail;
11011 }
11012 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11013 {
11014 PyThreadState* __tstate = wxPyBeginAllowThreads();
11015 (arg1)->SetColAttr(arg2,arg3);
11016
11017 wxPyEndAllowThreads(__tstate);
11018 if (PyErr_Occurred()) SWIG_fail;
11019 }
11020 Py_INCREF(Py_None); resultobj = Py_None;
11021 return resultobj;
11022 fail:
11023 return NULL;
11024 }
11025
11026
11027 static PyObject *_wrap_Grid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
11028 PyObject *resultobj;
11029 wxGrid *arg1 = (wxGrid *) 0 ;
11030 int arg2 ;
11031 PyObject * obj0 = 0 ;
11032 PyObject * obj1 = 0 ;
11033 char *kwnames[] = {
11034 (char *) "self",(char *) "col", NULL
11035 };
11036
11037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatBool",kwnames,&obj0,&obj1)) goto fail;
11038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11039 {
11040 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 {
11044 PyThreadState* __tstate = wxPyBeginAllowThreads();
11045 (arg1)->SetColFormatBool(arg2);
11046
11047 wxPyEndAllowThreads(__tstate);
11048 if (PyErr_Occurred()) SWIG_fail;
11049 }
11050 Py_INCREF(Py_None); resultobj = Py_None;
11051 return resultobj;
11052 fail:
11053 return NULL;
11054 }
11055
11056
11057 static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
11058 PyObject *resultobj;
11059 wxGrid *arg1 = (wxGrid *) 0 ;
11060 int arg2 ;
11061 PyObject * obj0 = 0 ;
11062 PyObject * obj1 = 0 ;
11063 char *kwnames[] = {
11064 (char *) "self",(char *) "col", NULL
11065 };
11066
11067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatNumber",kwnames,&obj0,&obj1)) goto fail;
11068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11069 {
11070 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11071 if (PyErr_Occurred()) SWIG_fail;
11072 }
11073 {
11074 PyThreadState* __tstate = wxPyBeginAllowThreads();
11075 (arg1)->SetColFormatNumber(arg2);
11076
11077 wxPyEndAllowThreads(__tstate);
11078 if (PyErr_Occurred()) SWIG_fail;
11079 }
11080 Py_INCREF(Py_None); resultobj = Py_None;
11081 return resultobj;
11082 fail:
11083 return NULL;
11084 }
11085
11086
11087 static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
11088 PyObject *resultobj;
11089 wxGrid *arg1 = (wxGrid *) 0 ;
11090 int arg2 ;
11091 int arg3 = (int) -1 ;
11092 int arg4 = (int) -1 ;
11093 PyObject * obj0 = 0 ;
11094 PyObject * obj1 = 0 ;
11095 PyObject * obj2 = 0 ;
11096 PyObject * obj3 = 0 ;
11097 char *kwnames[] = {
11098 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11099 };
11100
11101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11103 {
11104 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 if (obj2) {
11108 {
11109 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 }
11113 if (obj3) {
11114 {
11115 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11116 if (PyErr_Occurred()) SWIG_fail;
11117 }
11118 }
11119 {
11120 PyThreadState* __tstate = wxPyBeginAllowThreads();
11121 (arg1)->SetColFormatFloat(arg2,arg3,arg4);
11122
11123 wxPyEndAllowThreads(__tstate);
11124 if (PyErr_Occurred()) SWIG_fail;
11125 }
11126 Py_INCREF(Py_None); resultobj = Py_None;
11127 return resultobj;
11128 fail:
11129 return NULL;
11130 }
11131
11132
11133 static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
11134 PyObject *resultobj;
11135 wxGrid *arg1 = (wxGrid *) 0 ;
11136 int arg2 ;
11137 wxString *arg3 = 0 ;
11138 bool temp3 = False ;
11139 PyObject * obj0 = 0 ;
11140 PyObject * obj1 = 0 ;
11141 PyObject * obj2 = 0 ;
11142 char *kwnames[] = {
11143 (char *) "self",(char *) "col",(char *) "typeName", NULL
11144 };
11145
11146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColFormatCustom",kwnames,&obj0,&obj1,&obj2)) goto fail;
11147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11148 {
11149 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 }
11152 {
11153 arg3 = wxString_in_helper(obj2);
11154 if (arg3 == NULL) SWIG_fail;
11155 temp3 = True;
11156 }
11157 {
11158 PyThreadState* __tstate = wxPyBeginAllowThreads();
11159 (arg1)->SetColFormatCustom(arg2,(wxString const &)*arg3);
11160
11161 wxPyEndAllowThreads(__tstate);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 }
11164 Py_INCREF(Py_None); resultobj = Py_None;
11165 {
11166 if (temp3)
11167 delete arg3;
11168 }
11169 return resultobj;
11170 fail:
11171 {
11172 if (temp3)
11173 delete arg3;
11174 }
11175 return NULL;
11176 }
11177
11178
11179 static PyObject *_wrap_Grid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
11180 PyObject *resultobj;
11181 wxGrid *arg1 = (wxGrid *) 0 ;
11182 bool arg2 = (bool) True ;
11183 PyObject * obj0 = 0 ;
11184 PyObject * obj1 = 0 ;
11185 char *kwnames[] = {
11186 (char *) "self",(char *) "enable", NULL
11187 };
11188
11189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableGridLines",kwnames,&obj0,&obj1)) goto fail;
11190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11191 if (obj1) {
11192 {
11193 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11194 if (PyErr_Occurred()) SWIG_fail;
11195 }
11196 }
11197 {
11198 PyThreadState* __tstate = wxPyBeginAllowThreads();
11199 (arg1)->EnableGridLines(arg2);
11200
11201 wxPyEndAllowThreads(__tstate);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 }
11204 Py_INCREF(Py_None); resultobj = Py_None;
11205 return resultobj;
11206 fail:
11207 return NULL;
11208 }
11209
11210
11211 static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11212 PyObject *resultobj;
11213 wxGrid *arg1 = (wxGrid *) 0 ;
11214 bool result;
11215 PyObject * obj0 = 0 ;
11216 char *kwnames[] = {
11217 (char *) "self", NULL
11218 };
11219
11220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GridLinesEnabled",kwnames,&obj0)) goto fail;
11221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11222 {
11223 PyThreadState* __tstate = wxPyBeginAllowThreads();
11224 result = (bool)(arg1)->GridLinesEnabled();
11225
11226 wxPyEndAllowThreads(__tstate);
11227 if (PyErr_Occurred()) SWIG_fail;
11228 }
11229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11230 return resultobj;
11231 fail:
11232 return NULL;
11233 }
11234
11235
11236 static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11237 PyObject *resultobj;
11238 wxGrid *arg1 = (wxGrid *) 0 ;
11239 int result;
11240 PyObject * obj0 = 0 ;
11241 char *kwnames[] = {
11242 (char *) "self", NULL
11243 };
11244
11245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowSize",kwnames,&obj0)) goto fail;
11246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11247 {
11248 PyThreadState* __tstate = wxPyBeginAllowThreads();
11249 result = (int)(arg1)->GetDefaultRowSize();
11250
11251 wxPyEndAllowThreads(__tstate);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 }
11254 resultobj = SWIG_PyObj_FromInt((int)result);
11255 return resultobj;
11256 fail:
11257 return NULL;
11258 }
11259
11260
11261 static PyObject *_wrap_Grid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11262 PyObject *resultobj;
11263 wxGrid *arg1 = (wxGrid *) 0 ;
11264 int arg2 ;
11265 int result;
11266 PyObject * obj0 = 0 ;
11267 PyObject * obj1 = 0 ;
11268 char *kwnames[] = {
11269 (char *) "self",(char *) "row", NULL
11270 };
11271
11272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowSize",kwnames,&obj0,&obj1)) goto fail;
11273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11274 {
11275 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 result = (int)(arg1)->GetRowSize(arg2);
11281
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
11285 resultobj = SWIG_PyObj_FromInt((int)result);
11286 return resultobj;
11287 fail:
11288 return NULL;
11289 }
11290
11291
11292 static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj;
11294 wxGrid *arg1 = (wxGrid *) 0 ;
11295 int result;
11296 PyObject * obj0 = 0 ;
11297 char *kwnames[] = {
11298 (char *) "self", NULL
11299 };
11300
11301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColSize",kwnames,&obj0)) goto fail;
11302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11303 {
11304 PyThreadState* __tstate = wxPyBeginAllowThreads();
11305 result = (int)(arg1)->GetDefaultColSize();
11306
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 resultobj = SWIG_PyObj_FromInt((int)result);
11311 return resultobj;
11312 fail:
11313 return NULL;
11314 }
11315
11316
11317 static PyObject *_wrap_Grid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11318 PyObject *resultobj;
11319 wxGrid *arg1 = (wxGrid *) 0 ;
11320 int arg2 ;
11321 int result;
11322 PyObject * obj0 = 0 ;
11323 PyObject * obj1 = 0 ;
11324 char *kwnames[] = {
11325 (char *) "self",(char *) "col", NULL
11326 };
11327
11328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColSize",kwnames,&obj0,&obj1)) goto fail;
11329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11330 {
11331 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11332 if (PyErr_Occurred()) SWIG_fail;
11333 }
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 result = (int)(arg1)->GetColSize(arg2);
11337
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 resultobj = SWIG_PyObj_FromInt((int)result);
11342 return resultobj;
11343 fail:
11344 return NULL;
11345 }
11346
11347
11348 static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11349 PyObject *resultobj;
11350 wxGrid *arg1 = (wxGrid *) 0 ;
11351 wxColour result;
11352 PyObject * obj0 = 0 ;
11353 char *kwnames[] = {
11354 (char *) "self", NULL
11355 };
11356
11357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames,&obj0)) 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 result = (arg1)->GetDefaultCellBackgroundColour();
11362
11363 wxPyEndAllowThreads(__tstate);
11364 if (PyErr_Occurred()) SWIG_fail;
11365 }
11366 {
11367 wxColour * resultptr;
11368 resultptr = new wxColour((wxColour &) result);
11369 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11370 }
11371 return resultobj;
11372 fail:
11373 return NULL;
11374 }
11375
11376
11377 static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11378 PyObject *resultobj;
11379 wxGrid *arg1 = (wxGrid *) 0 ;
11380 int arg2 ;
11381 int arg3 ;
11382 wxColour result;
11383 PyObject * obj0 = 0 ;
11384 PyObject * obj1 = 0 ;
11385 PyObject * obj2 = 0 ;
11386 char *kwnames[] = {
11387 (char *) "self",(char *) "row",(char *) "col", NULL
11388 };
11389
11390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11392 {
11393 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11394 if (PyErr_Occurred()) SWIG_fail;
11395 }
11396 {
11397 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11398 if (PyErr_Occurred()) SWIG_fail;
11399 }
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 result = (arg1)->GetCellBackgroundColour(arg2,arg3);
11403
11404 wxPyEndAllowThreads(__tstate);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 }
11407 {
11408 wxColour * resultptr;
11409 resultptr = new wxColour((wxColour &) result);
11410 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11411 }
11412 return resultobj;
11413 fail:
11414 return NULL;
11415 }
11416
11417
11418 static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11419 PyObject *resultobj;
11420 wxGrid *arg1 = (wxGrid *) 0 ;
11421 wxColour result;
11422 PyObject * obj0 = 0 ;
11423 char *kwnames[] = {
11424 (char *) "self", NULL
11425 };
11426
11427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellTextColour",kwnames,&obj0)) goto fail;
11428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
11431 result = (arg1)->GetDefaultCellTextColour();
11432
11433 wxPyEndAllowThreads(__tstate);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
11436 {
11437 wxColour * resultptr;
11438 resultptr = new wxColour((wxColour &) result);
11439 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11440 }
11441 return resultobj;
11442 fail:
11443 return NULL;
11444 }
11445
11446
11447 static PyObject *_wrap_Grid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11448 PyObject *resultobj;
11449 wxGrid *arg1 = (wxGrid *) 0 ;
11450 int arg2 ;
11451 int arg3 ;
11452 wxColour result;
11453 PyObject * obj0 = 0 ;
11454 PyObject * obj1 = 0 ;
11455 PyObject * obj2 = 0 ;
11456 char *kwnames[] = {
11457 (char *) "self",(char *) "row",(char *) "col", NULL
11458 };
11459
11460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11462 {
11463 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11464 if (PyErr_Occurred()) SWIG_fail;
11465 }
11466 {
11467 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11468 if (PyErr_Occurred()) SWIG_fail;
11469 }
11470 {
11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
11472 result = (arg1)->GetCellTextColour(arg2,arg3);
11473
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 {
11478 wxColour * resultptr;
11479 resultptr = new wxColour((wxColour &) result);
11480 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11481 }
11482 return resultobj;
11483 fail:
11484 return NULL;
11485 }
11486
11487
11488 static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11489 PyObject *resultobj;
11490 wxGrid *arg1 = (wxGrid *) 0 ;
11491 wxFont result;
11492 PyObject * obj0 = 0 ;
11493 char *kwnames[] = {
11494 (char *) "self", NULL
11495 };
11496
11497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellFont",kwnames,&obj0)) goto fail;
11498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11499 {
11500 PyThreadState* __tstate = wxPyBeginAllowThreads();
11501 result = (arg1)->GetDefaultCellFont();
11502
11503 wxPyEndAllowThreads(__tstate);
11504 if (PyErr_Occurred()) SWIG_fail;
11505 }
11506 {
11507 wxFont * resultptr;
11508 resultptr = new wxFont((wxFont &) result);
11509 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11510 }
11511 return resultobj;
11512 fail:
11513 return NULL;
11514 }
11515
11516
11517 static PyObject *_wrap_Grid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11518 PyObject *resultobj;
11519 wxGrid *arg1 = (wxGrid *) 0 ;
11520 int arg2 ;
11521 int arg3 ;
11522 wxFont result;
11523 PyObject * obj0 = 0 ;
11524 PyObject * obj1 = 0 ;
11525 PyObject * obj2 = 0 ;
11526 char *kwnames[] = {
11527 (char *) "self",(char *) "row",(char *) "col", NULL
11528 };
11529
11530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
11531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11532 {
11533 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11534 if (PyErr_Occurred()) SWIG_fail;
11535 }
11536 {
11537 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 {
11541 PyThreadState* __tstate = wxPyBeginAllowThreads();
11542 result = (arg1)->GetCellFont(arg2,arg3);
11543
11544 wxPyEndAllowThreads(__tstate);
11545 if (PyErr_Occurred()) SWIG_fail;
11546 }
11547 {
11548 wxFont * resultptr;
11549 resultptr = new wxFont((wxFont &) result);
11550 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11551 }
11552 return resultobj;
11553 fail:
11554 return NULL;
11555 }
11556
11557
11558 static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11559 PyObject *resultobj;
11560 wxGrid *arg1 = (wxGrid *) 0 ;
11561 int *arg2 = (int *) 0 ;
11562 int *arg3 = (int *) 0 ;
11563 int temp2 ;
11564 int temp3 ;
11565 PyObject * obj0 = 0 ;
11566 char *kwnames[] = {
11567 (char *) "self", NULL
11568 };
11569
11570 arg2 = &temp2;
11571 arg3 = &temp3;
11572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellAlignment",kwnames,&obj0)) goto fail;
11573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11574 {
11575 PyThreadState* __tstate = wxPyBeginAllowThreads();
11576 (arg1)->GetDefaultCellAlignment(arg2,arg3);
11577
11578 wxPyEndAllowThreads(__tstate);
11579 if (PyErr_Occurred()) SWIG_fail;
11580 }
11581 Py_INCREF(Py_None); resultobj = Py_None;
11582 {
11583 PyObject *o = PyInt_FromLong((long) (*arg2));
11584 resultobj = t_output_helper(resultobj,o);
11585 }
11586 {
11587 PyObject *o = PyInt_FromLong((long) (*arg3));
11588 resultobj = t_output_helper(resultobj,o);
11589 }
11590 return resultobj;
11591 fail:
11592 return NULL;
11593 }
11594
11595
11596 static PyObject *_wrap_Grid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11597 PyObject *resultobj;
11598 wxGrid *arg1 = (wxGrid *) 0 ;
11599 int arg2 ;
11600 int arg3 ;
11601 int *arg4 = (int *) 0 ;
11602 int *arg5 = (int *) 0 ;
11603 int temp4 ;
11604 int temp5 ;
11605 PyObject * obj0 = 0 ;
11606 PyObject * obj1 = 0 ;
11607 PyObject * obj2 = 0 ;
11608 char *kwnames[] = {
11609 (char *) "self",(char *) "row",(char *) "col", NULL
11610 };
11611
11612 arg4 = &temp4;
11613 arg5 = &temp5;
11614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
11615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11616 {
11617 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
11620 {
11621 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11622 if (PyErr_Occurred()) SWIG_fail;
11623 }
11624 {
11625 PyThreadState* __tstate = wxPyBeginAllowThreads();
11626 (arg1)->GetCellAlignment(arg2,arg3,arg4,arg5);
11627
11628 wxPyEndAllowThreads(__tstate);
11629 if (PyErr_Occurred()) SWIG_fail;
11630 }
11631 Py_INCREF(Py_None); resultobj = Py_None;
11632 {
11633 PyObject *o = PyInt_FromLong((long) (*arg4));
11634 resultobj = t_output_helper(resultobj,o);
11635 }
11636 {
11637 PyObject *o = PyInt_FromLong((long) (*arg5));
11638 resultobj = t_output_helper(resultobj,o);
11639 }
11640 return resultobj;
11641 fail:
11642 return NULL;
11643 }
11644
11645
11646 static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11647 PyObject *resultobj;
11648 wxGrid *arg1 = (wxGrid *) 0 ;
11649 bool result;
11650 PyObject * obj0 = 0 ;
11651 char *kwnames[] = {
11652 (char *) "self", NULL
11653 };
11654
11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellOverflow",kwnames,&obj0)) goto fail;
11656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 result = (bool)(arg1)->GetDefaultCellOverflow();
11660
11661 wxPyEndAllowThreads(__tstate);
11662 if (PyErr_Occurred()) SWIG_fail;
11663 }
11664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11665 return resultobj;
11666 fail:
11667 return NULL;
11668 }
11669
11670
11671 static PyObject *_wrap_Grid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11672 PyObject *resultobj;
11673 wxGrid *arg1 = (wxGrid *) 0 ;
11674 int arg2 ;
11675 int arg3 ;
11676 bool result;
11677 PyObject * obj0 = 0 ;
11678 PyObject * obj1 = 0 ;
11679 PyObject * obj2 = 0 ;
11680 char *kwnames[] = {
11681 (char *) "self",(char *) "row",(char *) "col", NULL
11682 };
11683
11684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellOverflow",kwnames,&obj0,&obj1,&obj2)) goto fail;
11685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11686 {
11687 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11688 if (PyErr_Occurred()) SWIG_fail;
11689 }
11690 {
11691 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11692 if (PyErr_Occurred()) SWIG_fail;
11693 }
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 result = (bool)(arg1)->GetCellOverflow(arg2,arg3);
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11702 return resultobj;
11703 fail:
11704 return NULL;
11705 }
11706
11707
11708 static PyObject *_wrap_Grid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11709 PyObject *resultobj;
11710 wxGrid *arg1 = (wxGrid *) 0 ;
11711 int arg2 ;
11712 int arg3 ;
11713 int *arg4 = (int *) 0 ;
11714 int *arg5 = (int *) 0 ;
11715 int temp4 ;
11716 int temp5 ;
11717 PyObject * obj0 = 0 ;
11718 PyObject * obj1 = 0 ;
11719 PyObject * obj2 = 0 ;
11720 char *kwnames[] = {
11721 (char *) "self",(char *) "row",(char *) "col", NULL
11722 };
11723
11724 arg4 = &temp4;
11725 arg5 = &temp5;
11726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11728 {
11729 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11730 if (PyErr_Occurred()) SWIG_fail;
11731 }
11732 {
11733 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 {
11737 PyThreadState* __tstate = wxPyBeginAllowThreads();
11738 (arg1)->GetCellSize(arg2,arg3,arg4,arg5);
11739
11740 wxPyEndAllowThreads(__tstate);
11741 if (PyErr_Occurred()) SWIG_fail;
11742 }
11743 Py_INCREF(Py_None); resultobj = Py_None;
11744 {
11745 PyObject *o = PyInt_FromLong((long) (*arg4));
11746 resultobj = t_output_helper(resultobj,o);
11747 }
11748 {
11749 PyObject *o = PyInt_FromLong((long) (*arg5));
11750 resultobj = t_output_helper(resultobj,o);
11751 }
11752 return resultobj;
11753 fail:
11754 return NULL;
11755 }
11756
11757
11758 static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11759 PyObject *resultobj;
11760 wxGrid *arg1 = (wxGrid *) 0 ;
11761 int arg2 ;
11762 bool arg3 = (bool) False ;
11763 PyObject * obj0 = 0 ;
11764 PyObject * obj1 = 0 ;
11765 PyObject * obj2 = 0 ;
11766 char *kwnames[] = {
11767 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
11768 };
11769
11770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11772 {
11773 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 if (obj2) {
11777 {
11778 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11779 if (PyErr_Occurred()) SWIG_fail;
11780 }
11781 }
11782 {
11783 PyThreadState* __tstate = wxPyBeginAllowThreads();
11784 (arg1)->SetDefaultRowSize(arg2,arg3);
11785
11786 wxPyEndAllowThreads(__tstate);
11787 if (PyErr_Occurred()) SWIG_fail;
11788 }
11789 Py_INCREF(Py_None); resultobj = Py_None;
11790 return resultobj;
11791 fail:
11792 return NULL;
11793 }
11794
11795
11796 static PyObject *_wrap_Grid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11797 PyObject *resultobj;
11798 wxGrid *arg1 = (wxGrid *) 0 ;
11799 int arg2 ;
11800 int arg3 ;
11801 PyObject * obj0 = 0 ;
11802 PyObject * obj1 = 0 ;
11803 PyObject * obj2 = 0 ;
11804 char *kwnames[] = {
11805 (char *) "self",(char *) "row",(char *) "height", NULL
11806 };
11807
11808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11810 {
11811 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 {
11815 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11816 if (PyErr_Occurred()) SWIG_fail;
11817 }
11818 {
11819 PyThreadState* __tstate = wxPyBeginAllowThreads();
11820 (arg1)->SetRowSize(arg2,arg3);
11821
11822 wxPyEndAllowThreads(__tstate);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 }
11825 Py_INCREF(Py_None); resultobj = Py_None;
11826 return resultobj;
11827 fail:
11828 return NULL;
11829 }
11830
11831
11832 static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11833 PyObject *resultobj;
11834 wxGrid *arg1 = (wxGrid *) 0 ;
11835 int arg2 ;
11836 bool arg3 = (bool) False ;
11837 PyObject * obj0 = 0 ;
11838 PyObject * obj1 = 0 ;
11839 PyObject * obj2 = 0 ;
11840 char *kwnames[] = {
11841 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
11842 };
11843
11844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11846 {
11847 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11848 if (PyErr_Occurred()) SWIG_fail;
11849 }
11850 if (obj2) {
11851 {
11852 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11853 if (PyErr_Occurred()) SWIG_fail;
11854 }
11855 }
11856 {
11857 PyThreadState* __tstate = wxPyBeginAllowThreads();
11858 (arg1)->SetDefaultColSize(arg2,arg3);
11859
11860 wxPyEndAllowThreads(__tstate);
11861 if (PyErr_Occurred()) SWIG_fail;
11862 }
11863 Py_INCREF(Py_None); resultobj = Py_None;
11864 return resultobj;
11865 fail:
11866 return NULL;
11867 }
11868
11869
11870 static PyObject *_wrap_Grid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11871 PyObject *resultobj;
11872 wxGrid *arg1 = (wxGrid *) 0 ;
11873 int arg2 ;
11874 int arg3 ;
11875 PyObject * obj0 = 0 ;
11876 PyObject * obj1 = 0 ;
11877 PyObject * obj2 = 0 ;
11878 char *kwnames[] = {
11879 (char *) "self",(char *) "col",(char *) "width", NULL
11880 };
11881
11882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11884 {
11885 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11886 if (PyErr_Occurred()) SWIG_fail;
11887 }
11888 {
11889 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11890 if (PyErr_Occurred()) SWIG_fail;
11891 }
11892 {
11893 PyThreadState* __tstate = wxPyBeginAllowThreads();
11894 (arg1)->SetColSize(arg2,arg3);
11895
11896 wxPyEndAllowThreads(__tstate);
11897 if (PyErr_Occurred()) SWIG_fail;
11898 }
11899 Py_INCREF(Py_None); resultobj = Py_None;
11900 return resultobj;
11901 fail:
11902 return NULL;
11903 }
11904
11905
11906 static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
11907 PyObject *resultobj;
11908 wxGrid *arg1 = (wxGrid *) 0 ;
11909 int arg2 ;
11910 bool arg3 = (bool) True ;
11911 PyObject * obj0 = 0 ;
11912 PyObject * obj1 = 0 ;
11913 PyObject * obj2 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
11919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11920 {
11921 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 if (obj2) {
11925 {
11926 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11927 if (PyErr_Occurred()) SWIG_fail;
11928 }
11929 }
11930 {
11931 PyThreadState* __tstate = wxPyBeginAllowThreads();
11932 (arg1)->AutoSizeColumn(arg2,arg3);
11933
11934 wxPyEndAllowThreads(__tstate);
11935 if (PyErr_Occurred()) SWIG_fail;
11936 }
11937 Py_INCREF(Py_None); resultobj = Py_None;
11938 return resultobj;
11939 fail:
11940 return NULL;
11941 }
11942
11943
11944 static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11945 PyObject *resultobj;
11946 wxGrid *arg1 = (wxGrid *) 0 ;
11947 int arg2 ;
11948 bool arg3 = (bool) True ;
11949 PyObject * obj0 = 0 ;
11950 PyObject * obj1 = 0 ;
11951 PyObject * obj2 = 0 ;
11952 char *kwnames[] = {
11953 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
11954 };
11955
11956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
11957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11958 {
11959 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11960 if (PyErr_Occurred()) SWIG_fail;
11961 }
11962 if (obj2) {
11963 {
11964 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11965 if (PyErr_Occurred()) SWIG_fail;
11966 }
11967 }
11968 {
11969 PyThreadState* __tstate = wxPyBeginAllowThreads();
11970 (arg1)->AutoSizeRow(arg2,arg3);
11971
11972 wxPyEndAllowThreads(__tstate);
11973 if (PyErr_Occurred()) SWIG_fail;
11974 }
11975 Py_INCREF(Py_None); resultobj = Py_None;
11976 return resultobj;
11977 fail:
11978 return NULL;
11979 }
11980
11981
11982 static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
11983 PyObject *resultobj;
11984 wxGrid *arg1 = (wxGrid *) 0 ;
11985 bool arg2 = (bool) True ;
11986 PyObject * obj0 = 0 ;
11987 PyObject * obj1 = 0 ;
11988 char *kwnames[] = {
11989 (char *) "self",(char *) "setAsMin", NULL
11990 };
11991
11992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeColumns",kwnames,&obj0,&obj1)) goto fail;
11993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11994 if (obj1) {
11995 {
11996 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
11999 }
12000 {
12001 PyThreadState* __tstate = wxPyBeginAllowThreads();
12002 (arg1)->AutoSizeColumns(arg2);
12003
12004 wxPyEndAllowThreads(__tstate);
12005 if (PyErr_Occurred()) SWIG_fail;
12006 }
12007 Py_INCREF(Py_None); resultobj = Py_None;
12008 return resultobj;
12009 fail:
12010 return NULL;
12011 }
12012
12013
12014 static PyObject *_wrap_Grid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
12015 PyObject *resultobj;
12016 wxGrid *arg1 = (wxGrid *) 0 ;
12017 bool arg2 = (bool) True ;
12018 PyObject * obj0 = 0 ;
12019 PyObject * obj1 = 0 ;
12020 char *kwnames[] = {
12021 (char *) "self",(char *) "setAsMin", NULL
12022 };
12023
12024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeRows",kwnames,&obj0,&obj1)) goto fail;
12025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12026 if (obj1) {
12027 {
12028 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12029 if (PyErr_Occurred()) SWIG_fail;
12030 }
12031 }
12032 {
12033 PyThreadState* __tstate = wxPyBeginAllowThreads();
12034 (arg1)->AutoSizeRows(arg2);
12035
12036 wxPyEndAllowThreads(__tstate);
12037 if (PyErr_Occurred()) SWIG_fail;
12038 }
12039 Py_INCREF(Py_None); resultobj = Py_None;
12040 return resultobj;
12041 fail:
12042 return NULL;
12043 }
12044
12045
12046 static PyObject *_wrap_Grid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12047 PyObject *resultobj;
12048 wxGrid *arg1 = (wxGrid *) 0 ;
12049 PyObject * obj0 = 0 ;
12050 char *kwnames[] = {
12051 (char *) "self", NULL
12052 };
12053
12054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_AutoSize",kwnames,&obj0)) goto fail;
12055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12056 {
12057 PyThreadState* __tstate = wxPyBeginAllowThreads();
12058 (arg1)->AutoSize();
12059
12060 wxPyEndAllowThreads(__tstate);
12061 if (PyErr_Occurred()) SWIG_fail;
12062 }
12063 Py_INCREF(Py_None); resultobj = Py_None;
12064 return resultobj;
12065 fail:
12066 return NULL;
12067 }
12068
12069
12070 static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12071 PyObject *resultobj;
12072 wxGrid *arg1 = (wxGrid *) 0 ;
12073 int arg2 ;
12074 PyObject * obj0 = 0 ;
12075 PyObject * obj1 = 0 ;
12076 char *kwnames[] = {
12077 (char *) "self",(char *) "row", NULL
12078 };
12079
12080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
12081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12082 {
12083 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 }
12086 {
12087 PyThreadState* __tstate = wxPyBeginAllowThreads();
12088 (arg1)->AutoSizeRowLabelSize(arg2);
12089
12090 wxPyEndAllowThreads(__tstate);
12091 if (PyErr_Occurred()) SWIG_fail;
12092 }
12093 Py_INCREF(Py_None); resultobj = Py_None;
12094 return resultobj;
12095 fail:
12096 return NULL;
12097 }
12098
12099
12100 static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12101 PyObject *resultobj;
12102 wxGrid *arg1 = (wxGrid *) 0 ;
12103 int arg2 ;
12104 PyObject * obj0 = 0 ;
12105 PyObject * obj1 = 0 ;
12106 char *kwnames[] = {
12107 (char *) "self",(char *) "col", NULL
12108 };
12109
12110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames,&obj0,&obj1)) goto fail;
12111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12112 {
12113 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12114 if (PyErr_Occurred()) SWIG_fail;
12115 }
12116 {
12117 PyThreadState* __tstate = wxPyBeginAllowThreads();
12118 (arg1)->AutoSizeColLabelSize(arg2);
12119
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 }
12123 Py_INCREF(Py_None); resultobj = Py_None;
12124 return resultobj;
12125 fail:
12126 return NULL;
12127 }
12128
12129
12130 static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12131 PyObject *resultobj;
12132 wxGrid *arg1 = (wxGrid *) 0 ;
12133 int arg2 ;
12134 int arg3 ;
12135 PyObject * obj0 = 0 ;
12136 PyObject * obj1 = 0 ;
12137 PyObject * obj2 = 0 ;
12138 char *kwnames[] = {
12139 (char *) "self",(char *) "col",(char *) "width", NULL
12140 };
12141
12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColMinimalWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
12143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12144 {
12145 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12146 if (PyErr_Occurred()) SWIG_fail;
12147 }
12148 {
12149 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12150 if (PyErr_Occurred()) SWIG_fail;
12151 }
12152 {
12153 PyThreadState* __tstate = wxPyBeginAllowThreads();
12154 (arg1)->SetColMinimalWidth(arg2,arg3);
12155
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 Py_INCREF(Py_None); resultobj = Py_None;
12160 return resultobj;
12161 fail:
12162 return NULL;
12163 }
12164
12165
12166 static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12167 PyObject *resultobj;
12168 wxGrid *arg1 = (wxGrid *) 0 ;
12169 int arg2 ;
12170 int arg3 ;
12171 PyObject * obj0 = 0 ;
12172 PyObject * obj1 = 0 ;
12173 PyObject * obj2 = 0 ;
12174 char *kwnames[] = {
12175 (char *) "self",(char *) "row",(char *) "width", NULL
12176 };
12177
12178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
12179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12180 {
12181 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 {
12185 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12186 if (PyErr_Occurred()) SWIG_fail;
12187 }
12188 {
12189 PyThreadState* __tstate = wxPyBeginAllowThreads();
12190 (arg1)->SetRowMinimalHeight(arg2,arg3);
12191
12192 wxPyEndAllowThreads(__tstate);
12193 if (PyErr_Occurred()) SWIG_fail;
12194 }
12195 Py_INCREF(Py_None); resultobj = Py_None;
12196 return resultobj;
12197 fail:
12198 return NULL;
12199 }
12200
12201
12202 static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12203 PyObject *resultobj;
12204 wxGrid *arg1 = (wxGrid *) 0 ;
12205 int arg2 ;
12206 PyObject * obj0 = 0 ;
12207 PyObject * obj1 = 0 ;
12208 char *kwnames[] = {
12209 (char *) "self",(char *) "width", NULL
12210 };
12211
12212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames,&obj0,&obj1)) goto fail;
12213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12214 {
12215 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 (arg1)->SetColMinimalAcceptableWidth(arg2);
12221
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 Py_INCREF(Py_None); resultobj = Py_None;
12226 return resultobj;
12227 fail:
12228 return NULL;
12229 }
12230
12231
12232 static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12233 PyObject *resultobj;
12234 wxGrid *arg1 = (wxGrid *) 0 ;
12235 int arg2 ;
12236 PyObject * obj0 = 0 ;
12237 PyObject * obj1 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self",(char *) "width", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames,&obj0,&obj1)) goto fail;
12243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12244 {
12245 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12246 if (PyErr_Occurred()) SWIG_fail;
12247 }
12248 {
12249 PyThreadState* __tstate = wxPyBeginAllowThreads();
12250 (arg1)->SetRowMinimalAcceptableHeight(arg2);
12251
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 Py_INCREF(Py_None); resultobj = Py_None;
12256 return resultobj;
12257 fail:
12258 return NULL;
12259 }
12260
12261
12262 static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12263 PyObject *resultobj;
12264 wxGrid *arg1 = (wxGrid *) 0 ;
12265 int result;
12266 PyObject * obj0 = 0 ;
12267 char *kwnames[] = {
12268 (char *) "self", NULL
12269 };
12270
12271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames,&obj0)) goto fail;
12272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 result = (int)((wxGrid const *)arg1)->GetColMinimalAcceptableWidth();
12276
12277 wxPyEndAllowThreads(__tstate);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 }
12280 resultobj = SWIG_PyObj_FromInt((int)result);
12281 return resultobj;
12282 fail:
12283 return NULL;
12284 }
12285
12286
12287 static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12288 PyObject *resultobj;
12289 wxGrid *arg1 = (wxGrid *) 0 ;
12290 int result;
12291 PyObject * obj0 = 0 ;
12292 char *kwnames[] = {
12293 (char *) "self", NULL
12294 };
12295
12296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames,&obj0)) goto fail;
12297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 result = (int)((wxGrid const *)arg1)->GetRowMinimalAcceptableHeight();
12301
12302 wxPyEndAllowThreads(__tstate);
12303 if (PyErr_Occurred()) SWIG_fail;
12304 }
12305 resultobj = SWIG_PyObj_FromInt((int)result);
12306 return resultobj;
12307 fail:
12308 return NULL;
12309 }
12310
12311
12312 static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12313 PyObject *resultobj;
12314 wxGrid *arg1 = (wxGrid *) 0 ;
12315 wxColour *arg2 = 0 ;
12316 wxColour temp2 ;
12317 PyObject * obj0 = 0 ;
12318 PyObject * obj1 = 0 ;
12319 char *kwnames[] = {
12320 (char *) "self","arg2", NULL
12321 };
12322
12323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
12324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12325 {
12326 arg2 = &temp2;
12327 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12328 }
12329 {
12330 PyThreadState* __tstate = wxPyBeginAllowThreads();
12331 (arg1)->SetDefaultCellBackgroundColour((wxColour const &)*arg2);
12332
12333 wxPyEndAllowThreads(__tstate);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 Py_INCREF(Py_None); resultobj = Py_None;
12337 return resultobj;
12338 fail:
12339 return NULL;
12340 }
12341
12342
12343 static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12344 PyObject *resultobj;
12345 wxGrid *arg1 = (wxGrid *) 0 ;
12346 int arg2 ;
12347 int arg3 ;
12348 wxColour *arg4 = 0 ;
12349 wxColour temp4 ;
12350 PyObject * obj0 = 0 ;
12351 PyObject * obj1 = 0 ;
12352 PyObject * obj2 = 0 ;
12353 PyObject * obj3 = 0 ;
12354 char *kwnames[] = {
12355 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12356 };
12357
12358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12360 {
12361 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12362 if (PyErr_Occurred()) SWIG_fail;
12363 }
12364 {
12365 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12366 if (PyErr_Occurred()) SWIG_fail;
12367 }
12368 {
12369 arg4 = &temp4;
12370 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12371 }
12372 {
12373 PyThreadState* __tstate = wxPyBeginAllowThreads();
12374 (arg1)->SetCellBackgroundColour(arg2,arg3,(wxColour const &)*arg4);
12375
12376 wxPyEndAllowThreads(__tstate);
12377 if (PyErr_Occurred()) SWIG_fail;
12378 }
12379 Py_INCREF(Py_None); resultobj = Py_None;
12380 return resultobj;
12381 fail:
12382 return NULL;
12383 }
12384
12385
12386 static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12387 PyObject *resultobj;
12388 wxGrid *arg1 = (wxGrid *) 0 ;
12389 wxColour *arg2 = 0 ;
12390 wxColour temp2 ;
12391 PyObject * obj0 = 0 ;
12392 PyObject * obj1 = 0 ;
12393 char *kwnames[] = {
12394 (char *) "self","arg2", NULL
12395 };
12396
12397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames,&obj0,&obj1)) goto fail;
12398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12399 {
12400 arg2 = &temp2;
12401 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12402 }
12403 {
12404 PyThreadState* __tstate = wxPyBeginAllowThreads();
12405 (arg1)->SetDefaultCellTextColour((wxColour const &)*arg2);
12406
12407 wxPyEndAllowThreads(__tstate);
12408 if (PyErr_Occurred()) SWIG_fail;
12409 }
12410 Py_INCREF(Py_None); resultobj = Py_None;
12411 return resultobj;
12412 fail:
12413 return NULL;
12414 }
12415
12416
12417 static PyObject *_wrap_Grid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12418 PyObject *resultobj;
12419 wxGrid *arg1 = (wxGrid *) 0 ;
12420 int arg2 ;
12421 int arg3 ;
12422 wxColour *arg4 = 0 ;
12423 wxColour temp4 ;
12424 PyObject * obj0 = 0 ;
12425 PyObject * obj1 = 0 ;
12426 PyObject * obj2 = 0 ;
12427 PyObject * obj3 = 0 ;
12428 char *kwnames[] = {
12429 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12430 };
12431
12432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellTextColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12434 {
12435 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12436 if (PyErr_Occurred()) SWIG_fail;
12437 }
12438 {
12439 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 }
12442 {
12443 arg4 = &temp4;
12444 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12445 }
12446 {
12447 PyThreadState* __tstate = wxPyBeginAllowThreads();
12448 (arg1)->SetCellTextColour(arg2,arg3,(wxColour const &)*arg4);
12449
12450 wxPyEndAllowThreads(__tstate);
12451 if (PyErr_Occurred()) SWIG_fail;
12452 }
12453 Py_INCREF(Py_None); resultobj = Py_None;
12454 return resultobj;
12455 fail:
12456 return NULL;
12457 }
12458
12459
12460 static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12461 PyObject *resultobj;
12462 wxGrid *arg1 = (wxGrid *) 0 ;
12463 wxFont *arg2 = 0 ;
12464 PyObject * obj0 = 0 ;
12465 PyObject * obj1 = 0 ;
12466 char *kwnames[] = {
12467 (char *) "self","arg2", NULL
12468 };
12469
12470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellFont",kwnames,&obj0,&obj1)) goto fail;
12471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12473 if (arg2 == NULL) {
12474 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12475 }
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 (arg1)->SetDefaultCellFont((wxFont const &)*arg2);
12479
12480 wxPyEndAllowThreads(__tstate);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
12483 Py_INCREF(Py_None); resultobj = Py_None;
12484 return resultobj;
12485 fail:
12486 return NULL;
12487 }
12488
12489
12490 static PyObject *_wrap_Grid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12491 PyObject *resultobj;
12492 wxGrid *arg1 = (wxGrid *) 0 ;
12493 int arg2 ;
12494 int arg3 ;
12495 wxFont *arg4 = 0 ;
12496 PyObject * obj0 = 0 ;
12497 PyObject * obj1 = 0 ;
12498 PyObject * obj2 = 0 ;
12499 PyObject * obj3 = 0 ;
12500 char *kwnames[] = {
12501 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12502 };
12503
12504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellFont",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12506 {
12507 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12508 if (PyErr_Occurred()) SWIG_fail;
12509 }
12510 {
12511 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12512 if (PyErr_Occurred()) SWIG_fail;
12513 }
12514 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12515 if (arg4 == NULL) {
12516 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12517 }
12518 {
12519 PyThreadState* __tstate = wxPyBeginAllowThreads();
12520 (arg1)->SetCellFont(arg2,arg3,(wxFont const &)*arg4);
12521
12522 wxPyEndAllowThreads(__tstate);
12523 if (PyErr_Occurred()) SWIG_fail;
12524 }
12525 Py_INCREF(Py_None); resultobj = Py_None;
12526 return resultobj;
12527 fail:
12528 return NULL;
12529 }
12530
12531
12532 static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12533 PyObject *resultobj;
12534 wxGrid *arg1 = (wxGrid *) 0 ;
12535 int arg2 ;
12536 int arg3 ;
12537 PyObject * obj0 = 0 ;
12538 PyObject * obj1 = 0 ;
12539 PyObject * obj2 = 0 ;
12540 char *kwnames[] = {
12541 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12542 };
12543
12544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
12545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12546 {
12547 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12548 if (PyErr_Occurred()) SWIG_fail;
12549 }
12550 {
12551 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12552 if (PyErr_Occurred()) SWIG_fail;
12553 }
12554 {
12555 PyThreadState* __tstate = wxPyBeginAllowThreads();
12556 (arg1)->SetDefaultCellAlignment(arg2,arg3);
12557
12558 wxPyEndAllowThreads(__tstate);
12559 if (PyErr_Occurred()) SWIG_fail;
12560 }
12561 Py_INCREF(Py_None); resultobj = Py_None;
12562 return resultobj;
12563 fail:
12564 return NULL;
12565 }
12566
12567
12568 static PyObject *_wrap_Grid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12569 PyObject *resultobj;
12570 wxGrid *arg1 = (wxGrid *) 0 ;
12571 int arg2 ;
12572 int arg3 ;
12573 int arg4 ;
12574 int arg5 ;
12575 PyObject * obj0 = 0 ;
12576 PyObject * obj1 = 0 ;
12577 PyObject * obj2 = 0 ;
12578 PyObject * obj3 = 0 ;
12579 PyObject * obj4 = 0 ;
12580 char *kwnames[] = {
12581 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12582 };
12583
12584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellAlignment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12586 {
12587 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12588 if (PyErr_Occurred()) SWIG_fail;
12589 }
12590 {
12591 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12592 if (PyErr_Occurred()) SWIG_fail;
12593 }
12594 {
12595 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12596 if (PyErr_Occurred()) SWIG_fail;
12597 }
12598 {
12599 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
12602 {
12603 PyThreadState* __tstate = wxPyBeginAllowThreads();
12604 (arg1)->SetCellAlignment(arg2,arg3,arg4,arg5);
12605
12606 wxPyEndAllowThreads(__tstate);
12607 if (PyErr_Occurred()) SWIG_fail;
12608 }
12609 Py_INCREF(Py_None); resultobj = Py_None;
12610 return resultobj;
12611 fail:
12612 return NULL;
12613 }
12614
12615
12616 static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12617 PyObject *resultobj;
12618 wxGrid *arg1 = (wxGrid *) 0 ;
12619 bool arg2 ;
12620 PyObject * obj0 = 0 ;
12621 PyObject * obj1 = 0 ;
12622 char *kwnames[] = {
12623 (char *) "self",(char *) "allow", NULL
12624 };
12625
12626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames,&obj0,&obj1)) goto fail;
12627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12628 {
12629 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12630 if (PyErr_Occurred()) SWIG_fail;
12631 }
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 (arg1)->SetDefaultCellOverflow(arg2);
12635
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 Py_INCREF(Py_None); resultobj = Py_None;
12640 return resultobj;
12641 fail:
12642 return NULL;
12643 }
12644
12645
12646 static PyObject *_wrap_Grid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj;
12648 wxGrid *arg1 = (wxGrid *) 0 ;
12649 int arg2 ;
12650 int arg3 ;
12651 bool arg4 ;
12652 PyObject * obj0 = 0 ;
12653 PyObject * obj1 = 0 ;
12654 PyObject * obj2 = 0 ;
12655 PyObject * obj3 = 0 ;
12656 char *kwnames[] = {
12657 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
12658 };
12659
12660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellOverflow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12662 {
12663 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
12666 {
12667 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12668 if (PyErr_Occurred()) SWIG_fail;
12669 }
12670 {
12671 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 }
12674 {
12675 PyThreadState* __tstate = wxPyBeginAllowThreads();
12676 (arg1)->SetCellOverflow(arg2,arg3,arg4);
12677
12678 wxPyEndAllowThreads(__tstate);
12679 if (PyErr_Occurred()) SWIG_fail;
12680 }
12681 Py_INCREF(Py_None); resultobj = Py_None;
12682 return resultobj;
12683 fail:
12684 return NULL;
12685 }
12686
12687
12688 static PyObject *_wrap_Grid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12689 PyObject *resultobj;
12690 wxGrid *arg1 = (wxGrid *) 0 ;
12691 int arg2 ;
12692 int arg3 ;
12693 int arg4 ;
12694 int arg5 ;
12695 PyObject * obj0 = 0 ;
12696 PyObject * obj1 = 0 ;
12697 PyObject * obj2 = 0 ;
12698 PyObject * obj3 = 0 ;
12699 PyObject * obj4 = 0 ;
12700 char *kwnames[] = {
12701 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
12702 };
12703
12704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12706 {
12707 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12708 if (PyErr_Occurred()) SWIG_fail;
12709 }
12710 {
12711 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12712 if (PyErr_Occurred()) SWIG_fail;
12713 }
12714 {
12715 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12716 if (PyErr_Occurred()) SWIG_fail;
12717 }
12718 {
12719 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12720 if (PyErr_Occurred()) SWIG_fail;
12721 }
12722 {
12723 PyThreadState* __tstate = wxPyBeginAllowThreads();
12724 (arg1)->SetCellSize(arg2,arg3,arg4,arg5);
12725
12726 wxPyEndAllowThreads(__tstate);
12727 if (PyErr_Occurred()) SWIG_fail;
12728 }
12729 Py_INCREF(Py_None); resultobj = Py_None;
12730 return resultobj;
12731 fail:
12732 return NULL;
12733 }
12734
12735
12736 static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12737 PyObject *resultobj;
12738 wxGrid *arg1 = (wxGrid *) 0 ;
12739 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
12740 PyObject * obj0 = 0 ;
12741 PyObject * obj1 = 0 ;
12742 char *kwnames[] = {
12743 (char *) "self",(char *) "renderer", NULL
12744 };
12745
12746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultRenderer",kwnames,&obj0,&obj1)) goto fail;
12747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12749 {
12750 PyThreadState* __tstate = wxPyBeginAllowThreads();
12751 (arg1)->SetDefaultRenderer(arg2);
12752
12753 wxPyEndAllowThreads(__tstate);
12754 if (PyErr_Occurred()) SWIG_fail;
12755 }
12756 Py_INCREF(Py_None); resultobj = Py_None;
12757 return resultobj;
12758 fail:
12759 return NULL;
12760 }
12761
12762
12763 static PyObject *_wrap_Grid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12764 PyObject *resultobj;
12765 wxGrid *arg1 = (wxGrid *) 0 ;
12766 int arg2 ;
12767 int arg3 ;
12768 wxGridCellRenderer *arg4 = (wxGridCellRenderer *) 0 ;
12769 PyObject * obj0 = 0 ;
12770 PyObject * obj1 = 0 ;
12771 PyObject * obj2 = 0 ;
12772 PyObject * obj3 = 0 ;
12773 char *kwnames[] = {
12774 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
12775 };
12776
12777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12779 {
12780 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 {
12784 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 }
12787 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12788 {
12789 PyThreadState* __tstate = wxPyBeginAllowThreads();
12790 (arg1)->SetCellRenderer(arg2,arg3,arg4);
12791
12792 wxPyEndAllowThreads(__tstate);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 }
12795 Py_INCREF(Py_None); resultobj = Py_None;
12796 return resultobj;
12797 fail:
12798 return NULL;
12799 }
12800
12801
12802 static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12803 PyObject *resultobj;
12804 wxGrid *arg1 = (wxGrid *) 0 ;
12805 wxGridCellRenderer *result;
12806 PyObject * obj0 = 0 ;
12807 char *kwnames[] = {
12808 (char *) "self", NULL
12809 };
12810
12811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRenderer",kwnames,&obj0)) goto fail;
12812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12813 {
12814 PyThreadState* __tstate = wxPyBeginAllowThreads();
12815 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRenderer();
12816
12817 wxPyEndAllowThreads(__tstate);
12818 if (PyErr_Occurred()) SWIG_fail;
12819 }
12820 {
12821 resultobj = wxPyMake_wxGridCellRenderer(result);
12822 }
12823 return resultobj;
12824 fail:
12825 return NULL;
12826 }
12827
12828
12829 static PyObject *_wrap_Grid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12830 PyObject *resultobj;
12831 wxGrid *arg1 = (wxGrid *) 0 ;
12832 int arg2 ;
12833 int arg3 ;
12834 wxGridCellRenderer *result;
12835 PyObject * obj0 = 0 ;
12836 PyObject * obj1 = 0 ;
12837 PyObject * obj2 = 0 ;
12838 char *kwnames[] = {
12839 (char *) "self",(char *) "row",(char *) "col", NULL
12840 };
12841
12842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellRenderer",kwnames,&obj0,&obj1,&obj2)) goto fail;
12843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12844 {
12845 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 {
12849 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 {
12853 PyThreadState* __tstate = wxPyBeginAllowThreads();
12854 result = (wxGridCellRenderer *)(arg1)->GetCellRenderer(arg2,arg3);
12855
12856 wxPyEndAllowThreads(__tstate);
12857 if (PyErr_Occurred()) SWIG_fail;
12858 }
12859 {
12860 resultobj = wxPyMake_wxGridCellRenderer(result);
12861 }
12862 return resultobj;
12863 fail:
12864 return NULL;
12865 }
12866
12867
12868 static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12869 PyObject *resultobj;
12870 wxGrid *arg1 = (wxGrid *) 0 ;
12871 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
12872 PyObject * obj0 = 0 ;
12873 PyObject * obj1 = 0 ;
12874 char *kwnames[] = {
12875 (char *) "self",(char *) "editor", NULL
12876 };
12877
12878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultEditor",kwnames,&obj0,&obj1)) goto fail;
12879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12880 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12881 {
12882 PyThreadState* __tstate = wxPyBeginAllowThreads();
12883 (arg1)->SetDefaultEditor(arg2);
12884
12885 wxPyEndAllowThreads(__tstate);
12886 if (PyErr_Occurred()) SWIG_fail;
12887 }
12888 Py_INCREF(Py_None); resultobj = Py_None;
12889 return resultobj;
12890 fail:
12891 return NULL;
12892 }
12893
12894
12895 static PyObject *_wrap_Grid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12896 PyObject *resultobj;
12897 wxGrid *arg1 = (wxGrid *) 0 ;
12898 int arg2 ;
12899 int arg3 ;
12900 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
12901 PyObject * obj0 = 0 ;
12902 PyObject * obj1 = 0 ;
12903 PyObject * obj2 = 0 ;
12904 PyObject * obj3 = 0 ;
12905 char *kwnames[] = {
12906 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
12907 };
12908
12909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12911 {
12912 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 }
12915 {
12916 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12917 if (PyErr_Occurred()) SWIG_fail;
12918 }
12919 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12920 {
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
12922 (arg1)->SetCellEditor(arg2,arg3,arg4);
12923
12924 wxPyEndAllowThreads(__tstate);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 Py_INCREF(Py_None); resultobj = Py_None;
12928 return resultobj;
12929 fail:
12930 return NULL;
12931 }
12932
12933
12934 static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj;
12936 wxGrid *arg1 = (wxGrid *) 0 ;
12937 wxGridCellEditor *result;
12938 PyObject * obj0 = 0 ;
12939 char *kwnames[] = {
12940 (char *) "self", NULL
12941 };
12942
12943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultEditor",kwnames,&obj0)) goto fail;
12944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12945 {
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
12947 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditor();
12948
12949 wxPyEndAllowThreads(__tstate);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 {
12953 resultobj = wxPyMake_wxGridCellEditor(result);
12954 }
12955 return resultobj;
12956 fail:
12957 return NULL;
12958 }
12959
12960
12961 static PyObject *_wrap_Grid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12962 PyObject *resultobj;
12963 wxGrid *arg1 = (wxGrid *) 0 ;
12964 int arg2 ;
12965 int arg3 ;
12966 wxGridCellEditor *result;
12967 PyObject * obj0 = 0 ;
12968 PyObject * obj1 = 0 ;
12969 PyObject * obj2 = 0 ;
12970 char *kwnames[] = {
12971 (char *) "self",(char *) "row",(char *) "col", NULL
12972 };
12973
12974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellEditor",kwnames,&obj0,&obj1,&obj2)) goto fail;
12975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12976 {
12977 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12978 if (PyErr_Occurred()) SWIG_fail;
12979 }
12980 {
12981 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12982 if (PyErr_Occurred()) SWIG_fail;
12983 }
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 result = (wxGridCellEditor *)(arg1)->GetCellEditor(arg2,arg3);
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 {
12992 resultobj = wxPyMake_wxGridCellEditor(result);
12993 }
12994 return resultobj;
12995 fail:
12996 return NULL;
12997 }
12998
12999
13000 static PyObject *_wrap_Grid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13001 PyObject *resultobj;
13002 wxGrid *arg1 = (wxGrid *) 0 ;
13003 int arg2 ;
13004 int arg3 ;
13005 wxString result;
13006 PyObject * obj0 = 0 ;
13007 PyObject * obj1 = 0 ;
13008 PyObject * obj2 = 0 ;
13009 char *kwnames[] = {
13010 (char *) "self",(char *) "row",(char *) "col", NULL
13011 };
13012
13013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
13014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13015 {
13016 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13017 if (PyErr_Occurred()) SWIG_fail;
13018 }
13019 {
13020 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
13025 result = (arg1)->GetCellValue(arg2,arg3);
13026
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 {
13031 #if wxUSE_UNICODE
13032 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13033 #else
13034 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13035 #endif
13036 }
13037 return resultobj;
13038 fail:
13039 return NULL;
13040 }
13041
13042
13043 static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13044 PyObject *resultobj;
13045 wxGrid *arg1 = (wxGrid *) 0 ;
13046 int arg2 ;
13047 int arg3 ;
13048 wxString *arg4 = 0 ;
13049 bool temp4 = False ;
13050 PyObject * obj0 = 0 ;
13051 PyObject * obj1 = 0 ;
13052 PyObject * obj2 = 0 ;
13053 PyObject * obj3 = 0 ;
13054 char *kwnames[] = {
13055 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13056 };
13057
13058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13060 {
13061 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13062 if (PyErr_Occurred()) SWIG_fail;
13063 }
13064 {
13065 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13066 if (PyErr_Occurred()) SWIG_fail;
13067 }
13068 {
13069 arg4 = wxString_in_helper(obj3);
13070 if (arg4 == NULL) SWIG_fail;
13071 temp4 = True;
13072 }
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 (arg1)->SetCellValue(arg2,arg3,(wxString const &)*arg4);
13076
13077 wxPyEndAllowThreads(__tstate);
13078 if (PyErr_Occurred()) SWIG_fail;
13079 }
13080 Py_INCREF(Py_None); resultobj = Py_None;
13081 {
13082 if (temp4)
13083 delete arg4;
13084 }
13085 return resultobj;
13086 fail:
13087 {
13088 if (temp4)
13089 delete arg4;
13090 }
13091 return NULL;
13092 }
13093
13094
13095 static PyObject *_wrap_Grid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13096 PyObject *resultobj;
13097 wxGrid *arg1 = (wxGrid *) 0 ;
13098 int arg2 ;
13099 int arg3 ;
13100 bool result;
13101 PyObject * obj0 = 0 ;
13102 PyObject * obj1 = 0 ;
13103 PyObject * obj2 = 0 ;
13104 char *kwnames[] = {
13105 (char *) "self",(char *) "row",(char *) "col", NULL
13106 };
13107
13108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsReadOnly",kwnames,&obj0,&obj1,&obj2)) goto fail;
13109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13110 {
13111 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13112 if (PyErr_Occurred()) SWIG_fail;
13113 }
13114 {
13115 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 {
13119 PyThreadState* __tstate = wxPyBeginAllowThreads();
13120 result = (bool)((wxGrid const *)arg1)->IsReadOnly(arg2,arg3);
13121
13122 wxPyEndAllowThreads(__tstate);
13123 if (PyErr_Occurred()) SWIG_fail;
13124 }
13125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13126 return resultobj;
13127 fail:
13128 return NULL;
13129 }
13130
13131
13132 static PyObject *_wrap_Grid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13133 PyObject *resultobj;
13134 wxGrid *arg1 = (wxGrid *) 0 ;
13135 int arg2 ;
13136 int arg3 ;
13137 bool arg4 = (bool) True ;
13138 PyObject * obj0 = 0 ;
13139 PyObject * obj1 = 0 ;
13140 PyObject * obj2 = 0 ;
13141 PyObject * obj3 = 0 ;
13142 char *kwnames[] = {
13143 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13144 };
13145
13146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_SetReadOnly",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13148 {
13149 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13150 if (PyErr_Occurred()) SWIG_fail;
13151 }
13152 {
13153 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13154 if (PyErr_Occurred()) SWIG_fail;
13155 }
13156 if (obj3) {
13157 {
13158 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
13159 if (PyErr_Occurred()) SWIG_fail;
13160 }
13161 }
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 (arg1)->SetReadOnly(arg2,arg3,arg4);
13165
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 Py_INCREF(Py_None); resultobj = Py_None;
13170 return resultobj;
13171 fail:
13172 return NULL;
13173 }
13174
13175
13176 static PyObject *_wrap_Grid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13177 PyObject *resultobj;
13178 wxGrid *arg1 = (wxGrid *) 0 ;
13179 int arg2 ;
13180 bool arg3 = (bool) False ;
13181 PyObject * obj0 = 0 ;
13182 PyObject * obj1 = 0 ;
13183 PyObject * obj2 = 0 ;
13184 char *kwnames[] = {
13185 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13186 };
13187
13188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
13189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13190 {
13191 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 if (obj2) {
13195 {
13196 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
13197 if (PyErr_Occurred()) SWIG_fail;
13198 }
13199 }
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
13202 (arg1)->SelectRow(arg2,arg3);
13203
13204 wxPyEndAllowThreads(__tstate);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 }
13207 Py_INCREF(Py_None); resultobj = Py_None;
13208 return resultobj;
13209 fail:
13210 return NULL;
13211 }
13212
13213
13214 static PyObject *_wrap_Grid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13215 PyObject *resultobj;
13216 wxGrid *arg1 = (wxGrid *) 0 ;
13217 int arg2 ;
13218 bool arg3 = (bool) False ;
13219 PyObject * obj0 = 0 ;
13220 PyObject * obj1 = 0 ;
13221 PyObject * obj2 = 0 ;
13222 char *kwnames[] = {
13223 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13224 };
13225
13226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
13227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13228 {
13229 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 if (obj2) {
13233 {
13234 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
13235 if (PyErr_Occurred()) SWIG_fail;
13236 }
13237 }
13238 {
13239 PyThreadState* __tstate = wxPyBeginAllowThreads();
13240 (arg1)->SelectCol(arg2,arg3);
13241
13242 wxPyEndAllowThreads(__tstate);
13243 if (PyErr_Occurred()) SWIG_fail;
13244 }
13245 Py_INCREF(Py_None); resultobj = Py_None;
13246 return resultobj;
13247 fail:
13248 return NULL;
13249 }
13250
13251
13252 static PyObject *_wrap_Grid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
13253 PyObject *resultobj;
13254 wxGrid *arg1 = (wxGrid *) 0 ;
13255 int arg2 ;
13256 int arg3 ;
13257 int arg4 ;
13258 int arg5 ;
13259 bool arg6 = (bool) False ;
13260 PyObject * obj0 = 0 ;
13261 PyObject * obj1 = 0 ;
13262 PyObject * obj2 = 0 ;
13263 PyObject * obj3 = 0 ;
13264 PyObject * obj4 = 0 ;
13265 PyObject * obj5 = 0 ;
13266 char *kwnames[] = {
13267 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13268 };
13269
13270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Grid_SelectBlock",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13272 {
13273 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 {
13277 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13278 if (PyErr_Occurred()) SWIG_fail;
13279 }
13280 {
13281 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13282 if (PyErr_Occurred()) SWIG_fail;
13283 }
13284 {
13285 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13286 if (PyErr_Occurred()) SWIG_fail;
13287 }
13288 if (obj5) {
13289 {
13290 arg6 = (bool) SWIG_PyObj_AsBool(obj5);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 }
13294 {
13295 PyThreadState* __tstate = wxPyBeginAllowThreads();
13296 (arg1)->SelectBlock(arg2,arg3,arg4,arg5,arg6);
13297
13298 wxPyEndAllowThreads(__tstate);
13299 if (PyErr_Occurred()) SWIG_fail;
13300 }
13301 Py_INCREF(Py_None); resultobj = Py_None;
13302 return resultobj;
13303 fail:
13304 return NULL;
13305 }
13306
13307
13308 static PyObject *_wrap_Grid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
13309 PyObject *resultobj;
13310 wxGrid *arg1 = (wxGrid *) 0 ;
13311 PyObject * obj0 = 0 ;
13312 char *kwnames[] = {
13313 (char *) "self", NULL
13314 };
13315
13316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SelectAll",kwnames,&obj0)) goto fail;
13317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13318 {
13319 PyThreadState* __tstate = wxPyBeginAllowThreads();
13320 (arg1)->SelectAll();
13321
13322 wxPyEndAllowThreads(__tstate);
13323 if (PyErr_Occurred()) SWIG_fail;
13324 }
13325 Py_INCREF(Py_None); resultobj = Py_None;
13326 return resultobj;
13327 fail:
13328 return NULL;
13329 }
13330
13331
13332 static PyObject *_wrap_Grid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13333 PyObject *resultobj;
13334 wxGrid *arg1 = (wxGrid *) 0 ;
13335 bool result;
13336 PyObject * obj0 = 0 ;
13337 char *kwnames[] = {
13338 (char *) "self", NULL
13339 };
13340
13341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsSelection",kwnames,&obj0)) goto fail;
13342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13343 {
13344 PyThreadState* __tstate = wxPyBeginAllowThreads();
13345 result = (bool)(arg1)->IsSelection();
13346
13347 wxPyEndAllowThreads(__tstate);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 }
13350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13351 return resultobj;
13352 fail:
13353 return NULL;
13354 }
13355
13356
13357 static PyObject *_wrap_Grid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13358 PyObject *resultobj;
13359 wxGrid *arg1 = (wxGrid *) 0 ;
13360 PyObject * obj0 = 0 ;
13361 char *kwnames[] = {
13362 (char *) "self", NULL
13363 };
13364
13365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearSelection",kwnames,&obj0)) goto fail;
13366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13367 {
13368 PyThreadState* __tstate = wxPyBeginAllowThreads();
13369 (arg1)->ClearSelection();
13370
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 Py_INCREF(Py_None); resultobj = Py_None;
13375 return resultobj;
13376 fail:
13377 return NULL;
13378 }
13379
13380
13381 static PyObject *_wrap_Grid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13382 PyObject *resultobj;
13383 wxGrid *arg1 = (wxGrid *) 0 ;
13384 int arg2 ;
13385 int arg3 ;
13386 bool result;
13387 PyObject * obj0 = 0 ;
13388 PyObject * obj1 = 0 ;
13389 PyObject * obj2 = 0 ;
13390 char *kwnames[] = {
13391 (char *) "self",(char *) "row",(char *) "col", NULL
13392 };
13393
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsInSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13396 {
13397 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 {
13401 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 result = (bool)(arg1)->IsInSelection(arg2,arg3);
13407
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13412 return resultobj;
13413 fail:
13414 return NULL;
13415 }
13416
13417
13418 static PyObject *_wrap_Grid_GetSelectedCells(PyObject *self, PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj;
13420 wxGrid *arg1 = (wxGrid *) 0 ;
13421 wxGridCellCoordsArray result;
13422 PyObject * obj0 = 0 ;
13423 char *kwnames[] = {
13424 (char *) "self", NULL
13425 };
13426
13427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCells",kwnames,&obj0)) goto fail;
13428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13429 {
13430 PyThreadState* __tstate = wxPyBeginAllowThreads();
13431 result = ((wxGrid const *)arg1)->GetSelectedCells();
13432
13433 wxPyEndAllowThreads(__tstate);
13434 if (PyErr_Occurred()) SWIG_fail;
13435 }
13436 {
13437 resultobj = wxGridCellCoordsArray_helper(result);
13438 }
13439 return resultobj;
13440 fail:
13441 return NULL;
13442 }
13443
13444
13445 static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13446 PyObject *resultobj;
13447 wxGrid *arg1 = (wxGrid *) 0 ;
13448 wxGridCellCoordsArray result;
13449 PyObject * obj0 = 0 ;
13450 char *kwnames[] = {
13451 (char *) "self", NULL
13452 };
13453
13454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames,&obj0)) goto fail;
13455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13456 {
13457 PyThreadState* __tstate = wxPyBeginAllowThreads();
13458 result = ((wxGrid const *)arg1)->GetSelectionBlockTopLeft();
13459
13460 wxPyEndAllowThreads(__tstate);
13461 if (PyErr_Occurred()) SWIG_fail;
13462 }
13463 {
13464 resultobj = wxGridCellCoordsArray_helper(result);
13465 }
13466 return resultobj;
13467 fail:
13468 return NULL;
13469 }
13470
13471
13472 static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13473 PyObject *resultobj;
13474 wxGrid *arg1 = (wxGrid *) 0 ;
13475 wxGridCellCoordsArray result;
13476 PyObject * obj0 = 0 ;
13477 char *kwnames[] = {
13478 (char *) "self", NULL
13479 };
13480
13481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames,&obj0)) goto fail;
13482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13483 {
13484 PyThreadState* __tstate = wxPyBeginAllowThreads();
13485 result = ((wxGrid const *)arg1)->GetSelectionBlockBottomRight();
13486
13487 wxPyEndAllowThreads(__tstate);
13488 if (PyErr_Occurred()) SWIG_fail;
13489 }
13490 {
13491 resultobj = wxGridCellCoordsArray_helper(result);
13492 }
13493 return resultobj;
13494 fail:
13495 return NULL;
13496 }
13497
13498
13499 static PyObject *_wrap_Grid_GetSelectedRows(PyObject *self, PyObject *args, PyObject *kwargs) {
13500 PyObject *resultobj;
13501 wxGrid *arg1 = (wxGrid *) 0 ;
13502 wxArrayInt result;
13503 PyObject * obj0 = 0 ;
13504 char *kwnames[] = {
13505 (char *) "self", NULL
13506 };
13507
13508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedRows",kwnames,&obj0)) goto fail;
13509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13510 {
13511 PyThreadState* __tstate = wxPyBeginAllowThreads();
13512 result = ((wxGrid const *)arg1)->GetSelectedRows();
13513
13514 wxPyEndAllowThreads(__tstate);
13515 if (PyErr_Occurred()) SWIG_fail;
13516 }
13517 {
13518 resultobj = PyList_New(0);
13519 size_t idx;
13520 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13521 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13522 PyList_Append(resultobj, val);
13523 Py_DECREF(val);
13524 }
13525 }
13526 return resultobj;
13527 fail:
13528 return NULL;
13529 }
13530
13531
13532 static PyObject *_wrap_Grid_GetSelectedCols(PyObject *self, PyObject *args, PyObject *kwargs) {
13533 PyObject *resultobj;
13534 wxGrid *arg1 = (wxGrid *) 0 ;
13535 wxArrayInt result;
13536 PyObject * obj0 = 0 ;
13537 char *kwnames[] = {
13538 (char *) "self", NULL
13539 };
13540
13541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCols",kwnames,&obj0)) goto fail;
13542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
13545 result = ((wxGrid const *)arg1)->GetSelectedCols();
13546
13547 wxPyEndAllowThreads(__tstate);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
13550 {
13551 resultobj = PyList_New(0);
13552 size_t idx;
13553 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13554 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13555 PyList_Append(resultobj, val);
13556 Py_DECREF(val);
13557 }
13558 }
13559 return resultobj;
13560 fail:
13561 return NULL;
13562 }
13563
13564
13565 static PyObject *_wrap_Grid_DeselectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13566 PyObject *resultobj;
13567 wxGrid *arg1 = (wxGrid *) 0 ;
13568 int arg2 ;
13569 PyObject * obj0 = 0 ;
13570 PyObject * obj1 = 0 ;
13571 char *kwnames[] = {
13572 (char *) "self",(char *) "row", NULL
13573 };
13574
13575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectRow",kwnames,&obj0,&obj1)) goto fail;
13576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13577 {
13578 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 {
13582 PyThreadState* __tstate = wxPyBeginAllowThreads();
13583 (arg1)->DeselectRow(arg2);
13584
13585 wxPyEndAllowThreads(__tstate);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 Py_INCREF(Py_None); resultobj = Py_None;
13589 return resultobj;
13590 fail:
13591 return NULL;
13592 }
13593
13594
13595 static PyObject *_wrap_Grid_DeselectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13596 PyObject *resultobj;
13597 wxGrid *arg1 = (wxGrid *) 0 ;
13598 int arg2 ;
13599 PyObject * obj0 = 0 ;
13600 PyObject * obj1 = 0 ;
13601 char *kwnames[] = {
13602 (char *) "self",(char *) "col", NULL
13603 };
13604
13605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectCol",kwnames,&obj0,&obj1)) goto fail;
13606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13607 {
13608 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13609 if (PyErr_Occurred()) SWIG_fail;
13610 }
13611 {
13612 PyThreadState* __tstate = wxPyBeginAllowThreads();
13613 (arg1)->DeselectCol(arg2);
13614
13615 wxPyEndAllowThreads(__tstate);
13616 if (PyErr_Occurred()) SWIG_fail;
13617 }
13618 Py_INCREF(Py_None); resultobj = Py_None;
13619 return resultobj;
13620 fail:
13621 return NULL;
13622 }
13623
13624
13625 static PyObject *_wrap_Grid_DeselectCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13626 PyObject *resultobj;
13627 wxGrid *arg1 = (wxGrid *) 0 ;
13628 int arg2 ;
13629 int arg3 ;
13630 PyObject * obj0 = 0 ;
13631 PyObject * obj1 = 0 ;
13632 PyObject * obj2 = 0 ;
13633 char *kwnames[] = {
13634 (char *) "self",(char *) "row",(char *) "col", NULL
13635 };
13636
13637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DeselectCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
13638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13639 {
13640 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 {
13644 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13645 if (PyErr_Occurred()) SWIG_fail;
13646 }
13647 {
13648 PyThreadState* __tstate = wxPyBeginAllowThreads();
13649 (arg1)->DeselectCell(arg2,arg3);
13650
13651 wxPyEndAllowThreads(__tstate);
13652 if (PyErr_Occurred()) SWIG_fail;
13653 }
13654 Py_INCREF(Py_None); resultobj = Py_None;
13655 return resultobj;
13656 fail:
13657 return NULL;
13658 }
13659
13660
13661 static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
13662 PyObject *resultobj;
13663 wxGrid *arg1 = (wxGrid *) 0 ;
13664 wxGridCellCoords *arg2 = 0 ;
13665 wxGridCellCoords *arg3 = 0 ;
13666 wxRect result;
13667 wxGridCellCoords temp2 ;
13668 wxGridCellCoords temp3 ;
13669 PyObject * obj0 = 0 ;
13670 PyObject * obj1 = 0 ;
13671 PyObject * obj2 = 0 ;
13672 char *kwnames[] = {
13673 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13674 };
13675
13676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_BlockToDeviceRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
13677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13678 {
13679 arg2 = &temp2;
13680 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
13681 }
13682 {
13683 arg3 = &temp3;
13684 if (! wxGridCellCoords_helper(obj2, &arg3)) SWIG_fail;
13685 }
13686 {
13687 PyThreadState* __tstate = wxPyBeginAllowThreads();
13688 result = (arg1)->BlockToDeviceRect((wxGridCellCoords const &)*arg2,(wxGridCellCoords const &)*arg3);
13689
13690 wxPyEndAllowThreads(__tstate);
13691 if (PyErr_Occurred()) SWIG_fail;
13692 }
13693 {
13694 wxRect * resultptr;
13695 resultptr = new wxRect((wxRect &) result);
13696 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
13697 }
13698 return resultobj;
13699 fail:
13700 return NULL;
13701 }
13702
13703
13704 static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13705 PyObject *resultobj;
13706 wxGrid *arg1 = (wxGrid *) 0 ;
13707 wxColour result;
13708 PyObject * obj0 = 0 ;
13709 char *kwnames[] = {
13710 (char *) "self", NULL
13711 };
13712
13713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBackground",kwnames,&obj0)) goto fail;
13714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13715 {
13716 PyThreadState* __tstate = wxPyBeginAllowThreads();
13717 result = ((wxGrid const *)arg1)->GetSelectionBackground();
13718
13719 wxPyEndAllowThreads(__tstate);
13720 if (PyErr_Occurred()) SWIG_fail;
13721 }
13722 {
13723 wxColour * resultptr;
13724 resultptr = new wxColour((wxColour &) result);
13725 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
13726 }
13727 return resultobj;
13728 fail:
13729 return NULL;
13730 }
13731
13732
13733 static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13734 PyObject *resultobj;
13735 wxGrid *arg1 = (wxGrid *) 0 ;
13736 wxColour result;
13737 PyObject * obj0 = 0 ;
13738 char *kwnames[] = {
13739 (char *) "self", NULL
13740 };
13741
13742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionForeground",kwnames,&obj0)) goto fail;
13743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13744 {
13745 PyThreadState* __tstate = wxPyBeginAllowThreads();
13746 result = ((wxGrid const *)arg1)->GetSelectionForeground();
13747
13748 wxPyEndAllowThreads(__tstate);
13749 if (PyErr_Occurred()) SWIG_fail;
13750 }
13751 {
13752 wxColour * resultptr;
13753 resultptr = new wxColour((wxColour &) result);
13754 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
13755 }
13756 return resultobj;
13757 fail:
13758 return NULL;
13759 }
13760
13761
13762 static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13763 PyObject *resultobj;
13764 wxGrid *arg1 = (wxGrid *) 0 ;
13765 wxColour *arg2 = 0 ;
13766 wxColour temp2 ;
13767 PyObject * obj0 = 0 ;
13768 PyObject * obj1 = 0 ;
13769 char *kwnames[] = {
13770 (char *) "self",(char *) "c", NULL
13771 };
13772
13773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
13774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13775 {
13776 arg2 = &temp2;
13777 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13778 }
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
13781 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
13782
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 Py_INCREF(Py_None); resultobj = Py_None;
13787 return resultobj;
13788 fail:
13789 return NULL;
13790 }
13791
13792
13793 static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13794 PyObject *resultobj;
13795 wxGrid *arg1 = (wxGrid *) 0 ;
13796 wxColour *arg2 = 0 ;
13797 wxColour temp2 ;
13798 PyObject * obj0 = 0 ;
13799 PyObject * obj1 = 0 ;
13800 char *kwnames[] = {
13801 (char *) "self",(char *) "c", NULL
13802 };
13803
13804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionForeground",kwnames,&obj0,&obj1)) goto fail;
13805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13806 {
13807 arg2 = &temp2;
13808 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13809 }
13810 {
13811 PyThreadState* __tstate = wxPyBeginAllowThreads();
13812 (arg1)->SetSelectionForeground((wxColour const &)*arg2);
13813
13814 wxPyEndAllowThreads(__tstate);
13815 if (PyErr_Occurred()) SWIG_fail;
13816 }
13817 Py_INCREF(Py_None); resultobj = Py_None;
13818 return resultobj;
13819 fail:
13820 return NULL;
13821 }
13822
13823
13824 static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
13825 PyObject *resultobj;
13826 wxGrid *arg1 = (wxGrid *) 0 ;
13827 wxString *arg2 = 0 ;
13828 wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
13829 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
13830 bool temp2 = False ;
13831 PyObject * obj0 = 0 ;
13832 PyObject * obj1 = 0 ;
13833 PyObject * obj2 = 0 ;
13834 PyObject * obj3 = 0 ;
13835 char *kwnames[] = {
13836 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
13837 };
13838
13839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_RegisterDataType",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13841 {
13842 arg2 = wxString_in_helper(obj1);
13843 if (arg2 == NULL) SWIG_fail;
13844 temp2 = True;
13845 }
13846 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13847 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13848 {
13849 PyThreadState* __tstate = wxPyBeginAllowThreads();
13850 (arg1)->RegisterDataType((wxString const &)*arg2,arg3,arg4);
13851
13852 wxPyEndAllowThreads(__tstate);
13853 if (PyErr_Occurred()) SWIG_fail;
13854 }
13855 Py_INCREF(Py_None); resultobj = Py_None;
13856 {
13857 if (temp2)
13858 delete arg2;
13859 }
13860 return resultobj;
13861 fail:
13862 {
13863 if (temp2)
13864 delete arg2;
13865 }
13866 return NULL;
13867 }
13868
13869
13870 static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13871 PyObject *resultobj;
13872 wxGrid *arg1 = (wxGrid *) 0 ;
13873 int arg2 ;
13874 int arg3 ;
13875 wxGridCellEditor *result;
13876 PyObject * obj0 = 0 ;
13877 PyObject * obj1 = 0 ;
13878 PyObject * obj2 = 0 ;
13879 char *kwnames[] = {
13880 (char *) "self",(char *) "row",(char *) "col", NULL
13881 };
13882
13883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
13884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13885 {
13886 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 {
13890 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 {
13894 PyThreadState* __tstate = wxPyBeginAllowThreads();
13895 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForCell(arg2,arg3);
13896
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 {
13901 resultobj = wxPyMake_wxGridCellEditor(result);
13902 }
13903 return resultobj;
13904 fail:
13905 return NULL;
13906 }
13907
13908
13909 static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13910 PyObject *resultobj;
13911 wxGrid *arg1 = (wxGrid *) 0 ;
13912 int arg2 ;
13913 int arg3 ;
13914 wxGridCellRenderer *result;
13915 PyObject * obj0 = 0 ;
13916 PyObject * obj1 = 0 ;
13917 PyObject * obj2 = 0 ;
13918 char *kwnames[] = {
13919 (char *) "self",(char *) "row",(char *) "col", NULL
13920 };
13921
13922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
13923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13924 {
13925 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13926 if (PyErr_Occurred()) SWIG_fail;
13927 }
13928 {
13929 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13930 if (PyErr_Occurred()) SWIG_fail;
13931 }
13932 {
13933 PyThreadState* __tstate = wxPyBeginAllowThreads();
13934 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForCell(arg2,arg3);
13935
13936 wxPyEndAllowThreads(__tstate);
13937 if (PyErr_Occurred()) SWIG_fail;
13938 }
13939 {
13940 resultobj = wxPyMake_wxGridCellRenderer(result);
13941 }
13942 return resultobj;
13943 fail:
13944 return NULL;
13945 }
13946
13947
13948 static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
13949 PyObject *resultobj;
13950 wxGrid *arg1 = (wxGrid *) 0 ;
13951 wxString *arg2 = 0 ;
13952 wxGridCellEditor *result;
13953 bool temp2 = False ;
13954 PyObject * obj0 = 0 ;
13955 PyObject * obj1 = 0 ;
13956 char *kwnames[] = {
13957 (char *) "self",(char *) "typeName", NULL
13958 };
13959
13960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultEditorForType",kwnames,&obj0,&obj1)) goto fail;
13961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13962 {
13963 arg2 = wxString_in_helper(obj1);
13964 if (arg2 == NULL) SWIG_fail;
13965 temp2 = True;
13966 }
13967 {
13968 PyThreadState* __tstate = wxPyBeginAllowThreads();
13969 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForType((wxString const &)*arg2);
13970
13971 wxPyEndAllowThreads(__tstate);
13972 if (PyErr_Occurred()) SWIG_fail;
13973 }
13974 {
13975 resultobj = wxPyMake_wxGridCellEditor(result);
13976 }
13977 {
13978 if (temp2)
13979 delete arg2;
13980 }
13981 return resultobj;
13982 fail:
13983 {
13984 if (temp2)
13985 delete arg2;
13986 }
13987 return NULL;
13988 }
13989
13990
13991 static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
13992 PyObject *resultobj;
13993 wxGrid *arg1 = (wxGrid *) 0 ;
13994 wxString *arg2 = 0 ;
13995 wxGridCellRenderer *result;
13996 bool temp2 = False ;
13997 PyObject * obj0 = 0 ;
13998 PyObject * obj1 = 0 ;
13999 char *kwnames[] = {
14000 (char *) "self",(char *) "typeName", NULL
14001 };
14002
14003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultRendererForType",kwnames,&obj0,&obj1)) goto fail;
14004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14005 {
14006 arg2 = wxString_in_helper(obj1);
14007 if (arg2 == NULL) SWIG_fail;
14008 temp2 = True;
14009 }
14010 {
14011 PyThreadState* __tstate = wxPyBeginAllowThreads();
14012 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForType((wxString const &)*arg2);
14013
14014 wxPyEndAllowThreads(__tstate);
14015 if (PyErr_Occurred()) SWIG_fail;
14016 }
14017 {
14018 resultobj = wxPyMake_wxGridCellRenderer(result);
14019 }
14020 {
14021 if (temp2)
14022 delete arg2;
14023 }
14024 return resultobj;
14025 fail:
14026 {
14027 if (temp2)
14028 delete arg2;
14029 }
14030 return NULL;
14031 }
14032
14033
14034 static PyObject *_wrap_Grid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14035 PyObject *resultobj;
14036 wxGrid *arg1 = (wxGrid *) 0 ;
14037 int arg2 ;
14038 int arg3 ;
14039 PyObject * obj0 = 0 ;
14040 PyObject * obj1 = 0 ;
14041 PyObject * obj2 = 0 ;
14042 char *kwnames[] = {
14043 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14044 };
14045
14046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
14047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14048 {
14049 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 {
14053 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14054 if (PyErr_Occurred()) SWIG_fail;
14055 }
14056 {
14057 PyThreadState* __tstate = wxPyBeginAllowThreads();
14058 (arg1)->SetMargins(arg2,arg3);
14059
14060 wxPyEndAllowThreads(__tstate);
14061 if (PyErr_Occurred()) SWIG_fail;
14062 }
14063 Py_INCREF(Py_None); resultobj = Py_None;
14064 return resultobj;
14065 fail:
14066 return NULL;
14067 }
14068
14069
14070 static PyObject *_wrap_Grid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14071 PyObject *resultobj;
14072 wxGrid *arg1 = (wxGrid *) 0 ;
14073 wxWindow *result;
14074 PyObject * obj0 = 0 ;
14075 char *kwnames[] = {
14076 (char *) "self", NULL
14077 };
14078
14079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridWindow",kwnames,&obj0)) goto fail;
14080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14081 {
14082 PyThreadState* __tstate = wxPyBeginAllowThreads();
14083 result = (wxWindow *)(arg1)->GetGridWindow();
14084
14085 wxPyEndAllowThreads(__tstate);
14086 if (PyErr_Occurred()) SWIG_fail;
14087 }
14088 {
14089 resultobj = wxPyMake_wxObject(result);
14090 }
14091 return resultobj;
14092 fail:
14093 return NULL;
14094 }
14095
14096
14097 static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14098 PyObject *resultobj;
14099 wxGrid *arg1 = (wxGrid *) 0 ;
14100 wxWindow *result;
14101 PyObject * obj0 = 0 ;
14102 char *kwnames[] = {
14103 (char *) "self", NULL
14104 };
14105
14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridRowLabelWindow",kwnames,&obj0)) goto fail;
14107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 result = (wxWindow *)(arg1)->GetGridRowLabelWindow();
14111
14112 wxPyEndAllowThreads(__tstate);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
14115 {
14116 resultobj = wxPyMake_wxObject(result);
14117 }
14118 return resultobj;
14119 fail:
14120 return NULL;
14121 }
14122
14123
14124 static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14125 PyObject *resultobj;
14126 wxGrid *arg1 = (wxGrid *) 0 ;
14127 wxWindow *result;
14128 PyObject * obj0 = 0 ;
14129 char *kwnames[] = {
14130 (char *) "self", NULL
14131 };
14132
14133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridColLabelWindow",kwnames,&obj0)) goto fail;
14134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14135 {
14136 PyThreadState* __tstate = wxPyBeginAllowThreads();
14137 result = (wxWindow *)(arg1)->GetGridColLabelWindow();
14138
14139 wxPyEndAllowThreads(__tstate);
14140 if (PyErr_Occurred()) SWIG_fail;
14141 }
14142 {
14143 resultobj = wxPyMake_wxObject(result);
14144 }
14145 return resultobj;
14146 fail:
14147 return NULL;
14148 }
14149
14150
14151 static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14152 PyObject *resultobj;
14153 wxGrid *arg1 = (wxGrid *) 0 ;
14154 wxWindow *result;
14155 PyObject * obj0 = 0 ;
14156 char *kwnames[] = {
14157 (char *) "self", NULL
14158 };
14159
14160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames,&obj0)) goto fail;
14161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14162 {
14163 PyThreadState* __tstate = wxPyBeginAllowThreads();
14164 result = (wxWindow *)(arg1)->GetGridCornerLabelWindow();
14165
14166 wxPyEndAllowThreads(__tstate);
14167 if (PyErr_Occurred()) SWIG_fail;
14168 }
14169 {
14170 resultobj = wxPyMake_wxObject(result);
14171 }
14172 return resultobj;
14173 fail:
14174 return NULL;
14175 }
14176
14177
14178 static PyObject * Grid_swigregister(PyObject *self, PyObject *args) {
14179 PyObject *obj;
14180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14181 SWIG_TypeClientData(SWIGTYPE_p_wxGrid, obj);
14182 Py_INCREF(obj);
14183 return Py_BuildValue((char *)"");
14184 }
14185 static PyObject *_wrap_new_GridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14186 PyObject *resultobj;
14187 int arg1 ;
14188 wxEventType arg2 ;
14189 wxGrid *arg3 = (wxGrid *) 0 ;
14190 int arg4 = (int) -1 ;
14191 int arg5 = (int) -1 ;
14192 int arg6 = (int) -1 ;
14193 int arg7 = (int) -1 ;
14194 bool arg8 = (bool) True ;
14195 bool arg9 = (bool) False ;
14196 bool arg10 = (bool) False ;
14197 bool arg11 = (bool) False ;
14198 bool arg12 = (bool) False ;
14199 wxGridEvent *result;
14200 PyObject * obj0 = 0 ;
14201 PyObject * obj1 = 0 ;
14202 PyObject * obj2 = 0 ;
14203 PyObject * obj3 = 0 ;
14204 PyObject * obj4 = 0 ;
14205 PyObject * obj5 = 0 ;
14206 PyObject * obj6 = 0 ;
14207 PyObject * obj7 = 0 ;
14208 PyObject * obj8 = 0 ;
14209 PyObject * obj9 = 0 ;
14210 PyObject * obj10 = 0 ;
14211 PyObject * obj11 = 0 ;
14212 char *kwnames[] = {
14213 (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
14214 };
14215
14216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOOOO:new_GridEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) goto fail;
14217 {
14218 arg1 = (int) SWIG_PyObj_AsInt(obj0);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 {
14222 arg2 = (wxEventType) SWIG_PyObj_AsInt(obj1);
14223 if (PyErr_Occurred()) SWIG_fail;
14224 }
14225 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14226 if (obj3) {
14227 {
14228 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14229 if (PyErr_Occurred()) SWIG_fail;
14230 }
14231 }
14232 if (obj4) {
14233 {
14234 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14235 if (PyErr_Occurred()) SWIG_fail;
14236 }
14237 }
14238 if (obj5) {
14239 {
14240 arg6 = (int) SWIG_PyObj_AsInt(obj5);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 }
14243 }
14244 if (obj6) {
14245 {
14246 arg7 = (int) SWIG_PyObj_AsInt(obj6);
14247 if (PyErr_Occurred()) SWIG_fail;
14248 }
14249 }
14250 if (obj7) {
14251 {
14252 arg8 = (bool) SWIG_PyObj_AsBool(obj7);
14253 if (PyErr_Occurred()) SWIG_fail;
14254 }
14255 }
14256 if (obj8) {
14257 {
14258 arg9 = (bool) SWIG_PyObj_AsBool(obj8);
14259 if (PyErr_Occurred()) SWIG_fail;
14260 }
14261 }
14262 if (obj9) {
14263 {
14264 arg10 = (bool) SWIG_PyObj_AsBool(obj9);
14265 if (PyErr_Occurred()) SWIG_fail;
14266 }
14267 }
14268 if (obj10) {
14269 {
14270 arg11 = (bool) SWIG_PyObj_AsBool(obj10);
14271 if (PyErr_Occurred()) SWIG_fail;
14272 }
14273 }
14274 if (obj11) {
14275 {
14276 arg12 = (bool) SWIG_PyObj_AsBool(obj11);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 }
14279 }
14280 {
14281 PyThreadState* __tstate = wxPyBeginAllowThreads();
14282 result = (wxGridEvent *)new wxGridEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
14283
14284 wxPyEndAllowThreads(__tstate);
14285 if (PyErr_Occurred()) SWIG_fail;
14286 }
14287 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridEvent, 1);
14288 return resultobj;
14289 fail:
14290 return NULL;
14291 }
14292
14293
14294 static PyObject *_wrap_GridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14295 PyObject *resultobj;
14296 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14297 int result;
14298 PyObject * obj0 = 0 ;
14299 char *kwnames[] = {
14300 (char *) "self", NULL
14301 };
14302
14303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetRow",kwnames,&obj0)) goto fail;
14304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 result = (int)(arg1)->GetRow();
14308
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 resultobj = SWIG_PyObj_FromInt((int)result);
14313 return resultobj;
14314 fail:
14315 return NULL;
14316 }
14317
14318
14319 static PyObject *_wrap_GridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14320 PyObject *resultobj;
14321 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14322 int result;
14323 PyObject * obj0 = 0 ;
14324 char *kwnames[] = {
14325 (char *) "self", NULL
14326 };
14327
14328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetCol",kwnames,&obj0)) goto fail;
14329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14330 {
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 result = (int)(arg1)->GetCol();
14333
14334 wxPyEndAllowThreads(__tstate);
14335 if (PyErr_Occurred()) SWIG_fail;
14336 }
14337 resultobj = SWIG_PyObj_FromInt((int)result);
14338 return resultobj;
14339 fail:
14340 return NULL;
14341 }
14342
14343
14344 static PyObject *_wrap_GridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14345 PyObject *resultobj;
14346 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14347 wxPoint result;
14348 PyObject * obj0 = 0 ;
14349 char *kwnames[] = {
14350 (char *) "self", NULL
14351 };
14352
14353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetPosition",kwnames,&obj0)) goto fail;
14354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14355 {
14356 PyThreadState* __tstate = wxPyBeginAllowThreads();
14357 result = (arg1)->GetPosition();
14358
14359 wxPyEndAllowThreads(__tstate);
14360 if (PyErr_Occurred()) SWIG_fail;
14361 }
14362 {
14363 wxPoint * resultptr;
14364 resultptr = new wxPoint((wxPoint &) result);
14365 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
14366 }
14367 return resultobj;
14368 fail:
14369 return NULL;
14370 }
14371
14372
14373 static PyObject *_wrap_GridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
14374 PyObject *resultobj;
14375 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14376 bool result;
14377 PyObject * obj0 = 0 ;
14378 char *kwnames[] = {
14379 (char *) "self", NULL
14380 };
14381
14382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_Selecting",kwnames,&obj0)) goto fail;
14383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14384 {
14385 PyThreadState* __tstate = wxPyBeginAllowThreads();
14386 result = (bool)(arg1)->Selecting();
14387
14388 wxPyEndAllowThreads(__tstate);
14389 if (PyErr_Occurred()) SWIG_fail;
14390 }
14391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14392 return resultobj;
14393 fail:
14394 return NULL;
14395 }
14396
14397
14398 static PyObject *_wrap_GridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14399 PyObject *resultobj;
14400 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14401 bool result;
14402 PyObject * obj0 = 0 ;
14403 char *kwnames[] = {
14404 (char *) "self", NULL
14405 };
14406
14407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ControlDown",kwnames,&obj0)) goto fail;
14408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14409 {
14410 PyThreadState* __tstate = wxPyBeginAllowThreads();
14411 result = (bool)(arg1)->ControlDown();
14412
14413 wxPyEndAllowThreads(__tstate);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
14416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14417 return resultobj;
14418 fail:
14419 return NULL;
14420 }
14421
14422
14423 static PyObject *_wrap_GridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14424 PyObject *resultobj;
14425 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14426 bool result;
14427 PyObject * obj0 = 0 ;
14428 char *kwnames[] = {
14429 (char *) "self", NULL
14430 };
14431
14432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_MetaDown",kwnames,&obj0)) goto fail;
14433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14434 {
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 result = (bool)(arg1)->MetaDown();
14437
14438 wxPyEndAllowThreads(__tstate);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14442 return resultobj;
14443 fail:
14444 return NULL;
14445 }
14446
14447
14448 static PyObject *_wrap_GridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14449 PyObject *resultobj;
14450 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14451 bool result;
14452 PyObject * obj0 = 0 ;
14453 char *kwnames[] = {
14454 (char *) "self", NULL
14455 };
14456
14457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ShiftDown",kwnames,&obj0)) goto fail;
14458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14459 {
14460 PyThreadState* __tstate = wxPyBeginAllowThreads();
14461 result = (bool)(arg1)->ShiftDown();
14462
14463 wxPyEndAllowThreads(__tstate);
14464 if (PyErr_Occurred()) SWIG_fail;
14465 }
14466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14467 return resultobj;
14468 fail:
14469 return NULL;
14470 }
14471
14472
14473 static PyObject *_wrap_GridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14474 PyObject *resultobj;
14475 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14476 bool result;
14477 PyObject * obj0 = 0 ;
14478 char *kwnames[] = {
14479 (char *) "self", NULL
14480 };
14481
14482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_AltDown",kwnames,&obj0)) goto fail;
14483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14484 {
14485 PyThreadState* __tstate = wxPyBeginAllowThreads();
14486 result = (bool)(arg1)->AltDown();
14487
14488 wxPyEndAllowThreads(__tstate);
14489 if (PyErr_Occurred()) SWIG_fail;
14490 }
14491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14492 return resultobj;
14493 fail:
14494 return NULL;
14495 }
14496
14497
14498 static PyObject * GridEvent_swigregister(PyObject *self, PyObject *args) {
14499 PyObject *obj;
14500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14501 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent, obj);
14502 Py_INCREF(obj);
14503 return Py_BuildValue((char *)"");
14504 }
14505 static PyObject *_wrap_new_GridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14506 PyObject *resultobj;
14507 int arg1 ;
14508 wxEventType arg2 ;
14509 wxGrid *arg3 = (wxGrid *) 0 ;
14510 int arg4 = (int) -1 ;
14511 int arg5 = (int) -1 ;
14512 int arg6 = (int) -1 ;
14513 bool arg7 = (bool) False ;
14514 bool arg8 = (bool) False ;
14515 bool arg9 = (bool) False ;
14516 bool arg10 = (bool) False ;
14517 wxGridSizeEvent *result;
14518 PyObject * obj0 = 0 ;
14519 PyObject * obj1 = 0 ;
14520 PyObject * obj2 = 0 ;
14521 PyObject * obj3 = 0 ;
14522 PyObject * obj4 = 0 ;
14523 PyObject * obj5 = 0 ;
14524 PyObject * obj6 = 0 ;
14525 PyObject * obj7 = 0 ;
14526 PyObject * obj8 = 0 ;
14527 PyObject * obj9 = 0 ;
14528 char *kwnames[] = {
14529 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14530 };
14531
14532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14533 {
14534 arg1 = (int) SWIG_PyObj_AsInt(obj0);
14535 if (PyErr_Occurred()) SWIG_fail;
14536 }
14537 {
14538 arg2 = (wxEventType) SWIG_PyObj_AsInt(obj1);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14542 if (obj3) {
14543 {
14544 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14545 if (PyErr_Occurred()) SWIG_fail;
14546 }
14547 }
14548 if (obj4) {
14549 {
14550 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14551 if (PyErr_Occurred()) SWIG_fail;
14552 }
14553 }
14554 if (obj5) {
14555 {
14556 arg6 = (int) SWIG_PyObj_AsInt(obj5);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
14559 }
14560 if (obj6) {
14561 {
14562 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
14563 if (PyErr_Occurred()) SWIG_fail;
14564 }
14565 }
14566 if (obj7) {
14567 {
14568 arg8 = (bool) SWIG_PyObj_AsBool(obj7);
14569 if (PyErr_Occurred()) SWIG_fail;
14570 }
14571 }
14572 if (obj8) {
14573 {
14574 arg9 = (bool) SWIG_PyObj_AsBool(obj8);
14575 if (PyErr_Occurred()) SWIG_fail;
14576 }
14577 }
14578 if (obj9) {
14579 {
14580 arg10 = (bool) SWIG_PyObj_AsBool(obj9);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 }
14583 }
14584 {
14585 PyThreadState* __tstate = wxPyBeginAllowThreads();
14586 result = (wxGridSizeEvent *)new wxGridSizeEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
14587
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
14591 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridSizeEvent, 1);
14592 return resultobj;
14593 fail:
14594 return NULL;
14595 }
14596
14597
14598 static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14599 PyObject *resultobj;
14600 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14601 int result;
14602 PyObject * obj0 = 0 ;
14603 char *kwnames[] = {
14604 (char *) "self", NULL
14605 };
14606
14607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames,&obj0)) goto fail;
14608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14609 {
14610 PyThreadState* __tstate = wxPyBeginAllowThreads();
14611 result = (int)(arg1)->GetRowOrCol();
14612
14613 wxPyEndAllowThreads(__tstate);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 }
14616 resultobj = SWIG_PyObj_FromInt((int)result);
14617 return resultobj;
14618 fail:
14619 return NULL;
14620 }
14621
14622
14623 static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14624 PyObject *resultobj;
14625 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14626 wxPoint result;
14627 PyObject * obj0 = 0 ;
14628 char *kwnames[] = {
14629 (char *) "self", NULL
14630 };
14631
14632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetPosition",kwnames,&obj0)) goto fail;
14633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14634 {
14635 PyThreadState* __tstate = wxPyBeginAllowThreads();
14636 result = (arg1)->GetPosition();
14637
14638 wxPyEndAllowThreads(__tstate);
14639 if (PyErr_Occurred()) SWIG_fail;
14640 }
14641 {
14642 wxPoint * resultptr;
14643 resultptr = new wxPoint((wxPoint &) result);
14644 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
14645 }
14646 return resultobj;
14647 fail:
14648 return NULL;
14649 }
14650
14651
14652 static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14653 PyObject *resultobj;
14654 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14655 bool result;
14656 PyObject * obj0 = 0 ;
14657 char *kwnames[] = {
14658 (char *) "self", NULL
14659 };
14660
14661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ControlDown",kwnames,&obj0)) goto fail;
14662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14663 {
14664 PyThreadState* __tstate = wxPyBeginAllowThreads();
14665 result = (bool)(arg1)->ControlDown();
14666
14667 wxPyEndAllowThreads(__tstate);
14668 if (PyErr_Occurred()) SWIG_fail;
14669 }
14670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14671 return resultobj;
14672 fail:
14673 return NULL;
14674 }
14675
14676
14677 static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14678 PyObject *resultobj;
14679 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14680 bool result;
14681 PyObject * obj0 = 0 ;
14682 char *kwnames[] = {
14683 (char *) "self", NULL
14684 };
14685
14686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_MetaDown",kwnames,&obj0)) goto fail;
14687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14688 {
14689 PyThreadState* __tstate = wxPyBeginAllowThreads();
14690 result = (bool)(arg1)->MetaDown();
14691
14692 wxPyEndAllowThreads(__tstate);
14693 if (PyErr_Occurred()) SWIG_fail;
14694 }
14695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14696 return resultobj;
14697 fail:
14698 return NULL;
14699 }
14700
14701
14702 static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14703 PyObject *resultobj;
14704 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14705 bool result;
14706 PyObject * obj0 = 0 ;
14707 char *kwnames[] = {
14708 (char *) "self", NULL
14709 };
14710
14711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ShiftDown",kwnames,&obj0)) goto fail;
14712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14713 {
14714 PyThreadState* __tstate = wxPyBeginAllowThreads();
14715 result = (bool)(arg1)->ShiftDown();
14716
14717 wxPyEndAllowThreads(__tstate);
14718 if (PyErr_Occurred()) SWIG_fail;
14719 }
14720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14721 return resultobj;
14722 fail:
14723 return NULL;
14724 }
14725
14726
14727 static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14728 PyObject *resultobj;
14729 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14730 bool result;
14731 PyObject * obj0 = 0 ;
14732 char *kwnames[] = {
14733 (char *) "self", NULL
14734 };
14735
14736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_AltDown",kwnames,&obj0)) goto fail;
14737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14738 {
14739 PyThreadState* __tstate = wxPyBeginAllowThreads();
14740 result = (bool)(arg1)->AltDown();
14741
14742 wxPyEndAllowThreads(__tstate);
14743 if (PyErr_Occurred()) SWIG_fail;
14744 }
14745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14746 return resultobj;
14747 fail:
14748 return NULL;
14749 }
14750
14751
14752 static PyObject * GridSizeEvent_swigregister(PyObject *self, PyObject *args) {
14753 PyObject *obj;
14754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14755 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent, obj);
14756 Py_INCREF(obj);
14757 return Py_BuildValue((char *)"");
14758 }
14759 static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14760 PyObject *resultobj;
14761 int arg1 ;
14762 wxEventType arg2 ;
14763 wxGrid *arg3 = (wxGrid *) 0 ;
14764 wxGridCellCoords *arg4 = 0 ;
14765 wxGridCellCoords *arg5 = 0 ;
14766 bool arg6 = (bool) True ;
14767 bool arg7 = (bool) False ;
14768 bool arg8 = (bool) False ;
14769 bool arg9 = (bool) False ;
14770 bool arg10 = (bool) False ;
14771 wxGridRangeSelectEvent *result;
14772 wxGridCellCoords temp4 ;
14773 wxGridCellCoords temp5 ;
14774 PyObject * obj0 = 0 ;
14775 PyObject * obj1 = 0 ;
14776 PyObject * obj2 = 0 ;
14777 PyObject * obj3 = 0 ;
14778 PyObject * obj4 = 0 ;
14779 PyObject * obj5 = 0 ;
14780 PyObject * obj6 = 0 ;
14781 PyObject * obj7 = 0 ;
14782 PyObject * obj8 = 0 ;
14783 PyObject * obj9 = 0 ;
14784 char *kwnames[] = {
14785 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14786 };
14787
14788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14789 {
14790 arg1 = (int) SWIG_PyObj_AsInt(obj0);
14791 if (PyErr_Occurred()) SWIG_fail;
14792 }
14793 {
14794 arg2 = (wxEventType) SWIG_PyObj_AsInt(obj1);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGrid,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14798 {
14799 arg4 = &temp4;
14800 if (! wxGridCellCoords_helper(obj3, &arg4)) SWIG_fail;
14801 }
14802 {
14803 arg5 = &temp5;
14804 if (! wxGridCellCoords_helper(obj4, &arg5)) SWIG_fail;
14805 }
14806 if (obj5) {
14807 {
14808 arg6 = (bool) SWIG_PyObj_AsBool(obj5);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 }
14811 }
14812 if (obj6) {
14813 {
14814 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 }
14818 if (obj7) {
14819 {
14820 arg8 = (bool) SWIG_PyObj_AsBool(obj7);
14821 if (PyErr_Occurred()) SWIG_fail;
14822 }
14823 }
14824 if (obj8) {
14825 {
14826 arg9 = (bool) SWIG_PyObj_AsBool(obj8);
14827 if (PyErr_Occurred()) SWIG_fail;
14828 }
14829 }
14830 if (obj9) {
14831 {
14832 arg10 = (bool) SWIG_PyObj_AsBool(obj9);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 }
14836 {
14837 PyThreadState* __tstate = wxPyBeginAllowThreads();
14838 result = (wxGridRangeSelectEvent *)new wxGridRangeSelectEvent(arg1,arg2,arg3,(wxGridCellCoords const &)*arg4,(wxGridCellCoords const &)*arg5,arg6,arg7,arg8,arg9,arg10);
14839
14840 wxPyEndAllowThreads(__tstate);
14841 if (PyErr_Occurred()) SWIG_fail;
14842 }
14843 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridRangeSelectEvent, 1);
14844 return resultobj;
14845 fail:
14846 return NULL;
14847 }
14848
14849
14850 static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14851 PyObject *resultobj;
14852 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14853 wxGridCellCoords result;
14854 PyObject * obj0 = 0 ;
14855 char *kwnames[] = {
14856 (char *) "self", NULL
14857 };
14858
14859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames,&obj0)) goto fail;
14860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14861 {
14862 PyThreadState* __tstate = wxPyBeginAllowThreads();
14863 result = (arg1)->GetTopLeftCoords();
14864
14865 wxPyEndAllowThreads(__tstate);
14866 if (PyErr_Occurred()) SWIG_fail;
14867 }
14868 {
14869 wxGridCellCoords * resultptr;
14870 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
14871 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGridCellCoords, 1);
14872 }
14873 return resultobj;
14874 fail:
14875 return NULL;
14876 }
14877
14878
14879 static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14880 PyObject *resultobj;
14881 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14882 wxGridCellCoords result;
14883 PyObject * obj0 = 0 ;
14884 char *kwnames[] = {
14885 (char *) "self", NULL
14886 };
14887
14888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames,&obj0)) goto fail;
14889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 result = (arg1)->GetBottomRightCoords();
14893
14894 wxPyEndAllowThreads(__tstate);
14895 if (PyErr_Occurred()) SWIG_fail;
14896 }
14897 {
14898 wxGridCellCoords * resultptr;
14899 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
14900 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGridCellCoords, 1);
14901 }
14902 return resultobj;
14903 fail:
14904 return NULL;
14905 }
14906
14907
14908 static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14909 PyObject *resultobj;
14910 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14911 int result;
14912 PyObject * obj0 = 0 ;
14913 char *kwnames[] = {
14914 (char *) "self", NULL
14915 };
14916
14917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames,&obj0)) goto fail;
14918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14919 {
14920 PyThreadState* __tstate = wxPyBeginAllowThreads();
14921 result = (int)(arg1)->GetTopRow();
14922
14923 wxPyEndAllowThreads(__tstate);
14924 if (PyErr_Occurred()) SWIG_fail;
14925 }
14926 resultobj = SWIG_PyObj_FromInt((int)result);
14927 return resultobj;
14928 fail:
14929 return NULL;
14930 }
14931
14932
14933 static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14934 PyObject *resultobj;
14935 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14936 int result;
14937 PyObject * obj0 = 0 ;
14938 char *kwnames[] = {
14939 (char *) "self", NULL
14940 };
14941
14942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames,&obj0)) goto fail;
14943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14944 {
14945 PyThreadState* __tstate = wxPyBeginAllowThreads();
14946 result = (int)(arg1)->GetBottomRow();
14947
14948 wxPyEndAllowThreads(__tstate);
14949 if (PyErr_Occurred()) SWIG_fail;
14950 }
14951 resultobj = SWIG_PyObj_FromInt((int)result);
14952 return resultobj;
14953 fail:
14954 return NULL;
14955 }
14956
14957
14958 static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14959 PyObject *resultobj;
14960 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14961 int result;
14962 PyObject * obj0 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames,&obj0)) goto fail;
14968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 result = (int)(arg1)->GetLeftCol();
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 resultobj = SWIG_PyObj_FromInt((int)result);
14977 return resultobj;
14978 fail:
14979 return NULL;
14980 }
14981
14982
14983 static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14984 PyObject *resultobj;
14985 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
14986 int result;
14987 PyObject * obj0 = 0 ;
14988 char *kwnames[] = {
14989 (char *) "self", NULL
14990 };
14991
14992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames,&obj0)) goto fail;
14993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14994 {
14995 PyThreadState* __tstate = wxPyBeginAllowThreads();
14996 result = (int)(arg1)->GetRightCol();
14997
14998 wxPyEndAllowThreads(__tstate);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 }
15001 resultobj = SWIG_PyObj_FromInt((int)result);
15002 return resultobj;
15003 fail:
15004 return NULL;
15005 }
15006
15007
15008 static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
15009 PyObject *resultobj;
15010 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15011 bool result;
15012 PyObject * obj0 = 0 ;
15013 char *kwnames[] = {
15014 (char *) "self", NULL
15015 };
15016
15017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_Selecting",kwnames,&obj0)) goto fail;
15018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15019 {
15020 PyThreadState* __tstate = wxPyBeginAllowThreads();
15021 result = (bool)(arg1)->Selecting();
15022
15023 wxPyEndAllowThreads(__tstate);
15024 if (PyErr_Occurred()) SWIG_fail;
15025 }
15026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15027 return resultobj;
15028 fail:
15029 return NULL;
15030 }
15031
15032
15033 static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15034 PyObject *resultobj;
15035 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15036 bool result;
15037 PyObject * obj0 = 0 ;
15038 char *kwnames[] = {
15039 (char *) "self", NULL
15040 };
15041
15042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames,&obj0)) goto fail;
15043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15044 {
15045 PyThreadState* __tstate = wxPyBeginAllowThreads();
15046 result = (bool)(arg1)->ControlDown();
15047
15048 wxPyEndAllowThreads(__tstate);
15049 if (PyErr_Occurred()) SWIG_fail;
15050 }
15051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15052 return resultobj;
15053 fail:
15054 return NULL;
15055 }
15056
15057
15058 static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15059 PyObject *resultobj;
15060 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15061 bool result;
15062 PyObject * obj0 = 0 ;
15063 char *kwnames[] = {
15064 (char *) "self", NULL
15065 };
15066
15067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames,&obj0)) goto fail;
15068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15069 {
15070 PyThreadState* __tstate = wxPyBeginAllowThreads();
15071 result = (bool)(arg1)->MetaDown();
15072
15073 wxPyEndAllowThreads(__tstate);
15074 if (PyErr_Occurred()) SWIG_fail;
15075 }
15076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15077 return resultobj;
15078 fail:
15079 return NULL;
15080 }
15081
15082
15083 static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15084 PyObject *resultobj;
15085 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15086 bool result;
15087 PyObject * obj0 = 0 ;
15088 char *kwnames[] = {
15089 (char *) "self", NULL
15090 };
15091
15092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames,&obj0)) goto fail;
15093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15094 {
15095 PyThreadState* __tstate = wxPyBeginAllowThreads();
15096 result = (bool)(arg1)->ShiftDown();
15097
15098 wxPyEndAllowThreads(__tstate);
15099 if (PyErr_Occurred()) SWIG_fail;
15100 }
15101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15102 return resultobj;
15103 fail:
15104 return NULL;
15105 }
15106
15107
15108 static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15109 PyObject *resultobj;
15110 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15111 bool result;
15112 PyObject * obj0 = 0 ;
15113 char *kwnames[] = {
15114 (char *) "self", NULL
15115 };
15116
15117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_AltDown",kwnames,&obj0)) goto fail;
15118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridRangeSelectEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15119 {
15120 PyThreadState* __tstate = wxPyBeginAllowThreads();
15121 result = (bool)(arg1)->AltDown();
15122
15123 wxPyEndAllowThreads(__tstate);
15124 if (PyErr_Occurred()) SWIG_fail;
15125 }
15126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15127 return resultobj;
15128 fail:
15129 return NULL;
15130 }
15131
15132
15133 static PyObject * GridRangeSelectEvent_swigregister(PyObject *self, PyObject *args) {
15134 PyObject *obj;
15135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15136 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent, obj);
15137 Py_INCREF(obj);
15138 return Py_BuildValue((char *)"");
15139 }
15140 static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15141 PyObject *resultobj;
15142 int arg1 ;
15143 wxEventType arg2 ;
15144 wxObject *arg3 = (wxObject *) 0 ;
15145 int arg4 ;
15146 int arg5 ;
15147 wxControl *arg6 = (wxControl *) 0 ;
15148 wxGridEditorCreatedEvent *result;
15149 PyObject * obj0 = 0 ;
15150 PyObject * obj1 = 0 ;
15151 PyObject * obj2 = 0 ;
15152 PyObject * obj3 = 0 ;
15153 PyObject * obj4 = 0 ;
15154 PyObject * obj5 = 0 ;
15155 char *kwnames[] = {
15156 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15157 };
15158
15159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15160 {
15161 arg1 = (int) SWIG_PyObj_AsInt(obj0);
15162 if (PyErr_Occurred()) SWIG_fail;
15163 }
15164 {
15165 arg2 = (wxEventType) SWIG_PyObj_AsInt(obj1);
15166 if (PyErr_Occurred()) SWIG_fail;
15167 }
15168 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15169 {
15170 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 }
15173 {
15174 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15175 if (PyErr_Occurred()) SWIG_fail;
15176 }
15177 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15178 {
15179 PyThreadState* __tstate = wxPyBeginAllowThreads();
15180 result = (wxGridEditorCreatedEvent *)new wxGridEditorCreatedEvent(arg1,arg2,arg3,arg4,arg5,arg6);
15181
15182 wxPyEndAllowThreads(__tstate);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridEditorCreatedEvent, 1);
15186 return resultobj;
15187 fail:
15188 return NULL;
15189 }
15190
15191
15192 static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15193 PyObject *resultobj;
15194 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15195 int result;
15196 PyObject * obj0 = 0 ;
15197 char *kwnames[] = {
15198 (char *) "self", NULL
15199 };
15200
15201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames,&obj0)) goto fail;
15202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15203 {
15204 PyThreadState* __tstate = wxPyBeginAllowThreads();
15205 result = (int)(arg1)->GetRow();
15206
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 resultobj = SWIG_PyObj_FromInt((int)result);
15211 return resultobj;
15212 fail:
15213 return NULL;
15214 }
15215
15216
15217 static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15218 PyObject *resultobj;
15219 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15220 int result;
15221 PyObject * obj0 = 0 ;
15222 char *kwnames[] = {
15223 (char *) "self", NULL
15224 };
15225
15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames,&obj0)) goto fail;
15227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15228 {
15229 PyThreadState* __tstate = wxPyBeginAllowThreads();
15230 result = (int)(arg1)->GetCol();
15231
15232 wxPyEndAllowThreads(__tstate);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
15235 resultobj = SWIG_PyObj_FromInt((int)result);
15236 return resultobj;
15237 fail:
15238 return NULL;
15239 }
15240
15241
15242 static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15243 PyObject *resultobj;
15244 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15245 wxControl *result;
15246 PyObject * obj0 = 0 ;
15247 char *kwnames[] = {
15248 (char *) "self", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames,&obj0)) goto fail;
15252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15253 {
15254 PyThreadState* __tstate = wxPyBeginAllowThreads();
15255 result = (wxControl *)(arg1)->GetControl();
15256
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
15260 {
15261 resultobj = wxPyMake_wxObject(result);
15262 }
15263 return resultobj;
15264 fail:
15265 return NULL;
15266 }
15267
15268
15269 static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15270 PyObject *resultobj;
15271 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15272 int arg2 ;
15273 PyObject * obj0 = 0 ;
15274 PyObject * obj1 = 0 ;
15275 char *kwnames[] = {
15276 (char *) "self",(char *) "row", NULL
15277 };
15278
15279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames,&obj0,&obj1)) goto fail;
15280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15281 {
15282 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15283 if (PyErr_Occurred()) SWIG_fail;
15284 }
15285 {
15286 PyThreadState* __tstate = wxPyBeginAllowThreads();
15287 (arg1)->SetRow(arg2);
15288
15289 wxPyEndAllowThreads(__tstate);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 }
15292 Py_INCREF(Py_None); resultobj = Py_None;
15293 return resultobj;
15294 fail:
15295 return NULL;
15296 }
15297
15298
15299 static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15300 PyObject *resultobj;
15301 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15302 int arg2 ;
15303 PyObject * obj0 = 0 ;
15304 PyObject * obj1 = 0 ;
15305 char *kwnames[] = {
15306 (char *) "self",(char *) "col", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames,&obj0,&obj1)) goto fail;
15310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15311 {
15312 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
15315 {
15316 PyThreadState* __tstate = wxPyBeginAllowThreads();
15317 (arg1)->SetCol(arg2);
15318
15319 wxPyEndAllowThreads(__tstate);
15320 if (PyErr_Occurred()) SWIG_fail;
15321 }
15322 Py_INCREF(Py_None); resultobj = Py_None;
15323 return resultobj;
15324 fail:
15325 return NULL;
15326 }
15327
15328
15329 static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15330 PyObject *resultobj;
15331 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15332 wxControl *arg2 = (wxControl *) 0 ;
15333 PyObject * obj0 = 0 ;
15334 PyObject * obj1 = 0 ;
15335 char *kwnames[] = {
15336 (char *) "self",(char *) "ctrl", NULL
15337 };
15338
15339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames,&obj0,&obj1)) goto fail;
15340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridEditorCreatedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15342 {
15343 PyThreadState* __tstate = wxPyBeginAllowThreads();
15344 (arg1)->SetControl(arg2);
15345
15346 wxPyEndAllowThreads(__tstate);
15347 if (PyErr_Occurred()) SWIG_fail;
15348 }
15349 Py_INCREF(Py_None); resultobj = Py_None;
15350 return resultobj;
15351 fail:
15352 return NULL;
15353 }
15354
15355
15356 static PyObject * GridEditorCreatedEvent_swigregister(PyObject *self, PyObject *args) {
15357 PyObject *obj;
15358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15359 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent, obj);
15360 Py_INCREF(obj);
15361 return Py_BuildValue((char *)"");
15362 }
15363 static PyMethodDef SwigMethods[] = {
15364 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction) _wrap_GridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15365 { (char *)"GridCellRenderer_SetParameters", (PyCFunction) _wrap_GridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
15366 { (char *)"GridCellRenderer_IncRef", (PyCFunction) _wrap_GridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
15367 { (char *)"GridCellRenderer_DecRef", (PyCFunction) _wrap_GridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
15368 { (char *)"GridCellRenderer_Draw", (PyCFunction) _wrap_GridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
15369 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction) _wrap_GridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
15370 { (char *)"GridCellRenderer_Clone", (PyCFunction) _wrap_GridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
15371 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister, METH_VARARGS },
15372 { (char *)"new_PyGridCellRenderer", (PyCFunction) _wrap_new_PyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
15373 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_PyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15374 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_PyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15375 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister, METH_VARARGS },
15376 { (char *)"new_GridCellStringRenderer", (PyCFunction) _wrap_new_GridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
15377 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister, METH_VARARGS },
15378 { (char *)"new_GridCellNumberRenderer", (PyCFunction) _wrap_new_GridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
15379 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister, METH_VARARGS },
15380 { (char *)"new_GridCellFloatRenderer", (PyCFunction) _wrap_new_GridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
15381 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
15382 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
15383 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
15384 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
15385 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister, METH_VARARGS },
15386 { (char *)"new_GridCellBoolRenderer", (PyCFunction) _wrap_new_GridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
15387 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister, METH_VARARGS },
15388 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction) _wrap_new_GridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
15389 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister, METH_VARARGS },
15390 { (char *)"new_GridCellEnumRenderer", (PyCFunction) _wrap_new_GridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
15391 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister, METH_VARARGS },
15392 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_GridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
15393 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister, METH_VARARGS },
15394 { (char *)"GridCellEditor__setOORInfo", (PyCFunction) _wrap_GridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15395 { (char *)"GridCellEditor_IsCreated", (PyCFunction) _wrap_GridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
15396 { (char *)"GridCellEditor_GetControl", (PyCFunction) _wrap_GridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
15397 { (char *)"GridCellEditor_SetControl", (PyCFunction) _wrap_GridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
15398 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction) _wrap_GridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS },
15399 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction) _wrap_GridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS },
15400 { (char *)"GridCellEditor_SetParameters", (PyCFunction) _wrap_GridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
15401 { (char *)"GridCellEditor_IncRef", (PyCFunction) _wrap_GridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
15402 { (char *)"GridCellEditor_DecRef", (PyCFunction) _wrap_GridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
15403 { (char *)"GridCellEditor_Create", (PyCFunction) _wrap_GridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
15404 { (char *)"GridCellEditor_BeginEdit", (PyCFunction) _wrap_GridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
15405 { (char *)"GridCellEditor_EndEdit", (PyCFunction) _wrap_GridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
15406 { (char *)"GridCellEditor_Reset", (PyCFunction) _wrap_GridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
15407 { (char *)"GridCellEditor_Clone", (PyCFunction) _wrap_GridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
15408 { (char *)"GridCellEditor_SetSize", (PyCFunction) _wrap_GridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
15409 { (char *)"GridCellEditor_Show", (PyCFunction) _wrap_GridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
15410 { (char *)"GridCellEditor_PaintBackground", (PyCFunction) _wrap_GridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15411 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_GridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15412 { (char *)"GridCellEditor_StartingKey", (PyCFunction) _wrap_GridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
15413 { (char *)"GridCellEditor_StartingClick", (PyCFunction) _wrap_GridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
15414 { (char *)"GridCellEditor_HandleReturn", (PyCFunction) _wrap_GridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15415 { (char *)"GridCellEditor_Destroy", (PyCFunction) _wrap_GridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
15416 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister, METH_VARARGS },
15417 { (char *)"new_PyGridCellEditor", (PyCFunction) _wrap_new_PyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
15418 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_PyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15419 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction) _wrap_PyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
15420 { (char *)"PyGridCellEditor_base_Show", (PyCFunction) _wrap_PyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
15421 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_PyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15422 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_PyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15423 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_PyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
15424 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_PyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
15425 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_PyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15426 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction) _wrap_PyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
15427 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_PyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15428 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister, METH_VARARGS },
15429 { (char *)"new_GridCellTextEditor", (PyCFunction) _wrap_new_GridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
15430 { (char *)"GridCellTextEditor_GetValue", (PyCFunction) _wrap_GridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15431 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister, METH_VARARGS },
15432 { (char *)"new_GridCellNumberEditor", (PyCFunction) _wrap_new_GridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
15433 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction) _wrap_GridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15434 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister, METH_VARARGS },
15435 { (char *)"new_GridCellFloatEditor", (PyCFunction) _wrap_new_GridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
15436 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction) _wrap_GridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15437 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS },
15438 { (char *)"new_GridCellBoolEditor", (PyCFunction) _wrap_new_GridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
15439 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction) _wrap_GridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15440 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS },
15441 { (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
15442 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction) _wrap_GridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15443 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister, METH_VARARGS },
15444 { (char *)"new_GridCellEnumEditor", (PyCFunction) _wrap_new_GridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
15445 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction) _wrap_GridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15446 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister, METH_VARARGS },
15447 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_GridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
15448 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_GridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15449 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister, METH_VARARGS },
15450 { (char *)"GridCellAttr__setOORInfo", (PyCFunction) _wrap_GridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15451 { (char *)"new_GridCellAttr", (PyCFunction) _wrap_new_GridCellAttr, METH_VARARGS | METH_KEYWORDS },
15452 { (char *)"GridCellAttr_Clone", (PyCFunction) _wrap_GridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
15453 { (char *)"GridCellAttr_MergeWith", (PyCFunction) _wrap_GridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
15454 { (char *)"GridCellAttr_IncRef", (PyCFunction) _wrap_GridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
15455 { (char *)"GridCellAttr_DecRef", (PyCFunction) _wrap_GridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
15456 { (char *)"GridCellAttr_SetTextColour", (PyCFunction) _wrap_GridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
15457 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15458 { (char *)"GridCellAttr_SetFont", (PyCFunction) _wrap_GridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
15459 { (char *)"GridCellAttr_SetAlignment", (PyCFunction) _wrap_GridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
15460 { (char *)"GridCellAttr_SetSize", (PyCFunction) _wrap_GridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS },
15461 { (char *)"GridCellAttr_SetOverflow", (PyCFunction) _wrap_GridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS },
15462 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction) _wrap_GridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15463 { (char *)"GridCellAttr_SetRenderer", (PyCFunction) _wrap_GridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
15464 { (char *)"GridCellAttr_SetEditor", (PyCFunction) _wrap_GridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
15465 { (char *)"GridCellAttr_SetKind", (PyCFunction) _wrap_GridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
15466 { (char *)"GridCellAttr_HasTextColour", (PyCFunction) _wrap_GridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
15467 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_GridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15468 { (char *)"GridCellAttr_HasFont", (PyCFunction) _wrap_GridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
15469 { (char *)"GridCellAttr_HasAlignment", (PyCFunction) _wrap_GridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
15470 { (char *)"GridCellAttr_HasRenderer", (PyCFunction) _wrap_GridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
15471 { (char *)"GridCellAttr_HasEditor", (PyCFunction) _wrap_GridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
15472 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_GridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
15473 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction) _wrap_GridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS },
15474 { (char *)"GridCellAttr_GetTextColour", (PyCFunction) _wrap_GridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
15475 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15476 { (char *)"GridCellAttr_GetFont", (PyCFunction) _wrap_GridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
15477 { (char *)"GridCellAttr_GetAlignment", (PyCFunction) _wrap_GridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
15478 { (char *)"GridCellAttr_GetSize", (PyCFunction) _wrap_GridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS },
15479 { (char *)"GridCellAttr_GetOverflow", (PyCFunction) _wrap_GridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS },
15480 { (char *)"GridCellAttr_GetRenderer", (PyCFunction) _wrap_GridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
15481 { (char *)"GridCellAttr_GetEditor", (PyCFunction) _wrap_GridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
15482 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction) _wrap_GridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15483 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction) _wrap_GridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
15484 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister, METH_VARARGS },
15485 { (char *)"new_GridCellAttrProvider", (PyCFunction) _wrap_new_GridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15486 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_GridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15487 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction) _wrap_GridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
15488 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
15489 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15490 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15491 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
15492 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
15493 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister, METH_VARARGS },
15494 { (char *)"new_PyGridCellAttrProvider", (PyCFunction) _wrap_new_PyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15495 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_PyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15496 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15497 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15498 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15499 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15500 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister, METH_VARARGS },
15501 { (char *)"GridTableBase__setOORInfo", (PyCFunction) _wrap_GridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15502 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction) _wrap_GridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15503 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction) _wrap_GridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15504 { (char *)"GridTableBase_SetView", (PyCFunction) _wrap_GridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
15505 { (char *)"GridTableBase_GetView", (PyCFunction) _wrap_GridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
15506 { (char *)"GridTableBase_GetNumberRows", (PyCFunction) _wrap_GridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15507 { (char *)"GridTableBase_GetNumberCols", (PyCFunction) _wrap_GridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15508 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction) _wrap_GridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
15509 { (char *)"GridTableBase_GetValue", (PyCFunction) _wrap_GridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
15510 { (char *)"GridTableBase_SetValue", (PyCFunction) _wrap_GridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
15511 { (char *)"GridTableBase_GetTypeName", (PyCFunction) _wrap_GridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15512 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction) _wrap_GridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15513 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction) _wrap_GridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15514 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction) _wrap_GridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15515 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction) _wrap_GridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15516 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction) _wrap_GridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15517 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction) _wrap_GridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15518 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction) _wrap_GridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15519 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction) _wrap_GridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15520 { (char *)"GridTableBase_Clear", (PyCFunction) _wrap_GridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
15521 { (char *)"GridTableBase_InsertRows", (PyCFunction) _wrap_GridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
15522 { (char *)"GridTableBase_AppendRows", (PyCFunction) _wrap_GridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
15523 { (char *)"GridTableBase_DeleteRows", (PyCFunction) _wrap_GridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15524 { (char *)"GridTableBase_InsertCols", (PyCFunction) _wrap_GridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
15525 { (char *)"GridTableBase_AppendCols", (PyCFunction) _wrap_GridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
15526 { (char *)"GridTableBase_DeleteCols", (PyCFunction) _wrap_GridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15527 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction) _wrap_GridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15528 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction) _wrap_GridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15529 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction) _wrap_GridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15530 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction) _wrap_GridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15531 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction) _wrap_GridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15532 { (char *)"GridTableBase_GetAttr", (PyCFunction) _wrap_GridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
15533 { (char *)"GridTableBase_SetAttr", (PyCFunction) _wrap_GridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
15534 { (char *)"GridTableBase_SetRowAttr", (PyCFunction) _wrap_GridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15535 { (char *)"GridTableBase_SetColAttr", (PyCFunction) _wrap_GridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15536 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister, METH_VARARGS },
15537 { (char *)"new_PyGridTableBase", (PyCFunction) _wrap_new_PyGridTableBase, METH_VARARGS | METH_KEYWORDS },
15538 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_PyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15539 { (char *)"PyGridTableBase_Destroy", (PyCFunction) _wrap_PyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
15540 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_PyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15541 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15542 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15543 { (char *)"PyGridTableBase_base_Clear", (PyCFunction) _wrap_PyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
15544 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction) _wrap_PyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
15545 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction) _wrap_PyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
15546 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_PyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15547 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction) _wrap_PyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
15548 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction) _wrap_PyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
15549 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_PyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15550 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15551 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15552 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15553 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15554 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_PyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15555 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction) _wrap_PyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15556 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15557 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15558 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15559 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister, METH_VARARGS },
15560 { (char *)"new_GridStringTable", (PyCFunction) _wrap_new_GridStringTable, METH_VARARGS | METH_KEYWORDS },
15561 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister, METH_VARARGS },
15562 { (char *)"new_GridTableMessage", (PyCFunction) _wrap_new_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15563 { (char *)"delete_GridTableMessage", (PyCFunction) _wrap_delete_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15564 { (char *)"GridTableMessage_SetTableObject", (PyCFunction) _wrap_GridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
15565 { (char *)"GridTableMessage_GetTableObject", (PyCFunction) _wrap_GridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
15566 { (char *)"GridTableMessage_SetId", (PyCFunction) _wrap_GridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
15567 { (char *)"GridTableMessage_GetId", (PyCFunction) _wrap_GridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
15568 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction) _wrap_GridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
15569 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction) _wrap_GridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
15570 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction) _wrap_GridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15571 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction) _wrap_GridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15572 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister, METH_VARARGS },
15573 { (char *)"new_GridCellCoords", (PyCFunction) _wrap_new_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15574 { (char *)"delete_GridCellCoords", (PyCFunction) _wrap_delete_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15575 { (char *)"GridCellCoords_GetRow", (PyCFunction) _wrap_GridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
15576 { (char *)"GridCellCoords_SetRow", (PyCFunction) _wrap_GridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
15577 { (char *)"GridCellCoords_GetCol", (PyCFunction) _wrap_GridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
15578 { (char *)"GridCellCoords_SetCol", (PyCFunction) _wrap_GridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
15579 { (char *)"GridCellCoords_Set", (PyCFunction) _wrap_GridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
15580 { (char *)"GridCellCoords___eq__", (PyCFunction) _wrap_GridCellCoords___eq__, METH_VARARGS | METH_KEYWORDS },
15581 { (char *)"GridCellCoords___ne__", (PyCFunction) _wrap_GridCellCoords___ne__, METH_VARARGS | METH_KEYWORDS },
15582 { (char *)"GridCellCoords_asTuple", (PyCFunction) _wrap_GridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
15583 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister, METH_VARARGS },
15584 { (char *)"new_Grid", (PyCFunction) _wrap_new_Grid, METH_VARARGS | METH_KEYWORDS },
15585 { (char *)"Grid_CreateGrid", (PyCFunction) _wrap_Grid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
15586 { (char *)"Grid_SetSelectionMode", (PyCFunction) _wrap_Grid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15587 { (char *)"Grid_GetSelectionMode", (PyCFunction) _wrap_Grid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15588 { (char *)"Grid_GetNumberRows", (PyCFunction) _wrap_Grid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15589 { (char *)"Grid_GetNumberCols", (PyCFunction) _wrap_Grid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15590 { (char *)"Grid_ProcessTableMessage", (PyCFunction) _wrap_Grid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
15591 { (char *)"Grid_GetTable", (PyCFunction) _wrap_Grid_GetTable, METH_VARARGS | METH_KEYWORDS },
15592 { (char *)"Grid_SetTable", (PyCFunction) _wrap_Grid_SetTable, METH_VARARGS | METH_KEYWORDS },
15593 { (char *)"Grid_ClearGrid", (PyCFunction) _wrap_Grid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
15594 { (char *)"Grid_InsertRows", (PyCFunction) _wrap_Grid_InsertRows, METH_VARARGS | METH_KEYWORDS },
15595 { (char *)"Grid_AppendRows", (PyCFunction) _wrap_Grid_AppendRows, METH_VARARGS | METH_KEYWORDS },
15596 { (char *)"Grid_DeleteRows", (PyCFunction) _wrap_Grid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15597 { (char *)"Grid_InsertCols", (PyCFunction) _wrap_Grid_InsertCols, METH_VARARGS | METH_KEYWORDS },
15598 { (char *)"Grid_AppendCols", (PyCFunction) _wrap_Grid_AppendCols, METH_VARARGS | METH_KEYWORDS },
15599 { (char *)"Grid_DeleteCols", (PyCFunction) _wrap_Grid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15600 { (char *)"Grid_DrawCellHighlight", (PyCFunction) _wrap_Grid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
15601 { (char *)"Grid_DrawTextRectangle", (PyCFunction) _wrap_Grid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
15602 { (char *)"Grid_GetTextBoxSize", (PyCFunction) _wrap_Grid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
15603 { (char *)"Grid_BeginBatch", (PyCFunction) _wrap_Grid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
15604 { (char *)"Grid_EndBatch", (PyCFunction) _wrap_Grid_EndBatch, METH_VARARGS | METH_KEYWORDS },
15605 { (char *)"Grid_GetBatchCount", (PyCFunction) _wrap_Grid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
15606 { (char *)"Grid_ForceRefresh", (PyCFunction) _wrap_Grid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
15607 { (char *)"Grid_Refresh", (PyCFunction) _wrap_Grid_Refresh, METH_VARARGS | METH_KEYWORDS },
15608 { (char *)"Grid_IsEditable", (PyCFunction) _wrap_Grid_IsEditable, METH_VARARGS | METH_KEYWORDS },
15609 { (char *)"Grid_EnableEditing", (PyCFunction) _wrap_Grid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
15610 { (char *)"Grid_EnableCellEditControl", (PyCFunction) _wrap_Grid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15611 { (char *)"Grid_DisableCellEditControl", (PyCFunction) _wrap_Grid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15612 { (char *)"Grid_CanEnableCellControl", (PyCFunction) _wrap_Grid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
15613 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction) _wrap_Grid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
15614 { (char *)"Grid_IsCellEditControlShown", (PyCFunction) _wrap_Grid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
15615 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction) _wrap_Grid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
15616 { (char *)"Grid_ShowCellEditControl", (PyCFunction) _wrap_Grid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
15617 { (char *)"Grid_HideCellEditControl", (PyCFunction) _wrap_Grid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
15618 { (char *)"Grid_SaveEditControlValue", (PyCFunction) _wrap_Grid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
15619 { (char *)"Grid_XYToCell", (PyCFunction) _wrap_Grid_XYToCell, METH_VARARGS | METH_KEYWORDS },
15620 { (char *)"Grid_YToRow", (PyCFunction) _wrap_Grid_YToRow, METH_VARARGS | METH_KEYWORDS },
15621 { (char *)"Grid_XToCol", (PyCFunction) _wrap_Grid_XToCol, METH_VARARGS | METH_KEYWORDS },
15622 { (char *)"Grid_YToEdgeOfRow", (PyCFunction) _wrap_Grid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
15623 { (char *)"Grid_XToEdgeOfCol", (PyCFunction) _wrap_Grid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
15624 { (char *)"Grid_CellToRect", (PyCFunction) _wrap_Grid_CellToRect, METH_VARARGS | METH_KEYWORDS },
15625 { (char *)"Grid_GetGridCursorRow", (PyCFunction) _wrap_Grid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
15626 { (char *)"Grid_GetGridCursorCol", (PyCFunction) _wrap_Grid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
15627 { (char *)"Grid_IsVisible", (PyCFunction) _wrap_Grid_IsVisible, METH_VARARGS | METH_KEYWORDS },
15628 { (char *)"Grid_MakeCellVisible", (PyCFunction) _wrap_Grid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
15629 { (char *)"Grid_SetGridCursor", (PyCFunction) _wrap_Grid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
15630 { (char *)"Grid_MoveCursorUp", (PyCFunction) _wrap_Grid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
15631 { (char *)"Grid_MoveCursorDown", (PyCFunction) _wrap_Grid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
15632 { (char *)"Grid_MoveCursorLeft", (PyCFunction) _wrap_Grid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
15633 { (char *)"Grid_MoveCursorRight", (PyCFunction) _wrap_Grid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
15634 { (char *)"Grid_MovePageDown", (PyCFunction) _wrap_Grid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
15635 { (char *)"Grid_MovePageUp", (PyCFunction) _wrap_Grid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
15636 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction) _wrap_Grid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
15637 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction) _wrap_Grid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
15638 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction) _wrap_Grid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
15639 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction) _wrap_Grid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
15640 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction) _wrap_Grid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15641 { (char *)"Grid_GetRowLabelSize", (PyCFunction) _wrap_Grid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15642 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction) _wrap_Grid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
15643 { (char *)"Grid_GetColLabelSize", (PyCFunction) _wrap_Grid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15644 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction) _wrap_Grid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15645 { (char *)"Grid_GetLabelTextColour", (PyCFunction) _wrap_Grid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15646 { (char *)"Grid_GetLabelFont", (PyCFunction) _wrap_Grid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
15647 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction) _wrap_Grid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15648 { (char *)"Grid_GetColLabelAlignment", (PyCFunction) _wrap_Grid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15649 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction) _wrap_Grid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15650 { (char *)"Grid_GetRowLabelValue", (PyCFunction) _wrap_Grid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15651 { (char *)"Grid_GetColLabelValue", (PyCFunction) _wrap_Grid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15652 { (char *)"Grid_GetGridLineColour", (PyCFunction) _wrap_Grid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15653 { (char *)"Grid_GetCellHighlightColour", (PyCFunction) _wrap_Grid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15654 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15655 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15656 { (char *)"Grid_SetRowLabelSize", (PyCFunction) _wrap_Grid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15657 { (char *)"Grid_SetColLabelSize", (PyCFunction) _wrap_Grid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15658 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction) _wrap_Grid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15659 { (char *)"Grid_SetLabelTextColour", (PyCFunction) _wrap_Grid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15660 { (char *)"Grid_SetLabelFont", (PyCFunction) _wrap_Grid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
15661 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction) _wrap_Grid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15662 { (char *)"Grid_SetColLabelAlignment", (PyCFunction) _wrap_Grid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15663 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction) _wrap_Grid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15664 { (char *)"Grid_SetRowLabelValue", (PyCFunction) _wrap_Grid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15665 { (char *)"Grid_SetColLabelValue", (PyCFunction) _wrap_Grid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15666 { (char *)"Grid_SetGridLineColour", (PyCFunction) _wrap_Grid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15667 { (char *)"Grid_SetCellHighlightColour", (PyCFunction) _wrap_Grid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15668 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15669 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15670 { (char *)"Grid_EnableDragRowSize", (PyCFunction) _wrap_Grid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15671 { (char *)"Grid_DisableDragRowSize", (PyCFunction) _wrap_Grid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15672 { (char *)"Grid_CanDragRowSize", (PyCFunction) _wrap_Grid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
15673 { (char *)"Grid_EnableDragColSize", (PyCFunction) _wrap_Grid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
15674 { (char *)"Grid_DisableDragColSize", (PyCFunction) _wrap_Grid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
15675 { (char *)"Grid_CanDragColSize", (PyCFunction) _wrap_Grid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
15676 { (char *)"Grid_EnableDragGridSize", (PyCFunction) _wrap_Grid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15677 { (char *)"Grid_DisableDragGridSize", (PyCFunction) _wrap_Grid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15678 { (char *)"Grid_CanDragGridSize", (PyCFunction) _wrap_Grid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
15679 { (char *)"Grid_SetAttr", (PyCFunction) _wrap_Grid_SetAttr, METH_VARARGS | METH_KEYWORDS },
15680 { (char *)"Grid_SetRowAttr", (PyCFunction) _wrap_Grid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15681 { (char *)"Grid_SetColAttr", (PyCFunction) _wrap_Grid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15682 { (char *)"Grid_SetColFormatBool", (PyCFunction) _wrap_Grid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
15683 { (char *)"Grid_SetColFormatNumber", (PyCFunction) _wrap_Grid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
15684 { (char *)"Grid_SetColFormatFloat", (PyCFunction) _wrap_Grid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
15685 { (char *)"Grid_SetColFormatCustom", (PyCFunction) _wrap_Grid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
15686 { (char *)"Grid_EnableGridLines", (PyCFunction) _wrap_Grid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
15687 { (char *)"Grid_GridLinesEnabled", (PyCFunction) _wrap_Grid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
15688 { (char *)"Grid_GetDefaultRowSize", (PyCFunction) _wrap_Grid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15689 { (char *)"Grid_GetRowSize", (PyCFunction) _wrap_Grid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
15690 { (char *)"Grid_GetDefaultColSize", (PyCFunction) _wrap_Grid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15691 { (char *)"Grid_GetColSize", (PyCFunction) _wrap_Grid_GetColSize, METH_VARARGS | METH_KEYWORDS },
15692 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15693 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction) _wrap_Grid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15694 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction) _wrap_Grid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15695 { (char *)"Grid_GetCellTextColour", (PyCFunction) _wrap_Grid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15696 { (char *)"Grid_GetDefaultCellFont", (PyCFunction) _wrap_Grid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15697 { (char *)"Grid_GetCellFont", (PyCFunction) _wrap_Grid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
15698 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction) _wrap_Grid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15699 { (char *)"Grid_GetCellAlignment", (PyCFunction) _wrap_Grid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15700 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction) _wrap_Grid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15701 { (char *)"Grid_GetCellOverflow", (PyCFunction) _wrap_Grid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15702 { (char *)"Grid_GetCellSize", (PyCFunction) _wrap_Grid_GetCellSize, METH_VARARGS | METH_KEYWORDS },
15703 { (char *)"Grid_SetDefaultRowSize", (PyCFunction) _wrap_Grid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15704 { (char *)"Grid_SetRowSize", (PyCFunction) _wrap_Grid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
15705 { (char *)"Grid_SetDefaultColSize", (PyCFunction) _wrap_Grid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15706 { (char *)"Grid_SetColSize", (PyCFunction) _wrap_Grid_SetColSize, METH_VARARGS | METH_KEYWORDS },
15707 { (char *)"Grid_AutoSizeColumn", (PyCFunction) _wrap_Grid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
15708 { (char *)"Grid_AutoSizeRow", (PyCFunction) _wrap_Grid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
15709 { (char *)"Grid_AutoSizeColumns", (PyCFunction) _wrap_Grid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
15710 { (char *)"Grid_AutoSizeRows", (PyCFunction) _wrap_Grid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
15711 { (char *)"Grid_AutoSize", (PyCFunction) _wrap_Grid_AutoSize, METH_VARARGS | METH_KEYWORDS },
15712 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction) _wrap_Grid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15713 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction) _wrap_Grid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS },
15714 { (char *)"Grid_SetColMinimalWidth", (PyCFunction) _wrap_Grid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
15715 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction) _wrap_Grid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
15716 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15717 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15718 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15719 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15720 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15721 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction) _wrap_Grid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15722 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction) _wrap_Grid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15723 { (char *)"Grid_SetCellTextColour", (PyCFunction) _wrap_Grid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15724 { (char *)"Grid_SetDefaultCellFont", (PyCFunction) _wrap_Grid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15725 { (char *)"Grid_SetCellFont", (PyCFunction) _wrap_Grid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
15726 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction) _wrap_Grid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15727 { (char *)"Grid_SetCellAlignment", (PyCFunction) _wrap_Grid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15728 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction) _wrap_Grid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15729 { (char *)"Grid_SetCellOverflow", (PyCFunction) _wrap_Grid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15730 { (char *)"Grid_SetCellSize", (PyCFunction) _wrap_Grid_SetCellSize, METH_VARARGS | METH_KEYWORDS },
15731 { (char *)"Grid_SetDefaultRenderer", (PyCFunction) _wrap_Grid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15732 { (char *)"Grid_SetCellRenderer", (PyCFunction) _wrap_Grid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15733 { (char *)"Grid_GetDefaultRenderer", (PyCFunction) _wrap_Grid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15734 { (char *)"Grid_GetCellRenderer", (PyCFunction) _wrap_Grid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15735 { (char *)"Grid_SetDefaultEditor", (PyCFunction) _wrap_Grid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15736 { (char *)"Grid_SetCellEditor", (PyCFunction) _wrap_Grid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
15737 { (char *)"Grid_GetDefaultEditor", (PyCFunction) _wrap_Grid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15738 { (char *)"Grid_GetCellEditor", (PyCFunction) _wrap_Grid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
15739 { (char *)"Grid_GetCellValue", (PyCFunction) _wrap_Grid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
15740 { (char *)"Grid_SetCellValue", (PyCFunction) _wrap_Grid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
15741 { (char *)"Grid_IsReadOnly", (PyCFunction) _wrap_Grid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15742 { (char *)"Grid_SetReadOnly", (PyCFunction) _wrap_Grid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15743 { (char *)"Grid_SelectRow", (PyCFunction) _wrap_Grid_SelectRow, METH_VARARGS | METH_KEYWORDS },
15744 { (char *)"Grid_SelectCol", (PyCFunction) _wrap_Grid_SelectCol, METH_VARARGS | METH_KEYWORDS },
15745 { (char *)"Grid_SelectBlock", (PyCFunction) _wrap_Grid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
15746 { (char *)"Grid_SelectAll", (PyCFunction) _wrap_Grid_SelectAll, METH_VARARGS | METH_KEYWORDS },
15747 { (char *)"Grid_IsSelection", (PyCFunction) _wrap_Grid_IsSelection, METH_VARARGS | METH_KEYWORDS },
15748 { (char *)"Grid_ClearSelection", (PyCFunction) _wrap_Grid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
15749 { (char *)"Grid_IsInSelection", (PyCFunction) _wrap_Grid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
15750 { (char *)"Grid_GetSelectedCells", (PyCFunction) _wrap_Grid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS },
15751 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_Grid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS },
15752 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_Grid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS },
15753 { (char *)"Grid_GetSelectedRows", (PyCFunction) _wrap_Grid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS },
15754 { (char *)"Grid_GetSelectedCols", (PyCFunction) _wrap_Grid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS },
15755 { (char *)"Grid_DeselectRow", (PyCFunction) _wrap_Grid_DeselectRow, METH_VARARGS | METH_KEYWORDS },
15756 { (char *)"Grid_DeselectCol", (PyCFunction) _wrap_Grid_DeselectCol, METH_VARARGS | METH_KEYWORDS },
15757 { (char *)"Grid_DeselectCell", (PyCFunction) _wrap_Grid_DeselectCell, METH_VARARGS | METH_KEYWORDS },
15758 { (char *)"Grid_BlockToDeviceRect", (PyCFunction) _wrap_Grid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
15759 { (char *)"Grid_GetSelectionBackground", (PyCFunction) _wrap_Grid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15760 { (char *)"Grid_GetSelectionForeground", (PyCFunction) _wrap_Grid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15761 { (char *)"Grid_SetSelectionBackground", (PyCFunction) _wrap_Grid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15762 { (char *)"Grid_SetSelectionForeground", (PyCFunction) _wrap_Grid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15763 { (char *)"Grid_RegisterDataType", (PyCFunction) _wrap_Grid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
15764 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction) _wrap_Grid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
15765 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction) _wrap_Grid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
15766 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction) _wrap_Grid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
15767 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction) _wrap_Grid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
15768 { (char *)"Grid_SetMargins", (PyCFunction) _wrap_Grid_SetMargins, METH_VARARGS | METH_KEYWORDS },
15769 { (char *)"Grid_GetGridWindow", (PyCFunction) _wrap_Grid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
15770 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
15771 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
15772 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
15773 { (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS },
15774 { (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS },
15775 { (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
15776 { (char *)"GridEvent_GetCol", (PyCFunction) _wrap_GridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
15777 { (char *)"GridEvent_GetPosition", (PyCFunction) _wrap_GridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
15778 { (char *)"GridEvent_Selecting", (PyCFunction) _wrap_GridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
15779 { (char *)"GridEvent_ControlDown", (PyCFunction) _wrap_GridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15780 { (char *)"GridEvent_MetaDown", (PyCFunction) _wrap_GridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15781 { (char *)"GridEvent_ShiftDown", (PyCFunction) _wrap_GridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15782 { (char *)"GridEvent_AltDown", (PyCFunction) _wrap_GridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15783 { (char *)"GridEvent_swigregister", GridEvent_swigregister, METH_VARARGS },
15784 { (char *)"new_GridSizeEvent", (PyCFunction) _wrap_new_GridSizeEvent, METH_VARARGS | METH_KEYWORDS },
15785 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_GridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
15786 { (char *)"GridSizeEvent_GetPosition", (PyCFunction) _wrap_GridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
15787 { (char *)"GridSizeEvent_ControlDown", (PyCFunction) _wrap_GridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15788 { (char *)"GridSizeEvent_MetaDown", (PyCFunction) _wrap_GridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15789 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction) _wrap_GridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15790 { (char *)"GridSizeEvent_AltDown", (PyCFunction) _wrap_GridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15791 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister, METH_VARARGS },
15792 { (char *)"new_GridRangeSelectEvent", (PyCFunction) _wrap_new_GridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
15793 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
15794 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
15795 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
15796 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
15797 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
15798 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
15799 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction) _wrap_GridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
15800 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_GridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15801 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_GridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15802 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_GridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15803 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction) _wrap_GridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15804 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister, METH_VARARGS },
15805 { (char *)"new_GridEditorCreatedEvent", (PyCFunction) _wrap_new_GridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
15806 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
15807 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
15808 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
15809 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
15810 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
15811 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
15812 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister, METH_VARARGS },
15813 { NULL, NULL }
15814 };
15815
15816
15817 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15818
15819 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x) {
15820 return (void *)((wxGridCellRenderer *) ((wxPyGridCellRenderer *) x));
15821 }
15822 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x) {
15823 return (void *)((wxGridCellRenderer *) ((wxGridCellStringRenderer *) x));
15824 }
15825 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x) {
15826 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
15827 }
15828 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x) {
15829 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
15830 }
15831 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x) {
15832 return (void *)((wxGridCellRenderer *) ((wxGridCellBoolRenderer *) x));
15833 }
15834 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x) {
15835 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
15836 }
15837 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x) {
15838 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
15839 }
15840 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x) {
15841 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
15842 }
15843 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x) {
15844 return (void *)((wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
15845 }
15846 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x) {
15847 return (void *)((wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
15848 }
15849 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x) {
15850 return (void *)((wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
15851 }
15852 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x) {
15853 return (void *)((wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
15854 }
15855 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x) {
15856 return (void *)((wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
15857 }
15858 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
15859 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
15860 }
15861 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
15862 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
15863 }
15864 static void *_p_wxGridTo_p_wxPanel(void *x) {
15865 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxGrid *) x));
15866 }
15867 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
15868 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15869 }
15870 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
15871 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15872 }
15873 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
15874 return (void *)((wxPanel *) ((wxPyPanel *) x));
15875 }
15876 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
15877 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
15878 }
15879 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
15880 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
15881 }
15882 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
15883 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15884 }
15885 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x) {
15886 return (void *)((wxNotifyEvent *) ((wxGridSizeEvent *) x));
15887 }
15888 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x) {
15889 return (void *)((wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
15890 }
15891 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
15892 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
15893 }
15894 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x) {
15895 return (void *)((wxNotifyEvent *) ((wxGridEvent *) x));
15896 }
15897 static void *_p_wxGridTo_p_wxScrolledWindow(void *x) {
15898 return (void *)((wxScrolledWindow *) ((wxGrid *) x));
15899 }
15900 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
15901 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
15902 }
15903 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
15904 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15905 }
15906 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
15907 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15908 }
15909 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
15910 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
15911 }
15912 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
15913 return (void *)((wxWindow *) ((wxMenuBar *) x));
15914 }
15915 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
15916 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15917 }
15918 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
15919 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15920 }
15921 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
15922 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15923 }
15924 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
15925 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15926 }
15927 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
15928 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15929 }
15930 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
15931 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15932 }
15933 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
15934 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
15935 }
15936 static void *_p_wxPanelTo_p_wxWindow(void *x) {
15937 return (void *)((wxWindow *) ((wxPanel *) x));
15938 }
15939 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
15940 return (void *)((wxWindow *) ((wxStatusBar *) x));
15941 }
15942 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
15943 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
15944 }
15945 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
15946 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
15947 }
15948 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
15949 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
15950 }
15951 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
15952 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
15953 }
15954 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
15955 return (void *)((wxWindow *) ((wxPopupWindow *) x));
15956 }
15957 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
15958 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
15959 }
15960 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
15961 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
15962 }
15963 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
15964 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
15965 }
15966 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
15967 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
15968 }
15969 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
15970 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
15971 }
15972 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
15973 return (void *)((wxWindow *) ((wxSashWindow *) x));
15974 }
15975 static void *_p_wxControlTo_p_wxWindow(void *x) {
15976 return (void *)((wxWindow *) ((wxControl *) x));
15977 }
15978 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
15979 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
15980 }
15981 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
15982 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15983 }
15984 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
15985 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
15986 }
15987 static void *_p_wxGridTo_p_wxWindow(void *x) {
15988 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
15989 }
15990 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
15991 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
15992 }
15993 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
15994 return (void *)((wxWindow *) ((wxPyWindow *) x));
15995 }
15996 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
15997 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
15998 }
15999 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
16000 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16001 }
16002 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
16003 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16004 }
16005 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
16006 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
16007 }
16008 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
16009 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16010 }
16011 static void *_p_wxFrameTo_p_wxWindow(void *x) {
16012 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
16013 }
16014 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
16015 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16016 }
16017 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
16018 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16019 }
16020 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
16021 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16022 }
16023 static void *_p_wxDialogTo_p_wxWindow(void *x) {
16024 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
16025 }
16026 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
16027 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16028 }
16029 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
16030 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16031 }
16032 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
16033 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16034 }
16035 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
16036 return (void *)((wxControl *) ((wxControlWithItems *) x));
16037 }
16038 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
16039 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
16040 }
16041 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
16042 return (void *)((wxEvent *) ((wxMenuEvent *) x));
16043 }
16044 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
16045 return (void *)((wxEvent *) ((wxCloseEvent *) x));
16046 }
16047 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
16048 return (void *)((wxEvent *) ((wxMouseEvent *) x));
16049 }
16050 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
16051 return (void *)((wxEvent *) ((wxEraseEvent *) x));
16052 }
16053 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
16054 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
16055 }
16056 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
16057 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16058 }
16059 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
16060 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
16061 }
16062 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
16063 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
16064 }
16065 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
16066 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
16067 }
16068 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
16069 return (void *)((wxEvent *) ((wxPyEvent *) x));
16070 }
16071 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
16072 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
16073 }
16074 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
16075 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
16076 }
16077 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x) {
16078 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16079 }
16080 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
16081 return (void *)((wxEvent *) ((wxIdleEvent *) x));
16082 }
16083 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
16084 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
16085 }
16086 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
16087 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
16088 }
16089 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
16090 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
16091 }
16092 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
16093 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
16094 }
16095 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
16096 return (void *)((wxEvent *) ((wxActivateEvent *) x));
16097 }
16098 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
16099 return (void *)((wxEvent *) ((wxSizeEvent *) x));
16100 }
16101 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
16102 return (void *)((wxEvent *) ((wxMoveEvent *) x));
16103 }
16104 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x) {
16105 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16106 }
16107 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
16108 return (void *)((wxEvent *) ((wxPaintEvent *) x));
16109 }
16110 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
16111 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
16112 }
16113 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
16114 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
16115 }
16116 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
16117 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
16118 }
16119 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
16120 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
16121 }
16122 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
16123 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16124 }
16125 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
16126 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
16127 }
16128 static void *_p_wxGridEventTo_p_wxEvent(void *x) {
16129 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16130 }
16131 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x) {
16132 return (void *)((wxEvent *) (wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16133 }
16134 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
16135 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
16136 }
16137 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
16138 return (void *)((wxEvent *) ((wxFocusEvent *) x));
16139 }
16140 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
16141 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
16142 }
16143 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
16144 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
16145 }
16146 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
16147 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16148 }
16149 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
16150 return (void *)((wxEvent *) ((wxShowEvent *) x));
16151 }
16152 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
16153 return (void *)((wxEvent *) ((wxCommandEvent *) x));
16154 }
16155 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
16156 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
16157 }
16158 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
16159 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16160 }
16161 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
16162 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
16163 }
16164 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
16165 return (void *)((wxEvent *) ((wxKeyEvent *) x));
16166 }
16167 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
16168 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
16169 }
16170 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
16171 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
16172 }
16173 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
16174 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
16175 }
16176 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
16177 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16178 }
16179 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
16180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16181 }
16182 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
16183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16184 }
16185 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
16186 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
16187 }
16188 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
16189 return (void *)((wxObject *) ((wxSizerItem *) x));
16190 }
16191 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
16192 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
16193 }
16194 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
16195 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
16196 }
16197 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
16198 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
16199 }
16200 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
16201 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
16202 }
16203 static void *_p_wxSizerTo_p_wxObject(void *x) {
16204 return (void *)((wxObject *) ((wxSizer *) x));
16205 }
16206 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
16207 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
16208 }
16209 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
16210 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
16211 }
16212 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
16213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16214 }
16215 static void *_p_wxEventTo_p_wxObject(void *x) {
16216 return (void *)((wxObject *) ((wxEvent *) x));
16217 }
16218 static void *_p_wxFontDataTo_p_wxObject(void *x) {
16219 return (void *)((wxObject *) ((wxFontData *) x));
16220 }
16221 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
16222 return (void *)((wxObject *) ((wxPrintData *) x));
16223 }
16224 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
16225 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
16226 }
16227 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
16228 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
16229 }
16230 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
16231 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
16232 }
16233 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
16234 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
16235 }
16236 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
16237 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
16238 }
16239 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
16240 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
16241 }
16242 static void *_p_wxGridStringTableTo_p_wxObject(void *x) {
16243 return (void *)((wxObject *) (wxGridTableBase *) ((wxGridStringTable *) x));
16244 }
16245 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
16246 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
16247 }
16248 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
16249 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
16250 }
16251 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
16252 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
16253 }
16254 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
16255 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
16256 }
16257 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
16258 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16259 }
16260 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
16261 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
16262 }
16263 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
16264 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16265 }
16266 static void *_p_wxGridEventTo_p_wxObject(void *x) {
16267 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16268 }
16269 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x) {
16270 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16271 }
16272 static void *_p_wxControlTo_p_wxObject(void *x) {
16273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
16274 }
16275 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
16276 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
16277 }
16278 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
16279 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16280 }
16281 static void *_p_wxFSFileTo_p_wxObject(void *x) {
16282 return (void *)((wxObject *) ((wxFSFile *) x));
16283 }
16284 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
16285 return (void *)((wxObject *) ((wxFindReplaceData *) x));
16286 }
16287 static void *_p_wxGridTo_p_wxObject(void *x) {
16288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16289 }
16290 static void *_p_wxPySizerTo_p_wxObject(void *x) {
16291 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
16292 }
16293 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
16294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16295 }
16296 static void *_p_wxColourDataTo_p_wxObject(void *x) {
16297 return (void *)((wxObject *) ((wxColourData *) x));
16298 }
16299 static void *_p_wxPyEventTo_p_wxObject(void *x) {
16300 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
16301 }
16302 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
16303 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
16304 }
16305 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
16306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
16307 }
16308 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
16309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16310 }
16311 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
16312 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16313 }
16314 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
16315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16316 }
16317 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
16318 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16319 }
16320 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
16321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16322 }
16323 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
16324 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16325 }
16326 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
16327 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16328 }
16329 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
16330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16331 }
16332 static void *_p_wxShowEventTo_p_wxObject(void *x) {
16333 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
16334 }
16335 static void *_p_wxPrinterTo_p_wxObject(void *x) {
16336 return (void *)((wxObject *) ((wxPrinter *) x));
16337 }
16338 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
16339 return (void *)((wxObject *) ((wxMenuItem *) x));
16340 }
16341 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
16342 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
16343 }
16344 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
16345 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
16346 }
16347 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
16348 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
16349 }
16350 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
16351 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
16352 }
16353 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
16354 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
16355 }
16356 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
16357 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
16358 }
16359 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
16360 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
16361 }
16362 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
16363 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
16364 }
16365 static void *_p_wxGridSizeEventTo_p_wxObject(void *x) {
16366 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16367 }
16368 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
16369 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
16370 }
16371 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
16372 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
16373 }
16374 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
16375 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
16376 }
16377 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
16378 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
16379 }
16380 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
16381 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
16382 }
16383 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
16384 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
16385 }
16386 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
16387 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
16388 }
16389 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
16390 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
16391 }
16392 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
16393 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
16394 }
16395 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
16396 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
16397 }
16398 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
16399 return (void *)((wxObject *) ((wxImageHandler *) x));
16400 }
16401 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
16402 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
16403 }
16404 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
16405 return (void *)((wxObject *) ((wxEvtHandler *) x));
16406 }
16407 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
16408 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
16409 }
16410 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x) {
16411 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16412 }
16413 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
16414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16415 }
16416 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
16417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16418 }
16419 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
16420 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
16421 }
16422 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
16423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16424 }
16425 static void *_p_wxImageTo_p_wxObject(void *x) {
16426 return (void *)((wxObject *) ((wxImage *) x));
16427 }
16428 static void *_p_wxFrameTo_p_wxObject(void *x) {
16429 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16430 }
16431 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
16432 return (void *)((wxObject *) ((wxPyPrintout *) x));
16433 }
16434 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
16435 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
16436 }
16437 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
16438 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
16439 }
16440 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
16441 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
16442 }
16443 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
16444 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16445 }
16446 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
16447 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16448 }
16449 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
16450 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
16451 }
16452 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
16453 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
16454 }
16455 static void *_p_wxWindowTo_p_wxObject(void *x) {
16456 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
16457 }
16458 static void *_p_wxMenuTo_p_wxObject(void *x) {
16459 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
16460 }
16461 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
16462 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
16463 }
16464 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
16465 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16466 }
16467 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
16468 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
16469 }
16470 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
16471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
16472 }
16473 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
16474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
16475 }
16476 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
16477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
16478 }
16479 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
16480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16481 }
16482 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
16483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
16484 }
16485 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
16486 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16487 }
16488 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
16489 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16490 }
16491 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
16492 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16493 }
16494 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
16495 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
16496 }
16497 static void *_p_wxSashEventTo_p_wxObject(void *x) {
16498 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
16499 }
16500 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
16501 return (void *)((wxObject *) ((wxPrintPreview *) x));
16502 }
16503 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
16504 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
16505 }
16506 static void *_p_wxPanelTo_p_wxObject(void *x) {
16507 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
16508 }
16509 static void *_p_wxDialogTo_p_wxObject(void *x) {
16510 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
16511 }
16512 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
16513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16514 }
16515 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
16516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16517 }
16518 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
16519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16520 }
16521 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
16522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16523 }
16524 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
16525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16526 }
16527 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
16528 return (void *)((wxObject *) ((wxFileSystem *) x));
16529 }
16530 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
16531 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
16532 }
16533 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
16534 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
16535 }
16536 static void *_p_wxPyAppTo_p_wxObject(void *x) {
16537 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
16538 }
16539 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
16540 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
16541 }
16542 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
16543 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
16544 }
16545 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
16546 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
16547 }
16548 static void *_p_wxGridTableBaseTo_p_wxObject(void *x) {
16549 return (void *)((wxObject *) ((wxGridTableBase *) x));
16550 }
16551 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x) {
16552 return (void *)((wxObject *) (wxGridTableBase *) ((wxPyGridTableBase *) x));
16553 }
16554 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
16555 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
16556 }
16557 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
16558 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
16559 }
16560 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
16561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16562 }
16563 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
16564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16565 }
16566 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
16567 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
16568 }
16569 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
16570 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
16571 }
16572 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
16573 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
16574 }
16575 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
16576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16577 }
16578 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
16579 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
16580 }
16581 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
16582 return (void *)((wxObject *) ((wxPrintDialogData *) x));
16583 }
16584 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
16585 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
16586 }
16587 static void *_p_wxValidatorTo_p_wxObject(void *x) {
16588 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
16589 }
16590 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
16591 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16592 }
16593 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
16594 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16595 }
16596 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
16597 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16598 }
16599 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
16600 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
16601 }
16602 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
16603 return (void *)((wxEvtHandler *) ((wxValidator *) x));
16604 }
16605 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
16606 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
16607 }
16608 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
16609 return (void *)((wxEvtHandler *) ((wxMenu *) x));
16610 }
16611 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
16612 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16613 }
16614 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
16615 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16616 }
16617 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
16618 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16619 }
16620 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
16621 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16622 }
16623 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
16624 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16625 }
16626 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
16627 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16628 }
16629 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
16630 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16631 }
16632 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
16633 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
16634 }
16635 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
16636 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
16637 }
16638 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
16639 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16640 }
16641 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
16642 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16643 }
16644 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
16645 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16646 }
16647 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
16648 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
16649 }
16650 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
16651 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16652 }
16653 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
16654 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
16655 }
16656 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
16657 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
16658 }
16659 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
16660 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
16661 }
16662 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
16663 return (void *)((wxEvtHandler *) ((wxWindow *) x));
16664 }
16665 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
16666 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16667 }
16668 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
16669 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
16670 }
16671 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
16672 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
16673 }
16674 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
16675 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
16676 }
16677 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
16678 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16679 }
16680 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
16681 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16682 }
16683 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
16684 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16685 }
16686 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
16687 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
16688 }
16689 static void *_p_wxGridTo_p_wxEvtHandler(void *x) {
16690 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16691 }
16692 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
16693 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16694 }
16695 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
16696 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
16697 }
16698 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
16699 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16700 }
16701 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
16702 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16703 }
16704 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
16705 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16706 }
16707 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
16708 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16709 }
16710 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
16711 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16712 }
16713 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
16714 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
16715 }
16716 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
16717 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16718 }
16719 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
16720 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16721 }
16722 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
16723 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16724 }
16725 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
16726 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16727 }
16728 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
16729 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
16730 }
16731 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
16732 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16733 }
16734 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
16735 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16736 }
16737 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
16738 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16739 }
16740 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x) {
16741 return (void *)((wxGridTableBase *) ((wxGridStringTable *) x));
16742 }
16743 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x) {
16744 return (void *)((wxGridTableBase *) ((wxPyGridTableBase *) x));
16745 }
16746 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x) {
16747 return (void *)((wxGridCellEditor *) ((wxPyGridCellEditor *) x));
16748 }
16749 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x) {
16750 return (void *)((wxGridCellEditor *) ((wxGridCellTextEditor *) x));
16751 }
16752 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x) {
16753 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
16754 }
16755 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x) {
16756 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
16757 }
16758 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x) {
16759 return (void *)((wxGridCellEditor *) ((wxGridCellBoolEditor *) x));
16760 }
16761 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x) {
16762 return (void *)((wxGridCellEditor *) ((wxGridCellChoiceEditor *) x));
16763 }
16764 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x) {
16765 return (void *)((wxGridCellEditor *) (wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
16766 }
16767 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x) {
16768 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
16769 }
16770 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x) {
16771 return (void *)((wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
16772 }
16773 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x) {
16774 return (void *)((wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
16775 }
16776 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x) {
16777 return (void *)((wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
16778 }
16779 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
16780 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
16781 }
16782 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
16783 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16784 }
16785 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
16786 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
16787 }
16788 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
16789 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
16790 }
16791 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
16792 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
16793 }
16794 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
16795 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
16796 }
16797 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
16798 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
16799 }
16800 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x) {
16801 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16802 }
16803 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x) {
16804 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridSizeEvent *) x));
16805 }
16806 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
16807 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
16808 }
16809 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x) {
16810 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridEvent *) x));
16811 }
16812 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x) {
16813 return (void *)((wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16814 }
16815 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
16816 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
16817 }
16818 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
16819 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
16820 }
16821 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
16822 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
16823 }
16824 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) {
16825 return (void *)((wxGridCellAttrProvider *) ((wxPyGridCellAttrProvider *) x));
16826 }
16827 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) {
16828 return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
16829 }
16830 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0},{"_p_wxGridCellAutoWrapStringRenderer"},{0}};
16831 static swig_type_info _swigt__p_wxGridCellEnumRenderer[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0},{"_p_wxGridCellEnumRenderer"},{0}};
16832 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0},{"_p_wxGridCellDateTimeRenderer"},{0}};
16833 static swig_type_info _swigt__p_wxGridCellBoolRenderer[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0},{"_p_wxGridCellBoolRenderer"},{0}};
16834 static swig_type_info _swigt__p_wxGridCellFloatRenderer[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0},{"_p_wxGridCellFloatRenderer"},{0}};
16835 static swig_type_info _swigt__p_wxGridCellNumberRenderer[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0},{"_p_wxGridCellNumberRenderer"},{0}};
16836 static swig_type_info _swigt__p_wxPyGridCellRenderer[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0},{"_p_wxPyGridCellRenderer"},{0}};
16837 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}};
16838 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}};
16839 static swig_type_info _swigt__p_wxGridCellAttr[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0},{"_p_wxGridCellAttr"},{0}};
16840 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
16841 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
16842 static swig_type_info _swigt__p_wxGridTableMessage[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0},{"_p_wxGridTableMessage"},{0}};
16843 static swig_type_info _swigt__p_wxGrid[] = {{"_p_wxGrid", 0, "wxGrid *", 0},{"_p_wxGrid"},{0}};
16844 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
16845 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}};
16846 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}};
16847 static swig_type_info _swigt__p_wxGridRangeSelectEvent[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0},{"_p_wxGridRangeSelectEvent"},{0}};
16848 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
16849 static swig_type_info _swigt__p_wxGridCellCoords[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0},{"_p_wxGridCellCoords"},{0}};
16850 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}};
16851 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}};
16852 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
16853 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{0}};
16854 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}};
16855 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}};
16856 static swig_type_info _swigt__p_wxGridSizeEvent[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0},{"_p_wxGridSizeEvent"},{0}};
16857 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
16858 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
16859 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
16860 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}};
16861 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
16862 static swig_type_info _swigt__p_wxGridEvent[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0},{"_p_wxGridEvent"},{0}};
16863 static swig_type_info _swigt__p_wxGridEditorCreatedEvent[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0},{"_p_wxGridEditorCreatedEvent"},{0}};
16864 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}};
16865 static swig_type_info _swigt__p_wxGridCellNumberEditor[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0},{"_p_wxGridCellNumberEditor"},{0}};
16866 static swig_type_info _swigt__p_wxPyGridCellEditor[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0},{"_p_wxPyGridCellEditor"},{0}};
16867 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}};
16868 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}};
16869 static swig_type_info _swigt__p_wxGridCellFloatEditor[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0},{"_p_wxGridCellFloatEditor"},{0}};
16870 static swig_type_info _swigt__p_wxGridCellBoolEditor[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0},{"_p_wxGridCellBoolEditor"},{0}};
16871 static swig_type_info _swigt__p_wxPyGridTableBase[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0},{"_p_wxPyGridTableBase"},{0}};
16872 static swig_type_info _swigt__p_wxGridStringTable[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0},{"_p_wxGridStringTable"},{0}};
16873 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
16874 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}};
16875 static swig_type_info _swigt__p_wxGridCellAttrProvider[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0},{"_p_wxGridCellAttrProvider"},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider},{0}};
16876 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
16877 static swig_type_info _swigt__p_wxGridCellChoiceEditor[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0},{"_p_wxGridCellChoiceEditor"},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor},{0}};
16878 static swig_type_info _swigt__p_wxGridCellEnumEditor[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0},{"_p_wxGridCellEnumEditor"},{0}};
16879 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0},{"_p_wxGridCellAutoWrapStringEditor"},{0}};
16880 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
16881 static swig_type_info _swigt__p_wxPyGridCellAttrProvider[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0},{"_p_wxPyGridCellAttrProvider"},{0}};
16882
16883 static swig_type_info *swig_types_initial[] = {
16884 _swigt__p_wxGridCellAutoWrapStringRenderer,
16885 _swigt__p_wxGridCellEnumRenderer,
16886 _swigt__p_wxGridCellDateTimeRenderer,
16887 _swigt__p_wxGridCellBoolRenderer,
16888 _swigt__p_wxGridCellFloatRenderer,
16889 _swigt__p_wxGridCellNumberRenderer,
16890 _swigt__p_wxPyGridCellRenderer,
16891 _swigt__p_wxGridCellRenderer,
16892 _swigt__p_wxGridCellStringRenderer,
16893 _swigt__p_wxGridCellAttr,
16894 _swigt__p_wxColour,
16895 _swigt__p_wxDC,
16896 _swigt__p_wxGridTableMessage,
16897 _swigt__p_wxGrid,
16898 _swigt__p_char,
16899 _swigt__p_wxPanel,
16900 _swigt__p_wxNotifyEvent,
16901 _swigt__p_wxGridRangeSelectEvent,
16902 _swigt__p_wxSize,
16903 _swigt__p_wxGridCellCoords,
16904 _swigt__p_wxScrolledWindow,
16905 _swigt__p_wxWindow,
16906 _swigt__p_wxFont,
16907 _swigt__p_wxControl,
16908 _swigt__p_wxEvent,
16909 _swigt__p_wxObject,
16910 _swigt__p_wxGridSizeEvent,
16911 _swigt__p_wxRect,
16912 _swigt__p_long,
16913 _swigt__p_wxString,
16914 _swigt__p_wxEvtHandler,
16915 _swigt__p_wxPoint,
16916 _swigt__p_wxGridEvent,
16917 _swigt__p_wxGridEditorCreatedEvent,
16918 _swigt__p_wxGridTableBase,
16919 _swigt__p_wxGridCellNumberEditor,
16920 _swigt__p_wxPyGridCellEditor,
16921 _swigt__p_wxGridCellEditor,
16922 _swigt__p_wxGridCellTextEditor,
16923 _swigt__p_wxGridCellFloatEditor,
16924 _swigt__p_wxGridCellBoolEditor,
16925 _swigt__p_wxPyGridTableBase,
16926 _swigt__p_wxGridStringTable,
16927 _swigt__p_wxArrayString,
16928 _swigt__p_wxCommandEvent,
16929 _swigt__p_wxGridCellAttrProvider,
16930 _swigt__p_wxKeyEvent,
16931 _swigt__p_wxGridCellChoiceEditor,
16932 _swigt__p_wxGridCellEnumEditor,
16933 _swigt__p_wxGridCellAutoWrapStringEditor,
16934 _swigt__p_int,
16935 _swigt__p_wxPyGridCellAttrProvider,
16936 0
16937 };
16938
16939
16940 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16941
16942 static swig_const_info swig_const_table[] = {
16943 { SWIG_PY_STRING, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", 0},
16944 { SWIG_PY_STRING, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", 0},
16945 { SWIG_PY_STRING, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", 0},
16946 { SWIG_PY_STRING, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", 0},
16947 { SWIG_PY_STRING, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", 0},
16948 { SWIG_PY_STRING, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", 0},
16949 { SWIG_PY_STRING, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", 0},
16950 { SWIG_PY_STRING, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", 0},
16951 { SWIG_PY_STRING, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", 0},
16952 {0}};
16953
16954 #ifdef __cplusplus
16955 }
16956 #endif
16957
16958 #ifdef __cplusplus
16959 extern "C"
16960 #endif
16961 SWIGEXPORT(void) SWIG_init(void) {
16962 static PyObject *SWIG_globals = 0;
16963 static int typeinit = 0;
16964 PyObject *m, *d;
16965 int i;
16966 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
16967 m = Py_InitModule((char *) SWIG_name, SwigMethods);
16968 d = PyModule_GetDict(m);
16969
16970 if (!typeinit) {
16971 for (i = 0; swig_types_initial[i]; i++) {
16972 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
16973 }
16974 typeinit = 1;
16975 }
16976 SWIG_InstallConstants(d,swig_const_table);
16977
16978 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
16979 SWIG_addvarlink(SWIG_globals,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get, _wrap_DateTimeFormatStr_set);
16980 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set);
16981 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set);
16982 PyDict_SetItemString(d,"GridCellAttr_Any", SWIG_PyObj_FromInt((int)wxGridCellAttr::Any));
16983 PyDict_SetItemString(d,"GridCellAttr_Default", SWIG_PyObj_FromInt((int)wxGridCellAttr::Default));
16984 PyDict_SetItemString(d,"GridCellAttr_Cell", SWIG_PyObj_FromInt((int)wxGridCellAttr::Cell));
16985 PyDict_SetItemString(d,"GridCellAttr_Row", SWIG_PyObj_FromInt((int)wxGridCellAttr::Row));
16986 PyDict_SetItemString(d,"GridCellAttr_Col", SWIG_PyObj_FromInt((int)wxGridCellAttr::Col));
16987 PyDict_SetItemString(d,"GridCellAttr_Merged", SWIG_PyObj_FromInt((int)wxGridCellAttr::Merged));
16988 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_PyObj_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
16989 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_PyObj_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
16990 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
16991 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
16992 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED));
16993 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED));
16994 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED));
16995 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED));
16996 PyDict_SetItemString(d,"Grid_wxGridSelectCells", SWIG_PyObj_FromInt((int)wxGrid::wxGridSelectCells));
16997 PyDict_SetItemString(d,"Grid_wxGridSelectRows", SWIG_PyObj_FromInt((int)wxGrid::wxGridSelectRows));
16998 PyDict_SetItemString(d,"Grid_wxGridSelectColumns", SWIG_PyObj_FromInt((int)wxGrid::wxGridSelectColumns));
16999 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));
17000 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK));
17001 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK));
17002 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK));
17003 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK));
17004 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK));
17005 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK));
17006 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK));
17007 PyDict_SetItemString(d, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE));
17008 PyDict_SetItemString(d, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE));
17009 PyDict_SetItemString(d, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT));
17010 PyDict_SetItemString(d, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE));
17011 PyDict_SetItemString(d, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL));
17012 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN));
17013 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN));
17014 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED));
17015
17016
17017 }
17018