]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/grid_wrap.cpp
Inital fill in background, removed tabs, -1->wxID_ANY, TRUE->true, FALSE->false
[wxWidgets.git] / wxPython / src / gtk / 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 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
210 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
211 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
212 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
213 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
214 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
215 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
216 #define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
217 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
218 #define SWIGTYPE_p_wxGridCellAttr swig_types[9]
219 #define SWIGTYPE_p_wxColour swig_types[10]
220 #define SWIGTYPE_p_wxDC swig_types[11]
221 #define SWIGTYPE_p_wxGridTableMessage swig_types[12]
222 #define SWIGTYPE_p_wxGrid swig_types[13]
223 #define SWIGTYPE_p_wxVisualAttributes swig_types[14]
224 #define SWIGTYPE_p_char swig_types[15]
225 #define SWIGTYPE_p_wxPanel swig_types[16]
226 #define SWIGTYPE_p_wxNotifyEvent swig_types[17]
227 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[18]
228 #define SWIGTYPE_p_wxSize swig_types[19]
229 #define SWIGTYPE_p_wxGridCellCoords swig_types[20]
230 #define SWIGTYPE_p_wxScrolledWindow swig_types[21]
231 #define SWIGTYPE_p_wxWindow swig_types[22]
232 #define SWIGTYPE_p_wxFont swig_types[23]
233 #define SWIGTYPE_p_wxControl swig_types[24]
234 #define SWIGTYPE_p_wxEvent swig_types[25]
235 #define SWIGTYPE_p_wxObject swig_types[26]
236 #define SWIGTYPE_p_wxGridSizeEvent swig_types[27]
237 #define SWIGTYPE_p_wxRect swig_types[28]
238 #define SWIGTYPE_p_long swig_types[29]
239 #define SWIGTYPE_p_wxString swig_types[30]
240 #define SWIGTYPE_p_wxEvtHandler swig_types[31]
241 #define SWIGTYPE_p_wxPoint swig_types[32]
242 #define SWIGTYPE_p_wxGridEvent swig_types[33]
243 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[34]
244 #define SWIGTYPE_p_wxGridTableBase swig_types[35]
245 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[36]
246 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[37]
247 #define SWIGTYPE_p_wxGridCellEditor swig_types[38]
248 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[39]
249 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[40]
250 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[41]
251 #define SWIGTYPE_p_wxPyGridTableBase swig_types[42]
252 #define SWIGTYPE_p_wxGridStringTable swig_types[43]
253 #define SWIGTYPE_p_wxArrayString swig_types[44]
254 #define SWIGTYPE_p_wxCommandEvent swig_types[45]
255 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[46]
256 #define SWIGTYPE_p_wxKeyEvent swig_types[47]
257 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[48]
258 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[49]
259 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[50]
260 #define SWIGTYPE_p_int swig_types[51]
261 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[52]
262 static swig_type_info *swig_types[54];
263
264 /* -------- TYPES TABLE (END) -------- */
265
266
267 /*-----------------------------------------------
268 @(target):= _grid.so
269 ------------------------------------------------*/
270 #define SWIG_init init_grid
271
272 #define SWIG_name "_grid"
273
274 /* Auxiliar swig macros */
275
276 #ifdef __cplusplus
277 #define SWIGSTATICINLINE(a) static inline a
278 #define SWIGSTATIC(a) static a
279 #define swig_new_array(type, size) (new type[(size)])
280 #define swig_delete_array(cptr) delete[] cptr
281 #define swig_const_cast(type,a) const_cast<type>(a)
282 #define swig_static_cast(type,a) static_cast<type>(a)
283 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
284
285 #ifdef HAVE_NUMERIC_CAST
286 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
287 #else
288 #define swig_numeric_cast(type,a) static_cast<type>(a)
289 #endif
290
291 #else /* C case */
292
293 #define SWIGSTATICINLINE(a) static a
294 #define SWIGSTATIC(a) static a
295 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
296 #define swig_delete_array(cptr) free((char*)cptr)
297 #define swig_const_cast(type,a) (type)(a)
298 #define swig_static_cast(type,a) (type)(a)
299 #define swig_reinterpret_cast(type,a) (type)(a)
300 #define swig_numeric_cast(type,a) (type)(a)
301
302 #endif /* __cplusplus */
303
304
305 #define SWIG_FromSignedChar PyInt_FromLong
306 #define SWIG_FromUnsignedChar PyInt_FromLong
307 #define SWIG_FromShort PyInt_FromLong
308 #define SWIG_FromUnsignedShort PyInt_FromLong
309 #define SWIG_FromInt PyInt_FromLong
310 #define SWIG_FromLong PyInt_FromLong
311 #define SWIG_FromFloat PyFloat_FromDouble
312 #define SWIG_FromDouble PyFloat_FromDouble
313 #define SWIG_FromFloat PyFloat_FromDouble
314 #define SWIG_FromDouble PyFloat_FromDouble
315
316
317 #include "wx/wxPython/wxPython.h"
318 #include "wx/wxPython/pyclasses.h"
319 #include "wx/wxPython/printfw.h"
320
321 #include <wx/grid.h>
322 #include <wx/generic/gridctrl.h>
323
324
325 static const wxString wxPyEmptyString(wxEmptyString);
326 static const wxString wxPyPanelNameStr(wxPanelNameStr);
327 static const wxString wxPyDateTimeFormatStr(wxT("%c"));
328
329
330 #define wxPyMake_TEMPLATE(TYPE) \
331 PyObject* wxPyMake_##TYPE(TYPE* source) { \
332 PyObject* target = NULL; \
333 if (source) { \
334 /* Check if there is already a pointer to a Python object in the \
335 OOR data that we can use. */ \
336 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
337 if (data) { \
338 target = data->m_obj; \
339 Py_INCREF(target); \
340 } \
341 /* Otherwise make a new wrapper for it the old fashioned way and \
342 give it the OOR treatment */ \
343 if (! target) { \
344 target = wxPyConstructObject(source, wxT(#TYPE), False); \
345 if (target) \
346 source->SetClientObject(new wxPyOORClientData(target)); \
347 } \
348 } else { /* source was NULL so return None. */ \
349 Py_INCREF(Py_None); target = Py_None; \
350 } \
351 return target; \
352 } \
353
354
355 wxPyMake_TEMPLATE(wxGridCellRenderer)
356 wxPyMake_TEMPLATE(wxGridCellEditor)
357 wxPyMake_TEMPLATE(wxGridCellAttr)
358 wxPyMake_TEMPLATE(wxGridCellAttrProvider)
359 wxPyMake_TEMPLATE(wxGridTableBase)
360
361
362
363 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
364 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
365 wxGridCellAttr* rval = NULL; \
366 bool found; \
367 bool blocked = wxPyBeginBlockThreads(); \
368 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
369 PyObject* ro; \
370 wxGridCellAttr* ptr; \
371 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
372 if (ro) { \
373 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
374 rval = ptr; \
375 Py_DECREF(ro); \
376 } \
377 } \
378 wxPyEndBlockThreads(blocked); \
379 if (! found) \
380 rval = PCLASS::CBNAME(a, b, c); \
381 return rval; \
382 } \
383 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
384 return PCLASS::CBNAME(a, b, c); \
385 }
386
387
388
389 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
390 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
391 bool blocked = wxPyBeginBlockThreads(); \
392 bool found; \
393 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
394 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
395 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
396 Py_DECREF(obj); \
397 } \
398 wxPyEndBlockThreads(blocked); \
399 if (! found) \
400 PCLASS::CBNAME(attr, a, b); \
401 } \
402 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
403 PCLASS::CBNAME(attr, a, b); \
404 }
405
406
407
408 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
409 void CBNAME(wxGridCellAttr *attr, int val) { \
410 bool blocked = wxPyBeginBlockThreads(); \
411 bool found; \
412 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
413 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
414 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
415 Py_DECREF(obj); \
416 } \
417 wxPyEndBlockThreads(blocked); \
418 if (! found) \
419 PCLASS::CBNAME(attr, val); \
420 } \
421 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
422 PCLASS::CBNAME(attr, val); \
423 }
424
425
426
427 #define PYCALLBACK_INT__pure(CBNAME) \
428 int CBNAME() { \
429 bool blocked = wxPyBeginBlockThreads(); \
430 int rval = 0; \
431 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
432 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
433 wxPyEndBlockThreads(blocked); \
434 return rval; \
435 }
436
437
438
439 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
440 bool CBNAME(int a, int b) { \
441 bool blocked = wxPyBeginBlockThreads(); \
442 bool rval = 0; \
443 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
444 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
445 wxPyEndBlockThreads(blocked); \
446 return rval; \
447 }
448
449
450 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
451 wxString CBNAME(int a, int b) { \
452 bool blocked = wxPyBeginBlockThreads(); \
453 wxString rval; \
454 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
455 PyObject* ro; \
456 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
457 if (ro) { \
458 rval = Py2wxString(ro); \
459 Py_DECREF(ro); \
460 } \
461 } \
462 wxPyEndBlockThreads(blocked); \
463 return rval; \
464 }
465
466
467 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
468 void CBNAME(int a, int b, const wxString& c) { \
469 bool blocked = wxPyBeginBlockThreads(); \
470 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
471 PyObject* s = wx2PyString(c); \
472 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
473 Py_DECREF(s); \
474 } \
475 wxPyEndBlockThreads(blocked); \
476 }
477
478
479 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
480 wxString CBNAME(int a, int b) { \
481 bool found; \
482 bool blocked = wxPyBeginBlockThreads(); \
483 wxString rval; \
484 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
485 PyObject* ro; \
486 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
487 if (ro) { \
488 rval = Py2wxString(ro); \
489 Py_DECREF(ro); \
490 } \
491 } \
492 wxPyEndBlockThreads(blocked); \
493 if (! found) \
494 rval = PCLASS::CBNAME(a, b); \
495 return rval; \
496 } \
497 wxString base_##CBNAME(int a, int b) { \
498 return PCLASS::CBNAME(a, b); \
499 }
500
501
502 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
503 bool CBNAME(int a, int b, const wxString& c) { \
504 bool rval = 0; \
505 bool found; \
506 bool blocked = wxPyBeginBlockThreads(); \
507 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
508 PyObject* s = wx2PyString(c); \
509 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
510 Py_DECREF(s); \
511 } \
512 wxPyEndBlockThreads(blocked); \
513 if (! found) \
514 rval = PCLASS::CBNAME(a,b,c); \
515 return rval; \
516 } \
517 bool base_##CBNAME(int a, int b, const wxString& c) { \
518 return PCLASS::CBNAME(a,b,c); \
519 }
520
521
522
523
524 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
525 long CBNAME(int a, int b) { \
526 long rval; \
527 bool found; \
528 bool blocked = wxPyBeginBlockThreads(); \
529 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
530 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
531 wxPyEndBlockThreads(blocked); \
532 if (! found) \
533 rval = PCLASS::CBNAME(a,b); \
534 return rval; \
535 } \
536 long base_##CBNAME(int a, int b) { \
537 return PCLASS::CBNAME(a,b); \
538 }
539
540
541
542 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
543 bool CBNAME(int a, int b) { \
544 bool rval = 0; \
545 bool found; \
546 bool blocked = wxPyBeginBlockThreads(); \
547 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
548 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
549 wxPyEndBlockThreads(blocked); \
550 if (! found) \
551 rval = PCLASS::CBNAME(a,b); \
552 return rval; \
553 } \
554 bool base_##CBNAME(int a, int b) { \
555 return PCLASS::CBNAME(a,b); \
556 }
557
558
559
560 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
561 double CBNAME(int a, int b) { \
562 bool found; \
563 bool blocked = wxPyBeginBlockThreads(); \
564 double rval; \
565 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
566 PyObject* ro; \
567 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
568 if (ro) { \
569 PyObject* str = PyObject_Str(ro); \
570 rval = PyFloat_AsDouble(str); \
571 Py_DECREF(ro); Py_DECREF(str); \
572 } \
573 } \
574 wxPyEndBlockThreads(blocked); \
575 if (! found) \
576 rval = PCLASS::CBNAME(a, b); \
577 return rval; \
578 } \
579 double base_##CBNAME(int a, int b) { \
580 return PCLASS::CBNAME(a, b); \
581 }
582
583
584
585 #define PYCALLBACK__(PCLASS, CBNAME) \
586 void CBNAME() { \
587 bool found; \
588 bool blocked = wxPyBeginBlockThreads(); \
589 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
590 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
591 wxPyEndBlockThreads(blocked); \
592 if (! found) \
593 PCLASS::CBNAME(); \
594 } \
595 void base_##CBNAME() { \
596 PCLASS::CBNAME(); \
597 }
598
599
600
601
602 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
603 bool CBNAME(size_t a, size_t b) { \
604 bool rval = 0; \
605 bool found; \
606 bool blocked = wxPyBeginBlockThreads(); \
607 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
608 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
609 wxPyEndBlockThreads(blocked); \
610 if (! found) \
611 rval = PCLASS::CBNAME(a,b); \
612 return rval; \
613 } \
614 bool base_##CBNAME(size_t a, size_t b) { \
615 return PCLASS::CBNAME(a,b); \
616 }
617
618
619
620 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
621 bool CBNAME(size_t a) { \
622 bool rval = 0; \
623 bool found; \
624 bool blocked = wxPyBeginBlockThreads(); \
625 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
626 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
627 wxPyEndBlockThreads(blocked); \
628 if (! found) \
629 rval = PCLASS::CBNAME(a); \
630 return rval; \
631 } \
632 bool base_##CBNAME(size_t a) { \
633 return PCLASS::CBNAME(a); \
634 }
635
636
637 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
638 wxString CBNAME(int a) { \
639 bool found; \
640 bool blocked = wxPyBeginBlockThreads(); \
641 wxString rval; \
642 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
643 PyObject* ro; \
644 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
645 if (ro) { \
646 rval = Py2wxString(ro); \
647 Py_DECREF(ro); \
648 } \
649 } \
650 wxPyEndBlockThreads(blocked); \
651 if (! found) \
652 rval = PCLASS::CBNAME(a); \
653 return rval; \
654 } \
655 wxString base_##CBNAME(int a) { \
656 return PCLASS::CBNAME(a); \
657 }
658
659
660 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
661 void CBNAME(int a, const wxString& c) { \
662 bool found; \
663 bool blocked = wxPyBeginBlockThreads(); \
664 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
665 PyObject* s = wx2PyString(c); \
666 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
667 Py_DECREF(s); \
668 } \
669 wxPyEndBlockThreads(blocked); \
670 if (! found) \
671 PCLASS::CBNAME(a,c); \
672 } \
673 void base_##CBNAME(int a, const wxString& c) { \
674 PCLASS::CBNAME(a,c); \
675 }
676
677
678
679
680 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
681 bool CBNAME() { \
682 bool rval = 0; \
683 bool found; \
684 bool blocked = wxPyBeginBlockThreads(); \
685 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
686 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
687 wxPyEndBlockThreads(blocked); \
688 if (! found) \
689 rval = PCLASS::CBNAME(); \
690 return rval; \
691 } \
692 bool base_##CBNAME() { \
693 return PCLASS::CBNAME(); \
694 }
695
696
697
698 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
699 void CBNAME(size_t a, int b) { \
700 bool found; \
701 bool blocked = wxPyBeginBlockThreads(); \
702 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
703 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
704 wxPyEndBlockThreads(blocked); \
705 if (! found) \
706 PCLASS::CBNAME(a,b); \
707 } \
708 void base_##CBNAME(size_t a, int b) { \
709 PCLASS::CBNAME(a,b); \
710 }
711
712
713
714
715 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
716 void CBNAME(int a, int b, long c) { \
717 bool found; \
718 bool blocked = wxPyBeginBlockThreads(); \
719 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
720 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
721 wxPyEndBlockThreads(blocked); \
722 if (! found) \
723 PCLASS::CBNAME(a,b,c); \
724 } \
725 void base_##CBNAME(int a, int b, long c) { \
726 PCLASS::CBNAME(a,b,c); \
727 }
728
729
730
731
732 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
733 void CBNAME(int a, int b, double c) { \
734 bool found; \
735 bool blocked = wxPyBeginBlockThreads(); \
736 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
737 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
738 wxPyEndBlockThreads(blocked); \
739 if (! found) \
740 PCLASS::CBNAME(a,b,c); \
741 } \
742 void base_##CBNAME(int a, int b, double c) { \
743 PCLASS::CBNAME(a,b,c); \
744 }
745
746
747
748 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
749 void CBNAME(int a, int b, bool c) { \
750 bool found; \
751 bool blocked = wxPyBeginBlockThreads(); \
752 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
753 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
754 wxPyEndBlockThreads(blocked); \
755 if (! found) \
756 PCLASS::CBNAME(a,b,c); \
757 } \
758 void base_##CBNAME(int a, int b, bool c) { \
759 PCLASS::CBNAME(a,b,c); \
760 }
761
762
763
764
765
766
767 SWIGSTATICINLINE(PyObject *)
768 SWIG_FromCharPtr(const char* cptr)
769 {
770 size_t size = cptr ? strlen(cptr) : 0;
771 if (cptr) {
772 if (size > INT_MAX) {
773 return SWIG_NewPointerObj(swig_const_cast(char*,cptr),
774 SWIG_TypeQuery("char *"), 0);
775 } else {
776 return PyString_FromStringAndSize(cptr, swig_numeric_cast(int,size));
777 }
778 } else {
779 Py_INCREF(Py_None);
780 return Py_None;
781 }
782 }
783
784 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject *_self){
785 self->SetClientObject(new wxPyOORClientData(_self));
786 }
787
788 #include <limits.h>
789
790
791 SWIGSTATICINLINE(long)
792 SWIG_CheckLongInRange(long value, const char* type,
793 long min_value, long max_value)
794 {
795 if (!PyErr_Occurred()) {
796 if (value < min_value) {
797 PyObject *err =
798 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
799 value, type, min_value);
800
801 PyErr_SetObject(PyExc_OverflowError, err);
802 Py_DECREF(err);
803 } else if (value > max_value) {
804 PyObject *err =
805 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
806 value, type, max_value);
807 PyErr_SetObject(PyExc_OverflowError, err);
808 Py_DECREF(err);
809 }
810 }
811 return value;
812 }
813
814
815 SWIGSTATICINLINE(long)
816 SWIG_AsLong(PyObject * obj)
817 {
818 if (PyNumber_Check(obj))
819 return PyInt_AsLong(obj);
820 else {
821 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
822 obj->ob_type->tp_name);
823 PyErr_SetObject(PyExc_TypeError, errmsg);
824 Py_DECREF(errmsg);
825 return 0;
826 }
827 }
828
829
830 #if INT_MAX != LONG_MAX
831 SWIGSTATICINLINE(int)
832 SWIG_AsInt(PyObject *obj)
833 {
834 return swig_numeric_cast(int,
835 SWIG_CheckLongInRange(SWIG_AsLong(obj),
836 "int", INT_MIN, INT_MAX));
837 }
838 #else
839 #define SWIG_AsInt SWIG_AsLong
840 #endif
841
842
843 SWIGSTATICINLINE(bool)
844 SWIG_AsBool(PyObject *obj)
845 {
846 return PyObject_IsTrue(obj) ? true : false;
847 }
848
849
850 SWIGSTATICINLINE(int)
851 SWIG_CheckInt(PyObject* obj)
852 {
853 SWIG_AsInt(obj);
854 if (PyErr_Occurred()) {
855 PyErr_Clear();
856 return 0;
857 } else {
858 return 1;
859 }
860 }
861
862
863 SWIGSTATICINLINE(int)
864 SWIG_CheckBool(PyObject* obj)
865 {
866 SWIG_AsBool(obj);
867 if (PyErr_Occurred()) {
868 PyErr_Clear();
869 return 0;
870 } else {
871 return 1;
872 }
873 }
874
875
876 class wxPyGridCellRenderer : public wxGridCellRenderer
877 {
878 public:
879 wxPyGridCellRenderer() : wxGridCellRenderer() {};
880
881 // Implement Python callback aware virtual methods
882 void Draw(wxGrid& grid, wxGridCellAttr& attr,
883 wxDC& dc, const wxRect& rect,
884 int row, int col, bool isSelected) {
885 bool blocked = wxPyBeginBlockThreads();
886 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
887 PyObject* go = wxPyMake_wxObject(&grid);
888 PyObject* dco = wxPyMake_wxObject(&dc);
889 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
890 PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
891
892 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro,
893 row, col, isSelected));
894 Py_DECREF(go);
895 Py_DECREF(ao);
896 Py_DECREF(dco);
897 Py_DECREF(ro);
898 }
899 wxPyEndBlockThreads(blocked);
900 }
901
902 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
903 int row, int col) {
904 wxSize rval;
905 bool blocked = wxPyBeginBlockThreads();
906 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
907 PyObject* ro;
908 wxSize* ptr;
909 PyObject* go = wxPyMake_wxObject(&grid);
910 PyObject* dco = wxPyMake_wxObject(&dc);
911 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
912
913 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)",
914 go, ao, dco,
915 row, col));
916 Py_DECREF(go);
917 Py_DECREF(ao);
918 Py_DECREF(dco);
919
920 if (ro) {
921 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
922 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxSize"))) {
923 rval = *ptr;
924 }
925 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
926 PyObject* o1 = PySequence_GetItem(ro, 0);
927 PyObject* o2 = PySequence_GetItem(ro, 1);
928 if (PyNumber_Check(o1) && PyNumber_Check(o2))
929 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
930 else
931 PyErr_SetString(PyExc_TypeError, errmsg);
932 Py_DECREF(o1);
933 Py_DECREF(o2);
934 }
935 else {
936 PyErr_SetString(PyExc_TypeError, errmsg);
937 }
938 Py_DECREF(ro);
939 }
940 }
941 wxPyEndBlockThreads(blocked);
942 return rval;
943 }
944
945
946 wxGridCellRenderer *Clone() const {
947 wxGridCellRenderer* rval = NULL;
948 bool blocked = wxPyBeginBlockThreads();
949 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
950 PyObject* ro;
951 wxGridCellRenderer* ptr;
952 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
953 if (ro) {
954 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellRenderer")))
955 rval = ptr;
956 Py_DECREF(ro);
957 }
958 }
959 wxPyEndBlockThreads(blocked);
960 return rval;
961 }
962
963 DEC_PYCALLBACK__STRING(SetParameters);
964
965 PYPRIVATE;
966 };
967
968 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
969
970
971 void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject *_self){
972 self->SetClientObject(new wxPyOORClientData(_self));
973 }
974
975 class wxPyGridCellEditor : public wxGridCellEditor
976 {
977 public:
978 wxPyGridCellEditor() : wxGridCellEditor() {}
979
980 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
981 bool blocked = wxPyBeginBlockThreads();
982 if (wxPyCBH_findCallback(m_myInst, "Create")) {
983 PyObject* po = wxPyMake_wxObject(parent);
984 PyObject* eo = wxPyMake_wxObject(evtHandler);
985
986 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo));
987 Py_DECREF(po);
988 Py_DECREF(eo);
989 }
990 wxPyEndBlockThreads(blocked);
991 }
992
993
994 void BeginEdit(int row, int col, wxGrid* grid) {
995 bool blocked = wxPyBeginBlockThreads();
996 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
997 PyObject* go = wxPyMake_wxObject(grid);
998 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
999 Py_DECREF(go);
1000 }
1001 wxPyEndBlockThreads(blocked);
1002 }
1003
1004
1005 bool EndEdit(int row, int col, wxGrid* grid) {
1006 bool rv = False;
1007 bool blocked = wxPyBeginBlockThreads();
1008 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
1009 PyObject* go = wxPyMake_wxObject(grid);
1010 rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
1011 Py_DECREF(go);
1012 }
1013 wxPyEndBlockThreads(blocked);
1014 return rv;
1015 }
1016
1017
1018 wxGridCellEditor* Clone() const {
1019 wxGridCellEditor* rval = NULL;
1020 bool blocked = wxPyBeginBlockThreads();
1021 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
1022 PyObject* ro;
1023 wxGridCellEditor* ptr;
1024 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1025 if (ro) {
1026 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellEditor")))
1027 rval = ptr;
1028 Py_DECREF(ro);
1029 }
1030 }
1031 wxPyEndBlockThreads(blocked);
1032 return rval;
1033 }
1034
1035
1036 void Show(bool show, wxGridCellAttr *attr) {
1037 bool found;
1038 bool blocked = wxPyBeginBlockThreads();
1039 if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) {
1040 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
1041 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao));
1042 Py_DECREF(ao);
1043 }
1044 wxPyEndBlockThreads(blocked);
1045 if (! found)
1046 wxGridCellEditor::Show(show, attr);
1047 }
1048 void base_Show(bool show, wxGridCellAttr *attr) {
1049 wxGridCellEditor::Show(show, attr);
1050 }
1051
1052
1053 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1054 bool found;
1055 bool blocked = wxPyBeginBlockThreads();
1056 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) {
1057 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
1058 PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
1059
1060 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao));
1061
1062 Py_DECREF(ro);
1063 Py_DECREF(ao);
1064 }
1065 wxPyEndBlockThreads(blocked);
1066 if (! found)
1067 wxGridCellEditor::PaintBackground(rectCell, attr);
1068 }
1069 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
1070 wxGridCellEditor::PaintBackground(rectCell, attr);
1071 }
1072
1073
1074 DEC_PYCALLBACK___pure(Reset);
1075 DEC_PYCALLBACK__constany(SetSize, wxRect);
1076 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
1077 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
1078 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
1079 DEC_PYCALLBACK__(StartingClick);
1080 DEC_PYCALLBACK__(Destroy);
1081 DEC_PYCALLBACK__STRING(SetParameters);
1082 DEC_PYCALLBACK_STRING__constpure(GetValue);
1083
1084 PYPRIVATE;
1085 };
1086
1087
1088 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
1089 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
1090 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
1091 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
1092 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
1093 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
1094 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
1095 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
1096 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue);
1097
1098
1099 void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject *_self){
1100 self->SetClientObject(new wxPyOORClientData(_self));
1101 }
1102
1103 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1104 PyObject* o2;
1105 PyObject* o3;
1106
1107 if (!target) {
1108 target = o;
1109 } else if (target == Py_None) {
1110 Py_DECREF(Py_None);
1111 target = o;
1112 } else {
1113 if (!PyTuple_Check(target)) {
1114 o2 = target;
1115 target = PyTuple_New(1);
1116 PyTuple_SetItem(target, 0, o2);
1117 }
1118 o3 = PyTuple_New(1);
1119 PyTuple_SetItem(o3, 0, o);
1120
1121 o2 = target;
1122 target = PySequence_Concat(o2, o3);
1123 Py_DECREF(o2);
1124 Py_DECREF(o3);
1125 }
1126 return target;
1127 }
1128
1129 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject *_self){
1130 self->SetClientObject(new wxPyOORClientData(_self));
1131 }
1132
1133 SWIGSTATICINLINE(unsigned long)
1134 SWIG_AsUnsignedLong(PyObject * obj)
1135 {
1136 if (PyLong_Check(obj)) {
1137 return PyLong_AsUnsignedLong(obj);
1138 } else {
1139 long i = SWIG_AsLong(obj);
1140 if ( !PyErr_Occurred() && (i < 0)) {
1141 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
1142 }
1143 return i;
1144 }
1145 }
1146
1147
1148 SWIGSTATICINLINE(int)
1149 SWIG_CheckUnsignedLong(PyObject* obj)
1150 {
1151 SWIG_AsUnsignedLong(obj);
1152 if (PyErr_Occurred()) {
1153 PyErr_Clear();
1154 return 0;
1155 } else {
1156 return 1;
1157 }
1158 }
1159
1160
1161 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
1162 {
1163 public:
1164 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1165
1166 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
1167 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
1168 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
1169 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
1170
1171 PYPRIVATE;
1172 };
1173
1174 void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject *_self){
1175 self->SetClientObject(new wxPyOORClientData(_self));
1176 }
1177
1178 SWIGSTATICINLINE(int)
1179 SWIG_CheckLong(PyObject* obj)
1180 {
1181 SWIG_AsLong(obj);
1182 if (PyErr_Occurred()) {
1183 PyErr_Clear();
1184 return 0;
1185 } else {
1186 return 1;
1187 }
1188 }
1189
1190
1191 SWIGSTATICINLINE(double)
1192 SWIG_AsDouble(PyObject *obj)
1193 {
1194 if (PyNumber_Check(obj))
1195 return PyFloat_AsDouble(obj);
1196 else {
1197 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1198 obj->ob_type->tp_name);
1199 PyErr_SetObject(PyExc_TypeError, errmsg);
1200 Py_DECREF(errmsg);
1201 return 0;
1202 }
1203 }
1204
1205
1206 SWIGSTATICINLINE(int)
1207 SWIG_CheckDouble(PyObject* obj)
1208 {
1209 SWIG_AsDouble(obj);
1210 if (PyErr_Occurred()) {
1211 PyErr_Clear();
1212 return 0;
1213 } else {
1214 return 1;
1215 }
1216 }
1217
1218
1219 class wxPyGridTableBase : public wxGridTableBase
1220 {
1221 public:
1222 wxPyGridTableBase() : wxGridTableBase() {}
1223
1224 PYCALLBACK_INT__pure(GetNumberRows);
1225 PYCALLBACK_INT__pure(GetNumberCols);
1226 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
1227 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
1228 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
1229 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
1230 PYCALLBACK__(wxGridTableBase, Clear);
1231 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
1232 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
1233 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
1234 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
1235 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
1236 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
1237 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
1238 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
1239 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
1240 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
1241 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
1242 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
1243 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
1244 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
1245 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
1246
1247
1248 wxString GetValue(int row, int col) {
1249 bool blocked = wxPyBeginBlockThreads();
1250 wxString rval;
1251 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1252 PyObject* ro;
1253 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
1254 if (ro) {
1255 rval = Py2wxString(ro);
1256 Py_DECREF(ro);
1257 }
1258 }
1259 wxPyEndBlockThreads(blocked);
1260 return rval;
1261 }
1262
1263 void SetValue(int row, int col, const wxString& val) {
1264 bool blocked = wxPyBeginBlockThreads();
1265 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1266 PyObject* s = wx2PyString(val);
1267 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s));
1268 Py_DECREF(s);
1269 }
1270 wxPyEndBlockThreads(blocked);
1271 }
1272
1273
1274 // Map the Get/Set methods for the standard non-string types to
1275 // the GetValue and SetValue python methods.
1276 long GetValueAsLong( int row, int col ) {
1277 long rval = 0;
1278 bool blocked = wxPyBeginBlockThreads();
1279 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1280 PyObject* ro;
1281 PyObject* num;
1282 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1283 if (ro && PyNumber_Check(ro)) {
1284 num = PyNumber_Int(ro);
1285 if (num) {
1286 rval = PyInt_AsLong(num);
1287 Py_DECREF(num);
1288 }
1289 Py_DECREF(ro);
1290 }
1291 }
1292 wxPyEndBlockThreads(blocked);
1293 return rval;
1294 }
1295
1296 double GetValueAsDouble( int row, int col ) {
1297 double rval = 0.0;
1298 bool blocked = wxPyBeginBlockThreads();
1299 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
1300 PyObject* ro;
1301 PyObject* num;
1302 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
1303 if (ro && PyNumber_Check(ro)) {
1304 num = PyNumber_Float(ro);
1305 if (num) {
1306 rval = PyFloat_AsDouble(num);
1307 Py_DECREF(num);
1308 }
1309 Py_DECREF(ro);
1310 }
1311 }
1312 wxPyEndBlockThreads(blocked);
1313 return rval;
1314 }
1315
1316 bool GetValueAsBool( int row, int col ) {
1317 return (bool)GetValueAsLong(row, col);
1318 }
1319
1320 void SetValueAsLong( int row, int col, long value ) {
1321 bool blocked = wxPyBeginBlockThreads();
1322 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1323 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
1324 }
1325 wxPyEndBlockThreads(blocked);
1326 }
1327
1328 void SetValueAsDouble( int row, int col, double value ) {
1329 bool blocked = wxPyBeginBlockThreads();
1330 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
1331 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
1332 }
1333 wxPyEndBlockThreads(blocked);
1334 }
1335
1336 void SetValueAsBool( int row, int col, bool value ) {
1337 SetValueAsLong( row, col, (long)value );
1338 }
1339
1340
1341 PYPRIVATE;
1342 };
1343
1344 void wxPyGridTableBase_Destroy(wxPyGridTableBase *self){ delete self; }
1345
1346 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
1347
1348 if (source == Py_None) {
1349 **obj = wxGridCellCoords(-1,-1);
1350 return True;
1351 }
1352
1353 // If source is an object instance then it may already be the right type
1354 if (wxPySwigInstance_Check(source)) {
1355 wxGridCellCoords* ptr;
1356 if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1357 goto error;
1358 *obj = ptr;
1359 return True;
1360 }
1361 // otherwise a 2-tuple of integers is expected
1362 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
1363 PyObject* o1 = PySequence_GetItem(source, 0);
1364 PyObject* o2 = PySequence_GetItem(source, 1);
1365 if (!PyNumber_Check(o1) || !PyNumber_Check(o2)) {
1366 Py_DECREF(o1);
1367 Py_DECREF(o2);
1368 goto error;
1369 }
1370 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
1371 Py_DECREF(o1);
1372 Py_DECREF(o2);
1373 return True;
1374 }
1375
1376 error:
1377 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1378 return False;
1379 }
1380
1381
1382 bool wxGridCellCoords_typecheck(PyObject* source) {
1383 void* ptr;
1384
1385 if (wxPySwigInstance_Check(source) &&
1386 wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
1387 return True;
1388
1389 PyErr_Clear();
1390 if (PySequence_Check(source) && PySequence_Length(source) == 2)
1391 return True;
1392
1393 return False;
1394 }
1395
1396
1397 PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray& source)
1398 {
1399 PyObject* list = PyList_New(0);
1400 size_t idx;
1401 for (idx = 0; idx < source.GetCount(); idx += 1) {
1402 wxGridCellCoords& coord = source.Item(idx);
1403 PyObject* tup = PyTuple_New(2);
1404 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow()));
1405 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol()));
1406 PyList_Append(list, tup);
1407 Py_DECREF(tup);
1408 }
1409 return list;
1410 }
1411
1412 PyObject *wxGridCellCoords_Get(wxGridCellCoords *self){
1413 PyObject* tup = PyTuple_New(2);
1414 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1415 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1416 return tup;
1417 }
1418
1419 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
1420
1421 wxGridCellCoords wxGrid_XYToCell(wxGrid *self,int x,int y){
1422 wxGridCellCoords rv;
1423 self->XYToCell(x, y, rv);
1424 return rv;
1425 }
1426 #ifdef __cplusplus
1427 extern "C" {
1428 #endif
1429 static int _wrap_DateTimeFormatStr_set(PyObject *_val) {
1430 PyErr_SetString(PyExc_TypeError,"Variable DateTimeFormatStr is read-only.");
1431 return 1;
1432 }
1433
1434
1435 static PyObject *_wrap_DateTimeFormatStr_get() {
1436 PyObject *pyobj;
1437
1438 {
1439 #if wxUSE_UNICODE
1440 pyobj = PyUnicode_FromWideChar((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1441 #else
1442 pyobj = PyString_FromStringAndSize((&wxPyDateTimeFormatStr)->c_str(), (&wxPyDateTimeFormatStr)->Len());
1443 #endif
1444 }
1445 return pyobj;
1446 }
1447
1448
1449 static int _wrap_GridNoCellCoords_set(PyObject *_val) {
1450 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellCoords is read-only.");
1451 return 1;
1452 }
1453
1454
1455 static PyObject *_wrap_GridNoCellCoords_get() {
1456 PyObject *pyobj;
1457
1458 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellCoords), SWIGTYPE_p_wxGridCellCoords, 0);
1459 return pyobj;
1460 }
1461
1462
1463 static int _wrap_GridNoCellRect_set(PyObject *_val) {
1464 PyErr_SetString(PyExc_TypeError,"Variable GridNoCellRect is read-only.");
1465 return 1;
1466 }
1467
1468
1469 static PyObject *_wrap_GridNoCellRect_get() {
1470 PyObject *pyobj;
1471
1472 pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellRect), SWIGTYPE_p_wxRect, 0);
1473 return pyobj;
1474 }
1475
1476
1477 static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1478 PyObject *resultobj;
1479 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1480 PyObject *arg2 = (PyObject *) 0 ;
1481 PyObject * obj0 = 0 ;
1482 PyObject * obj1 = 0 ;
1483 char *kwnames[] = {
1484 (char *) "self",(char *) "_self", NULL
1485 };
1486
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
1488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1490 arg2 = obj1;
1491 {
1492 PyThreadState* __tstate = wxPyBeginAllowThreads();
1493 wxGridCellRenderer__setOORInfo(arg1,arg2);
1494
1495 wxPyEndAllowThreads(__tstate);
1496 if (PyErr_Occurred()) SWIG_fail;
1497 }
1498 Py_INCREF(Py_None); resultobj = Py_None;
1499 return resultobj;
1500 fail:
1501 return NULL;
1502 }
1503
1504
1505 static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1506 PyObject *resultobj;
1507 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1508 wxString *arg2 = 0 ;
1509 bool temp2 = False ;
1510 PyObject * obj0 = 0 ;
1511 PyObject * obj1 = 0 ;
1512 char *kwnames[] = {
1513 (char *) "self",(char *) "params", NULL
1514 };
1515
1516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellRenderer_SetParameters",kwnames,&obj0,&obj1)) goto fail;
1517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1519 {
1520 arg2 = wxString_in_helper(obj1);
1521 if (arg2 == NULL) SWIG_fail;
1522 temp2 = True;
1523 }
1524 {
1525 PyThreadState* __tstate = wxPyBeginAllowThreads();
1526 (arg1)->SetParameters((wxString const &)*arg2);
1527
1528 wxPyEndAllowThreads(__tstate);
1529 if (PyErr_Occurred()) SWIG_fail;
1530 }
1531 Py_INCREF(Py_None); resultobj = Py_None;
1532 {
1533 if (temp2)
1534 delete arg2;
1535 }
1536 return resultobj;
1537 fail:
1538 {
1539 if (temp2)
1540 delete arg2;
1541 }
1542 return NULL;
1543 }
1544
1545
1546 static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1547 PyObject *resultobj;
1548 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1549 PyObject * obj0 = 0 ;
1550 char *kwnames[] = {
1551 (char *) "self", NULL
1552 };
1553
1554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_IncRef",kwnames,&obj0)) goto fail;
1555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1557 {
1558 PyThreadState* __tstate = wxPyBeginAllowThreads();
1559 (arg1)->IncRef();
1560
1561 wxPyEndAllowThreads(__tstate);
1562 if (PyErr_Occurred()) SWIG_fail;
1563 }
1564 Py_INCREF(Py_None); resultobj = Py_None;
1565 return resultobj;
1566 fail:
1567 return NULL;
1568 }
1569
1570
1571 static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1572 PyObject *resultobj;
1573 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1574 PyObject * obj0 = 0 ;
1575 char *kwnames[] = {
1576 (char *) "self", NULL
1577 };
1578
1579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_DecRef",kwnames,&obj0)) goto fail;
1580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1582 {
1583 PyThreadState* __tstate = wxPyBeginAllowThreads();
1584 (arg1)->DecRef();
1585
1586 wxPyEndAllowThreads(__tstate);
1587 if (PyErr_Occurred()) SWIG_fail;
1588 }
1589 Py_INCREF(Py_None); resultobj = Py_None;
1590 return resultobj;
1591 fail:
1592 return NULL;
1593 }
1594
1595
1596 static PyObject *_wrap_GridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
1597 PyObject *resultobj;
1598 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1599 wxGrid *arg2 = 0 ;
1600 wxGridCellAttr *arg3 = 0 ;
1601 wxDC *arg4 = 0 ;
1602 wxRect *arg5 = 0 ;
1603 int arg6 ;
1604 int arg7 ;
1605 bool arg8 ;
1606 wxRect temp5 ;
1607 PyObject * obj0 = 0 ;
1608 PyObject * obj1 = 0 ;
1609 PyObject * obj2 = 0 ;
1610 PyObject * obj3 = 0 ;
1611 PyObject * obj4 = 0 ;
1612 PyObject * obj5 = 0 ;
1613 PyObject * obj6 = 0 ;
1614 PyObject * obj7 = 0 ;
1615 char *kwnames[] = {
1616 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1617 };
1618
1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1623 SWIG_POINTER_EXCEPTION | 0)) == -1)
1624 SWIG_fail;
1625 if (arg2 == NULL) {
1626 PyErr_SetString(PyExc_TypeError,"null reference");
1627 SWIG_fail;
1628 }
1629 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1630 SWIG_POINTER_EXCEPTION | 0)) == -1)
1631 SWIG_fail;
1632 if (arg3 == NULL) {
1633 PyErr_SetString(PyExc_TypeError,"null reference");
1634 SWIG_fail;
1635 }
1636 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1637 SWIG_POINTER_EXCEPTION | 0)) == -1)
1638 SWIG_fail;
1639 if (arg4 == NULL) {
1640 PyErr_SetString(PyExc_TypeError,"null reference");
1641 SWIG_fail;
1642 }
1643 {
1644 arg5 = &temp5;
1645 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
1646 }
1647 arg6 = (int) SWIG_AsInt(obj5);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 arg7 = (int) SWIG_AsInt(obj6);
1650 if (PyErr_Occurred()) SWIG_fail;
1651 arg8 = (bool) SWIG_AsBool(obj7);
1652 if (PyErr_Occurred()) SWIG_fail;
1653 {
1654 PyThreadState* __tstate = wxPyBeginAllowThreads();
1655 (arg1)->Draw(*arg2,*arg3,*arg4,(wxRect const &)*arg5,arg6,arg7,arg8);
1656
1657 wxPyEndAllowThreads(__tstate);
1658 if (PyErr_Occurred()) SWIG_fail;
1659 }
1660 Py_INCREF(Py_None); resultobj = Py_None;
1661 return resultobj;
1662 fail:
1663 return NULL;
1664 }
1665
1666
1667 static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1668 PyObject *resultobj;
1669 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1670 wxGrid *arg2 = 0 ;
1671 wxGridCellAttr *arg3 = 0 ;
1672 wxDC *arg4 = 0 ;
1673 int arg5 ;
1674 int arg6 ;
1675 wxSize result;
1676 PyObject * obj0 = 0 ;
1677 PyObject * obj1 = 0 ;
1678 PyObject * obj2 = 0 ;
1679 PyObject * obj3 = 0 ;
1680 PyObject * obj4 = 0 ;
1681 PyObject * obj5 = 0 ;
1682 char *kwnames[] = {
1683 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1684 };
1685
1686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1689 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
1690 SWIG_POINTER_EXCEPTION | 0)) == -1)
1691 SWIG_fail;
1692 if (arg2 == NULL) {
1693 PyErr_SetString(PyExc_TypeError,"null reference");
1694 SWIG_fail;
1695 }
1696 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
1697 SWIG_POINTER_EXCEPTION | 0)) == -1)
1698 SWIG_fail;
1699 if (arg3 == NULL) {
1700 PyErr_SetString(PyExc_TypeError,"null reference");
1701 SWIG_fail;
1702 }
1703 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
1704 SWIG_POINTER_EXCEPTION | 0)) == -1)
1705 SWIG_fail;
1706 if (arg4 == NULL) {
1707 PyErr_SetString(PyExc_TypeError,"null reference");
1708 SWIG_fail;
1709 }
1710 arg5 = (int) SWIG_AsInt(obj4);
1711 if (PyErr_Occurred()) SWIG_fail;
1712 arg6 = (int) SWIG_AsInt(obj5);
1713 if (PyErr_Occurred()) SWIG_fail;
1714 {
1715 PyThreadState* __tstate = wxPyBeginAllowThreads();
1716 result = (arg1)->GetBestSize(*arg2,*arg3,*arg4,arg5,arg6);
1717
1718 wxPyEndAllowThreads(__tstate);
1719 if (PyErr_Occurred()) SWIG_fail;
1720 }
1721 {
1722 wxSize * resultptr;
1723 resultptr = new wxSize((wxSize &) result);
1724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1725 }
1726 return resultobj;
1727 fail:
1728 return NULL;
1729 }
1730
1731
1732 static PyObject *_wrap_GridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1733 PyObject *resultobj;
1734 wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
1735 wxGridCellRenderer *result;
1736 PyObject * obj0 = 0 ;
1737 char *kwnames[] = {
1738 (char *) "self", NULL
1739 };
1740
1741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellRenderer_Clone",kwnames,&obj0)) goto fail;
1742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellRenderer,
1743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1744 {
1745 PyThreadState* __tstate = wxPyBeginAllowThreads();
1746 result = (wxGridCellRenderer *)((wxGridCellRenderer const *)arg1)->Clone();
1747
1748 wxPyEndAllowThreads(__tstate);
1749 if (PyErr_Occurred()) SWIG_fail;
1750 }
1751 {
1752 resultobj = wxPyMake_wxGridCellRenderer(result);
1753 }
1754 return resultobj;
1755 fail:
1756 return NULL;
1757 }
1758
1759
1760 static PyObject * GridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1761 PyObject *obj;
1762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1763 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer, obj);
1764 Py_INCREF(obj);
1765 return Py_BuildValue((char *)"");
1766 }
1767 static PyObject *_wrap_new_PyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject *resultobj;
1769 wxPyGridCellRenderer *result;
1770 char *kwnames[] = {
1771 NULL
1772 };
1773
1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellRenderer",kwnames)) goto fail;
1775 {
1776 PyThreadState* __tstate = wxPyBeginAllowThreads();
1777 result = (wxPyGridCellRenderer *)new wxPyGridCellRenderer();
1778
1779 wxPyEndAllowThreads(__tstate);
1780 if (PyErr_Occurred()) SWIG_fail;
1781 }
1782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellRenderer, 1);
1783 return resultobj;
1784 fail:
1785 return NULL;
1786 }
1787
1788
1789 static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1790 PyObject *resultobj;
1791 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1792 PyObject *arg2 = (PyObject *) 0 ;
1793 PyObject *arg3 = (PyObject *) 0 ;
1794 PyObject * obj0 = 0 ;
1795 PyObject * obj1 = 0 ;
1796 PyObject * obj2 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "self",(char *) "self",(char *) "_class", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1804 arg2 = obj1;
1805 arg3 = obj2;
1806 {
1807 PyThreadState* __tstate = wxPyBeginAllowThreads();
1808 (arg1)->_setCallbackInfo(arg2,arg3);
1809
1810 wxPyEndAllowThreads(__tstate);
1811 if (PyErr_Occurred()) SWIG_fail;
1812 }
1813 Py_INCREF(Py_None); resultobj = Py_None;
1814 return resultobj;
1815 fail:
1816 return NULL;
1817 }
1818
1819
1820 static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1821 PyObject *resultobj;
1822 wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
1823 wxString *arg2 = 0 ;
1824 bool temp2 = False ;
1825 PyObject * obj0 = 0 ;
1826 PyObject * obj1 = 0 ;
1827 char *kwnames[] = {
1828 (char *) "self",(char *) "params", NULL
1829 };
1830
1831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
1832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellRenderer,
1833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1834 {
1835 arg2 = wxString_in_helper(obj1);
1836 if (arg2 == NULL) SWIG_fail;
1837 temp2 = True;
1838 }
1839 {
1840 PyThreadState* __tstate = wxPyBeginAllowThreads();
1841 (arg1)->base_SetParameters((wxString const &)*arg2);
1842
1843 wxPyEndAllowThreads(__tstate);
1844 if (PyErr_Occurred()) SWIG_fail;
1845 }
1846 Py_INCREF(Py_None); resultobj = Py_None;
1847 {
1848 if (temp2)
1849 delete arg2;
1850 }
1851 return resultobj;
1852 fail:
1853 {
1854 if (temp2)
1855 delete arg2;
1856 }
1857 return NULL;
1858 }
1859
1860
1861 static PyObject * PyGridCellRenderer_swigregister(PyObject *self, PyObject *args) {
1862 PyObject *obj;
1863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1864 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer, obj);
1865 Py_INCREF(obj);
1866 return Py_BuildValue((char *)"");
1867 }
1868 static PyObject *_wrap_new_GridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1869 PyObject *resultobj;
1870 wxGridCellStringRenderer *result;
1871 char *kwnames[] = {
1872 NULL
1873 };
1874
1875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellStringRenderer",kwnames)) goto fail;
1876 {
1877 PyThreadState* __tstate = wxPyBeginAllowThreads();
1878 result = (wxGridCellStringRenderer *)new wxGridCellStringRenderer();
1879
1880 wxPyEndAllowThreads(__tstate);
1881 if (PyErr_Occurred()) SWIG_fail;
1882 }
1883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellStringRenderer, 1);
1884 return resultobj;
1885 fail:
1886 return NULL;
1887 }
1888
1889
1890 static PyObject * GridCellStringRenderer_swigregister(PyObject *self, PyObject *args) {
1891 PyObject *obj;
1892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1893 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer, obj);
1894 Py_INCREF(obj);
1895 return Py_BuildValue((char *)"");
1896 }
1897 static PyObject *_wrap_new_GridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1898 PyObject *resultobj;
1899 wxGridCellNumberRenderer *result;
1900 char *kwnames[] = {
1901 NULL
1902 };
1903
1904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellNumberRenderer",kwnames)) goto fail;
1905 {
1906 PyThreadState* __tstate = wxPyBeginAllowThreads();
1907 result = (wxGridCellNumberRenderer *)new wxGridCellNumberRenderer();
1908
1909 wxPyEndAllowThreads(__tstate);
1910 if (PyErr_Occurred()) SWIG_fail;
1911 }
1912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberRenderer, 1);
1913 return resultobj;
1914 fail:
1915 return NULL;
1916 }
1917
1918
1919 static PyObject * GridCellNumberRenderer_swigregister(PyObject *self, PyObject *args) {
1920 PyObject *obj;
1921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1922 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer, obj);
1923 Py_INCREF(obj);
1924 return Py_BuildValue((char *)"");
1925 }
1926 static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1927 PyObject *resultobj;
1928 int arg1 = (int) -1 ;
1929 int arg2 = (int) -1 ;
1930 wxGridCellFloatRenderer *result;
1931 PyObject * obj0 = 0 ;
1932 PyObject * obj1 = 0 ;
1933 char *kwnames[] = {
1934 (char *) "width",(char *) "precision", NULL
1935 };
1936
1937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatRenderer",kwnames,&obj0,&obj1)) goto fail;
1938 if (obj0) {
1939 arg1 = (int) SWIG_AsInt(obj0);
1940 if (PyErr_Occurred()) SWIG_fail;
1941 }
1942 if (obj1) {
1943 arg2 = (int) SWIG_AsInt(obj1);
1944 if (PyErr_Occurred()) SWIG_fail;
1945 }
1946 {
1947 PyThreadState* __tstate = wxPyBeginAllowThreads();
1948 result = (wxGridCellFloatRenderer *)new wxGridCellFloatRenderer(arg1,arg2);
1949
1950 wxPyEndAllowThreads(__tstate);
1951 if (PyErr_Occurred()) SWIG_fail;
1952 }
1953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatRenderer, 1);
1954 return resultobj;
1955 fail:
1956 return NULL;
1957 }
1958
1959
1960 static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1961 PyObject *resultobj;
1962 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1963 int result;
1964 PyObject * obj0 = 0 ;
1965 char *kwnames[] = {
1966 (char *) "self", NULL
1967 };
1968
1969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames,&obj0)) goto fail;
1970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
1971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1972 {
1973 PyThreadState* __tstate = wxPyBeginAllowThreads();
1974 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetWidth();
1975
1976 wxPyEndAllowThreads(__tstate);
1977 if (PyErr_Occurred()) SWIG_fail;
1978 }
1979 resultobj = SWIG_FromInt((int)result);
1980 return resultobj;
1981 fail:
1982 return NULL;
1983 }
1984
1985
1986 static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1987 PyObject *resultobj;
1988 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
1989 int arg2 ;
1990 PyObject * obj0 = 0 ;
1991 PyObject * obj1 = 0 ;
1992 char *kwnames[] = {
1993 (char *) "self",(char *) "width", NULL
1994 };
1995
1996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames,&obj0,&obj1)) goto fail;
1997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
1998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1999 arg2 = (int) SWIG_AsInt(obj1);
2000 if (PyErr_Occurred()) SWIG_fail;
2001 {
2002 PyThreadState* __tstate = wxPyBeginAllowThreads();
2003 (arg1)->SetWidth(arg2);
2004
2005 wxPyEndAllowThreads(__tstate);
2006 if (PyErr_Occurred()) SWIG_fail;
2007 }
2008 Py_INCREF(Py_None); resultobj = Py_None;
2009 return resultobj;
2010 fail:
2011 return NULL;
2012 }
2013
2014
2015 static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
2016 PyObject *resultobj;
2017 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2018 int result;
2019 PyObject * obj0 = 0 ;
2020 char *kwnames[] = {
2021 (char *) "self", NULL
2022 };
2023
2024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames,&obj0)) goto fail;
2025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2027 {
2028 PyThreadState* __tstate = wxPyBeginAllowThreads();
2029 result = (int)((wxGridCellFloatRenderer const *)arg1)->GetPrecision();
2030
2031 wxPyEndAllowThreads(__tstate);
2032 if (PyErr_Occurred()) SWIG_fail;
2033 }
2034 resultobj = SWIG_FromInt((int)result);
2035 return resultobj;
2036 fail:
2037 return NULL;
2038 }
2039
2040
2041 static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
2042 PyObject *resultobj;
2043 wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ;
2044 int arg2 ;
2045 PyObject * obj0 = 0 ;
2046 PyObject * obj1 = 0 ;
2047 char *kwnames[] = {
2048 (char *) "self",(char *) "precision", NULL
2049 };
2050
2051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames,&obj0,&obj1)) goto fail;
2052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatRenderer,
2053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2054 arg2 = (int) SWIG_AsInt(obj1);
2055 if (PyErr_Occurred()) SWIG_fail;
2056 {
2057 PyThreadState* __tstate = wxPyBeginAllowThreads();
2058 (arg1)->SetPrecision(arg2);
2059
2060 wxPyEndAllowThreads(__tstate);
2061 if (PyErr_Occurred()) SWIG_fail;
2062 }
2063 Py_INCREF(Py_None); resultobj = Py_None;
2064 return resultobj;
2065 fail:
2066 return NULL;
2067 }
2068
2069
2070 static PyObject * GridCellFloatRenderer_swigregister(PyObject *self, PyObject *args) {
2071 PyObject *obj;
2072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2073 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer, obj);
2074 Py_INCREF(obj);
2075 return Py_BuildValue((char *)"");
2076 }
2077 static PyObject *_wrap_new_GridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2078 PyObject *resultobj;
2079 wxGridCellBoolRenderer *result;
2080 char *kwnames[] = {
2081 NULL
2082 };
2083
2084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolRenderer",kwnames)) goto fail;
2085 {
2086 PyThreadState* __tstate = wxPyBeginAllowThreads();
2087 result = (wxGridCellBoolRenderer *)new wxGridCellBoolRenderer();
2088
2089 wxPyEndAllowThreads(__tstate);
2090 if (PyErr_Occurred()) SWIG_fail;
2091 }
2092 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolRenderer, 1);
2093 return resultobj;
2094 fail:
2095 return NULL;
2096 }
2097
2098
2099 static PyObject * GridCellBoolRenderer_swigregister(PyObject *self, PyObject *args) {
2100 PyObject *obj;
2101 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2102 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer, obj);
2103 Py_INCREF(obj);
2104 return Py_BuildValue((char *)"");
2105 }
2106 static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2107 PyObject *resultobj;
2108 wxString arg1 = (wxString) wxPyDateTimeFormatStr ;
2109 wxString arg2 = (wxString) wxPyDateTimeFormatStr ;
2110 wxGridCellDateTimeRenderer *result;
2111 PyObject * obj0 = 0 ;
2112 PyObject * obj1 = 0 ;
2113 char *kwnames[] = {
2114 (char *) "outformat",(char *) "informat", NULL
2115 };
2116
2117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail;
2118 if (obj0) {
2119 {
2120 wxString* sptr = wxString_in_helper(obj0);
2121 if (sptr == NULL) SWIG_fail;
2122 arg1 = *sptr;
2123 delete sptr;
2124 }
2125 }
2126 if (obj1) {
2127 {
2128 wxString* sptr = wxString_in_helper(obj1);
2129 if (sptr == NULL) SWIG_fail;
2130 arg2 = *sptr;
2131 delete sptr;
2132 }
2133 }
2134 {
2135 PyThreadState* __tstate = wxPyBeginAllowThreads();
2136 result = (wxGridCellDateTimeRenderer *)new wxGridCellDateTimeRenderer(arg1,arg2);
2137
2138 wxPyEndAllowThreads(__tstate);
2139 if (PyErr_Occurred()) SWIG_fail;
2140 }
2141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellDateTimeRenderer, 1);
2142 return resultobj;
2143 fail:
2144 return NULL;
2145 }
2146
2147
2148 static PyObject * GridCellDateTimeRenderer_swigregister(PyObject *self, PyObject *args) {
2149 PyObject *obj;
2150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2151 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer, obj);
2152 Py_INCREF(obj);
2153 return Py_BuildValue((char *)"");
2154 }
2155 static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2156 PyObject *resultobj;
2157 wxString const &arg1_defvalue = wxPyEmptyString ;
2158 wxString *arg1 = (wxString *) &arg1_defvalue ;
2159 wxGridCellEnumRenderer *result;
2160 bool temp1 = False ;
2161 PyObject * obj0 = 0 ;
2162 char *kwnames[] = {
2163 (char *) "choices", NULL
2164 };
2165
2166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumRenderer",kwnames,&obj0)) goto fail;
2167 if (obj0) {
2168 {
2169 arg1 = wxString_in_helper(obj0);
2170 if (arg1 == NULL) SWIG_fail;
2171 temp1 = True;
2172 }
2173 }
2174 {
2175 PyThreadState* __tstate = wxPyBeginAllowThreads();
2176 result = (wxGridCellEnumRenderer *)new wxGridCellEnumRenderer((wxString const &)*arg1);
2177
2178 wxPyEndAllowThreads(__tstate);
2179 if (PyErr_Occurred()) SWIG_fail;
2180 }
2181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumRenderer, 1);
2182 {
2183 if (temp1)
2184 delete arg1;
2185 }
2186 return resultobj;
2187 fail:
2188 {
2189 if (temp1)
2190 delete arg1;
2191 }
2192 return NULL;
2193 }
2194
2195
2196 static PyObject * GridCellEnumRenderer_swigregister(PyObject *self, PyObject *args) {
2197 PyObject *obj;
2198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2199 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer, obj);
2200 Py_INCREF(obj);
2201 return Py_BuildValue((char *)"");
2202 }
2203 static PyObject *_wrap_new_GridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
2204 PyObject *resultobj;
2205 wxGridCellAutoWrapStringRenderer *result;
2206 char *kwnames[] = {
2207 NULL
2208 };
2209
2210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringRenderer",kwnames)) goto fail;
2211 {
2212 PyThreadState* __tstate = wxPyBeginAllowThreads();
2213 result = (wxGridCellAutoWrapStringRenderer *)new wxGridCellAutoWrapStringRenderer();
2214
2215 wxPyEndAllowThreads(__tstate);
2216 if (PyErr_Occurred()) SWIG_fail;
2217 }
2218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, 1);
2219 return resultobj;
2220 fail:
2221 return NULL;
2222 }
2223
2224
2225 static PyObject * GridCellAutoWrapStringRenderer_swigregister(PyObject *self, PyObject *args) {
2226 PyObject *obj;
2227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2228 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer, obj);
2229 Py_INCREF(obj);
2230 return Py_BuildValue((char *)"");
2231 }
2232 static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2233 PyObject *resultobj;
2234 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2235 PyObject *arg2 = (PyObject *) 0 ;
2236 PyObject * obj0 = 0 ;
2237 PyObject * obj1 = 0 ;
2238 char *kwnames[] = {
2239 (char *) "self",(char *) "_self", NULL
2240 };
2241
2242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2245 arg2 = obj1;
2246 {
2247 PyThreadState* __tstate = wxPyBeginAllowThreads();
2248 wxGridCellEditor__setOORInfo(arg1,arg2);
2249
2250 wxPyEndAllowThreads(__tstate);
2251 if (PyErr_Occurred()) SWIG_fail;
2252 }
2253 Py_INCREF(Py_None); resultobj = Py_None;
2254 return resultobj;
2255 fail:
2256 return NULL;
2257 }
2258
2259
2260 static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
2261 PyObject *resultobj;
2262 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2263 bool result;
2264 PyObject * obj0 = 0 ;
2265 char *kwnames[] = {
2266 (char *) "self", NULL
2267 };
2268
2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IsCreated",kwnames,&obj0)) goto fail;
2270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2272 {
2273 PyThreadState* __tstate = wxPyBeginAllowThreads();
2274 result = (bool)(arg1)->IsCreated();
2275
2276 wxPyEndAllowThreads(__tstate);
2277 if (PyErr_Occurred()) SWIG_fail;
2278 }
2279 {
2280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2281 }
2282 return resultobj;
2283 fail:
2284 return NULL;
2285 }
2286
2287
2288 static PyObject *_wrap_GridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2289 PyObject *resultobj;
2290 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2291 wxControl *result;
2292 PyObject * obj0 = 0 ;
2293 char *kwnames[] = {
2294 (char *) "self", NULL
2295 };
2296
2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetControl",kwnames,&obj0)) goto fail;
2298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2300 {
2301 PyThreadState* __tstate = wxPyBeginAllowThreads();
2302 result = (wxControl *)(arg1)->GetControl();
2303
2304 wxPyEndAllowThreads(__tstate);
2305 if (PyErr_Occurred()) SWIG_fail;
2306 }
2307 {
2308 resultobj = wxPyMake_wxObject(result);
2309 }
2310 return resultobj;
2311 fail:
2312 return NULL;
2313 }
2314
2315
2316 static PyObject *_wrap_GridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2317 PyObject *resultobj;
2318 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2319 wxControl *arg2 = (wxControl *) 0 ;
2320 PyObject * obj0 = 0 ;
2321 PyObject * obj1 = 0 ;
2322 char *kwnames[] = {
2323 (char *) "self",(char *) "control", NULL
2324 };
2325
2326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetControl",kwnames,&obj0,&obj1)) goto fail;
2327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2329 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
2330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2331 {
2332 PyThreadState* __tstate = wxPyBeginAllowThreads();
2333 (arg1)->SetControl(arg2);
2334
2335 wxPyEndAllowThreads(__tstate);
2336 if (PyErr_Occurred()) SWIG_fail;
2337 }
2338 Py_INCREF(Py_None); resultobj = Py_None;
2339 return resultobj;
2340 fail:
2341 return NULL;
2342 }
2343
2344
2345 static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2346 PyObject *resultobj;
2347 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2348 wxGridCellAttr *result;
2349 PyObject * obj0 = 0 ;
2350 char *kwnames[] = {
2351 (char *) "self", NULL
2352 };
2353
2354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_GetCellAttr",kwnames,&obj0)) goto fail;
2355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2357 {
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 result = (wxGridCellAttr *)(arg1)->GetCellAttr();
2360
2361 wxPyEndAllowThreads(__tstate);
2362 if (PyErr_Occurred()) SWIG_fail;
2363 }
2364 {
2365 resultobj = wxPyMake_wxGridCellAttr(result);
2366 }
2367 return resultobj;
2368 fail:
2369 return NULL;
2370 }
2371
2372
2373 static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
2374 PyObject *resultobj;
2375 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2376 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
2377 PyObject * obj0 = 0 ;
2378 PyObject * obj1 = 0 ;
2379 char *kwnames[] = {
2380 (char *) "self",(char *) "attr", NULL
2381 };
2382
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetCellAttr",kwnames,&obj0,&obj1)) goto fail;
2384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
2387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2388 {
2389 PyThreadState* __tstate = wxPyBeginAllowThreads();
2390 (arg1)->SetCellAttr(arg2);
2391
2392 wxPyEndAllowThreads(__tstate);
2393 if (PyErr_Occurred()) SWIG_fail;
2394 }
2395 Py_INCREF(Py_None); resultobj = Py_None;
2396 return resultobj;
2397 fail:
2398 return NULL;
2399 }
2400
2401
2402 static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2403 PyObject *resultobj;
2404 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2405 wxString *arg2 = 0 ;
2406 bool temp2 = False ;
2407 PyObject * obj0 = 0 ;
2408 PyObject * obj1 = 0 ;
2409 char *kwnames[] = {
2410 (char *) "self",(char *) "params", NULL
2411 };
2412
2413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetParameters",kwnames,&obj0,&obj1)) goto fail;
2414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2416 {
2417 arg2 = wxString_in_helper(obj1);
2418 if (arg2 == NULL) SWIG_fail;
2419 temp2 = True;
2420 }
2421 {
2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
2423 (arg1)->SetParameters((wxString const &)*arg2);
2424
2425 wxPyEndAllowThreads(__tstate);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 }
2428 Py_INCREF(Py_None); resultobj = Py_None;
2429 {
2430 if (temp2)
2431 delete arg2;
2432 }
2433 return resultobj;
2434 fail:
2435 {
2436 if (temp2)
2437 delete arg2;
2438 }
2439 return NULL;
2440 }
2441
2442
2443 static PyObject *_wrap_GridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2444 PyObject *resultobj;
2445 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2446 PyObject * obj0 = 0 ;
2447 char *kwnames[] = {
2448 (char *) "self", NULL
2449 };
2450
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_IncRef",kwnames,&obj0)) goto fail;
2452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2454 {
2455 PyThreadState* __tstate = wxPyBeginAllowThreads();
2456 (arg1)->IncRef();
2457
2458 wxPyEndAllowThreads(__tstate);
2459 if (PyErr_Occurred()) SWIG_fail;
2460 }
2461 Py_INCREF(Py_None); resultobj = Py_None;
2462 return resultobj;
2463 fail:
2464 return NULL;
2465 }
2466
2467
2468 static PyObject *_wrap_GridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2469 PyObject *resultobj;
2470 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2471 PyObject * obj0 = 0 ;
2472 char *kwnames[] = {
2473 (char *) "self", NULL
2474 };
2475
2476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_DecRef",kwnames,&obj0)) goto fail;
2477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2479 {
2480 PyThreadState* __tstate = wxPyBeginAllowThreads();
2481 (arg1)->DecRef();
2482
2483 wxPyEndAllowThreads(__tstate);
2484 if (PyErr_Occurred()) SWIG_fail;
2485 }
2486 Py_INCREF(Py_None); resultobj = Py_None;
2487 return resultobj;
2488 fail:
2489 return NULL;
2490 }
2491
2492
2493 static PyObject *_wrap_GridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2494 PyObject *resultobj;
2495 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2496 wxWindow *arg2 = (wxWindow *) 0 ;
2497 int arg3 ;
2498 wxEvtHandler *arg4 = (wxEvtHandler *) 0 ;
2499 PyObject * obj0 = 0 ;
2500 PyObject * obj1 = 0 ;
2501 PyObject * obj2 = 0 ;
2502 PyObject * obj3 = 0 ;
2503 char *kwnames[] = {
2504 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2505 };
2506
2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2512 arg3 = (int) SWIG_AsInt(obj2);
2513 if (PyErr_Occurred()) SWIG_fail;
2514 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxEvtHandler,
2515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2516 {
2517 PyThreadState* __tstate = wxPyBeginAllowThreads();
2518 (arg1)->Create(arg2,arg3,arg4);
2519
2520 wxPyEndAllowThreads(__tstate);
2521 if (PyErr_Occurred()) SWIG_fail;
2522 }
2523 Py_INCREF(Py_None); resultobj = Py_None;
2524 return resultobj;
2525 fail:
2526 return NULL;
2527 }
2528
2529
2530 static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2531 PyObject *resultobj;
2532 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2533 int arg2 ;
2534 int arg3 ;
2535 wxGrid *arg4 = (wxGrid *) 0 ;
2536 PyObject * obj0 = 0 ;
2537 PyObject * obj1 = 0 ;
2538 PyObject * obj2 = 0 ;
2539 PyObject * obj3 = 0 ;
2540 char *kwnames[] = {
2541 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2542 };
2543
2544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2547 arg2 = (int) SWIG_AsInt(obj1);
2548 if (PyErr_Occurred()) SWIG_fail;
2549 arg3 = (int) SWIG_AsInt(obj2);
2550 if (PyErr_Occurred()) SWIG_fail;
2551 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2553 {
2554 PyThreadState* __tstate = wxPyBeginAllowThreads();
2555 (arg1)->BeginEdit(arg2,arg3,arg4);
2556
2557 wxPyEndAllowThreads(__tstate);
2558 if (PyErr_Occurred()) SWIG_fail;
2559 }
2560 Py_INCREF(Py_None); resultobj = Py_None;
2561 return resultobj;
2562 fail:
2563 return NULL;
2564 }
2565
2566
2567 static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2568 PyObject *resultobj;
2569 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2570 int arg2 ;
2571 int arg3 ;
2572 wxGrid *arg4 = (wxGrid *) 0 ;
2573 bool result;
2574 PyObject * obj0 = 0 ;
2575 PyObject * obj1 = 0 ;
2576 PyObject * obj2 = 0 ;
2577 PyObject * obj3 = 0 ;
2578 char *kwnames[] = {
2579 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2580 };
2581
2582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellEditor_EndEdit",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2585 arg2 = (int) SWIG_AsInt(obj1);
2586 if (PyErr_Occurred()) SWIG_fail;
2587 arg3 = (int) SWIG_AsInt(obj2);
2588 if (PyErr_Occurred()) SWIG_fail;
2589 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGrid,
2590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2591 {
2592 PyThreadState* __tstate = wxPyBeginAllowThreads();
2593 result = (bool)(arg1)->EndEdit(arg2,arg3,arg4);
2594
2595 wxPyEndAllowThreads(__tstate);
2596 if (PyErr_Occurred()) SWIG_fail;
2597 }
2598 {
2599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2600 }
2601 return resultobj;
2602 fail:
2603 return NULL;
2604 }
2605
2606
2607 static PyObject *_wrap_GridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
2608 PyObject *resultobj;
2609 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2610 PyObject * obj0 = 0 ;
2611 char *kwnames[] = {
2612 (char *) "self", NULL
2613 };
2614
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Reset",kwnames,&obj0)) goto fail;
2616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2618 {
2619 PyThreadState* __tstate = wxPyBeginAllowThreads();
2620 (arg1)->Reset();
2621
2622 wxPyEndAllowThreads(__tstate);
2623 if (PyErr_Occurred()) SWIG_fail;
2624 }
2625 Py_INCREF(Py_None); resultobj = Py_None;
2626 return resultobj;
2627 fail:
2628 return NULL;
2629 }
2630
2631
2632 static PyObject *_wrap_GridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2633 PyObject *resultobj;
2634 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2635 wxGridCellEditor *result;
2636 PyObject * obj0 = 0 ;
2637 char *kwnames[] = {
2638 (char *) "self", NULL
2639 };
2640
2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Clone",kwnames,&obj0)) goto fail;
2642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2644 {
2645 PyThreadState* __tstate = wxPyBeginAllowThreads();
2646 result = (wxGridCellEditor *)((wxGridCellEditor const *)arg1)->Clone();
2647
2648 wxPyEndAllowThreads(__tstate);
2649 if (PyErr_Occurred()) SWIG_fail;
2650 }
2651 {
2652 resultobj = wxPyMake_wxGridCellEditor(result);
2653 }
2654 return resultobj;
2655 fail:
2656 return NULL;
2657 }
2658
2659
2660 static PyObject *_wrap_GridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2661 PyObject *resultobj;
2662 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2663 wxRect *arg2 = 0 ;
2664 wxRect temp2 ;
2665 PyObject * obj0 = 0 ;
2666 PyObject * obj1 = 0 ;
2667 char *kwnames[] = {
2668 (char *) "self",(char *) "rect", NULL
2669 };
2670
2671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_SetSize",kwnames,&obj0,&obj1)) goto fail;
2672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2674 {
2675 arg2 = &temp2;
2676 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2677 }
2678 {
2679 PyThreadState* __tstate = wxPyBeginAllowThreads();
2680 (arg1)->SetSize((wxRect const &)*arg2);
2681
2682 wxPyEndAllowThreads(__tstate);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 Py_INCREF(Py_None); resultobj = Py_None;
2686 return resultobj;
2687 fail:
2688 return NULL;
2689 }
2690
2691
2692 static PyObject *_wrap_GridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2693 PyObject *resultobj;
2694 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2695 bool arg2 ;
2696 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
2697 PyObject * obj0 = 0 ;
2698 PyObject * obj1 = 0 ;
2699 PyObject * obj2 = 0 ;
2700 char *kwnames[] = {
2701 (char *) "self",(char *) "show",(char *) "attr", NULL
2702 };
2703
2704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridCellEditor_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
2705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2707 arg2 = (bool) SWIG_AsBool(obj1);
2708 if (PyErr_Occurred()) SWIG_fail;
2709 if (obj2) {
2710 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2712 }
2713 {
2714 PyThreadState* __tstate = wxPyBeginAllowThreads();
2715 (arg1)->Show(arg2,arg3);
2716
2717 wxPyEndAllowThreads(__tstate);
2718 if (PyErr_Occurred()) SWIG_fail;
2719 }
2720 Py_INCREF(Py_None); resultobj = Py_None;
2721 return resultobj;
2722 fail:
2723 return NULL;
2724 }
2725
2726
2727 static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2728 PyObject *resultobj;
2729 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2730 wxRect *arg2 = 0 ;
2731 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
2732 wxRect temp2 ;
2733 PyObject * obj0 = 0 ;
2734 PyObject * obj1 = 0 ;
2735 PyObject * obj2 = 0 ;
2736 char *kwnames[] = {
2737 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2738 };
2739
2740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellEditor_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2743 {
2744 arg2 = &temp2;
2745 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2746 }
2747 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
2748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2749 {
2750 PyThreadState* __tstate = wxPyBeginAllowThreads();
2751 (arg1)->PaintBackground((wxRect const &)*arg2,arg3);
2752
2753 wxPyEndAllowThreads(__tstate);
2754 if (PyErr_Occurred()) SWIG_fail;
2755 }
2756 Py_INCREF(Py_None); resultobj = Py_None;
2757 return resultobj;
2758 fail:
2759 return NULL;
2760 }
2761
2762
2763 static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2764 PyObject *resultobj;
2765 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2766 wxKeyEvent *arg2 = 0 ;
2767 bool result;
2768 PyObject * obj0 = 0 ;
2769 PyObject * obj1 = 0 ;
2770 char *kwnames[] = {
2771 (char *) "self",(char *) "event", NULL
2772 };
2773
2774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
2775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2778 SWIG_POINTER_EXCEPTION | 0)) == -1)
2779 SWIG_fail;
2780 if (arg2 == NULL) {
2781 PyErr_SetString(PyExc_TypeError,"null reference");
2782 SWIG_fail;
2783 }
2784 {
2785 PyThreadState* __tstate = wxPyBeginAllowThreads();
2786 result = (bool)(arg1)->IsAcceptedKey(*arg2);
2787
2788 wxPyEndAllowThreads(__tstate);
2789 if (PyErr_Occurred()) SWIG_fail;
2790 }
2791 {
2792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2793 }
2794 return resultobj;
2795 fail:
2796 return NULL;
2797 }
2798
2799
2800 static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2801 PyObject *resultobj;
2802 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2803 wxKeyEvent *arg2 = 0 ;
2804 PyObject * obj0 = 0 ;
2805 PyObject * obj1 = 0 ;
2806 char *kwnames[] = {
2807 (char *) "self",(char *) "event", NULL
2808 };
2809
2810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_StartingKey",kwnames,&obj0,&obj1)) goto fail;
2811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2814 SWIG_POINTER_EXCEPTION | 0)) == -1)
2815 SWIG_fail;
2816 if (arg2 == NULL) {
2817 PyErr_SetString(PyExc_TypeError,"null reference");
2818 SWIG_fail;
2819 }
2820 {
2821 PyThreadState* __tstate = wxPyBeginAllowThreads();
2822 (arg1)->StartingKey(*arg2);
2823
2824 wxPyEndAllowThreads(__tstate);
2825 if (PyErr_Occurred()) SWIG_fail;
2826 }
2827 Py_INCREF(Py_None); resultobj = Py_None;
2828 return resultobj;
2829 fail:
2830 return NULL;
2831 }
2832
2833
2834 static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2835 PyObject *resultobj;
2836 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2837 PyObject * obj0 = 0 ;
2838 char *kwnames[] = {
2839 (char *) "self", NULL
2840 };
2841
2842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_StartingClick",kwnames,&obj0)) goto fail;
2843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2845 {
2846 PyThreadState* __tstate = wxPyBeginAllowThreads();
2847 (arg1)->StartingClick();
2848
2849 wxPyEndAllowThreads(__tstate);
2850 if (PyErr_Occurred()) SWIG_fail;
2851 }
2852 Py_INCREF(Py_None); resultobj = Py_None;
2853 return resultobj;
2854 fail:
2855 return NULL;
2856 }
2857
2858
2859 static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2860 PyObject *resultobj;
2861 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2862 wxKeyEvent *arg2 = 0 ;
2863 PyObject * obj0 = 0 ;
2864 PyObject * obj1 = 0 ;
2865 char *kwnames[] = {
2866 (char *) "self",(char *) "event", NULL
2867 };
2868
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellEditor_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
2870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2872 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
2873 SWIG_POINTER_EXCEPTION | 0)) == -1)
2874 SWIG_fail;
2875 if (arg2 == NULL) {
2876 PyErr_SetString(PyExc_TypeError,"null reference");
2877 SWIG_fail;
2878 }
2879 {
2880 PyThreadState* __tstate = wxPyBeginAllowThreads();
2881 (arg1)->HandleReturn(*arg2);
2882
2883 wxPyEndAllowThreads(__tstate);
2884 if (PyErr_Occurred()) SWIG_fail;
2885 }
2886 Py_INCREF(Py_None); resultobj = Py_None;
2887 return resultobj;
2888 fail:
2889 return NULL;
2890 }
2891
2892
2893 static PyObject *_wrap_GridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2894 PyObject *resultobj;
2895 wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
2896 PyObject * obj0 = 0 ;
2897 char *kwnames[] = {
2898 (char *) "self", NULL
2899 };
2900
2901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEditor_Destroy",kwnames,&obj0)) goto fail;
2902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEditor,
2903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2904 {
2905 PyThreadState* __tstate = wxPyBeginAllowThreads();
2906 (arg1)->Destroy();
2907
2908 wxPyEndAllowThreads(__tstate);
2909 if (PyErr_Occurred()) SWIG_fail;
2910 }
2911 Py_INCREF(Py_None); resultobj = Py_None;
2912 return resultobj;
2913 fail:
2914 return NULL;
2915 }
2916
2917
2918 static PyObject * GridCellEditor_swigregister(PyObject *self, PyObject *args) {
2919 PyObject *obj;
2920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2921 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor, obj);
2922 Py_INCREF(obj);
2923 return Py_BuildValue((char *)"");
2924 }
2925 static PyObject *_wrap_new_PyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2926 PyObject *resultobj;
2927 wxPyGridCellEditor *result;
2928 char *kwnames[] = {
2929 NULL
2930 };
2931
2932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellEditor",kwnames)) goto fail;
2933 {
2934 PyThreadState* __tstate = wxPyBeginAllowThreads();
2935 result = (wxPyGridCellEditor *)new wxPyGridCellEditor();
2936
2937 wxPyEndAllowThreads(__tstate);
2938 if (PyErr_Occurred()) SWIG_fail;
2939 }
2940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellEditor, 1);
2941 return resultobj;
2942 fail:
2943 return NULL;
2944 }
2945
2946
2947 static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2948 PyObject *resultobj;
2949 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2950 PyObject *arg2 = (PyObject *) 0 ;
2951 PyObject *arg3 = (PyObject *) 0 ;
2952 PyObject * obj0 = 0 ;
2953 PyObject * obj1 = 0 ;
2954 PyObject * obj2 = 0 ;
2955 char *kwnames[] = {
2956 (char *) "self",(char *) "self",(char *) "_class", NULL
2957 };
2958
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
2961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2962 arg2 = obj1;
2963 arg3 = obj2;
2964 {
2965 PyThreadState* __tstate = wxPyBeginAllowThreads();
2966 (arg1)->_setCallbackInfo(arg2,arg3);
2967
2968 wxPyEndAllowThreads(__tstate);
2969 if (PyErr_Occurred()) SWIG_fail;
2970 }
2971 Py_INCREF(Py_None); resultobj = Py_None;
2972 return resultobj;
2973 fail:
2974 return NULL;
2975 }
2976
2977
2978 static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2979 PyObject *resultobj;
2980 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
2981 wxRect *arg2 = 0 ;
2982 wxRect temp2 ;
2983 PyObject * obj0 = 0 ;
2984 PyObject * obj1 = 0 ;
2985 char *kwnames[] = {
2986 (char *) "self",(char *) "rect", NULL
2987 };
2988
2989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames,&obj0,&obj1)) goto fail;
2990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
2991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2992 {
2993 arg2 = &temp2;
2994 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2995 }
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 (arg1)->base_SetSize((wxRect const &)*arg2);
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 Py_INCREF(Py_None); resultobj = Py_None;
3004 return resultobj;
3005 fail:
3006 return NULL;
3007 }
3008
3009
3010 static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
3011 PyObject *resultobj;
3012 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3013 bool arg2 ;
3014 wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ;
3015 PyObject * obj0 = 0 ;
3016 PyObject * obj1 = 0 ;
3017 PyObject * obj2 = 0 ;
3018 char *kwnames[] = {
3019 (char *) "self",(char *) "show",(char *) "attr", NULL
3020 };
3021
3022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
3023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3025 arg2 = (bool) SWIG_AsBool(obj1);
3026 if (PyErr_Occurred()) SWIG_fail;
3027 if (obj2) {
3028 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3030 }
3031 {
3032 PyThreadState* __tstate = wxPyBeginAllowThreads();
3033 (arg1)->base_Show(arg2,arg3);
3034
3035 wxPyEndAllowThreads(__tstate);
3036 if (PyErr_Occurred()) SWIG_fail;
3037 }
3038 Py_INCREF(Py_None); resultobj = Py_None;
3039 return resultobj;
3040 fail:
3041 return NULL;
3042 }
3043
3044
3045 static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
3046 PyObject *resultobj;
3047 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3048 wxRect *arg2 = 0 ;
3049 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
3050 wxRect temp2 ;
3051 PyObject * obj0 = 0 ;
3052 PyObject * obj1 = 0 ;
3053 PyObject * obj2 = 0 ;
3054 char *kwnames[] = {
3055 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3056 };
3057
3058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3061 {
3062 arg2 = &temp2;
3063 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3064 }
3065 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
3066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 (arg1)->base_PaintBackground((wxRect const &)*arg2,arg3);
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 Py_INCREF(Py_None); resultobj = Py_None;
3075 return resultobj;
3076 fail:
3077 return NULL;
3078 }
3079
3080
3081 static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
3082 PyObject *resultobj;
3083 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3084 wxKeyEvent *arg2 = 0 ;
3085 bool result;
3086 PyObject * obj0 = 0 ;
3087 PyObject * obj1 = 0 ;
3088 char *kwnames[] = {
3089 (char *) "self",(char *) "event", NULL
3090 };
3091
3092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames,&obj0,&obj1)) goto fail;
3093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3096 SWIG_POINTER_EXCEPTION | 0)) == -1)
3097 SWIG_fail;
3098 if (arg2 == NULL) {
3099 PyErr_SetString(PyExc_TypeError,"null reference");
3100 SWIG_fail;
3101 }
3102 {
3103 PyThreadState* __tstate = wxPyBeginAllowThreads();
3104 result = (bool)(arg1)->base_IsAcceptedKey(*arg2);
3105
3106 wxPyEndAllowThreads(__tstate);
3107 if (PyErr_Occurred()) SWIG_fail;
3108 }
3109 {
3110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3111 }
3112 return resultobj;
3113 fail:
3114 return NULL;
3115 }
3116
3117
3118 static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
3119 PyObject *resultobj;
3120 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3121 wxKeyEvent *arg2 = 0 ;
3122 PyObject * obj0 = 0 ;
3123 PyObject * obj1 = 0 ;
3124 char *kwnames[] = {
3125 (char *) "self",(char *) "event", NULL
3126 };
3127
3128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames,&obj0,&obj1)) goto fail;
3129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3132 SWIG_POINTER_EXCEPTION | 0)) == -1)
3133 SWIG_fail;
3134 if (arg2 == NULL) {
3135 PyErr_SetString(PyExc_TypeError,"null reference");
3136 SWIG_fail;
3137 }
3138 {
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
3140 (arg1)->base_StartingKey(*arg2);
3141
3142 wxPyEndAllowThreads(__tstate);
3143 if (PyErr_Occurred()) SWIG_fail;
3144 }
3145 Py_INCREF(Py_None); resultobj = Py_None;
3146 return resultobj;
3147 fail:
3148 return NULL;
3149 }
3150
3151
3152 static PyObject *_wrap_PyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3153 PyObject *resultobj;
3154 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3155 PyObject * obj0 = 0 ;
3156 char *kwnames[] = {
3157 (char *) "self", NULL
3158 };
3159
3160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames,&obj0)) goto fail;
3161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3163 {
3164 PyThreadState* __tstate = wxPyBeginAllowThreads();
3165 (arg1)->base_StartingClick();
3166
3167 wxPyEndAllowThreads(__tstate);
3168 if (PyErr_Occurred()) SWIG_fail;
3169 }
3170 Py_INCREF(Py_None); resultobj = Py_None;
3171 return resultobj;
3172 fail:
3173 return NULL;
3174 }
3175
3176
3177 static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
3178 PyObject *resultobj;
3179 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3180 wxKeyEvent *arg2 = 0 ;
3181 PyObject * obj0 = 0 ;
3182 PyObject * obj1 = 0 ;
3183 char *kwnames[] = {
3184 (char *) "self",(char *) "event", NULL
3185 };
3186
3187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames,&obj0,&obj1)) goto fail;
3188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
3191 SWIG_POINTER_EXCEPTION | 0)) == -1)
3192 SWIG_fail;
3193 if (arg2 == NULL) {
3194 PyErr_SetString(PyExc_TypeError,"null reference");
3195 SWIG_fail;
3196 }
3197 {
3198 PyThreadState* __tstate = wxPyBeginAllowThreads();
3199 (arg1)->base_HandleReturn(*arg2);
3200
3201 wxPyEndAllowThreads(__tstate);
3202 if (PyErr_Occurred()) SWIG_fail;
3203 }
3204 Py_INCREF(Py_None); resultobj = Py_None;
3205 return resultobj;
3206 fail:
3207 return NULL;
3208 }
3209
3210
3211 static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
3212 PyObject *resultobj;
3213 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3214 PyObject * obj0 = 0 ;
3215 char *kwnames[] = {
3216 (char *) "self", NULL
3217 };
3218
3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridCellEditor_base_Destroy",kwnames,&obj0)) goto fail;
3220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3222 {
3223 PyThreadState* __tstate = wxPyBeginAllowThreads();
3224 (arg1)->base_Destroy();
3225
3226 wxPyEndAllowThreads(__tstate);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 }
3229 Py_INCREF(Py_None); resultobj = Py_None;
3230 return resultobj;
3231 fail:
3232 return NULL;
3233 }
3234
3235
3236 static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
3237 PyObject *resultobj;
3238 wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
3239 wxString *arg2 = 0 ;
3240 bool temp2 = False ;
3241 PyObject * obj0 = 0 ;
3242 PyObject * obj1 = 0 ;
3243 char *kwnames[] = {
3244 (char *) "self",(char *) "params", NULL
3245 };
3246
3247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames,&obj0,&obj1)) goto fail;
3248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellEditor,
3249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3250 {
3251 arg2 = wxString_in_helper(obj1);
3252 if (arg2 == NULL) SWIG_fail;
3253 temp2 = True;
3254 }
3255 {
3256 PyThreadState* __tstate = wxPyBeginAllowThreads();
3257 (arg1)->base_SetParameters((wxString const &)*arg2);
3258
3259 wxPyEndAllowThreads(__tstate);
3260 if (PyErr_Occurred()) SWIG_fail;
3261 }
3262 Py_INCREF(Py_None); resultobj = Py_None;
3263 {
3264 if (temp2)
3265 delete arg2;
3266 }
3267 return resultobj;
3268 fail:
3269 {
3270 if (temp2)
3271 delete arg2;
3272 }
3273 return NULL;
3274 }
3275
3276
3277 static PyObject * PyGridCellEditor_swigregister(PyObject *self, PyObject *args) {
3278 PyObject *obj;
3279 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3280 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor, obj);
3281 Py_INCREF(obj);
3282 return Py_BuildValue((char *)"");
3283 }
3284 static PyObject *_wrap_new_GridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3285 PyObject *resultobj;
3286 wxGridCellTextEditor *result;
3287 char *kwnames[] = {
3288 NULL
3289 };
3290
3291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellTextEditor",kwnames)) goto fail;
3292 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 result = (wxGridCellTextEditor *)new wxGridCellTextEditor();
3295
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellTextEditor, 1);
3300 return resultobj;
3301 fail:
3302 return NULL;
3303 }
3304
3305
3306 static PyObject *_wrap_GridCellTextEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject *resultobj;
3308 wxGridCellTextEditor *arg1 = (wxGridCellTextEditor *) 0 ;
3309 wxString result;
3310 PyObject * obj0 = 0 ;
3311 char *kwnames[] = {
3312 (char *) "self", NULL
3313 };
3314
3315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellTextEditor_GetValue",kwnames,&obj0)) goto fail;
3316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellTextEditor,
3317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 result = (arg1)->GetValue();
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 {
3326 #if wxUSE_UNICODE
3327 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3328 #else
3329 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3330 #endif
3331 }
3332 return resultobj;
3333 fail:
3334 return NULL;
3335 }
3336
3337
3338 static PyObject * GridCellTextEditor_swigregister(PyObject *self, PyObject *args) {
3339 PyObject *obj;
3340 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3341 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor, obj);
3342 Py_INCREF(obj);
3343 return Py_BuildValue((char *)"");
3344 }
3345 static PyObject *_wrap_new_GridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3346 PyObject *resultobj;
3347 int arg1 = (int) -1 ;
3348 int arg2 = (int) -1 ;
3349 wxGridCellNumberEditor *result;
3350 PyObject * obj0 = 0 ;
3351 PyObject * obj1 = 0 ;
3352 char *kwnames[] = {
3353 (char *) "min",(char *) "max", NULL
3354 };
3355
3356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellNumberEditor",kwnames,&obj0,&obj1)) goto fail;
3357 if (obj0) {
3358 arg1 = (int) SWIG_AsInt(obj0);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 if (obj1) {
3362 arg2 = (int) SWIG_AsInt(obj1);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 {
3366 PyThreadState* __tstate = wxPyBeginAllowThreads();
3367 result = (wxGridCellNumberEditor *)new wxGridCellNumberEditor(arg1,arg2);
3368
3369 wxPyEndAllowThreads(__tstate);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 }
3372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellNumberEditor, 1);
3373 return resultobj;
3374 fail:
3375 return NULL;
3376 }
3377
3378
3379 static PyObject *_wrap_GridCellNumberEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3380 PyObject *resultobj;
3381 wxGridCellNumberEditor *arg1 = (wxGridCellNumberEditor *) 0 ;
3382 wxString result;
3383 PyObject * obj0 = 0 ;
3384 char *kwnames[] = {
3385 (char *) "self", NULL
3386 };
3387
3388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellNumberEditor_GetValue",kwnames,&obj0)) goto fail;
3389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellNumberEditor,
3390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 result = (arg1)->GetValue();
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) SWIG_fail;
3397 }
3398 {
3399 #if wxUSE_UNICODE
3400 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3401 #else
3402 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3403 #endif
3404 }
3405 return resultobj;
3406 fail:
3407 return NULL;
3408 }
3409
3410
3411 static PyObject * GridCellNumberEditor_swigregister(PyObject *self, PyObject *args) {
3412 PyObject *obj;
3413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3414 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor, obj);
3415 Py_INCREF(obj);
3416 return Py_BuildValue((char *)"");
3417 }
3418 static PyObject *_wrap_new_GridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3419 PyObject *resultobj;
3420 int arg1 = (int) -1 ;
3421 int arg2 = (int) -1 ;
3422 wxGridCellFloatEditor *result;
3423 PyObject * obj0 = 0 ;
3424 PyObject * obj1 = 0 ;
3425 char *kwnames[] = {
3426 (char *) "width",(char *) "precision", NULL
3427 };
3428
3429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatEditor",kwnames,&obj0,&obj1)) goto fail;
3430 if (obj0) {
3431 arg1 = (int) SWIG_AsInt(obj0);
3432 if (PyErr_Occurred()) SWIG_fail;
3433 }
3434 if (obj1) {
3435 arg2 = (int) SWIG_AsInt(obj1);
3436 if (PyErr_Occurred()) SWIG_fail;
3437 }
3438 {
3439 PyThreadState* __tstate = wxPyBeginAllowThreads();
3440 result = (wxGridCellFloatEditor *)new wxGridCellFloatEditor(arg1,arg2);
3441
3442 wxPyEndAllowThreads(__tstate);
3443 if (PyErr_Occurred()) SWIG_fail;
3444 }
3445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellFloatEditor, 1);
3446 return resultobj;
3447 fail:
3448 return NULL;
3449 }
3450
3451
3452 static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3453 PyObject *resultobj;
3454 wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ;
3455 wxString result;
3456 PyObject * obj0 = 0 ;
3457 char *kwnames[] = {
3458 (char *) "self", NULL
3459 };
3460
3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellFloatEditor_GetValue",kwnames,&obj0)) goto fail;
3462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellFloatEditor,
3463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3464 {
3465 PyThreadState* __tstate = wxPyBeginAllowThreads();
3466 result = (arg1)->GetValue();
3467
3468 wxPyEndAllowThreads(__tstate);
3469 if (PyErr_Occurred()) SWIG_fail;
3470 }
3471 {
3472 #if wxUSE_UNICODE
3473 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3474 #else
3475 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3476 #endif
3477 }
3478 return resultobj;
3479 fail:
3480 return NULL;
3481 }
3482
3483
3484 static PyObject * GridCellFloatEditor_swigregister(PyObject *self, PyObject *args) {
3485 PyObject *obj;
3486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3487 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor, obj);
3488 Py_INCREF(obj);
3489 return Py_BuildValue((char *)"");
3490 }
3491 static PyObject *_wrap_new_GridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3492 PyObject *resultobj;
3493 wxGridCellBoolEditor *result;
3494 char *kwnames[] = {
3495 NULL
3496 };
3497
3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellBoolEditor",kwnames)) goto fail;
3499 {
3500 PyThreadState* __tstate = wxPyBeginAllowThreads();
3501 result = (wxGridCellBoolEditor *)new wxGridCellBoolEditor();
3502
3503 wxPyEndAllowThreads(__tstate);
3504 if (PyErr_Occurred()) SWIG_fail;
3505 }
3506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellBoolEditor, 1);
3507 return resultobj;
3508 fail:
3509 return NULL;
3510 }
3511
3512
3513 static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject *resultobj;
3515 wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ;
3516 wxString result;
3517 PyObject * obj0 = 0 ;
3518 char *kwnames[] = {
3519 (char *) "self", NULL
3520 };
3521
3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellBoolEditor_GetValue",kwnames,&obj0)) goto fail;
3523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellBoolEditor,
3524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3525 {
3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
3527 result = (arg1)->GetValue();
3528
3529 wxPyEndAllowThreads(__tstate);
3530 if (PyErr_Occurred()) SWIG_fail;
3531 }
3532 {
3533 #if wxUSE_UNICODE
3534 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3535 #else
3536 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3537 #endif
3538 }
3539 return resultobj;
3540 fail:
3541 return NULL;
3542 }
3543
3544
3545 static PyObject * GridCellBoolEditor_swigregister(PyObject *self, PyObject *args) {
3546 PyObject *obj;
3547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3548 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor, obj);
3549 Py_INCREF(obj);
3550 return Py_BuildValue((char *)"");
3551 }
3552 static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3553 PyObject *resultobj;
3554 int arg1 = (int) 0 ;
3555 wxString *arg2 = (wxString *) NULL ;
3556 bool arg3 = (bool) False ;
3557 wxGridCellChoiceEditor *result;
3558 PyObject * obj0 = 0 ;
3559 PyObject * obj1 = 0 ;
3560 char *kwnames[] = {
3561 (char *) "choices",(char *) "allowOthers", NULL
3562 };
3563
3564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellChoiceEditor",kwnames,&obj0,&obj1)) goto fail;
3565 if (obj0) {
3566 {
3567 arg1 = PyList_Size(obj0);
3568 arg2 = wxString_LIST_helper(obj0);
3569 if (arg2 == NULL) SWIG_fail;
3570 }
3571 }
3572 if (obj1) {
3573 arg3 = (bool) SWIG_AsBool(obj1);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 {
3577 PyThreadState* __tstate = wxPyBeginAllowThreads();
3578 result = (wxGridCellChoiceEditor *)new wxGridCellChoiceEditor(arg1,(wxString const *)arg2,arg3);
3579
3580 wxPyEndAllowThreads(__tstate);
3581 if (PyErr_Occurred()) SWIG_fail;
3582 }
3583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellChoiceEditor, 1);
3584 {
3585 if (arg2) delete [] arg2;
3586 }
3587 return resultobj;
3588 fail:
3589 {
3590 if (arg2) delete [] arg2;
3591 }
3592 return NULL;
3593 }
3594
3595
3596 static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3597 PyObject *resultobj;
3598 wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ;
3599 wxString result;
3600 PyObject * obj0 = 0 ;
3601 char *kwnames[] = {
3602 (char *) "self", NULL
3603 };
3604
3605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellChoiceEditor_GetValue",kwnames,&obj0)) goto fail;
3606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellChoiceEditor,
3607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3608 {
3609 PyThreadState* __tstate = wxPyBeginAllowThreads();
3610 result = (arg1)->GetValue();
3611
3612 wxPyEndAllowThreads(__tstate);
3613 if (PyErr_Occurred()) SWIG_fail;
3614 }
3615 {
3616 #if wxUSE_UNICODE
3617 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3618 #else
3619 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3620 #endif
3621 }
3622 return resultobj;
3623 fail:
3624 return NULL;
3625 }
3626
3627
3628 static PyObject * GridCellChoiceEditor_swigregister(PyObject *self, PyObject *args) {
3629 PyObject *obj;
3630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3631 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor, obj);
3632 Py_INCREF(obj);
3633 return Py_BuildValue((char *)"");
3634 }
3635 static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 wxString const &arg1_defvalue = wxPyEmptyString ;
3638 wxString *arg1 = (wxString *) &arg1_defvalue ;
3639 wxGridCellEnumEditor *result;
3640 bool temp1 = False ;
3641 PyObject * obj0 = 0 ;
3642 char *kwnames[] = {
3643 (char *) "choices", NULL
3644 };
3645
3646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellEnumEditor",kwnames,&obj0)) goto fail;
3647 if (obj0) {
3648 {
3649 arg1 = wxString_in_helper(obj0);
3650 if (arg1 == NULL) SWIG_fail;
3651 temp1 = True;
3652 }
3653 }
3654 {
3655 PyThreadState* __tstate = wxPyBeginAllowThreads();
3656 result = (wxGridCellEnumEditor *)new wxGridCellEnumEditor((wxString const &)*arg1);
3657
3658 wxPyEndAllowThreads(__tstate);
3659 if (PyErr_Occurred()) SWIG_fail;
3660 }
3661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellEnumEditor, 1);
3662 {
3663 if (temp1)
3664 delete arg1;
3665 }
3666 return resultobj;
3667 fail:
3668 {
3669 if (temp1)
3670 delete arg1;
3671 }
3672 return NULL;
3673 }
3674
3675
3676 static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3677 PyObject *resultobj;
3678 wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ;
3679 wxString result;
3680 PyObject * obj0 = 0 ;
3681 char *kwnames[] = {
3682 (char *) "self", NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellEnumEditor_GetValue",kwnames,&obj0)) goto fail;
3686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellEnumEditor,
3687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3688 {
3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
3690 result = (arg1)->GetValue();
3691
3692 wxPyEndAllowThreads(__tstate);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 }
3695 {
3696 #if wxUSE_UNICODE
3697 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3698 #else
3699 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3700 #endif
3701 }
3702 return resultobj;
3703 fail:
3704 return NULL;
3705 }
3706
3707
3708 static PyObject * GridCellEnumEditor_swigregister(PyObject *self, PyObject *args) {
3709 PyObject *obj;
3710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3711 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor, obj);
3712 Py_INCREF(obj);
3713 return Py_BuildValue((char *)"");
3714 }
3715 static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj;
3717 wxGridCellAutoWrapStringEditor *result;
3718 char *kwnames[] = {
3719 NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAutoWrapStringEditor",kwnames)) goto fail;
3723 {
3724 PyThreadState* __tstate = wxPyBeginAllowThreads();
3725 result = (wxGridCellAutoWrapStringEditor *)new wxGridCellAutoWrapStringEditor();
3726
3727 wxPyEndAllowThreads(__tstate);
3728 if (PyErr_Occurred()) SWIG_fail;
3729 }
3730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellAutoWrapStringEditor, 1);
3731 return resultobj;
3732 fail:
3733 return NULL;
3734 }
3735
3736
3737 static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3738 PyObject *resultobj;
3739 wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ;
3740 wxString result;
3741 PyObject * obj0 = 0 ;
3742 char *kwnames[] = {
3743 (char *) "self", NULL
3744 };
3745
3746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames,&obj0)) goto fail;
3747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAutoWrapStringEditor,
3748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3749 {
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
3751 result = (arg1)->GetValue();
3752
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 {
3757 #if wxUSE_UNICODE
3758 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3759 #else
3760 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3761 #endif
3762 }
3763 return resultobj;
3764 fail:
3765 return NULL;
3766 }
3767
3768
3769 static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *self, PyObject *args) {
3770 PyObject *obj;
3771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3772 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor, obj);
3773 Py_INCREF(obj);
3774 return Py_BuildValue((char *)"");
3775 }
3776 static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3777 PyObject *resultobj;
3778 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3779 PyObject *arg2 = (PyObject *) 0 ;
3780 PyObject * obj0 = 0 ;
3781 PyObject * obj1 = 0 ;
3782 char *kwnames[] = {
3783 (char *) "self",(char *) "_self", NULL
3784 };
3785
3786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
3787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3789 arg2 = obj1;
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 wxGridCellAttr__setOORInfo(arg1,arg2);
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 Py_INCREF(Py_None); resultobj = Py_None;
3798 return resultobj;
3799 fail:
3800 return NULL;
3801 }
3802
3803
3804 static PyObject *_wrap_new_GridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3805 PyObject *resultobj;
3806 wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ;
3807 wxGridCellAttr *result;
3808 PyObject * obj0 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "attrDefault", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_GridCellAttr",kwnames,&obj0)) goto fail;
3814 if (obj0) {
3815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3817 }
3818 {
3819 PyThreadState* __tstate = wxPyBeginAllowThreads();
3820 result = (wxGridCellAttr *)new wxGridCellAttr(arg1);
3821
3822 wxPyEndAllowThreads(__tstate);
3823 if (PyErr_Occurred()) SWIG_fail;
3824 }
3825 {
3826 resultobj = wxPyMake_wxGridCellAttr(result);
3827 }
3828 return resultobj;
3829 fail:
3830 return NULL;
3831 }
3832
3833
3834 static PyObject *_wrap_GridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3835 PyObject *resultobj;
3836 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3837 wxGridCellAttr *result;
3838 PyObject * obj0 = 0 ;
3839 char *kwnames[] = {
3840 (char *) "self", NULL
3841 };
3842
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_Clone",kwnames,&obj0)) goto fail;
3844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3846 {
3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
3848 result = (wxGridCellAttr *)((wxGridCellAttr const *)arg1)->Clone();
3849
3850 wxPyEndAllowThreads(__tstate);
3851 if (PyErr_Occurred()) SWIG_fail;
3852 }
3853 {
3854 resultobj = wxPyMake_wxGridCellAttr(result);
3855 }
3856 return resultobj;
3857 fail:
3858 return NULL;
3859 }
3860
3861
3862 static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj;
3864 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3865 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
3866 PyObject * obj0 = 0 ;
3867 PyObject * obj1 = 0 ;
3868 char *kwnames[] = {
3869 (char *) "self",(char *) "mergefrom", NULL
3870 };
3871
3872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_MergeWith",kwnames,&obj0,&obj1)) goto fail;
3873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3875 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
3876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3877 {
3878 PyThreadState* __tstate = wxPyBeginAllowThreads();
3879 (arg1)->MergeWith(arg2);
3880
3881 wxPyEndAllowThreads(__tstate);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 Py_INCREF(Py_None); resultobj = Py_None;
3885 return resultobj;
3886 fail:
3887 return NULL;
3888 }
3889
3890
3891 static PyObject *_wrap_GridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3892 PyObject *resultobj;
3893 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3894 PyObject * obj0 = 0 ;
3895 char *kwnames[] = {
3896 (char *) "self", NULL
3897 };
3898
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IncRef",kwnames,&obj0)) goto fail;
3900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3902 {
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
3904 (arg1)->IncRef();
3905
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
3909 Py_INCREF(Py_None); resultobj = Py_None;
3910 return resultobj;
3911 fail:
3912 return NULL;
3913 }
3914
3915
3916 static PyObject *_wrap_GridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3917 PyObject *resultobj;
3918 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3919 PyObject * obj0 = 0 ;
3920 char *kwnames[] = {
3921 (char *) "self", NULL
3922 };
3923
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_DecRef",kwnames,&obj0)) goto fail;
3925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3927 {
3928 PyThreadState* __tstate = wxPyBeginAllowThreads();
3929 (arg1)->DecRef();
3930
3931 wxPyEndAllowThreads(__tstate);
3932 if (PyErr_Occurred()) SWIG_fail;
3933 }
3934 Py_INCREF(Py_None); resultobj = Py_None;
3935 return resultobj;
3936 fail:
3937 return NULL;
3938 }
3939
3940
3941 static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3942 PyObject *resultobj;
3943 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3944 wxColour *arg2 = 0 ;
3945 wxColour temp2 ;
3946 PyObject * obj0 = 0 ;
3947 PyObject * obj1 = 0 ;
3948 char *kwnames[] = {
3949 (char *) "self",(char *) "colText", NULL
3950 };
3951
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
3953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3955 {
3956 arg2 = &temp2;
3957 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3958 }
3959 {
3960 PyThreadState* __tstate = wxPyBeginAllowThreads();
3961 (arg1)->SetTextColour((wxColour const &)*arg2);
3962
3963 wxPyEndAllowThreads(__tstate);
3964 if (PyErr_Occurred()) SWIG_fail;
3965 }
3966 Py_INCREF(Py_None); resultobj = Py_None;
3967 return resultobj;
3968 fail:
3969 return NULL;
3970 }
3971
3972
3973 static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3974 PyObject *resultobj;
3975 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
3976 wxColour *arg2 = 0 ;
3977 wxColour temp2 ;
3978 PyObject * obj0 = 0 ;
3979 PyObject * obj1 = 0 ;
3980 char *kwnames[] = {
3981 (char *) "self",(char *) "colBack", NULL
3982 };
3983
3984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
3985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
3986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3987 {
3988 arg2 = &temp2;
3989 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3990 }
3991 {
3992 PyThreadState* __tstate = wxPyBeginAllowThreads();
3993 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
3994
3995 wxPyEndAllowThreads(__tstate);
3996 if (PyErr_Occurred()) SWIG_fail;
3997 }
3998 Py_INCREF(Py_None); resultobj = Py_None;
3999 return resultobj;
4000 fail:
4001 return NULL;
4002 }
4003
4004
4005 static PyObject *_wrap_GridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4006 PyObject *resultobj;
4007 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4008 wxFont *arg2 = 0 ;
4009 PyObject * obj0 = 0 ;
4010 PyObject * obj1 = 0 ;
4011 char *kwnames[] = {
4012 (char *) "self",(char *) "font", NULL
4013 };
4014
4015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
4016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
4019 SWIG_POINTER_EXCEPTION | 0)) == -1)
4020 SWIG_fail;
4021 if (arg2 == NULL) {
4022 PyErr_SetString(PyExc_TypeError,"null reference");
4023 SWIG_fail;
4024 }
4025 {
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 (arg1)->SetFont((wxFont const &)*arg2);
4028
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 Py_INCREF(Py_None); resultobj = Py_None;
4033 return resultobj;
4034 fail:
4035 return NULL;
4036 }
4037
4038
4039 static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4040 PyObject *resultobj;
4041 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4042 int arg2 ;
4043 int arg3 ;
4044 PyObject * obj0 = 0 ;
4045 PyObject * obj1 = 0 ;
4046 PyObject * obj2 = 0 ;
4047 char *kwnames[] = {
4048 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4049 };
4050
4051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
4052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4054 arg2 = (int) SWIG_AsInt(obj1);
4055 if (PyErr_Occurred()) SWIG_fail;
4056 arg3 = (int) SWIG_AsInt(obj2);
4057 if (PyErr_Occurred()) SWIG_fail;
4058 {
4059 PyThreadState* __tstate = wxPyBeginAllowThreads();
4060 (arg1)->SetAlignment(arg2,arg3);
4061
4062 wxPyEndAllowThreads(__tstate);
4063 if (PyErr_Occurred()) SWIG_fail;
4064 }
4065 Py_INCREF(Py_None); resultobj = Py_None;
4066 return resultobj;
4067 fail:
4068 return NULL;
4069 }
4070
4071
4072 static PyObject *_wrap_GridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4073 PyObject *resultobj;
4074 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4075 int arg2 ;
4076 int arg3 ;
4077 PyObject * obj0 = 0 ;
4078 PyObject * obj1 = 0 ;
4079 PyObject * obj2 = 0 ;
4080 char *kwnames[] = {
4081 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4082 };
4083
4084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttr_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
4085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4087 arg2 = (int) SWIG_AsInt(obj1);
4088 if (PyErr_Occurred()) SWIG_fail;
4089 arg3 = (int) SWIG_AsInt(obj2);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 {
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4093 (arg1)->SetSize(arg2,arg3);
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 }
4098 Py_INCREF(Py_None); resultobj = Py_None;
4099 return resultobj;
4100 fail:
4101 return NULL;
4102 }
4103
4104
4105 static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4106 PyObject *resultobj;
4107 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4108 bool arg2 = (bool) True ;
4109 PyObject * obj0 = 0 ;
4110 PyObject * obj1 = 0 ;
4111 char *kwnames[] = {
4112 (char *) "self",(char *) "allow", NULL
4113 };
4114
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetOverflow",kwnames,&obj0,&obj1)) goto fail;
4116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4118 if (obj1) {
4119 arg2 = (bool) SWIG_AsBool(obj1);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 }
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 (arg1)->SetOverflow(arg2);
4125
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 Py_INCREF(Py_None); resultobj = Py_None;
4130 return resultobj;
4131 fail:
4132 return NULL;
4133 }
4134
4135
4136 static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4137 PyObject *resultobj;
4138 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4139 bool arg2 = (bool) True ;
4140 PyObject * obj0 = 0 ;
4141 PyObject * obj1 = 0 ;
4142 char *kwnames[] = {
4143 (char *) "self",(char *) "isReadOnly", NULL
4144 };
4145
4146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
4147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4149 if (obj1) {
4150 arg2 = (bool) SWIG_AsBool(obj1);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 {
4154 PyThreadState* __tstate = wxPyBeginAllowThreads();
4155 (arg1)->SetReadOnly(arg2);
4156
4157 wxPyEndAllowThreads(__tstate);
4158 if (PyErr_Occurred()) SWIG_fail;
4159 }
4160 Py_INCREF(Py_None); resultobj = Py_None;
4161 return resultobj;
4162 fail:
4163 return NULL;
4164 }
4165
4166
4167 static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4168 PyObject *resultobj;
4169 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4170 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
4171 PyObject * obj0 = 0 ;
4172 PyObject * obj1 = 0 ;
4173 char *kwnames[] = {
4174 (char *) "self",(char *) "renderer", NULL
4175 };
4176
4177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetRenderer",kwnames,&obj0,&obj1)) goto fail;
4178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4180 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
4181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4182 {
4183 PyThreadState* __tstate = wxPyBeginAllowThreads();
4184 (arg1)->SetRenderer(arg2);
4185
4186 wxPyEndAllowThreads(__tstate);
4187 if (PyErr_Occurred()) SWIG_fail;
4188 }
4189 Py_INCREF(Py_None); resultobj = Py_None;
4190 return resultobj;
4191 fail:
4192 return NULL;
4193 }
4194
4195
4196 static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4197 PyObject *resultobj;
4198 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4199 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
4200 PyObject * obj0 = 0 ;
4201 PyObject * obj1 = 0 ;
4202 char *kwnames[] = {
4203 (char *) "self",(char *) "editor", NULL
4204 };
4205
4206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetEditor",kwnames,&obj0,&obj1)) goto fail;
4207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4209 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
4210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 (arg1)->SetEditor(arg2);
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 Py_INCREF(Py_None); resultobj = Py_None;
4219 return resultobj;
4220 fail:
4221 return NULL;
4222 }
4223
4224
4225 static PyObject *_wrap_GridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
4226 PyObject *resultobj;
4227 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4228 int arg2 ;
4229 PyObject * obj0 = 0 ;
4230 PyObject * obj1 = 0 ;
4231 char *kwnames[] = {
4232 (char *) "self",(char *) "kind", NULL
4233 };
4234
4235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetKind",kwnames,&obj0,&obj1)) goto fail;
4236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4238 arg2 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj1);
4239 if (PyErr_Occurred()) SWIG_fail;
4240 {
4241 PyThreadState* __tstate = wxPyBeginAllowThreads();
4242 (arg1)->SetKind((wxGridCellAttr::wxAttrKind )arg2);
4243
4244 wxPyEndAllowThreads(__tstate);
4245 if (PyErr_Occurred()) SWIG_fail;
4246 }
4247 Py_INCREF(Py_None); resultobj = Py_None;
4248 return resultobj;
4249 fail:
4250 return NULL;
4251 }
4252
4253
4254 static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4255 PyObject *resultobj;
4256 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4257 bool result;
4258 PyObject * obj0 = 0 ;
4259 char *kwnames[] = {
4260 (char *) "self", NULL
4261 };
4262
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasTextColour",kwnames,&obj0)) goto fail;
4264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4266 {
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 result = (bool)((wxGridCellAttr const *)arg1)->HasTextColour();
4269
4270 wxPyEndAllowThreads(__tstate);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
4273 {
4274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4275 }
4276 return resultobj;
4277 fail:
4278 return NULL;
4279 }
4280
4281
4282 static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4283 PyObject *resultobj;
4284 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4285 bool result;
4286 PyObject * obj0 = 0 ;
4287 char *kwnames[] = {
4288 (char *) "self", NULL
4289 };
4290
4291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
4292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4294 {
4295 PyThreadState* __tstate = wxPyBeginAllowThreads();
4296 result = (bool)((wxGridCellAttr const *)arg1)->HasBackgroundColour();
4297
4298 wxPyEndAllowThreads(__tstate);
4299 if (PyErr_Occurred()) SWIG_fail;
4300 }
4301 {
4302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4303 }
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_GridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4313 bool result;
4314 PyObject * obj0 = 0 ;
4315 char *kwnames[] = {
4316 (char *) "self", NULL
4317 };
4318
4319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasFont",kwnames,&obj0)) goto fail;
4320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4322 {
4323 PyThreadState* __tstate = wxPyBeginAllowThreads();
4324 result = (bool)((wxGridCellAttr const *)arg1)->HasFont();
4325
4326 wxPyEndAllowThreads(__tstate);
4327 if (PyErr_Occurred()) SWIG_fail;
4328 }
4329 {
4330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4331 }
4332 return resultobj;
4333 fail:
4334 return NULL;
4335 }
4336
4337
4338 static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4339 PyObject *resultobj;
4340 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4341 bool result;
4342 PyObject * obj0 = 0 ;
4343 char *kwnames[] = {
4344 (char *) "self", NULL
4345 };
4346
4347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasAlignment",kwnames,&obj0)) goto fail;
4348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4350 {
4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
4352 result = (bool)((wxGridCellAttr const *)arg1)->HasAlignment();
4353
4354 wxPyEndAllowThreads(__tstate);
4355 if (PyErr_Occurred()) SWIG_fail;
4356 }
4357 {
4358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4359 }
4360 return resultobj;
4361 fail:
4362 return NULL;
4363 }
4364
4365
4366 static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4367 PyObject *resultobj;
4368 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4369 bool result;
4370 PyObject * obj0 = 0 ;
4371 char *kwnames[] = {
4372 (char *) "self", NULL
4373 };
4374
4375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasRenderer",kwnames,&obj0)) goto fail;
4376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 result = (bool)((wxGridCellAttr const *)arg1)->HasRenderer();
4381
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 {
4386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4387 }
4388 return resultobj;
4389 fail:
4390 return NULL;
4391 }
4392
4393
4394 static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj;
4396 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4397 bool result;
4398 PyObject * obj0 = 0 ;
4399 char *kwnames[] = {
4400 (char *) "self", NULL
4401 };
4402
4403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasEditor",kwnames,&obj0)) goto fail;
4404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 result = (bool)((wxGridCellAttr const *)arg1)->HasEditor();
4409
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 {
4414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4415 }
4416 return resultobj;
4417 fail:
4418 return NULL;
4419 }
4420
4421
4422 static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4423 PyObject *resultobj;
4424 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4425 bool result;
4426 PyObject * obj0 = 0 ;
4427 char *kwnames[] = {
4428 (char *) "self", NULL
4429 };
4430
4431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames,&obj0)) goto fail;
4432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4434 {
4435 PyThreadState* __tstate = wxPyBeginAllowThreads();
4436 result = (bool)((wxGridCellAttr const *)arg1)->HasReadWriteMode();
4437
4438 wxPyEndAllowThreads(__tstate);
4439 if (PyErr_Occurred()) SWIG_fail;
4440 }
4441 {
4442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4443 }
4444 return resultobj;
4445 fail:
4446 return NULL;
4447 }
4448
4449
4450 static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4451 PyObject *resultobj;
4452 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4453 bool result;
4454 PyObject * obj0 = 0 ;
4455 char *kwnames[] = {
4456 (char *) "self", NULL
4457 };
4458
4459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_HasOverflowMode",kwnames,&obj0)) goto fail;
4460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4462 {
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 result = (bool)((wxGridCellAttr const *)arg1)->HasOverflowMode();
4465
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 {
4470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4471 }
4472 return resultobj;
4473 fail:
4474 return NULL;
4475 }
4476
4477
4478 static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4479 PyObject *resultobj;
4480 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4481 wxColour result;
4482 PyObject * obj0 = 0 ;
4483 char *kwnames[] = {
4484 (char *) "self", NULL
4485 };
4486
4487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetTextColour",kwnames,&obj0)) goto fail;
4488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4490 {
4491 PyThreadState* __tstate = wxPyBeginAllowThreads();
4492 result = ((wxGridCellAttr const *)arg1)->GetTextColour();
4493
4494 wxPyEndAllowThreads(__tstate);
4495 if (PyErr_Occurred()) SWIG_fail;
4496 }
4497 {
4498 wxColour * resultptr;
4499 resultptr = new wxColour((wxColour &) result);
4500 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4501 }
4502 return resultobj;
4503 fail:
4504 return NULL;
4505 }
4506
4507
4508 static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4509 PyObject *resultobj;
4510 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4511 wxColour result;
4512 PyObject * obj0 = 0 ;
4513 char *kwnames[] = {
4514 (char *) "self", NULL
4515 };
4516
4517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
4518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 result = ((wxGridCellAttr const *)arg1)->GetBackgroundColour();
4523
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 {
4528 wxColour * resultptr;
4529 resultptr = new wxColour((wxColour &) result);
4530 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4531 }
4532 return resultobj;
4533 fail:
4534 return NULL;
4535 }
4536
4537
4538 static PyObject *_wrap_GridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4539 PyObject *resultobj;
4540 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4541 wxFont result;
4542 PyObject * obj0 = 0 ;
4543 char *kwnames[] = {
4544 (char *) "self", NULL
4545 };
4546
4547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetFont",kwnames,&obj0)) goto fail;
4548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4550 {
4551 PyThreadState* __tstate = wxPyBeginAllowThreads();
4552 result = ((wxGridCellAttr const *)arg1)->GetFont();
4553
4554 wxPyEndAllowThreads(__tstate);
4555 if (PyErr_Occurred()) SWIG_fail;
4556 }
4557 {
4558 wxFont * resultptr;
4559 resultptr = new wxFont((wxFont &) result);
4560 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
4561 }
4562 return resultobj;
4563 fail:
4564 return NULL;
4565 }
4566
4567
4568 static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4569 PyObject *resultobj;
4570 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4571 int *arg2 = (int *) 0 ;
4572 int *arg3 = (int *) 0 ;
4573 int temp2 ;
4574 int temp3 ;
4575 PyObject * obj0 = 0 ;
4576 char *kwnames[] = {
4577 (char *) "self", NULL
4578 };
4579
4580 arg2 = &temp2;
4581 arg3 = &temp3;
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetAlignment",kwnames,&obj0)) goto fail;
4583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4585 {
4586 PyThreadState* __tstate = wxPyBeginAllowThreads();
4587 ((wxGridCellAttr const *)arg1)->GetAlignment(arg2,arg3);
4588
4589 wxPyEndAllowThreads(__tstate);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4592 Py_INCREF(Py_None); resultobj = Py_None;
4593 {
4594 PyObject *o = PyInt_FromLong((long) (*arg2));
4595 resultobj = t_output_helper(resultobj,o);
4596 }
4597 {
4598 PyObject *o = PyInt_FromLong((long) (*arg3));
4599 resultobj = t_output_helper(resultobj,o);
4600 }
4601 return resultobj;
4602 fail:
4603 return NULL;
4604 }
4605
4606
4607 static PyObject *_wrap_GridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4608 PyObject *resultobj;
4609 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4610 int *arg2 = (int *) 0 ;
4611 int *arg3 = (int *) 0 ;
4612 int temp2 ;
4613 int temp3 ;
4614 PyObject * obj0 = 0 ;
4615 char *kwnames[] = {
4616 (char *) "self", NULL
4617 };
4618
4619 arg2 = &temp2;
4620 arg3 = &temp3;
4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetSize",kwnames,&obj0)) goto fail;
4622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4624 {
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 ((wxGridCellAttr const *)arg1)->GetSize(arg2,arg3);
4627
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 }
4631 Py_INCREF(Py_None); resultobj = Py_None;
4632 {
4633 PyObject *o = PyInt_FromLong((long) (*arg2));
4634 resultobj = t_output_helper(resultobj,o);
4635 }
4636 {
4637 PyObject *o = PyInt_FromLong((long) (*arg3));
4638 resultobj = t_output_helper(resultobj,o);
4639 }
4640 return resultobj;
4641 fail:
4642 return NULL;
4643 }
4644
4645
4646 static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4647 PyObject *resultobj;
4648 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4649 bool result;
4650 PyObject * obj0 = 0 ;
4651 char *kwnames[] = {
4652 (char *) "self", NULL
4653 };
4654
4655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_GetOverflow",kwnames,&obj0)) goto fail;
4656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4658 {
4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
4660 result = (bool)((wxGridCellAttr const *)arg1)->GetOverflow();
4661
4662 wxPyEndAllowThreads(__tstate);
4663 if (PyErr_Occurred()) SWIG_fail;
4664 }
4665 {
4666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4667 }
4668 return resultobj;
4669 fail:
4670 return NULL;
4671 }
4672
4673
4674 static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4675 PyObject *resultobj;
4676 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4677 wxGrid *arg2 = (wxGrid *) 0 ;
4678 int arg3 ;
4679 int arg4 ;
4680 wxGridCellRenderer *result;
4681 PyObject * obj0 = 0 ;
4682 PyObject * obj1 = 0 ;
4683 PyObject * obj2 = 0 ;
4684 PyObject * obj3 = 0 ;
4685 char *kwnames[] = {
4686 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4687 };
4688
4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4694 arg3 = (int) SWIG_AsInt(obj2);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 arg4 = (int) SWIG_AsInt(obj3);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 result = (wxGridCellRenderer *)((wxGridCellAttr const *)arg1)->GetRenderer(arg2,arg3,arg4);
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 {
4706 resultobj = wxPyMake_wxGridCellRenderer(result);
4707 }
4708 return resultobj;
4709 fail:
4710 return NULL;
4711 }
4712
4713
4714 static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4715 PyObject *resultobj;
4716 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4717 wxGrid *arg2 = (wxGrid *) 0 ;
4718 int arg3 ;
4719 int arg4 ;
4720 wxGridCellEditor *result;
4721 PyObject * obj0 = 0 ;
4722 PyObject * obj1 = 0 ;
4723 PyObject * obj2 = 0 ;
4724 PyObject * obj3 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4727 };
4728
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttr_GetEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4732 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
4733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4734 arg3 = (int) SWIG_AsInt(obj2);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 arg4 = (int) SWIG_AsInt(obj3);
4737 if (PyErr_Occurred()) SWIG_fail;
4738 {
4739 PyThreadState* __tstate = wxPyBeginAllowThreads();
4740 result = (wxGridCellEditor *)((wxGridCellAttr const *)arg1)->GetEditor(arg2,arg3,arg4);
4741
4742 wxPyEndAllowThreads(__tstate);
4743 if (PyErr_Occurred()) SWIG_fail;
4744 }
4745 {
4746 resultobj = wxPyMake_wxGridCellEditor(result);
4747 }
4748 return resultobj;
4749 fail:
4750 return NULL;
4751 }
4752
4753
4754 static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4755 PyObject *resultobj;
4756 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4757 bool result;
4758 PyObject * obj0 = 0 ;
4759 char *kwnames[] = {
4760 (char *) "self", NULL
4761 };
4762
4763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellAttr_IsReadOnly",kwnames,&obj0)) goto fail;
4764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 result = (bool)((wxGridCellAttr const *)arg1)->IsReadOnly();
4769
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 {
4774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4775 }
4776 return resultobj;
4777 fail:
4778 return NULL;
4779 }
4780
4781
4782 static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4783 PyObject *resultobj;
4784 wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
4785 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4786 PyObject * obj0 = 0 ;
4787 PyObject * obj1 = 0 ;
4788 char *kwnames[] = {
4789 (char *) "self",(char *) "defAttr", NULL
4790 };
4791
4792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttr_SetDefAttr",kwnames,&obj0,&obj1)) goto fail;
4793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttr,
4794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4795 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 (arg1)->SetDefAttr(arg2);
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 Py_INCREF(Py_None); resultobj = Py_None;
4805 return resultobj;
4806 fail:
4807 return NULL;
4808 }
4809
4810
4811 static PyObject * GridCellAttr_swigregister(PyObject *self, PyObject *args) {
4812 PyObject *obj;
4813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4814 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr, obj);
4815 Py_INCREF(obj);
4816 return Py_BuildValue((char *)"");
4817 }
4818 static PyObject *_wrap_new_GridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4819 PyObject *resultobj;
4820 wxGridCellAttrProvider *result;
4821 char *kwnames[] = {
4822 NULL
4823 };
4824
4825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GridCellAttrProvider",kwnames)) goto fail;
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 result = (wxGridCellAttrProvider *)new wxGridCellAttrProvider();
4829
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 {
4834 resultobj = wxPyMake_wxGridCellAttrProvider(result);
4835 }
4836 return resultobj;
4837 fail:
4838 return NULL;
4839 }
4840
4841
4842 static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4843 PyObject *resultobj;
4844 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4845 PyObject *arg2 = (PyObject *) 0 ;
4846 PyObject * obj0 = 0 ;
4847 PyObject * obj1 = 0 ;
4848 char *kwnames[] = {
4849 (char *) "self",(char *) "_self", NULL
4850 };
4851
4852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
4853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4855 arg2 = obj1;
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 wxGridCellAttrProvider__setOORInfo(arg1,arg2);
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
4863 Py_INCREF(Py_None); resultobj = Py_None;
4864 return resultobj;
4865 fail:
4866 return NULL;
4867 }
4868
4869
4870 static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4871 PyObject *resultobj;
4872 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4873 int arg2 ;
4874 int arg3 ;
4875 int arg4 ;
4876 wxGridCellAttr *result;
4877 PyObject * obj0 = 0 ;
4878 PyObject * obj1 = 0 ;
4879 PyObject * obj2 = 0 ;
4880 PyObject * obj3 = 0 ;
4881 char *kwnames[] = {
4882 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4883 };
4884
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4888 arg2 = (int) SWIG_AsInt(obj1);
4889 if (PyErr_Occurred()) SWIG_fail;
4890 arg3 = (int) SWIG_AsInt(obj2);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
4893 if (PyErr_Occurred()) SWIG_fail;
4894 {
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
4897
4898 wxPyEndAllowThreads(__tstate);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 }
4901 {
4902 resultobj = wxPyMake_wxGridCellAttr(result);
4903 }
4904 return resultobj;
4905 fail:
4906 return NULL;
4907 }
4908
4909
4910 static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4911 PyObject *resultobj;
4912 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4913 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4914 int arg3 ;
4915 int arg4 ;
4916 PyObject * obj0 = 0 ;
4917 PyObject * obj1 = 0 ;
4918 PyObject * obj2 = 0 ;
4919 PyObject * obj3 = 0 ;
4920 char *kwnames[] = {
4921 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4922 };
4923
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4927 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4929 arg3 = (int) SWIG_AsInt(obj2);
4930 if (PyErr_Occurred()) SWIG_fail;
4931 arg4 = (int) SWIG_AsInt(obj3);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 {
4934 PyThreadState* __tstate = wxPyBeginAllowThreads();
4935 (arg1)->SetAttr(arg2,arg3,arg4);
4936
4937 wxPyEndAllowThreads(__tstate);
4938 if (PyErr_Occurred()) SWIG_fail;
4939 }
4940 Py_INCREF(Py_None); resultobj = Py_None;
4941 return resultobj;
4942 fail:
4943 return NULL;
4944 }
4945
4946
4947 static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4948 PyObject *resultobj;
4949 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4950 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4951 int arg3 ;
4952 PyObject * obj0 = 0 ;
4953 PyObject * obj1 = 0 ;
4954 PyObject * obj2 = 0 ;
4955 char *kwnames[] = {
4956 (char *) "self",(char *) "attr",(char *) "row", NULL
4957 };
4958
4959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
4960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4964 arg3 = (int) SWIG_AsInt(obj2);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 {
4967 PyThreadState* __tstate = wxPyBeginAllowThreads();
4968 (arg1)->SetRowAttr(arg2,arg3);
4969
4970 wxPyEndAllowThreads(__tstate);
4971 if (PyErr_Occurred()) SWIG_fail;
4972 }
4973 Py_INCREF(Py_None); resultobj = Py_None;
4974 return resultobj;
4975 fail:
4976 return NULL;
4977 }
4978
4979
4980 static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4981 PyObject *resultobj;
4982 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
4983 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
4984 int arg3 ;
4985 PyObject * obj0 = 0 ;
4986 PyObject * obj1 = 0 ;
4987 PyObject * obj2 = 0 ;
4988 char *kwnames[] = {
4989 (char *) "self",(char *) "attr",(char *) "col", NULL
4990 };
4991
4992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
4993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
4994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4995 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
4996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4997 arg3 = (int) SWIG_AsInt(obj2);
4998 if (PyErr_Occurred()) SWIG_fail;
4999 {
5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
5001 (arg1)->SetColAttr(arg2,arg3);
5002
5003 wxPyEndAllowThreads(__tstate);
5004 if (PyErr_Occurred()) SWIG_fail;
5005 }
5006 Py_INCREF(Py_None); resultobj = Py_None;
5007 return resultobj;
5008 fail:
5009 return NULL;
5010 }
5011
5012
5013 static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5014 PyObject *resultobj;
5015 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5016 size_t arg2 ;
5017 int arg3 ;
5018 PyObject * obj0 = 0 ;
5019 PyObject * obj1 = 0 ;
5020 PyObject * obj2 = 0 ;
5021 char *kwnames[] = {
5022 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5023 };
5024
5025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
5026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5028 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5029 if (PyErr_Occurred()) SWIG_fail;
5030 arg3 = (int) SWIG_AsInt(obj2);
5031 if (PyErr_Occurred()) SWIG_fail;
5032 {
5033 PyThreadState* __tstate = wxPyBeginAllowThreads();
5034 (arg1)->UpdateAttrRows(arg2,arg3);
5035
5036 wxPyEndAllowThreads(__tstate);
5037 if (PyErr_Occurred()) SWIG_fail;
5038 }
5039 Py_INCREF(Py_None); resultobj = Py_None;
5040 return resultobj;
5041 fail:
5042 return NULL;
5043 }
5044
5045
5046 static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5047 PyObject *resultobj;
5048 wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ;
5049 size_t arg2 ;
5050 int arg3 ;
5051 PyObject * obj0 = 0 ;
5052 PyObject * obj1 = 0 ;
5053 PyObject * obj2 = 0 ;
5054 char *kwnames[] = {
5055 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5056 };
5057
5058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
5059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellAttrProvider,
5060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5061 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
5062 if (PyErr_Occurred()) SWIG_fail;
5063 arg3 = (int) SWIG_AsInt(obj2);
5064 if (PyErr_Occurred()) SWIG_fail;
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 (arg1)->UpdateAttrCols(arg2,arg3);
5068
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 Py_INCREF(Py_None); resultobj = Py_None;
5073 return resultobj;
5074 fail:
5075 return NULL;
5076 }
5077
5078
5079 static PyObject * GridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
5080 PyObject *obj;
5081 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5082 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider, obj);
5083 Py_INCREF(obj);
5084 return Py_BuildValue((char *)"");
5085 }
5086 static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5087 PyObject *resultobj;
5088 wxPyGridCellAttrProvider *result;
5089 char *kwnames[] = {
5090 NULL
5091 };
5092
5093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridCellAttrProvider",kwnames)) goto fail;
5094 {
5095 PyThreadState* __tstate = wxPyBeginAllowThreads();
5096 result = (wxPyGridCellAttrProvider *)new wxPyGridCellAttrProvider();
5097
5098 wxPyEndAllowThreads(__tstate);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
5101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridCellAttrProvider, 1);
5102 return resultobj;
5103 fail:
5104 return NULL;
5105 }
5106
5107
5108 static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5109 PyObject *resultobj;
5110 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5111 PyObject *arg2 = (PyObject *) 0 ;
5112 PyObject *arg3 = (PyObject *) 0 ;
5113 PyObject * obj0 = 0 ;
5114 PyObject * obj1 = 0 ;
5115 PyObject * obj2 = 0 ;
5116 char *kwnames[] = {
5117 (char *) "self",(char *) "self",(char *) "_class", NULL
5118 };
5119
5120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5123 arg2 = obj1;
5124 arg3 = obj2;
5125 {
5126 PyThreadState* __tstate = wxPyBeginAllowThreads();
5127 (arg1)->_setCallbackInfo(arg2,arg3);
5128
5129 wxPyEndAllowThreads(__tstate);
5130 if (PyErr_Occurred()) SWIG_fail;
5131 }
5132 Py_INCREF(Py_None); resultobj = Py_None;
5133 return resultobj;
5134 fail:
5135 return NULL;
5136 }
5137
5138
5139 static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5140 PyObject *resultobj;
5141 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5142 int arg2 ;
5143 int arg3 ;
5144 int arg4 ;
5145 wxGridCellAttr *result;
5146 PyObject * obj0 = 0 ;
5147 PyObject * obj1 = 0 ;
5148 PyObject * obj2 = 0 ;
5149 PyObject * obj3 = 0 ;
5150 char *kwnames[] = {
5151 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5152 };
5153
5154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5157 arg2 = (int) SWIG_AsInt(obj1);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 arg3 = (int) SWIG_AsInt(obj2);
5160 if (PyErr_Occurred()) SWIG_fail;
5161 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
5162 if (PyErr_Occurred()) SWIG_fail;
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
5166
5167 wxPyEndAllowThreads(__tstate);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
5170 {
5171 resultobj = wxPyMake_wxGridCellAttr(result);
5172 }
5173 return resultobj;
5174 fail:
5175 return NULL;
5176 }
5177
5178
5179 static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5180 PyObject *resultobj;
5181 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5182 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5183 int arg3 ;
5184 int arg4 ;
5185 PyObject * obj0 = 0 ;
5186 PyObject * obj1 = 0 ;
5187 PyObject * obj2 = 0 ;
5188 PyObject * obj3 = 0 ;
5189 char *kwnames[] = {
5190 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5191 };
5192
5193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5198 arg3 = (int) SWIG_AsInt(obj2);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 arg4 = (int) SWIG_AsInt(obj3);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 (arg1)->base_SetAttr(arg2,arg3,arg4);
5205
5206 wxPyEndAllowThreads(__tstate);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
5209 Py_INCREF(Py_None); resultobj = Py_None;
5210 return resultobj;
5211 fail:
5212 return NULL;
5213 }
5214
5215
5216 static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5217 PyObject *resultobj;
5218 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5219 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5220 int arg3 ;
5221 PyObject * obj0 = 0 ;
5222 PyObject * obj1 = 0 ;
5223 PyObject * obj2 = 0 ;
5224 char *kwnames[] = {
5225 (char *) "self",(char *) "attr",(char *) "row", NULL
5226 };
5227
5228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
5229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5233 arg3 = (int) SWIG_AsInt(obj2);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 {
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 (arg1)->base_SetRowAttr(arg2,arg3);
5238
5239 wxPyEndAllowThreads(__tstate);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 }
5242 Py_INCREF(Py_None); resultobj = Py_None;
5243 return resultobj;
5244 fail:
5245 return NULL;
5246 }
5247
5248
5249 static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject *resultobj;
5251 wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ;
5252 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
5253 int arg3 ;
5254 PyObject * obj0 = 0 ;
5255 PyObject * obj1 = 0 ;
5256 PyObject * obj2 = 0 ;
5257 char *kwnames[] = {
5258 (char *) "self",(char *) "attr",(char *) "col", NULL
5259 };
5260
5261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
5262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridCellAttrProvider,
5263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
5265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5266 arg3 = (int) SWIG_AsInt(obj2);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 (arg1)->base_SetColAttr(arg2,arg3);
5271
5272 wxPyEndAllowThreads(__tstate);
5273 if (PyErr_Occurred()) SWIG_fail;
5274 }
5275 Py_INCREF(Py_None); resultobj = Py_None;
5276 return resultobj;
5277 fail:
5278 return NULL;
5279 }
5280
5281
5282 static PyObject * PyGridCellAttrProvider_swigregister(PyObject *self, PyObject *args) {
5283 PyObject *obj;
5284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5285 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider, obj);
5286 Py_INCREF(obj);
5287 return Py_BuildValue((char *)"");
5288 }
5289 static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5290 PyObject *resultobj;
5291 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5292 PyObject *arg2 = (PyObject *) 0 ;
5293 PyObject * obj0 = 0 ;
5294 PyObject * obj1 = 0 ;
5295 char *kwnames[] = {
5296 (char *) "self",(char *) "_self", NULL
5297 };
5298
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
5300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5302 arg2 = obj1;
5303 {
5304 PyThreadState* __tstate = wxPyBeginAllowThreads();
5305 wxGridTableBase__setOORInfo(arg1,arg2);
5306
5307 wxPyEndAllowThreads(__tstate);
5308 if (PyErr_Occurred()) SWIG_fail;
5309 }
5310 Py_INCREF(Py_None); resultobj = Py_None;
5311 return resultobj;
5312 fail:
5313 return NULL;
5314 }
5315
5316
5317 static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5318 PyObject *resultobj;
5319 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5320 wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ;
5321 PyObject * obj0 = 0 ;
5322 PyObject * obj1 = 0 ;
5323 char *kwnames[] = {
5324 (char *) "self",(char *) "attrProvider", NULL
5325 };
5326
5327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetAttrProvider",kwnames,&obj0,&obj1)) goto fail;
5328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5330 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttrProvider,
5331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5332 {
5333 PyThreadState* __tstate = wxPyBeginAllowThreads();
5334 (arg1)->SetAttrProvider(arg2);
5335
5336 wxPyEndAllowThreads(__tstate);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 }
5339 Py_INCREF(Py_None); resultobj = Py_None;
5340 return resultobj;
5341 fail:
5342 return NULL;
5343 }
5344
5345
5346 static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5347 PyObject *resultobj;
5348 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5349 wxGridCellAttrProvider *result;
5350 PyObject * obj0 = 0 ;
5351 char *kwnames[] = {
5352 (char *) "self", NULL
5353 };
5354
5355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetAttrProvider",kwnames,&obj0)) goto fail;
5356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5358 {
5359 PyThreadState* __tstate = wxPyBeginAllowThreads();
5360 result = (wxGridCellAttrProvider *)((wxGridTableBase const *)arg1)->GetAttrProvider();
5361
5362 wxPyEndAllowThreads(__tstate);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 }
5365 {
5366 resultobj = wxPyMake_wxGridCellAttrProvider(result);
5367 }
5368 return resultobj;
5369 fail:
5370 return NULL;
5371 }
5372
5373
5374 static PyObject *_wrap_GridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5375 PyObject *resultobj;
5376 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5377 wxGrid *arg2 = (wxGrid *) 0 ;
5378 PyObject * obj0 = 0 ;
5379 PyObject * obj1 = 0 ;
5380 char *kwnames[] = {
5381 (char *) "self",(char *) "grid", NULL
5382 };
5383
5384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_SetView",kwnames,&obj0,&obj1)) goto fail;
5385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGrid,
5388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5389 {
5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
5391 (arg1)->SetView(arg2);
5392
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
5396 Py_INCREF(Py_None); resultobj = Py_None;
5397 return resultobj;
5398 fail:
5399 return NULL;
5400 }
5401
5402
5403 static PyObject *_wrap_GridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5404 PyObject *resultobj;
5405 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5406 wxGrid *result;
5407 PyObject * obj0 = 0 ;
5408 char *kwnames[] = {
5409 (char *) "self", NULL
5410 };
5411
5412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetView",kwnames,&obj0)) goto fail;
5413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 result = (wxGrid *)((wxGridTableBase const *)arg1)->GetView();
5418
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
5422 {
5423 resultobj = wxPyMake_wxObject(result);
5424 }
5425 return resultobj;
5426 fail:
5427 return NULL;
5428 }
5429
5430
5431 static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5432 PyObject *resultobj;
5433 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5434 int result;
5435 PyObject * obj0 = 0 ;
5436 char *kwnames[] = {
5437 (char *) "self", NULL
5438 };
5439
5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberRows",kwnames,&obj0)) goto fail;
5441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 result = (int)(arg1)->GetNumberRows();
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 resultobj = SWIG_FromInt((int)result);
5451 return resultobj;
5452 fail:
5453 return NULL;
5454 }
5455
5456
5457 static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5458 PyObject *resultobj;
5459 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5460 int result;
5461 PyObject * obj0 = 0 ;
5462 char *kwnames[] = {
5463 (char *) "self", NULL
5464 };
5465
5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_GetNumberCols",kwnames,&obj0)) goto fail;
5467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5469 {
5470 PyThreadState* __tstate = wxPyBeginAllowThreads();
5471 result = (int)(arg1)->GetNumberCols();
5472
5473 wxPyEndAllowThreads(__tstate);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 }
5476 resultobj = SWIG_FromInt((int)result);
5477 return resultobj;
5478 fail:
5479 return NULL;
5480 }
5481
5482
5483 static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5484 PyObject *resultobj;
5485 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5486 int arg2 ;
5487 int arg3 ;
5488 bool result;
5489 PyObject * obj0 = 0 ;
5490 PyObject * obj1 = 0 ;
5491 PyObject * obj2 = 0 ;
5492 char *kwnames[] = {
5493 (char *) "self",(char *) "row",(char *) "col", NULL
5494 };
5495
5496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
5497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5499 arg2 = (int) SWIG_AsInt(obj1);
5500 if (PyErr_Occurred()) SWIG_fail;
5501 arg3 = (int) SWIG_AsInt(obj2);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 {
5504 PyThreadState* __tstate = wxPyBeginAllowThreads();
5505 result = (bool)(arg1)->IsEmptyCell(arg2,arg3);
5506
5507 wxPyEndAllowThreads(__tstate);
5508 if (PyErr_Occurred()) SWIG_fail;
5509 }
5510 {
5511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5512 }
5513 return resultobj;
5514 fail:
5515 return NULL;
5516 }
5517
5518
5519 static PyObject *_wrap_GridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5520 PyObject *resultobj;
5521 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5522 int arg2 ;
5523 int arg3 ;
5524 wxString result;
5525 PyObject * obj0 = 0 ;
5526 PyObject * obj1 = 0 ;
5527 PyObject * obj2 = 0 ;
5528 char *kwnames[] = {
5529 (char *) "self",(char *) "row",(char *) "col", NULL
5530 };
5531
5532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
5533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5535 arg2 = (int) SWIG_AsInt(obj1);
5536 if (PyErr_Occurred()) SWIG_fail;
5537 arg3 = (int) SWIG_AsInt(obj2);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 {
5540 PyThreadState* __tstate = wxPyBeginAllowThreads();
5541 result = (arg1)->GetValue(arg2,arg3);
5542
5543 wxPyEndAllowThreads(__tstate);
5544 if (PyErr_Occurred()) SWIG_fail;
5545 }
5546 {
5547 #if wxUSE_UNICODE
5548 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5549 #else
5550 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5551 #endif
5552 }
5553 return resultobj;
5554 fail:
5555 return NULL;
5556 }
5557
5558
5559 static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5560 PyObject *resultobj;
5561 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5562 int arg2 ;
5563 int arg3 ;
5564 wxString *arg4 = 0 ;
5565 bool temp4 = False ;
5566 PyObject * obj0 = 0 ;
5567 PyObject * obj1 = 0 ;
5568 PyObject * obj2 = 0 ;
5569 PyObject * obj3 = 0 ;
5570 char *kwnames[] = {
5571 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5572 };
5573
5574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5577 arg2 = (int) SWIG_AsInt(obj1);
5578 if (PyErr_Occurred()) SWIG_fail;
5579 arg3 = (int) SWIG_AsInt(obj2);
5580 if (PyErr_Occurred()) SWIG_fail;
5581 {
5582 arg4 = wxString_in_helper(obj3);
5583 if (arg4 == NULL) SWIG_fail;
5584 temp4 = True;
5585 }
5586 {
5587 PyThreadState* __tstate = wxPyBeginAllowThreads();
5588 (arg1)->SetValue(arg2,arg3,(wxString const &)*arg4);
5589
5590 wxPyEndAllowThreads(__tstate);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 }
5593 Py_INCREF(Py_None); resultobj = Py_None;
5594 {
5595 if (temp4)
5596 delete arg4;
5597 }
5598 return resultobj;
5599 fail:
5600 {
5601 if (temp4)
5602 delete arg4;
5603 }
5604 return NULL;
5605 }
5606
5607
5608 static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5609 PyObject *resultobj;
5610 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5611 int arg2 ;
5612 int arg3 ;
5613 wxString result;
5614 PyObject * obj0 = 0 ;
5615 PyObject * obj1 = 0 ;
5616 PyObject * obj2 = 0 ;
5617 char *kwnames[] = {
5618 (char *) "self",(char *) "row",(char *) "col", NULL
5619 };
5620
5621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
5622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5624 arg2 = (int) SWIG_AsInt(obj1);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 arg3 = (int) SWIG_AsInt(obj2);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 {
5629 PyThreadState* __tstate = wxPyBeginAllowThreads();
5630 result = (arg1)->GetTypeName(arg2,arg3);
5631
5632 wxPyEndAllowThreads(__tstate);
5633 if (PyErr_Occurred()) SWIG_fail;
5634 }
5635 {
5636 #if wxUSE_UNICODE
5637 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5638 #else
5639 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5640 #endif
5641 }
5642 return resultobj;
5643 fail:
5644 return NULL;
5645 }
5646
5647
5648 static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5649 PyObject *resultobj;
5650 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5651 int arg2 ;
5652 int arg3 ;
5653 wxString *arg4 = 0 ;
5654 bool result;
5655 bool temp4 = False ;
5656 PyObject * obj0 = 0 ;
5657 PyObject * obj1 = 0 ;
5658 PyObject * obj2 = 0 ;
5659 PyObject * obj3 = 0 ;
5660 char *kwnames[] = {
5661 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5662 };
5663
5664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5667 arg2 = (int) SWIG_AsInt(obj1);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 arg3 = (int) SWIG_AsInt(obj2);
5670 if (PyErr_Occurred()) SWIG_fail;
5671 {
5672 arg4 = wxString_in_helper(obj3);
5673 if (arg4 == NULL) SWIG_fail;
5674 temp4 = True;
5675 }
5676 {
5677 PyThreadState* __tstate = wxPyBeginAllowThreads();
5678 result = (bool)(arg1)->CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
5679
5680 wxPyEndAllowThreads(__tstate);
5681 if (PyErr_Occurred()) SWIG_fail;
5682 }
5683 {
5684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5685 }
5686 {
5687 if (temp4)
5688 delete arg4;
5689 }
5690 return resultobj;
5691 fail:
5692 {
5693 if (temp4)
5694 delete arg4;
5695 }
5696 return NULL;
5697 }
5698
5699
5700 static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5701 PyObject *resultobj;
5702 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5703 int arg2 ;
5704 int arg3 ;
5705 wxString *arg4 = 0 ;
5706 bool result;
5707 bool temp4 = False ;
5708 PyObject * obj0 = 0 ;
5709 PyObject * obj1 = 0 ;
5710 PyObject * obj2 = 0 ;
5711 PyObject * obj3 = 0 ;
5712 char *kwnames[] = {
5713 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5714 };
5715
5716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5719 arg2 = (int) SWIG_AsInt(obj1);
5720 if (PyErr_Occurred()) SWIG_fail;
5721 arg3 = (int) SWIG_AsInt(obj2);
5722 if (PyErr_Occurred()) SWIG_fail;
5723 {
5724 arg4 = wxString_in_helper(obj3);
5725 if (arg4 == NULL) SWIG_fail;
5726 temp4 = True;
5727 }
5728 {
5729 PyThreadState* __tstate = wxPyBeginAllowThreads();
5730 result = (bool)(arg1)->CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
5731
5732 wxPyEndAllowThreads(__tstate);
5733 if (PyErr_Occurred()) SWIG_fail;
5734 }
5735 {
5736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5737 }
5738 {
5739 if (temp4)
5740 delete arg4;
5741 }
5742 return resultobj;
5743 fail:
5744 {
5745 if (temp4)
5746 delete arg4;
5747 }
5748 return NULL;
5749 }
5750
5751
5752 static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj;
5754 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5755 int arg2 ;
5756 int arg3 ;
5757 long result;
5758 PyObject * obj0 = 0 ;
5759 PyObject * obj1 = 0 ;
5760 PyObject * obj2 = 0 ;
5761 char *kwnames[] = {
5762 (char *) "self",(char *) "row",(char *) "col", NULL
5763 };
5764
5765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames,&obj0,&obj1,&obj2)) goto fail;
5766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5768 arg2 = (int) SWIG_AsInt(obj1);
5769 if (PyErr_Occurred()) SWIG_fail;
5770 arg3 = (int) SWIG_AsInt(obj2);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 {
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 result = (long)(arg1)->GetValueAsLong(arg2,arg3);
5775
5776 wxPyEndAllowThreads(__tstate);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
5779 resultobj = SWIG_FromLong((long)result);
5780 return resultobj;
5781 fail:
5782 return NULL;
5783 }
5784
5785
5786 static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5787 PyObject *resultobj;
5788 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5789 int arg2 ;
5790 int arg3 ;
5791 double result;
5792 PyObject * obj0 = 0 ;
5793 PyObject * obj1 = 0 ;
5794 PyObject * obj2 = 0 ;
5795 char *kwnames[] = {
5796 (char *) "self",(char *) "row",(char *) "col", NULL
5797 };
5798
5799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames,&obj0,&obj1,&obj2)) goto fail;
5800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5802 arg2 = (int) SWIG_AsInt(obj1);
5803 if (PyErr_Occurred()) SWIG_fail;
5804 arg3 = (int) SWIG_AsInt(obj2);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 {
5807 PyThreadState* __tstate = wxPyBeginAllowThreads();
5808 result = (double)(arg1)->GetValueAsDouble(arg2,arg3);
5809
5810 wxPyEndAllowThreads(__tstate);
5811 if (PyErr_Occurred()) SWIG_fail;
5812 }
5813 resultobj = SWIG_FromDouble((double)result);
5814 return resultobj;
5815 fail:
5816 return NULL;
5817 }
5818
5819
5820 static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5821 PyObject *resultobj;
5822 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5823 int arg2 ;
5824 int arg3 ;
5825 bool result;
5826 PyObject * obj0 = 0 ;
5827 PyObject * obj1 = 0 ;
5828 PyObject * obj2 = 0 ;
5829 char *kwnames[] = {
5830 (char *) "self",(char *) "row",(char *) "col", NULL
5831 };
5832
5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
5834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5836 arg2 = (int) SWIG_AsInt(obj1);
5837 if (PyErr_Occurred()) SWIG_fail;
5838 arg3 = (int) SWIG_AsInt(obj2);
5839 if (PyErr_Occurred()) SWIG_fail;
5840 {
5841 PyThreadState* __tstate = wxPyBeginAllowThreads();
5842 result = (bool)(arg1)->GetValueAsBool(arg2,arg3);
5843
5844 wxPyEndAllowThreads(__tstate);
5845 if (PyErr_Occurred()) SWIG_fail;
5846 }
5847 {
5848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5849 }
5850 return resultobj;
5851 fail:
5852 return NULL;
5853 }
5854
5855
5856 static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5857 PyObject *resultobj;
5858 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5859 int arg2 ;
5860 int arg3 ;
5861 long arg4 ;
5862 PyObject * obj0 = 0 ;
5863 PyObject * obj1 = 0 ;
5864 PyObject * obj2 = 0 ;
5865 PyObject * obj3 = 0 ;
5866 char *kwnames[] = {
5867 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5868 };
5869
5870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5873 arg2 = (int) SWIG_AsInt(obj1);
5874 if (PyErr_Occurred()) SWIG_fail;
5875 arg3 = (int) SWIG_AsInt(obj2);
5876 if (PyErr_Occurred()) SWIG_fail;
5877 arg4 = (long) SWIG_AsLong(obj3);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 (arg1)->SetValueAsLong(arg2,arg3,arg4);
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) SWIG_fail;
5885 }
5886 Py_INCREF(Py_None); resultobj = Py_None;
5887 return resultobj;
5888 fail:
5889 return NULL;
5890 }
5891
5892
5893 static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5894 PyObject *resultobj;
5895 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5896 int arg2 ;
5897 int arg3 ;
5898 double arg4 ;
5899 PyObject * obj0 = 0 ;
5900 PyObject * obj1 = 0 ;
5901 PyObject * obj2 = 0 ;
5902 PyObject * obj3 = 0 ;
5903 char *kwnames[] = {
5904 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5905 };
5906
5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5910 arg2 = (int) SWIG_AsInt(obj1);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 arg3 = (int) SWIG_AsInt(obj2);
5913 if (PyErr_Occurred()) SWIG_fail;
5914 arg4 = (double) SWIG_AsDouble(obj3);
5915 if (PyErr_Occurred()) SWIG_fail;
5916 {
5917 PyThreadState* __tstate = wxPyBeginAllowThreads();
5918 (arg1)->SetValueAsDouble(arg2,arg3,arg4);
5919
5920 wxPyEndAllowThreads(__tstate);
5921 if (PyErr_Occurred()) SWIG_fail;
5922 }
5923 Py_INCREF(Py_None); resultobj = Py_None;
5924 return resultobj;
5925 fail:
5926 return NULL;
5927 }
5928
5929
5930 static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5931 PyObject *resultobj;
5932 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5933 int arg2 ;
5934 int arg3 ;
5935 bool arg4 ;
5936 PyObject * obj0 = 0 ;
5937 PyObject * obj1 = 0 ;
5938 PyObject * obj2 = 0 ;
5939 PyObject * obj3 = 0 ;
5940 char *kwnames[] = {
5941 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5942 };
5943
5944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5947 arg2 = (int) SWIG_AsInt(obj1);
5948 if (PyErr_Occurred()) SWIG_fail;
5949 arg3 = (int) SWIG_AsInt(obj2);
5950 if (PyErr_Occurred()) SWIG_fail;
5951 arg4 = (bool) SWIG_AsBool(obj3);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 (arg1)->SetValueAsBool(arg2,arg3,arg4);
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
5960 Py_INCREF(Py_None); resultobj = Py_None;
5961 return resultobj;
5962 fail:
5963 return NULL;
5964 }
5965
5966
5967 static PyObject *_wrap_GridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5968 PyObject *resultobj;
5969 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5970 PyObject * obj0 = 0 ;
5971 char *kwnames[] = {
5972 (char *) "self", NULL
5973 };
5974
5975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_Clear",kwnames,&obj0)) goto fail;
5976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
5977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5978 {
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
5980 (arg1)->Clear();
5981
5982 wxPyEndAllowThreads(__tstate);
5983 if (PyErr_Occurred()) SWIG_fail;
5984 }
5985 Py_INCREF(Py_None); resultobj = Py_None;
5986 return resultobj;
5987 fail:
5988 return NULL;
5989 }
5990
5991
5992 static PyObject *_wrap_GridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5993 PyObject *resultobj;
5994 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
5995 size_t arg2 = (size_t) 0 ;
5996 size_t arg3 = (size_t) 1 ;
5997 bool result;
5998 PyObject * obj0 = 0 ;
5999 PyObject * obj1 = 0 ;
6000 PyObject * obj2 = 0 ;
6001 char *kwnames[] = {
6002 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6003 };
6004
6005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6008 if (obj1) {
6009 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 }
6012 if (obj2) {
6013 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6014 if (PyErr_Occurred()) SWIG_fail;
6015 }
6016 {
6017 PyThreadState* __tstate = wxPyBeginAllowThreads();
6018 result = (bool)(arg1)->InsertRows(arg2,arg3);
6019
6020 wxPyEndAllowThreads(__tstate);
6021 if (PyErr_Occurred()) SWIG_fail;
6022 }
6023 {
6024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6025 }
6026 return resultobj;
6027 fail:
6028 return NULL;
6029 }
6030
6031
6032 static PyObject *_wrap_GridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6033 PyObject *resultobj;
6034 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6035 size_t arg2 = (size_t) 1 ;
6036 bool result;
6037 PyObject * obj0 = 0 ;
6038 PyObject * obj1 = 0 ;
6039 char *kwnames[] = {
6040 (char *) "self",(char *) "numRows", NULL
6041 };
6042
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendRows",kwnames,&obj0,&obj1)) goto fail;
6044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6046 if (obj1) {
6047 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 {
6051 PyThreadState* __tstate = wxPyBeginAllowThreads();
6052 result = (bool)(arg1)->AppendRows(arg2);
6053
6054 wxPyEndAllowThreads(__tstate);
6055 if (PyErr_Occurred()) SWIG_fail;
6056 }
6057 {
6058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6059 }
6060 return resultobj;
6061 fail:
6062 return NULL;
6063 }
6064
6065
6066 static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6067 PyObject *resultobj;
6068 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6069 size_t arg2 = (size_t) 0 ;
6070 size_t arg3 = (size_t) 1 ;
6071 bool result;
6072 PyObject * obj0 = 0 ;
6073 PyObject * obj1 = 0 ;
6074 PyObject * obj2 = 0 ;
6075 char *kwnames[] = {
6076 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6077 };
6078
6079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6082 if (obj1) {
6083 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 if (obj2) {
6087 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6088 if (PyErr_Occurred()) SWIG_fail;
6089 }
6090 {
6091 PyThreadState* __tstate = wxPyBeginAllowThreads();
6092 result = (bool)(arg1)->DeleteRows(arg2,arg3);
6093
6094 wxPyEndAllowThreads(__tstate);
6095 if (PyErr_Occurred()) SWIG_fail;
6096 }
6097 {
6098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6099 }
6100 return resultobj;
6101 fail:
6102 return NULL;
6103 }
6104
6105
6106 static PyObject *_wrap_GridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6107 PyObject *resultobj;
6108 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6109 size_t arg2 = (size_t) 0 ;
6110 size_t arg3 = (size_t) 1 ;
6111 bool result;
6112 PyObject * obj0 = 0 ;
6113 PyObject * obj1 = 0 ;
6114 PyObject * obj2 = 0 ;
6115 char *kwnames[] = {
6116 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6117 };
6118
6119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
6120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6122 if (obj1) {
6123 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6124 if (PyErr_Occurred()) SWIG_fail;
6125 }
6126 if (obj2) {
6127 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6128 if (PyErr_Occurred()) SWIG_fail;
6129 }
6130 {
6131 PyThreadState* __tstate = wxPyBeginAllowThreads();
6132 result = (bool)(arg1)->InsertCols(arg2,arg3);
6133
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 {
6138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6139 }
6140 return resultobj;
6141 fail:
6142 return NULL;
6143 }
6144
6145
6146 static PyObject *_wrap_GridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6147 PyObject *resultobj;
6148 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6149 size_t arg2 = (size_t) 1 ;
6150 bool result;
6151 PyObject * obj0 = 0 ;
6152 PyObject * obj1 = 0 ;
6153 char *kwnames[] = {
6154 (char *) "self",(char *) "numCols", NULL
6155 };
6156
6157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:GridTableBase_AppendCols",kwnames,&obj0,&obj1)) goto fail;
6158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6160 if (obj1) {
6161 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6162 if (PyErr_Occurred()) SWIG_fail;
6163 }
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 result = (bool)(arg1)->AppendCols(arg2);
6167
6168 wxPyEndAllowThreads(__tstate);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 {
6172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6173 }
6174 return resultobj;
6175 fail:
6176 return NULL;
6177 }
6178
6179
6180 static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6181 PyObject *resultobj;
6182 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6183 size_t arg2 = (size_t) 0 ;
6184 size_t arg3 = (size_t) 1 ;
6185 bool result;
6186 PyObject * obj0 = 0 ;
6187 PyObject * obj1 = 0 ;
6188 PyObject * obj2 = 0 ;
6189 char *kwnames[] = {
6190 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6191 };
6192
6193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GridTableBase_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
6194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6196 if (obj1) {
6197 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6198 if (PyErr_Occurred()) SWIG_fail;
6199 }
6200 if (obj2) {
6201 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6202 if (PyErr_Occurred()) SWIG_fail;
6203 }
6204 {
6205 PyThreadState* __tstate = wxPyBeginAllowThreads();
6206 result = (bool)(arg1)->DeleteCols(arg2,arg3);
6207
6208 wxPyEndAllowThreads(__tstate);
6209 if (PyErr_Occurred()) SWIG_fail;
6210 }
6211 {
6212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6213 }
6214 return resultobj;
6215 fail:
6216 return NULL;
6217 }
6218
6219
6220 static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject *resultobj;
6222 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6223 int arg2 ;
6224 wxString result;
6225 PyObject * obj0 = 0 ;
6226 PyObject * obj1 = 0 ;
6227 char *kwnames[] = {
6228 (char *) "self",(char *) "row", NULL
6229 };
6230
6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
6232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6234 arg2 = (int) SWIG_AsInt(obj1);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 {
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 result = (arg1)->GetRowLabelValue(arg2);
6239
6240 wxPyEndAllowThreads(__tstate);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
6243 {
6244 #if wxUSE_UNICODE
6245 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6246 #else
6247 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6248 #endif
6249 }
6250 return resultobj;
6251 fail:
6252 return NULL;
6253 }
6254
6255
6256 static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6257 PyObject *resultobj;
6258 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6259 int arg2 ;
6260 wxString result;
6261 PyObject * obj0 = 0 ;
6262 PyObject * obj1 = 0 ;
6263 char *kwnames[] = {
6264 (char *) "self",(char *) "col", NULL
6265 };
6266
6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableBase_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
6268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6270 arg2 = (int) SWIG_AsInt(obj1);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 {
6273 PyThreadState* __tstate = wxPyBeginAllowThreads();
6274 result = (arg1)->GetColLabelValue(arg2);
6275
6276 wxPyEndAllowThreads(__tstate);
6277 if (PyErr_Occurred()) SWIG_fail;
6278 }
6279 {
6280 #if wxUSE_UNICODE
6281 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6282 #else
6283 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6284 #endif
6285 }
6286 return resultobj;
6287 fail:
6288 return NULL;
6289 }
6290
6291
6292 static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6293 PyObject *resultobj;
6294 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6295 int arg2 ;
6296 wxString *arg3 = 0 ;
6297 bool temp3 = False ;
6298 PyObject * obj0 = 0 ;
6299 PyObject * obj1 = 0 ;
6300 PyObject * obj2 = 0 ;
6301 char *kwnames[] = {
6302 (char *) "self",(char *) "row",(char *) "value", NULL
6303 };
6304
6305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
6306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6308 arg2 = (int) SWIG_AsInt(obj1);
6309 if (PyErr_Occurred()) SWIG_fail;
6310 {
6311 arg3 = wxString_in_helper(obj2);
6312 if (arg3 == NULL) SWIG_fail;
6313 temp3 = True;
6314 }
6315 {
6316 PyThreadState* __tstate = wxPyBeginAllowThreads();
6317 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
6318
6319 wxPyEndAllowThreads(__tstate);
6320 if (PyErr_Occurred()) SWIG_fail;
6321 }
6322 Py_INCREF(Py_None); resultobj = Py_None;
6323 {
6324 if (temp3)
6325 delete arg3;
6326 }
6327 return resultobj;
6328 fail:
6329 {
6330 if (temp3)
6331 delete arg3;
6332 }
6333 return NULL;
6334 }
6335
6336
6337 static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6338 PyObject *resultobj;
6339 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6340 int arg2 ;
6341 wxString *arg3 = 0 ;
6342 bool temp3 = False ;
6343 PyObject * obj0 = 0 ;
6344 PyObject * obj1 = 0 ;
6345 PyObject * obj2 = 0 ;
6346 char *kwnames[] = {
6347 (char *) "self",(char *) "col",(char *) "value", NULL
6348 };
6349
6350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
6351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6353 arg2 = (int) SWIG_AsInt(obj1);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 {
6356 arg3 = wxString_in_helper(obj2);
6357 if (arg3 == NULL) SWIG_fail;
6358 temp3 = True;
6359 }
6360 {
6361 PyThreadState* __tstate = wxPyBeginAllowThreads();
6362 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
6363
6364 wxPyEndAllowThreads(__tstate);
6365 if (PyErr_Occurred()) SWIG_fail;
6366 }
6367 Py_INCREF(Py_None); resultobj = Py_None;
6368 {
6369 if (temp3)
6370 delete arg3;
6371 }
6372 return resultobj;
6373 fail:
6374 {
6375 if (temp3)
6376 delete arg3;
6377 }
6378 return NULL;
6379 }
6380
6381
6382 static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6383 PyObject *resultobj;
6384 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6385 bool result;
6386 PyObject * obj0 = 0 ;
6387 char *kwnames[] = {
6388 (char *) "self", NULL
6389 };
6390
6391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableBase_CanHaveAttributes",kwnames,&obj0)) goto fail;
6392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6394 {
6395 PyThreadState* __tstate = wxPyBeginAllowThreads();
6396 result = (bool)(arg1)->CanHaveAttributes();
6397
6398 wxPyEndAllowThreads(__tstate);
6399 if (PyErr_Occurred()) SWIG_fail;
6400 }
6401 {
6402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6403 }
6404 return resultobj;
6405 fail:
6406 return NULL;
6407 }
6408
6409
6410 static PyObject *_wrap_GridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6411 PyObject *resultobj;
6412 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6413 int arg2 ;
6414 int arg3 ;
6415 int arg4 ;
6416 wxGridCellAttr *result;
6417 PyObject * obj0 = 0 ;
6418 PyObject * obj1 = 0 ;
6419 PyObject * obj2 = 0 ;
6420 PyObject * obj3 = 0 ;
6421 char *kwnames[] = {
6422 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6423 };
6424
6425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6428 arg2 = (int) SWIG_AsInt(obj1);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 arg3 = (int) SWIG_AsInt(obj2);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 {
6435 PyThreadState* __tstate = wxPyBeginAllowThreads();
6436 result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
6437
6438 wxPyEndAllowThreads(__tstate);
6439 if (PyErr_Occurred()) SWIG_fail;
6440 }
6441 {
6442 resultobj = wxPyMake_wxGridCellAttr(result);
6443 }
6444 return resultobj;
6445 fail:
6446 return NULL;
6447 }
6448
6449
6450 static PyObject *_wrap_GridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6451 PyObject *resultobj;
6452 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6453 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6454 int arg3 ;
6455 int arg4 ;
6456 PyObject * obj0 = 0 ;
6457 PyObject * obj1 = 0 ;
6458 PyObject * obj2 = 0 ;
6459 PyObject * obj3 = 0 ;
6460 char *kwnames[] = {
6461 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6462 };
6463
6464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:GridTableBase_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6469 arg3 = (int) SWIG_AsInt(obj2);
6470 if (PyErr_Occurred()) SWIG_fail;
6471 arg4 = (int) SWIG_AsInt(obj3);
6472 if (PyErr_Occurred()) SWIG_fail;
6473 {
6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
6475 (arg1)->SetAttr(arg2,arg3,arg4);
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 Py_INCREF(Py_None); resultobj = Py_None;
6481 return resultobj;
6482 fail:
6483 return NULL;
6484 }
6485
6486
6487 static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6488 PyObject *resultobj;
6489 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6490 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6491 int arg3 ;
6492 PyObject * obj0 = 0 ;
6493 PyObject * obj1 = 0 ;
6494 PyObject * obj2 = 0 ;
6495 char *kwnames[] = {
6496 (char *) "self",(char *) "attr",(char *) "row", NULL
6497 };
6498
6499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
6500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6504 arg3 = (int) SWIG_AsInt(obj2);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 {
6507 PyThreadState* __tstate = wxPyBeginAllowThreads();
6508 (arg1)->SetRowAttr(arg2,arg3);
6509
6510 wxPyEndAllowThreads(__tstate);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 }
6513 Py_INCREF(Py_None); resultobj = Py_None;
6514 return resultobj;
6515 fail:
6516 return NULL;
6517 }
6518
6519
6520 static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6521 PyObject *resultobj;
6522 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
6523 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
6524 int arg3 ;
6525 PyObject * obj0 = 0 ;
6526 PyObject * obj1 = 0 ;
6527 PyObject * obj2 = 0 ;
6528 char *kwnames[] = {
6529 (char *) "self",(char *) "attr",(char *) "col", NULL
6530 };
6531
6532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridTableBase_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
6533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
6534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
6536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6537 arg3 = (int) SWIG_AsInt(obj2);
6538 if (PyErr_Occurred()) SWIG_fail;
6539 {
6540 PyThreadState* __tstate = wxPyBeginAllowThreads();
6541 (arg1)->SetColAttr(arg2,arg3);
6542
6543 wxPyEndAllowThreads(__tstate);
6544 if (PyErr_Occurred()) SWIG_fail;
6545 }
6546 Py_INCREF(Py_None); resultobj = Py_None;
6547 return resultobj;
6548 fail:
6549 return NULL;
6550 }
6551
6552
6553 static PyObject * GridTableBase_swigregister(PyObject *self, PyObject *args) {
6554 PyObject *obj;
6555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6556 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase, obj);
6557 Py_INCREF(obj);
6558 return Py_BuildValue((char *)"");
6559 }
6560 static PyObject *_wrap_new_PyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
6561 PyObject *resultobj;
6562 wxPyGridTableBase *result;
6563 char *kwnames[] = {
6564 NULL
6565 };
6566
6567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyGridTableBase",kwnames)) goto fail;
6568 {
6569 PyThreadState* __tstate = wxPyBeginAllowThreads();
6570 result = (wxPyGridTableBase *)new wxPyGridTableBase();
6571
6572 wxPyEndAllowThreads(__tstate);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 }
6575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyGridTableBase, 1);
6576 return resultobj;
6577 fail:
6578 return NULL;
6579 }
6580
6581
6582 static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6583 PyObject *resultobj;
6584 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6585 PyObject *arg2 = (PyObject *) 0 ;
6586 PyObject *arg3 = (PyObject *) 0 ;
6587 PyObject * obj0 = 0 ;
6588 PyObject * obj1 = 0 ;
6589 PyObject * obj2 = 0 ;
6590 char *kwnames[] = {
6591 (char *) "self",(char *) "self",(char *) "_class", NULL
6592 };
6593
6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6597 arg2 = obj1;
6598 arg3 = obj2;
6599 {
6600 PyThreadState* __tstate = wxPyBeginAllowThreads();
6601 (arg1)->_setCallbackInfo(arg2,arg3);
6602
6603 wxPyEndAllowThreads(__tstate);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 }
6606 Py_INCREF(Py_None); resultobj = Py_None;
6607 return resultobj;
6608 fail:
6609 return NULL;
6610 }
6611
6612
6613 static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6614 PyObject *resultobj;
6615 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6616 PyObject * obj0 = 0 ;
6617 char *kwnames[] = {
6618 (char *) "self", NULL
6619 };
6620
6621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_Destroy",kwnames,&obj0)) goto fail;
6622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 wxPyGridTableBase_Destroy(arg1);
6627
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 Py_INCREF(Py_None); resultobj = Py_None;
6632 return resultobj;
6633 fail:
6634 return NULL;
6635 }
6636
6637
6638 static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
6639 PyObject *resultobj;
6640 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6641 int arg2 ;
6642 int arg3 ;
6643 wxString result;
6644 PyObject * obj0 = 0 ;
6645 PyObject * obj1 = 0 ;
6646 PyObject * obj2 = 0 ;
6647 char *kwnames[] = {
6648 (char *) "self",(char *) "row",(char *) "col", NULL
6649 };
6650
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames,&obj0,&obj1,&obj2)) goto fail;
6652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6654 arg2 = (int) SWIG_AsInt(obj1);
6655 if (PyErr_Occurred()) SWIG_fail;
6656 arg3 = (int) SWIG_AsInt(obj2);
6657 if (PyErr_Occurred()) SWIG_fail;
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = (arg1)->base_GetTypeName(arg2,arg3);
6661
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 {
6666 #if wxUSE_UNICODE
6667 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6668 #else
6669 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6670 #endif
6671 }
6672 return resultobj;
6673 fail:
6674 return NULL;
6675 }
6676
6677
6678 static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6679 PyObject *resultobj;
6680 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6681 int arg2 ;
6682 int arg3 ;
6683 wxString *arg4 = 0 ;
6684 bool result;
6685 bool temp4 = False ;
6686 PyObject * obj0 = 0 ;
6687 PyObject * obj1 = 0 ;
6688 PyObject * obj2 = 0 ;
6689 PyObject * obj3 = 0 ;
6690 char *kwnames[] = {
6691 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6692 };
6693
6694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6697 arg2 = (int) SWIG_AsInt(obj1);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 arg3 = (int) SWIG_AsInt(obj2);
6700 if (PyErr_Occurred()) SWIG_fail;
6701 {
6702 arg4 = wxString_in_helper(obj3);
6703 if (arg4 == NULL) SWIG_fail;
6704 temp4 = True;
6705 }
6706 {
6707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6708 result = (bool)(arg1)->base_CanGetValueAs(arg2,arg3,(wxString const &)*arg4);
6709
6710 wxPyEndAllowThreads(__tstate);
6711 if (PyErr_Occurred()) SWIG_fail;
6712 }
6713 {
6714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6715 }
6716 {
6717 if (temp4)
6718 delete arg4;
6719 }
6720 return resultobj;
6721 fail:
6722 {
6723 if (temp4)
6724 delete arg4;
6725 }
6726 return NULL;
6727 }
6728
6729
6730 static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6731 PyObject *resultobj;
6732 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6733 int arg2 ;
6734 int arg3 ;
6735 wxString *arg4 = 0 ;
6736 bool result;
6737 bool temp4 = False ;
6738 PyObject * obj0 = 0 ;
6739 PyObject * obj1 = 0 ;
6740 PyObject * obj2 = 0 ;
6741 PyObject * obj3 = 0 ;
6742 char *kwnames[] = {
6743 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6744 };
6745
6746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6749 arg2 = (int) SWIG_AsInt(obj1);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 arg3 = (int) SWIG_AsInt(obj2);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 {
6754 arg4 = wxString_in_helper(obj3);
6755 if (arg4 == NULL) SWIG_fail;
6756 temp4 = True;
6757 }
6758 {
6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
6760 result = (bool)(arg1)->base_CanSetValueAs(arg2,arg3,(wxString const &)*arg4);
6761
6762 wxPyEndAllowThreads(__tstate);
6763 if (PyErr_Occurred()) SWIG_fail;
6764 }
6765 {
6766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6767 }
6768 {
6769 if (temp4)
6770 delete arg4;
6771 }
6772 return resultobj;
6773 fail:
6774 {
6775 if (temp4)
6776 delete arg4;
6777 }
6778 return NULL;
6779 }
6780
6781
6782 static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6783 PyObject *resultobj;
6784 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6785 PyObject * obj0 = 0 ;
6786 char *kwnames[] = {
6787 (char *) "self", NULL
6788 };
6789
6790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_Clear",kwnames,&obj0)) goto fail;
6791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6793 {
6794 PyThreadState* __tstate = wxPyBeginAllowThreads();
6795 (arg1)->base_Clear();
6796
6797 wxPyEndAllowThreads(__tstate);
6798 if (PyErr_Occurred()) SWIG_fail;
6799 }
6800 Py_INCREF(Py_None); resultobj = Py_None;
6801 return resultobj;
6802 fail:
6803 return NULL;
6804 }
6805
6806
6807 static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6808 PyObject *resultobj;
6809 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6810 size_t arg2 = (size_t) 0 ;
6811 size_t arg3 = (size_t) 1 ;
6812 bool result;
6813 PyObject * obj0 = 0 ;
6814 PyObject * obj1 = 0 ;
6815 PyObject * obj2 = 0 ;
6816 char *kwnames[] = {
6817 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6818 };
6819
6820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6823 if (obj1) {
6824 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6825 if (PyErr_Occurred()) SWIG_fail;
6826 }
6827 if (obj2) {
6828 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6829 if (PyErr_Occurred()) SWIG_fail;
6830 }
6831 {
6832 PyThreadState* __tstate = wxPyBeginAllowThreads();
6833 result = (bool)(arg1)->base_InsertRows(arg2,arg3);
6834
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) SWIG_fail;
6837 }
6838 {
6839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6840 }
6841 return resultobj;
6842 fail:
6843 return NULL;
6844 }
6845
6846
6847 static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj;
6849 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6850 size_t arg2 = (size_t) 1 ;
6851 bool result;
6852 PyObject * obj0 = 0 ;
6853 PyObject * obj1 = 0 ;
6854 char *kwnames[] = {
6855 (char *) "self",(char *) "numRows", NULL
6856 };
6857
6858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames,&obj0,&obj1)) goto fail;
6859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6861 if (obj1) {
6862 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 result = (bool)(arg1)->base_AppendRows(arg2);
6868
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 {
6873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6874 }
6875 return resultobj;
6876 fail:
6877 return NULL;
6878 }
6879
6880
6881 static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6882 PyObject *resultobj;
6883 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6884 size_t arg2 = (size_t) 0 ;
6885 size_t arg3 = (size_t) 1 ;
6886 bool result;
6887 PyObject * obj0 = 0 ;
6888 PyObject * obj1 = 0 ;
6889 PyObject * obj2 = 0 ;
6890 char *kwnames[] = {
6891 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6892 };
6893
6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
6895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6897 if (obj1) {
6898 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 if (obj2) {
6902 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
6905 {
6906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6907 result = (bool)(arg1)->base_DeleteRows(arg2,arg3);
6908
6909 wxPyEndAllowThreads(__tstate);
6910 if (PyErr_Occurred()) SWIG_fail;
6911 }
6912 {
6913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6914 }
6915 return resultobj;
6916 fail:
6917 return NULL;
6918 }
6919
6920
6921 static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6924 size_t arg2 = (size_t) 0 ;
6925 size_t arg3 = (size_t) 1 ;
6926 bool result;
6927 PyObject * obj0 = 0 ;
6928 PyObject * obj1 = 0 ;
6929 PyObject * obj2 = 0 ;
6930 char *kwnames[] = {
6931 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6932 };
6933
6934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
6935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6937 if (obj1) {
6938 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6939 if (PyErr_Occurred()) SWIG_fail;
6940 }
6941 if (obj2) {
6942 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 }
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 result = (bool)(arg1)->base_InsertCols(arg2,arg3);
6948
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
6952 {
6953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6954 }
6955 return resultobj;
6956 fail:
6957 return NULL;
6958 }
6959
6960
6961 static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6962 PyObject *resultobj;
6963 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6964 size_t arg2 = (size_t) 1 ;
6965 bool result;
6966 PyObject * obj0 = 0 ;
6967 PyObject * obj1 = 0 ;
6968 char *kwnames[] = {
6969 (char *) "self",(char *) "numCols", NULL
6970 };
6971
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames,&obj0,&obj1)) goto fail;
6973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
6974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6975 if (obj1) {
6976 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6977 if (PyErr_Occurred()) SWIG_fail;
6978 }
6979 {
6980 PyThreadState* __tstate = wxPyBeginAllowThreads();
6981 result = (bool)(arg1)->base_AppendCols(arg2);
6982
6983 wxPyEndAllowThreads(__tstate);
6984 if (PyErr_Occurred()) SWIG_fail;
6985 }
6986 {
6987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6988 }
6989 return resultobj;
6990 fail:
6991 return NULL;
6992 }
6993
6994
6995 static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj;
6997 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
6998 size_t arg2 = (size_t) 0 ;
6999 size_t arg3 = (size_t) 1 ;
7000 bool result;
7001 PyObject * obj0 = 0 ;
7002 PyObject * obj1 = 0 ;
7003 PyObject * obj2 = 0 ;
7004 char *kwnames[] = {
7005 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7006 };
7007
7008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
7009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7011 if (obj1) {
7012 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
7013 if (PyErr_Occurred()) SWIG_fail;
7014 }
7015 if (obj2) {
7016 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 }
7019 {
7020 PyThreadState* __tstate = wxPyBeginAllowThreads();
7021 result = (bool)(arg1)->base_DeleteCols(arg2,arg3);
7022
7023 wxPyEndAllowThreads(__tstate);
7024 if (PyErr_Occurred()) SWIG_fail;
7025 }
7026 {
7027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7028 }
7029 return resultobj;
7030 fail:
7031 return NULL;
7032 }
7033
7034
7035 static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7036 PyObject *resultobj;
7037 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7038 int arg2 ;
7039 wxString result;
7040 PyObject * obj0 = 0 ;
7041 PyObject * obj1 = 0 ;
7042 char *kwnames[] = {
7043 (char *) "self",(char *) "row", NULL
7044 };
7045
7046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
7047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7049 arg2 = (int) SWIG_AsInt(obj1);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 {
7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
7053 result = (arg1)->base_GetRowLabelValue(arg2);
7054
7055 wxPyEndAllowThreads(__tstate);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 {
7059 #if wxUSE_UNICODE
7060 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7061 #else
7062 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7063 #endif
7064 }
7065 return resultobj;
7066 fail:
7067 return NULL;
7068 }
7069
7070
7071 static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7072 PyObject *resultobj;
7073 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7074 int arg2 ;
7075 wxString result;
7076 PyObject * obj0 = 0 ;
7077 PyObject * obj1 = 0 ;
7078 char *kwnames[] = {
7079 (char *) "self",(char *) "col", NULL
7080 };
7081
7082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
7083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7085 arg2 = (int) SWIG_AsInt(obj1);
7086 if (PyErr_Occurred()) SWIG_fail;
7087 {
7088 PyThreadState* __tstate = wxPyBeginAllowThreads();
7089 result = (arg1)->base_GetColLabelValue(arg2);
7090
7091 wxPyEndAllowThreads(__tstate);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 }
7094 {
7095 #if wxUSE_UNICODE
7096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7097 #else
7098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7099 #endif
7100 }
7101 return resultobj;
7102 fail:
7103 return NULL;
7104 }
7105
7106
7107 static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7108 PyObject *resultobj;
7109 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7110 int arg2 ;
7111 wxString *arg3 = 0 ;
7112 bool temp3 = False ;
7113 PyObject * obj0 = 0 ;
7114 PyObject * obj1 = 0 ;
7115 PyObject * obj2 = 0 ;
7116 char *kwnames[] = {
7117 (char *) "self",(char *) "row",(char *) "value", NULL
7118 };
7119
7120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
7121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7123 arg2 = (int) SWIG_AsInt(obj1);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 {
7126 arg3 = wxString_in_helper(obj2);
7127 if (arg3 == NULL) SWIG_fail;
7128 temp3 = True;
7129 }
7130 {
7131 PyThreadState* __tstate = wxPyBeginAllowThreads();
7132 (arg1)->base_SetRowLabelValue(arg2,(wxString const &)*arg3);
7133
7134 wxPyEndAllowThreads(__tstate);
7135 if (PyErr_Occurred()) SWIG_fail;
7136 }
7137 Py_INCREF(Py_None); resultobj = Py_None;
7138 {
7139 if (temp3)
7140 delete arg3;
7141 }
7142 return resultobj;
7143 fail:
7144 {
7145 if (temp3)
7146 delete arg3;
7147 }
7148 return NULL;
7149 }
7150
7151
7152 static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7153 PyObject *resultobj;
7154 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7155 int arg2 ;
7156 wxString *arg3 = 0 ;
7157 bool temp3 = False ;
7158 PyObject * obj0 = 0 ;
7159 PyObject * obj1 = 0 ;
7160 PyObject * obj2 = 0 ;
7161 char *kwnames[] = {
7162 (char *) "self",(char *) "col",(char *) "value", NULL
7163 };
7164
7165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
7166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7168 arg2 = (int) SWIG_AsInt(obj1);
7169 if (PyErr_Occurred()) SWIG_fail;
7170 {
7171 arg3 = wxString_in_helper(obj2);
7172 if (arg3 == NULL) SWIG_fail;
7173 temp3 = True;
7174 }
7175 {
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 (arg1)->base_SetColLabelValue(arg2,(wxString const &)*arg3);
7178
7179 wxPyEndAllowThreads(__tstate);
7180 if (PyErr_Occurred()) SWIG_fail;
7181 }
7182 Py_INCREF(Py_None); resultobj = Py_None;
7183 {
7184 if (temp3)
7185 delete arg3;
7186 }
7187 return resultobj;
7188 fail:
7189 {
7190 if (temp3)
7191 delete arg3;
7192 }
7193 return NULL;
7194 }
7195
7196
7197 static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
7198 PyObject *resultobj;
7199 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7200 bool result;
7201 PyObject * obj0 = 0 ;
7202 char *kwnames[] = {
7203 (char *) "self", NULL
7204 };
7205
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames,&obj0)) goto fail;
7207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 result = (bool)(arg1)->base_CanHaveAttributes();
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 {
7217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7218 }
7219 return resultobj;
7220 fail:
7221 return NULL;
7222 }
7223
7224
7225 static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7226 PyObject *resultobj;
7227 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7228 int arg2 ;
7229 int arg3 ;
7230 int arg4 ;
7231 wxGridCellAttr *result;
7232 PyObject * obj0 = 0 ;
7233 PyObject * obj1 = 0 ;
7234 PyObject * obj2 = 0 ;
7235 PyObject * obj3 = 0 ;
7236 char *kwnames[] = {
7237 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7238 };
7239
7240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7243 arg2 = (int) SWIG_AsInt(obj1);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 arg3 = (int) SWIG_AsInt(obj2);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 arg4 = (wxGridCellAttr::wxAttrKind) SWIG_AsInt(obj3);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 {
7250 PyThreadState* __tstate = wxPyBeginAllowThreads();
7251 result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4);
7252
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 {
7257 resultobj = wxPyMake_wxGridCellAttr(result);
7258 }
7259 return resultobj;
7260 fail:
7261 return NULL;
7262 }
7263
7264
7265 static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7266 PyObject *resultobj;
7267 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7268 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7269 int arg3 ;
7270 int arg4 ;
7271 PyObject * obj0 = 0 ;
7272 PyObject * obj1 = 0 ;
7273 PyObject * obj2 = 0 ;
7274 PyObject * obj3 = 0 ;
7275 char *kwnames[] = {
7276 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7277 };
7278
7279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7282 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7284 arg3 = (int) SWIG_AsInt(obj2);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 arg4 = (int) SWIG_AsInt(obj3);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 (arg1)->base_SetAttr(arg2,arg3,arg4);
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 Py_INCREF(Py_None); resultobj = Py_None;
7296 return resultobj;
7297 fail:
7298 return NULL;
7299 }
7300
7301
7302 static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7303 PyObject *resultobj;
7304 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7305 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7306 int arg3 ;
7307 PyObject * obj0 = 0 ;
7308 PyObject * obj1 = 0 ;
7309 PyObject * obj2 = 0 ;
7310 char *kwnames[] = {
7311 (char *) "self",(char *) "attr",(char *) "row", NULL
7312 };
7313
7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
7315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7319 arg3 = (int) SWIG_AsInt(obj2);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 (arg1)->base_SetRowAttr(arg2,arg3);
7324
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 Py_INCREF(Py_None); resultobj = Py_None;
7329 return resultobj;
7330 fail:
7331 return NULL;
7332 }
7333
7334
7335 static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7336 PyObject *resultobj;
7337 wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
7338 wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ;
7339 int arg3 ;
7340 PyObject * obj0 = 0 ;
7341 PyObject * obj1 = 0 ;
7342 PyObject * obj2 = 0 ;
7343 char *kwnames[] = {
7344 (char *) "self",(char *) "attr",(char *) "col", NULL
7345 };
7346
7347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
7348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyGridTableBase,
7349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7350 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellAttr,
7351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7352 arg3 = (int) SWIG_AsInt(obj2);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 (arg1)->base_SetColAttr(arg2,arg3);
7357
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
7361 Py_INCREF(Py_None); resultobj = Py_None;
7362 return resultobj;
7363 fail:
7364 return NULL;
7365 }
7366
7367
7368 static PyObject * PyGridTableBase_swigregister(PyObject *self, PyObject *args) {
7369 PyObject *obj;
7370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7371 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase, obj);
7372 Py_INCREF(obj);
7373 return Py_BuildValue((char *)"");
7374 }
7375 static PyObject *_wrap_new_GridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7376 PyObject *resultobj;
7377 int arg1 = (int) 0 ;
7378 int arg2 = (int) 0 ;
7379 wxGridStringTable *result;
7380 PyObject * obj0 = 0 ;
7381 PyObject * obj1 = 0 ;
7382 char *kwnames[] = {
7383 (char *) "numRows",(char *) "numCols", NULL
7384 };
7385
7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridStringTable",kwnames,&obj0,&obj1)) goto fail;
7387 if (obj0) {
7388 arg1 = (int) SWIG_AsInt(obj0);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 }
7391 if (obj1) {
7392 arg2 = (int) SWIG_AsInt(obj1);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 }
7395 {
7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
7397 result = (wxGridStringTable *)new wxGridStringTable(arg1,arg2);
7398
7399 wxPyEndAllowThreads(__tstate);
7400 if (PyErr_Occurred()) SWIG_fail;
7401 }
7402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridStringTable, 1);
7403 return resultobj;
7404 fail:
7405 return NULL;
7406 }
7407
7408
7409 static PyObject * GridStringTable_swigregister(PyObject *self, PyObject *args) {
7410 PyObject *obj;
7411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7412 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable, obj);
7413 Py_INCREF(obj);
7414 return Py_BuildValue((char *)"");
7415 }
7416 static PyObject *_wrap_new_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7417 PyObject *resultobj;
7418 wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
7419 int arg2 ;
7420 int arg3 = (int) -1 ;
7421 int arg4 = (int) -1 ;
7422 wxGridTableMessage *result;
7423 PyObject * obj0 = 0 ;
7424 PyObject * obj1 = 0 ;
7425 PyObject * obj2 = 0 ;
7426 PyObject * obj3 = 0 ;
7427 char *kwnames[] = {
7428 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7429 };
7430
7431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_GridTableMessage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableBase,
7433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7434 arg2 = (int) SWIG_AsInt(obj1);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 if (obj2) {
7437 arg3 = (int) SWIG_AsInt(obj2);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 if (obj3) {
7441 arg4 = (int) SWIG_AsInt(obj3);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 }
7444 {
7445 PyThreadState* __tstate = wxPyBeginAllowThreads();
7446 result = (wxGridTableMessage *)new wxGridTableMessage(arg1,arg2,arg3,arg4);
7447
7448 wxPyEndAllowThreads(__tstate);
7449 if (PyErr_Occurred()) SWIG_fail;
7450 }
7451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridTableMessage, 1);
7452 return resultobj;
7453 fail:
7454 return NULL;
7455 }
7456
7457
7458 static PyObject *_wrap_delete_GridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7459 PyObject *resultobj;
7460 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7461 PyObject * obj0 = 0 ;
7462 char *kwnames[] = {
7463 (char *) "self", NULL
7464 };
7465
7466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridTableMessage",kwnames,&obj0)) goto fail;
7467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7469 {
7470 PyThreadState* __tstate = wxPyBeginAllowThreads();
7471 delete arg1;
7472
7473 wxPyEndAllowThreads(__tstate);
7474 if (PyErr_Occurred()) SWIG_fail;
7475 }
7476 Py_INCREF(Py_None); resultobj = Py_None;
7477 return resultobj;
7478 fail:
7479 return NULL;
7480 }
7481
7482
7483 static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7484 PyObject *resultobj;
7485 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7486 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
7487 PyObject * obj0 = 0 ;
7488 PyObject * obj1 = 0 ;
7489 char *kwnames[] = {
7490 (char *) "self",(char *) "table", NULL
7491 };
7492
7493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetTableObject",kwnames,&obj0,&obj1)) goto fail;
7494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
7497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7498 {
7499 PyThreadState* __tstate = wxPyBeginAllowThreads();
7500 (arg1)->SetTableObject(arg2);
7501
7502 wxPyEndAllowThreads(__tstate);
7503 if (PyErr_Occurred()) SWIG_fail;
7504 }
7505 Py_INCREF(Py_None); resultobj = Py_None;
7506 return resultobj;
7507 fail:
7508 return NULL;
7509 }
7510
7511
7512 static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7513 PyObject *resultobj;
7514 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7515 wxGridTableBase *result;
7516 PyObject * obj0 = 0 ;
7517 char *kwnames[] = {
7518 (char *) "self", NULL
7519 };
7520
7521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetTableObject",kwnames,&obj0)) goto fail;
7522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7524 {
7525 PyThreadState* __tstate = wxPyBeginAllowThreads();
7526 result = (wxGridTableBase *)((wxGridTableMessage const *)arg1)->GetTableObject();
7527
7528 wxPyEndAllowThreads(__tstate);
7529 if (PyErr_Occurred()) SWIG_fail;
7530 }
7531 {
7532 resultobj = wxPyMake_wxGridTableBase(result);
7533 }
7534 return resultobj;
7535 fail:
7536 return NULL;
7537 }
7538
7539
7540 static PyObject *_wrap_GridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7541 PyObject *resultobj;
7542 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7543 int arg2 ;
7544 PyObject * obj0 = 0 ;
7545 PyObject * obj1 = 0 ;
7546 char *kwnames[] = {
7547 (char *) "self",(char *) "id", NULL
7548 };
7549
7550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetId",kwnames,&obj0,&obj1)) goto fail;
7551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7553 arg2 = (int) SWIG_AsInt(obj1);
7554 if (PyErr_Occurred()) SWIG_fail;
7555 {
7556 PyThreadState* __tstate = wxPyBeginAllowThreads();
7557 (arg1)->SetId(arg2);
7558
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 Py_INCREF(Py_None); resultobj = Py_None;
7563 return resultobj;
7564 fail:
7565 return NULL;
7566 }
7567
7568
7569 static PyObject *_wrap_GridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7570 PyObject *resultobj;
7571 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7572 int result;
7573 PyObject * obj0 = 0 ;
7574 char *kwnames[] = {
7575 (char *) "self", NULL
7576 };
7577
7578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetId",kwnames,&obj0)) goto fail;
7579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7581 {
7582 PyThreadState* __tstate = wxPyBeginAllowThreads();
7583 result = (int)(arg1)->GetId();
7584
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 resultobj = SWIG_FromInt((int)result);
7589 return resultobj;
7590 fail:
7591 return NULL;
7592 }
7593
7594
7595 static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7596 PyObject *resultobj;
7597 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7598 int arg2 ;
7599 PyObject * obj0 = 0 ;
7600 PyObject * obj1 = 0 ;
7601 char *kwnames[] = {
7602 (char *) "self",(char *) "comInt1", NULL
7603 };
7604
7605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt",kwnames,&obj0,&obj1)) goto fail;
7606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7608 arg2 = (int) SWIG_AsInt(obj1);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
7612 (arg1)->SetCommandInt(arg2);
7613
7614 wxPyEndAllowThreads(__tstate);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 Py_INCREF(Py_None); resultobj = Py_None;
7618 return resultobj;
7619 fail:
7620 return NULL;
7621 }
7622
7623
7624 static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7625 PyObject *resultobj;
7626 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7627 int result;
7628 PyObject * obj0 = 0 ;
7629 char *kwnames[] = {
7630 (char *) "self", NULL
7631 };
7632
7633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt",kwnames,&obj0)) goto fail;
7634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7636 {
7637 PyThreadState* __tstate = wxPyBeginAllowThreads();
7638 result = (int)(arg1)->GetCommandInt();
7639
7640 wxPyEndAllowThreads(__tstate);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 }
7643 resultobj = SWIG_FromInt((int)result);
7644 return resultobj;
7645 fail:
7646 return NULL;
7647 }
7648
7649
7650 static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7651 PyObject *resultobj;
7652 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7653 int arg2 ;
7654 PyObject * obj0 = 0 ;
7655 PyObject * obj1 = 0 ;
7656 char *kwnames[] = {
7657 (char *) "self",(char *) "comInt2", NULL
7658 };
7659
7660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames,&obj0,&obj1)) goto fail;
7661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7663 arg2 = (int) SWIG_AsInt(obj1);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 {
7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7667 (arg1)->SetCommandInt2(arg2);
7668
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 Py_INCREF(Py_None); resultobj = Py_None;
7673 return resultobj;
7674 fail:
7675 return NULL;
7676 }
7677
7678
7679 static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7680 PyObject *resultobj;
7681 wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ;
7682 int result;
7683 PyObject * obj0 = 0 ;
7684 char *kwnames[] = {
7685 (char *) "self", NULL
7686 };
7687
7688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridTableMessage_GetCommandInt2",kwnames,&obj0)) goto fail;
7689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridTableMessage,
7690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7691 {
7692 PyThreadState* __tstate = wxPyBeginAllowThreads();
7693 result = (int)(arg1)->GetCommandInt2();
7694
7695 wxPyEndAllowThreads(__tstate);
7696 if (PyErr_Occurred()) SWIG_fail;
7697 }
7698 resultobj = SWIG_FromInt((int)result);
7699 return resultobj;
7700 fail:
7701 return NULL;
7702 }
7703
7704
7705 static PyObject * GridTableMessage_swigregister(PyObject *self, PyObject *args) {
7706 PyObject *obj;
7707 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7708 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage, obj);
7709 Py_INCREF(obj);
7710 return Py_BuildValue((char *)"");
7711 }
7712 static PyObject *_wrap_new_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7713 PyObject *resultobj;
7714 int arg1 = (int) -1 ;
7715 int arg2 = (int) -1 ;
7716 wxGridCellCoords *result;
7717 PyObject * obj0 = 0 ;
7718 PyObject * obj1 = 0 ;
7719 char *kwnames[] = {
7720 (char *) "r",(char *) "c", NULL
7721 };
7722
7723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellCoords",kwnames,&obj0,&obj1)) goto fail;
7724 if (obj0) {
7725 arg1 = (int) SWIG_AsInt(obj0);
7726 if (PyErr_Occurred()) SWIG_fail;
7727 }
7728 if (obj1) {
7729 arg2 = (int) SWIG_AsInt(obj1);
7730 if (PyErr_Occurred()) SWIG_fail;
7731 }
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 result = (wxGridCellCoords *)new wxGridCellCoords(arg1,arg2);
7735
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridCellCoords, 1);
7740 return resultobj;
7741 fail:
7742 return NULL;
7743 }
7744
7745
7746 static PyObject *_wrap_delete_GridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7747 PyObject *resultobj;
7748 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7749 PyObject * obj0 = 0 ;
7750 char *kwnames[] = {
7751 (char *) "self", NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GridCellCoords",kwnames,&obj0)) goto fail;
7755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7757 {
7758 PyThreadState* __tstate = wxPyBeginAllowThreads();
7759 delete arg1;
7760
7761 wxPyEndAllowThreads(__tstate);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 }
7764 Py_INCREF(Py_None); resultobj = Py_None;
7765 return resultobj;
7766 fail:
7767 return NULL;
7768 }
7769
7770
7771 static PyObject *_wrap_GridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7772 PyObject *resultobj;
7773 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7774 int result;
7775 PyObject * obj0 = 0 ;
7776 char *kwnames[] = {
7777 (char *) "self", NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetRow",kwnames,&obj0)) goto fail;
7781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = (int)((wxGridCellCoords const *)arg1)->GetRow();
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 resultobj = SWIG_FromInt((int)result);
7791 return resultobj;
7792 fail:
7793 return NULL;
7794 }
7795
7796
7797 static PyObject *_wrap_GridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7798 PyObject *resultobj;
7799 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7800 int arg2 ;
7801 PyObject * obj0 = 0 ;
7802 PyObject * obj1 = 0 ;
7803 char *kwnames[] = {
7804 (char *) "self",(char *) "n", NULL
7805 };
7806
7807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetRow",kwnames,&obj0,&obj1)) goto fail;
7808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7810 arg2 = (int) SWIG_AsInt(obj1);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 {
7813 PyThreadState* __tstate = wxPyBeginAllowThreads();
7814 (arg1)->SetRow(arg2);
7815
7816 wxPyEndAllowThreads(__tstate);
7817 if (PyErr_Occurred()) SWIG_fail;
7818 }
7819 Py_INCREF(Py_None); resultobj = Py_None;
7820 return resultobj;
7821 fail:
7822 return NULL;
7823 }
7824
7825
7826 static PyObject *_wrap_GridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7827 PyObject *resultobj;
7828 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7829 int result;
7830 PyObject * obj0 = 0 ;
7831 char *kwnames[] = {
7832 (char *) "self", NULL
7833 };
7834
7835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_GetCol",kwnames,&obj0)) goto fail;
7836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 result = (int)((wxGridCellCoords const *)arg1)->GetCol();
7841
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 resultobj = SWIG_FromInt((int)result);
7846 return resultobj;
7847 fail:
7848 return NULL;
7849 }
7850
7851
7852 static PyObject *_wrap_GridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7853 PyObject *resultobj;
7854 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7855 int arg2 ;
7856 PyObject * obj0 = 0 ;
7857 PyObject * obj1 = 0 ;
7858 char *kwnames[] = {
7859 (char *) "self",(char *) "n", NULL
7860 };
7861
7862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords_SetCol",kwnames,&obj0,&obj1)) goto fail;
7863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7865 arg2 = (int) SWIG_AsInt(obj1);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 {
7868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7869 (arg1)->SetCol(arg2);
7870
7871 wxPyEndAllowThreads(__tstate);
7872 if (PyErr_Occurred()) SWIG_fail;
7873 }
7874 Py_INCREF(Py_None); resultobj = Py_None;
7875 return resultobj;
7876 fail:
7877 return NULL;
7878 }
7879
7880
7881 static PyObject *_wrap_GridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7882 PyObject *resultobj;
7883 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7884 int arg2 ;
7885 int arg3 ;
7886 PyObject * obj0 = 0 ;
7887 PyObject * obj1 = 0 ;
7888 PyObject * obj2 = 0 ;
7889 char *kwnames[] = {
7890 (char *) "self",(char *) "row",(char *) "col", NULL
7891 };
7892
7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridCellCoords_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
7894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7896 arg2 = (int) SWIG_AsInt(obj1);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 arg3 = (int) SWIG_AsInt(obj2);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 {
7901 PyThreadState* __tstate = wxPyBeginAllowThreads();
7902 (arg1)->Set(arg2,arg3);
7903
7904 wxPyEndAllowThreads(__tstate);
7905 if (PyErr_Occurred()) SWIG_fail;
7906 }
7907 Py_INCREF(Py_None); resultobj = Py_None;
7908 return resultobj;
7909 fail:
7910 return NULL;
7911 }
7912
7913
7914 static PyObject *_wrap_GridCellCoords___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
7915 PyObject *resultobj;
7916 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7917 wxGridCellCoords *arg2 = 0 ;
7918 bool result;
7919 wxGridCellCoords temp2 ;
7920 PyObject * obj0 = 0 ;
7921 PyObject * obj1 = 0 ;
7922 char *kwnames[] = {
7923 (char *) "self",(char *) "other", NULL
7924 };
7925
7926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___eq__",kwnames,&obj0,&obj1)) goto fail;
7927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7929 {
7930 arg2 = &temp2;
7931 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
7932 }
7933 {
7934 PyThreadState* __tstate = wxPyBeginAllowThreads();
7935 result = (bool)((wxGridCellCoords const *)arg1)->operator ==((wxGridCellCoords const &)*arg2);
7936
7937 wxPyEndAllowThreads(__tstate);
7938 if (PyErr_Occurred()) SWIG_fail;
7939 }
7940 {
7941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7942 }
7943 return resultobj;
7944 fail:
7945 return NULL;
7946 }
7947
7948
7949 static PyObject *_wrap_GridCellCoords___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj;
7951 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7952 wxGridCellCoords *arg2 = 0 ;
7953 bool result;
7954 wxGridCellCoords temp2 ;
7955 PyObject * obj0 = 0 ;
7956 PyObject * obj1 = 0 ;
7957 char *kwnames[] = {
7958 (char *) "self",(char *) "other", NULL
7959 };
7960
7961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridCellCoords___ne__",kwnames,&obj0,&obj1)) goto fail;
7962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7964 {
7965 arg2 = &temp2;
7966 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
7967 }
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 result = (bool)((wxGridCellCoords const *)arg1)->operator !=((wxGridCellCoords const &)*arg2);
7971
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 }
7975 {
7976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7977 }
7978 return resultobj;
7979 fail:
7980 return NULL;
7981 }
7982
7983
7984 static PyObject *_wrap_GridCellCoords_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
7985 PyObject *resultobj;
7986 wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ;
7987 PyObject *result;
7988 PyObject * obj0 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "self", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellCoords_Get",kwnames,&obj0)) goto fail;
7994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridCellCoords,
7995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 result = (PyObject *)wxGridCellCoords_Get(arg1);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 resultobj = result;
8004 return resultobj;
8005 fail:
8006 return NULL;
8007 }
8008
8009
8010 static PyObject * GridCellCoords_swigregister(PyObject *self, PyObject *args) {
8011 PyObject *obj;
8012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8013 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords, obj);
8014 Py_INCREF(obj);
8015 return Py_BuildValue((char *)"");
8016 }
8017 static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs) {
8018 PyObject *resultobj;
8019 wxWindow *arg1 = (wxWindow *) 0 ;
8020 int arg2 ;
8021 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8022 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8023 wxSize const &arg4_defvalue = wxDefaultSize ;
8024 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8025 long arg5 = (long) wxWANTS_CHARS ;
8026 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8027 wxString *arg6 = (wxString *) &arg6_defvalue ;
8028 wxGrid *result;
8029 wxPoint temp3 ;
8030 wxSize temp4 ;
8031 bool temp6 = False ;
8032 PyObject * obj0 = 0 ;
8033 PyObject * obj1 = 0 ;
8034 PyObject * obj2 = 0 ;
8035 PyObject * obj3 = 0 ;
8036 PyObject * obj4 = 0 ;
8037 PyObject * obj5 = 0 ;
8038 char *kwnames[] = {
8039 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8040 };
8041
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Grid",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8045 arg2 = (int) SWIG_AsInt(obj1);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 if (obj2) {
8048 {
8049 arg3 = &temp3;
8050 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8051 }
8052 }
8053 if (obj3) {
8054 {
8055 arg4 = &temp4;
8056 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8057 }
8058 }
8059 if (obj4) {
8060 arg5 = (long) SWIG_AsLong(obj4);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
8063 if (obj5) {
8064 {
8065 arg6 = wxString_in_helper(obj5);
8066 if (arg6 == NULL) SWIG_fail;
8067 temp6 = True;
8068 }
8069 }
8070 {
8071 PyThreadState* __tstate = wxPyBeginAllowThreads();
8072 result = (wxGrid *)new wxGrid(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8073
8074 wxPyEndAllowThreads(__tstate);
8075 if (PyErr_Occurred()) SWIG_fail;
8076 }
8077 {
8078 resultobj = wxPyMake_wxObject(result);
8079 }
8080 {
8081 if (temp6)
8082 delete arg6;
8083 }
8084 return resultobj;
8085 fail:
8086 {
8087 if (temp6)
8088 delete arg6;
8089 }
8090 return NULL;
8091 }
8092
8093
8094 static PyObject *_wrap_new_PreGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8095 PyObject *resultobj;
8096 wxGrid *result;
8097 char *kwnames[] = {
8098 NULL
8099 };
8100
8101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGrid",kwnames)) goto fail;
8102 {
8103 PyThreadState* __tstate = wxPyBeginAllowThreads();
8104 result = (wxGrid *)new wxGrid();
8105
8106 wxPyEndAllowThreads(__tstate);
8107 if (PyErr_Occurred()) SWIG_fail;
8108 }
8109 {
8110 resultobj = wxPyMake_wxObject(result);
8111 }
8112 return resultobj;
8113 fail:
8114 return NULL;
8115 }
8116
8117
8118 static PyObject *_wrap_Grid_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8119 PyObject *resultobj;
8120 wxGrid *arg1 = (wxGrid *) 0 ;
8121 wxWindow *arg2 = (wxWindow *) 0 ;
8122 int arg3 ;
8123 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8124 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8125 wxSize const &arg5_defvalue = wxDefaultSize ;
8126 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8127 long arg6 = (long) wxWANTS_CHARS ;
8128 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8129 wxString *arg7 = (wxString *) &arg7_defvalue ;
8130 bool result;
8131 wxPoint temp4 ;
8132 wxSize temp5 ;
8133 bool temp7 = False ;
8134 PyObject * obj0 = 0 ;
8135 PyObject * obj1 = 0 ;
8136 PyObject * obj2 = 0 ;
8137 PyObject * obj3 = 0 ;
8138 PyObject * obj4 = 0 ;
8139 PyObject * obj5 = 0 ;
8140 PyObject * obj6 = 0 ;
8141 char *kwnames[] = {
8142 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8143 };
8144
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Grid_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8148 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8150 arg3 = (int) SWIG_AsInt(obj2);
8151 if (PyErr_Occurred()) SWIG_fail;
8152 if (obj3) {
8153 {
8154 arg4 = &temp4;
8155 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8156 }
8157 }
8158 if (obj4) {
8159 {
8160 arg5 = &temp5;
8161 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8162 }
8163 }
8164 if (obj5) {
8165 arg6 = (long) SWIG_AsLong(obj5);
8166 if (PyErr_Occurred()) SWIG_fail;
8167 }
8168 if (obj6) {
8169 {
8170 arg7 = wxString_in_helper(obj6);
8171 if (arg7 == NULL) SWIG_fail;
8172 temp7 = True;
8173 }
8174 }
8175 {
8176 PyThreadState* __tstate = wxPyBeginAllowThreads();
8177 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8178
8179 wxPyEndAllowThreads(__tstate);
8180 if (PyErr_Occurred()) SWIG_fail;
8181 }
8182 {
8183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8184 }
8185 {
8186 if (temp7)
8187 delete arg7;
8188 }
8189 return resultobj;
8190 fail:
8191 {
8192 if (temp7)
8193 delete arg7;
8194 }
8195 return NULL;
8196 }
8197
8198
8199 static PyObject *_wrap_Grid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8200 PyObject *resultobj;
8201 wxGrid *arg1 = (wxGrid *) 0 ;
8202 int arg2 ;
8203 int arg3 ;
8204 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8205 bool result;
8206 PyObject * obj0 = 0 ;
8207 PyObject * obj1 = 0 ;
8208 PyObject * obj2 = 0 ;
8209 PyObject * obj3 = 0 ;
8210 char *kwnames[] = {
8211 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8212 };
8213
8214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_CreateGrid",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8217 arg2 = (int) SWIG_AsInt(obj1);
8218 if (PyErr_Occurred()) SWIG_fail;
8219 arg3 = (int) SWIG_AsInt(obj2);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 if (obj3) {
8222 arg4 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj3);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
8225 {
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 result = (bool)(arg1)->CreateGrid(arg2,arg3,arg4);
8228
8229 wxPyEndAllowThreads(__tstate);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 }
8232 {
8233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8234 }
8235 return resultobj;
8236 fail:
8237 return NULL;
8238 }
8239
8240
8241 static PyObject *_wrap_Grid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8242 PyObject *resultobj;
8243 wxGrid *arg1 = (wxGrid *) 0 ;
8244 WXGRIDSELECTIONMODES arg2 ;
8245 PyObject * obj0 = 0 ;
8246 PyObject * obj1 = 0 ;
8247 char *kwnames[] = {
8248 (char *) "self",(char *) "selmode", NULL
8249 };
8250
8251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
8252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8254 arg2 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj1);
8255 if (PyErr_Occurred()) SWIG_fail;
8256 {
8257 PyThreadState* __tstate = wxPyBeginAllowThreads();
8258 (arg1)->SetSelectionMode(arg2);
8259
8260 wxPyEndAllowThreads(__tstate);
8261 if (PyErr_Occurred()) SWIG_fail;
8262 }
8263 Py_INCREF(Py_None); resultobj = Py_None;
8264 return resultobj;
8265 fail:
8266 return NULL;
8267 }
8268
8269
8270 static PyObject *_wrap_Grid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8271 PyObject *resultobj;
8272 wxGrid *arg1 = (wxGrid *) 0 ;
8273 WXGRIDSELECTIONMODES result;
8274 PyObject * obj0 = 0 ;
8275 char *kwnames[] = {
8276 (char *) "self", NULL
8277 };
8278
8279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionMode",kwnames,&obj0)) goto fail;
8280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8282 {
8283 PyThreadState* __tstate = wxPyBeginAllowThreads();
8284 result = (WXGRIDSELECTIONMODES)(arg1)->GetSelectionMode();
8285
8286 wxPyEndAllowThreads(__tstate);
8287 if (PyErr_Occurred()) SWIG_fail;
8288 }
8289 resultobj = SWIG_FromInt((int)result);
8290 return resultobj;
8291 fail:
8292 return NULL;
8293 }
8294
8295
8296 static PyObject *_wrap_Grid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8297 PyObject *resultobj;
8298 wxGrid *arg1 = (wxGrid *) 0 ;
8299 int result;
8300 PyObject * obj0 = 0 ;
8301 char *kwnames[] = {
8302 (char *) "self", NULL
8303 };
8304
8305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberRows",kwnames,&obj0)) goto fail;
8306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8308 {
8309 PyThreadState* __tstate = wxPyBeginAllowThreads();
8310 result = (int)(arg1)->GetNumberRows();
8311
8312 wxPyEndAllowThreads(__tstate);
8313 if (PyErr_Occurred()) SWIG_fail;
8314 }
8315 resultobj = SWIG_FromInt((int)result);
8316 return resultobj;
8317 fail:
8318 return NULL;
8319 }
8320
8321
8322 static PyObject *_wrap_Grid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8323 PyObject *resultobj;
8324 wxGrid *arg1 = (wxGrid *) 0 ;
8325 int result;
8326 PyObject * obj0 = 0 ;
8327 char *kwnames[] = {
8328 (char *) "self", NULL
8329 };
8330
8331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetNumberCols",kwnames,&obj0)) goto fail;
8332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8334 {
8335 PyThreadState* __tstate = wxPyBeginAllowThreads();
8336 result = (int)(arg1)->GetNumberCols();
8337
8338 wxPyEndAllowThreads(__tstate);
8339 if (PyErr_Occurred()) SWIG_fail;
8340 }
8341 resultobj = SWIG_FromInt((int)result);
8342 return resultobj;
8343 fail:
8344 return NULL;
8345 }
8346
8347
8348 static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8349 PyObject *resultobj;
8350 wxGrid *arg1 = (wxGrid *) 0 ;
8351 wxGridTableMessage *arg2 = 0 ;
8352 bool result;
8353 PyObject * obj0 = 0 ;
8354 PyObject * obj1 = 0 ;
8355 char *kwnames[] = {
8356 (char *) "self","arg2", NULL
8357 };
8358
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_ProcessTableMessage",kwnames,&obj0,&obj1)) goto fail;
8360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8362 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableMessage,
8363 SWIG_POINTER_EXCEPTION | 0)) == -1)
8364 SWIG_fail;
8365 if (arg2 == NULL) {
8366 PyErr_SetString(PyExc_TypeError,"null reference");
8367 SWIG_fail;
8368 }
8369 {
8370 PyThreadState* __tstate = wxPyBeginAllowThreads();
8371 result = (bool)(arg1)->ProcessTableMessage(*arg2);
8372
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 {
8377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8378 }
8379 return resultobj;
8380 fail:
8381 return NULL;
8382 }
8383
8384
8385 static PyObject *_wrap_Grid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8386 PyObject *resultobj;
8387 wxGrid *arg1 = (wxGrid *) 0 ;
8388 wxGridTableBase *result;
8389 PyObject * obj0 = 0 ;
8390 char *kwnames[] = {
8391 (char *) "self", NULL
8392 };
8393
8394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetTable",kwnames,&obj0)) goto fail;
8395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8397 {
8398 PyThreadState* __tstate = wxPyBeginAllowThreads();
8399 result = (wxGridTableBase *)((wxGrid const *)arg1)->GetTable();
8400
8401 wxPyEndAllowThreads(__tstate);
8402 if (PyErr_Occurred()) SWIG_fail;
8403 }
8404 {
8405 resultobj = wxPyMake_wxGridTableBase(result);
8406 }
8407 return resultobj;
8408 fail:
8409 return NULL;
8410 }
8411
8412
8413 static PyObject *_wrap_Grid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
8414 PyObject *resultobj;
8415 wxGrid *arg1 = (wxGrid *) 0 ;
8416 wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
8417 bool arg3 = (bool) False ;
8418 WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
8419 bool result;
8420 PyObject * obj0 = 0 ;
8421 PyObject * obj1 = 0 ;
8422 PyObject * obj2 = 0 ;
8423 PyObject * obj3 = 0 ;
8424 char *kwnames[] = {
8425 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8426 };
8427
8428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetTable",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8431 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridTableBase,
8432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8433 if (obj2) {
8434 arg3 = (bool) SWIG_AsBool(obj2);
8435 if (PyErr_Occurred()) SWIG_fail;
8436 }
8437 if (obj3) {
8438 arg4 = (WXGRIDSELECTIONMODES) SWIG_AsInt(obj3);
8439 if (PyErr_Occurred()) SWIG_fail;
8440 }
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 result = (bool)(arg1)->SetTable(arg2,arg3,arg4);
8444
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 {
8449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8450 }
8451 return resultobj;
8452 fail:
8453 return NULL;
8454 }
8455
8456
8457 static PyObject *_wrap_Grid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8458 PyObject *resultobj;
8459 wxGrid *arg1 = (wxGrid *) 0 ;
8460 PyObject * obj0 = 0 ;
8461 char *kwnames[] = {
8462 (char *) "self", NULL
8463 };
8464
8465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearGrid",kwnames,&obj0)) goto fail;
8466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 (arg1)->ClearGrid();
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 Py_INCREF(Py_None); resultobj = Py_None;
8476 return resultobj;
8477 fail:
8478 return NULL;
8479 }
8480
8481
8482 static PyObject *_wrap_Grid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8483 PyObject *resultobj;
8484 wxGrid *arg1 = (wxGrid *) 0 ;
8485 int arg2 = (int) 0 ;
8486 int arg3 = (int) 1 ;
8487 bool arg4 = (bool) True ;
8488 bool result;
8489 PyObject * obj0 = 0 ;
8490 PyObject * obj1 = 0 ;
8491 PyObject * obj2 = 0 ;
8492 PyObject * obj3 = 0 ;
8493 char *kwnames[] = {
8494 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8495 };
8496
8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8500 if (obj1) {
8501 arg2 = (int) SWIG_AsInt(obj1);
8502 if (PyErr_Occurred()) SWIG_fail;
8503 }
8504 if (obj2) {
8505 arg3 = (int) SWIG_AsInt(obj2);
8506 if (PyErr_Occurred()) SWIG_fail;
8507 }
8508 if (obj3) {
8509 arg4 = (bool) SWIG_AsBool(obj3);
8510 if (PyErr_Occurred()) SWIG_fail;
8511 }
8512 {
8513 PyThreadState* __tstate = wxPyBeginAllowThreads();
8514 result = (bool)(arg1)->InsertRows(arg2,arg3,arg4);
8515
8516 wxPyEndAllowThreads(__tstate);
8517 if (PyErr_Occurred()) SWIG_fail;
8518 }
8519 {
8520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8521 }
8522 return resultobj;
8523 fail:
8524 return NULL;
8525 }
8526
8527
8528 static PyObject *_wrap_Grid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8529 PyObject *resultobj;
8530 wxGrid *arg1 = (wxGrid *) 0 ;
8531 int arg2 = (int) 1 ;
8532 bool arg3 = (bool) True ;
8533 bool result;
8534 PyObject * obj0 = 0 ;
8535 PyObject * obj1 = 0 ;
8536 PyObject * obj2 = 0 ;
8537 char *kwnames[] = {
8538 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8539 };
8540
8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendRows",kwnames,&obj0,&obj1,&obj2)) goto fail;
8542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8544 if (obj1) {
8545 arg2 = (int) SWIG_AsInt(obj1);
8546 if (PyErr_Occurred()) SWIG_fail;
8547 }
8548 if (obj2) {
8549 arg3 = (bool) SWIG_AsBool(obj2);
8550 if (PyErr_Occurred()) SWIG_fail;
8551 }
8552 {
8553 PyThreadState* __tstate = wxPyBeginAllowThreads();
8554 result = (bool)(arg1)->AppendRows(arg2,arg3);
8555
8556 wxPyEndAllowThreads(__tstate);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 }
8559 {
8560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8561 }
8562 return resultobj;
8563 fail:
8564 return NULL;
8565 }
8566
8567
8568 static PyObject *_wrap_Grid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8569 PyObject *resultobj;
8570 wxGrid *arg1 = (wxGrid *) 0 ;
8571 int arg2 = (int) 0 ;
8572 int arg3 = (int) 1 ;
8573 bool arg4 = (bool) True ;
8574 bool result;
8575 PyObject * obj0 = 0 ;
8576 PyObject * obj1 = 0 ;
8577 PyObject * obj2 = 0 ;
8578 PyObject * obj3 = 0 ;
8579 char *kwnames[] = {
8580 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8581 };
8582
8583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteRows",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8586 if (obj1) {
8587 arg2 = (int) SWIG_AsInt(obj1);
8588 if (PyErr_Occurred()) SWIG_fail;
8589 }
8590 if (obj2) {
8591 arg3 = (int) SWIG_AsInt(obj2);
8592 if (PyErr_Occurred()) SWIG_fail;
8593 }
8594 if (obj3) {
8595 arg4 = (bool) SWIG_AsBool(obj3);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 {
8599 PyThreadState* __tstate = wxPyBeginAllowThreads();
8600 result = (bool)(arg1)->DeleteRows(arg2,arg3,arg4);
8601
8602 wxPyEndAllowThreads(__tstate);
8603 if (PyErr_Occurred()) SWIG_fail;
8604 }
8605 {
8606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8607 }
8608 return resultobj;
8609 fail:
8610 return NULL;
8611 }
8612
8613
8614 static PyObject *_wrap_Grid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8615 PyObject *resultobj;
8616 wxGrid *arg1 = (wxGrid *) 0 ;
8617 int arg2 = (int) 0 ;
8618 int arg3 = (int) 1 ;
8619 bool arg4 = (bool) True ;
8620 bool result;
8621 PyObject * obj0 = 0 ;
8622 PyObject * obj1 = 0 ;
8623 PyObject * obj2 = 0 ;
8624 PyObject * obj3 = 0 ;
8625 char *kwnames[] = {
8626 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8627 };
8628
8629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_InsertCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8632 if (obj1) {
8633 arg2 = (int) SWIG_AsInt(obj1);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
8636 if (obj2) {
8637 arg3 = (int) SWIG_AsInt(obj2);
8638 if (PyErr_Occurred()) SWIG_fail;
8639 }
8640 if (obj3) {
8641 arg4 = (bool) SWIG_AsBool(obj3);
8642 if (PyErr_Occurred()) SWIG_fail;
8643 }
8644 {
8645 PyThreadState* __tstate = wxPyBeginAllowThreads();
8646 result = (bool)(arg1)->InsertCols(arg2,arg3,arg4);
8647
8648 wxPyEndAllowThreads(__tstate);
8649 if (PyErr_Occurred()) SWIG_fail;
8650 }
8651 {
8652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8653 }
8654 return resultobj;
8655 fail:
8656 return NULL;
8657 }
8658
8659
8660 static PyObject *_wrap_Grid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8661 PyObject *resultobj;
8662 wxGrid *arg1 = (wxGrid *) 0 ;
8663 int arg2 = (int) 1 ;
8664 bool arg3 = (bool) True ;
8665 bool result;
8666 PyObject * obj0 = 0 ;
8667 PyObject * obj1 = 0 ;
8668 PyObject * obj2 = 0 ;
8669 char *kwnames[] = {
8670 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8671 };
8672
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Grid_AppendCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
8674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8676 if (obj1) {
8677 arg2 = (int) SWIG_AsInt(obj1);
8678 if (PyErr_Occurred()) SWIG_fail;
8679 }
8680 if (obj2) {
8681 arg3 = (bool) SWIG_AsBool(obj2);
8682 if (PyErr_Occurred()) SWIG_fail;
8683 }
8684 {
8685 PyThreadState* __tstate = wxPyBeginAllowThreads();
8686 result = (bool)(arg1)->AppendCols(arg2,arg3);
8687
8688 wxPyEndAllowThreads(__tstate);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 }
8691 {
8692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8693 }
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 static PyObject *_wrap_Grid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj;
8702 wxGrid *arg1 = (wxGrid *) 0 ;
8703 int arg2 = (int) 0 ;
8704 int arg3 = (int) 1 ;
8705 bool arg4 = (bool) True ;
8706 bool result;
8707 PyObject * obj0 = 0 ;
8708 PyObject * obj1 = 0 ;
8709 PyObject * obj2 = 0 ;
8710 PyObject * obj3 = 0 ;
8711 char *kwnames[] = {
8712 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8713 };
8714
8715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Grid_DeleteCols",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8718 if (obj1) {
8719 arg2 = (int) SWIG_AsInt(obj1);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 if (obj2) {
8723 arg3 = (int) SWIG_AsInt(obj2);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 if (obj3) {
8727 arg4 = (bool) SWIG_AsBool(obj3);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 {
8731 PyThreadState* __tstate = wxPyBeginAllowThreads();
8732 result = (bool)(arg1)->DeleteCols(arg2,arg3,arg4);
8733
8734 wxPyEndAllowThreads(__tstate);
8735 if (PyErr_Occurred()) SWIG_fail;
8736 }
8737 {
8738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8739 }
8740 return resultobj;
8741 fail:
8742 return NULL;
8743 }
8744
8745
8746 static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8747 PyObject *resultobj;
8748 wxGrid *arg1 = (wxGrid *) 0 ;
8749 wxDC *arg2 = 0 ;
8750 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
8751 PyObject * obj0 = 0 ;
8752 PyObject * obj1 = 0 ;
8753 PyObject * obj2 = 0 ;
8754 char *kwnames[] = {
8755 (char *) "self",(char *) "dc",(char *) "attr", NULL
8756 };
8757
8758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DrawCellHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
8759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8762 SWIG_POINTER_EXCEPTION | 0)) == -1)
8763 SWIG_fail;
8764 if (arg2 == NULL) {
8765 PyErr_SetString(PyExc_TypeError,"null reference");
8766 SWIG_fail;
8767 }
8768 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
8769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 (arg1)->DrawCellHighlight(*arg2,(wxGridCellAttr const *)arg3);
8773
8774 wxPyEndAllowThreads(__tstate);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 Py_INCREF(Py_None); resultobj = Py_None;
8778 return resultobj;
8779 fail:
8780 return NULL;
8781 }
8782
8783
8784 static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8785 PyObject *resultobj;
8786 wxGrid *arg1 = (wxGrid *) 0 ;
8787 wxDC *arg2 = 0 ;
8788 wxString *arg3 = 0 ;
8789 wxRect *arg4 = 0 ;
8790 int arg5 = (int) wxLEFT ;
8791 int arg6 = (int) wxTOP ;
8792 int arg7 = (int) wxHORIZONTAL ;
8793 bool temp3 = False ;
8794 wxRect temp4 ;
8795 PyObject * obj0 = 0 ;
8796 PyObject * obj1 = 0 ;
8797 PyObject * obj2 = 0 ;
8798 PyObject * obj3 = 0 ;
8799 PyObject * obj4 = 0 ;
8800 PyObject * obj5 = 0 ;
8801 PyObject * obj6 = 0 ;
8802 char *kwnames[] = {
8803 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8804 };
8805
8806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8809 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8810 SWIG_POINTER_EXCEPTION | 0)) == -1)
8811 SWIG_fail;
8812 if (arg2 == NULL) {
8813 PyErr_SetString(PyExc_TypeError,"null reference");
8814 SWIG_fail;
8815 }
8816 {
8817 arg3 = wxString_in_helper(obj2);
8818 if (arg3 == NULL) SWIG_fail;
8819 temp3 = True;
8820 }
8821 {
8822 arg4 = &temp4;
8823 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
8824 }
8825 if (obj4) {
8826 arg5 = (int) SWIG_AsInt(obj4);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 }
8829 if (obj5) {
8830 arg6 = (int) SWIG_AsInt(obj5);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 if (obj6) {
8834 arg7 = (int) SWIG_AsInt(obj6);
8835 if (PyErr_Occurred()) SWIG_fail;
8836 }
8837 {
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 (arg1)->DrawTextRectangle(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
8840
8841 wxPyEndAllowThreads(__tstate);
8842 if (PyErr_Occurred()) SWIG_fail;
8843 }
8844 Py_INCREF(Py_None); resultobj = Py_None;
8845 {
8846 if (temp3)
8847 delete arg3;
8848 }
8849 return resultobj;
8850 fail:
8851 {
8852 if (temp3)
8853 delete arg3;
8854 }
8855 return NULL;
8856 }
8857
8858
8859 static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8860 PyObject *resultobj;
8861 wxGrid *arg1 = (wxGrid *) 0 ;
8862 wxDC *arg2 = 0 ;
8863 wxArrayString *arg3 = 0 ;
8864 long *arg4 = (long *) 0 ;
8865 long *arg5 = (long *) 0 ;
8866 bool temp3 = False ;
8867 long temp4 ;
8868 long temp5 ;
8869 PyObject * obj0 = 0 ;
8870 PyObject * obj1 = 0 ;
8871 PyObject * obj2 = 0 ;
8872 char *kwnames[] = {
8873 (char *) "self",(char *) "dc",(char *) "lines", NULL
8874 };
8875
8876 arg4 = &temp4;
8877 arg5 = &temp5;
8878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetTextBoxSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
8879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8881 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8882 SWIG_POINTER_EXCEPTION | 0)) == -1)
8883 SWIG_fail;
8884 if (arg2 == NULL) {
8885 PyErr_SetString(PyExc_TypeError,"null reference");
8886 SWIG_fail;
8887 }
8888 {
8889 if (! PySequence_Check(obj2)) {
8890 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8891 SWIG_fail;
8892 }
8893 arg3 = new wxArrayString;
8894 temp3 = True;
8895 int i, len=PySequence_Length(obj2);
8896 for (i=0; i<len; i++) {
8897 PyObject* item = PySequence_GetItem(obj2, i);
8898 #if wxUSE_UNICODE
8899 PyObject* str = PyObject_Unicode(item);
8900 #else
8901 PyObject* str = PyObject_Str(item);
8902 #endif
8903 if (PyErr_Occurred()) SWIG_fail;
8904 arg3->Add(Py2wxString(str));
8905 Py_DECREF(item);
8906 Py_DECREF(str);
8907 }
8908 }
8909 {
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 (arg1)->GetTextBoxSize(*arg2,*arg3,arg4,arg5);
8912
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 Py_INCREF(Py_None); resultobj = Py_None;
8917 {
8918 PyObject *o = PyInt_FromLong((long) (*arg4));
8919 resultobj = t_output_helper(resultobj,o);
8920 }
8921 {
8922 PyObject *o = PyInt_FromLong((long) (*arg5));
8923 resultobj = t_output_helper(resultobj,o);
8924 }
8925 {
8926 if (temp3) delete arg3;
8927 }
8928 return resultobj;
8929 fail:
8930 {
8931 if (temp3) delete arg3;
8932 }
8933 return NULL;
8934 }
8935
8936
8937 static PyObject *_wrap_Grid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8938 PyObject *resultobj;
8939 wxGrid *arg1 = (wxGrid *) 0 ;
8940 PyObject * obj0 = 0 ;
8941 char *kwnames[] = {
8942 (char *) "self", NULL
8943 };
8944
8945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_BeginBatch",kwnames,&obj0)) goto fail;
8946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8948 {
8949 PyThreadState* __tstate = wxPyBeginAllowThreads();
8950 (arg1)->BeginBatch();
8951
8952 wxPyEndAllowThreads(__tstate);
8953 if (PyErr_Occurred()) SWIG_fail;
8954 }
8955 Py_INCREF(Py_None); resultobj = Py_None;
8956 return resultobj;
8957 fail:
8958 return NULL;
8959 }
8960
8961
8962 static PyObject *_wrap_Grid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8963 PyObject *resultobj;
8964 wxGrid *arg1 = (wxGrid *) 0 ;
8965 PyObject * obj0 = 0 ;
8966 char *kwnames[] = {
8967 (char *) "self", NULL
8968 };
8969
8970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_EndBatch",kwnames,&obj0)) goto fail;
8971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8973 {
8974 PyThreadState* __tstate = wxPyBeginAllowThreads();
8975 (arg1)->EndBatch();
8976
8977 wxPyEndAllowThreads(__tstate);
8978 if (PyErr_Occurred()) SWIG_fail;
8979 }
8980 Py_INCREF(Py_None); resultobj = Py_None;
8981 return resultobj;
8982 fail:
8983 return NULL;
8984 }
8985
8986
8987 static PyObject *_wrap_Grid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8988 PyObject *resultobj;
8989 wxGrid *arg1 = (wxGrid *) 0 ;
8990 int result;
8991 PyObject * obj0 = 0 ;
8992 char *kwnames[] = {
8993 (char *) "self", NULL
8994 };
8995
8996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetBatchCount",kwnames,&obj0)) goto fail;
8997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
8998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
9001 result = (int)(arg1)->GetBatchCount();
9002
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 resultobj = SWIG_FromInt((int)result);
9007 return resultobj;
9008 fail:
9009 return NULL;
9010 }
9011
9012
9013 static PyObject *_wrap_Grid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj;
9015 wxGrid *arg1 = (wxGrid *) 0 ;
9016 PyObject * obj0 = 0 ;
9017 char *kwnames[] = {
9018 (char *) "self", NULL
9019 };
9020
9021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ForceRefresh",kwnames,&obj0)) goto fail;
9022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9024 {
9025 PyThreadState* __tstate = wxPyBeginAllowThreads();
9026 (arg1)->ForceRefresh();
9027
9028 wxPyEndAllowThreads(__tstate);
9029 if (PyErr_Occurred()) SWIG_fail;
9030 }
9031 Py_INCREF(Py_None); resultobj = Py_None;
9032 return resultobj;
9033 fail:
9034 return NULL;
9035 }
9036
9037
9038 static PyObject *_wrap_Grid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9039 PyObject *resultobj;
9040 wxGrid *arg1 = (wxGrid *) 0 ;
9041 bool result;
9042 PyObject * obj0 = 0 ;
9043 char *kwnames[] = {
9044 (char *) "self", NULL
9045 };
9046
9047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsEditable",kwnames,&obj0)) goto fail;
9048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9050 {
9051 PyThreadState* __tstate = wxPyBeginAllowThreads();
9052 result = (bool)(arg1)->IsEditable();
9053
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
9057 {
9058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9059 }
9060 return resultobj;
9061 fail:
9062 return NULL;
9063 }
9064
9065
9066 static PyObject *_wrap_Grid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
9067 PyObject *resultobj;
9068 wxGrid *arg1 = (wxGrid *) 0 ;
9069 bool arg2 ;
9070 PyObject * obj0 = 0 ;
9071 PyObject * obj1 = 0 ;
9072 char *kwnames[] = {
9073 (char *) "self",(char *) "edit", NULL
9074 };
9075
9076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_EnableEditing",kwnames,&obj0,&obj1)) goto fail;
9077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9079 arg2 = (bool) SWIG_AsBool(obj1);
9080 if (PyErr_Occurred()) SWIG_fail;
9081 {
9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9083 (arg1)->EnableEditing(arg2);
9084
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 Py_INCREF(Py_None); resultobj = Py_None;
9089 return resultobj;
9090 fail:
9091 return NULL;
9092 }
9093
9094
9095 static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9096 PyObject *resultobj;
9097 wxGrid *arg1 = (wxGrid *) 0 ;
9098 bool arg2 = (bool) True ;
9099 PyObject * obj0 = 0 ;
9100 PyObject * obj1 = 0 ;
9101 char *kwnames[] = {
9102 (char *) "self",(char *) "enable", NULL
9103 };
9104
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableCellEditControl",kwnames,&obj0,&obj1)) goto fail;
9106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9108 if (obj1) {
9109 arg2 = (bool) SWIG_AsBool(obj1);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 }
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 (arg1)->EnableCellEditControl(arg2);
9115
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 Py_INCREF(Py_None); resultobj = Py_None;
9120 return resultobj;
9121 fail:
9122 return NULL;
9123 }
9124
9125
9126 static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9127 PyObject *resultobj;
9128 wxGrid *arg1 = (wxGrid *) 0 ;
9129 PyObject * obj0 = 0 ;
9130 char *kwnames[] = {
9131 (char *) "self", NULL
9132 };
9133
9134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableCellEditControl",kwnames,&obj0)) goto fail;
9135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 (arg1)->DisableCellEditControl();
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 Py_INCREF(Py_None); resultobj = Py_None;
9145 return resultobj;
9146 fail:
9147 return NULL;
9148 }
9149
9150
9151 static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj;
9153 wxGrid *arg1 = (wxGrid *) 0 ;
9154 bool result;
9155 PyObject * obj0 = 0 ;
9156 char *kwnames[] = {
9157 (char *) "self", NULL
9158 };
9159
9160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanEnableCellControl",kwnames,&obj0)) goto fail;
9161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 result = (bool)((wxGrid const *)arg1)->CanEnableCellControl();
9166
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 {
9171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9172 }
9173 return resultobj;
9174 fail:
9175 return NULL;
9176 }
9177
9178
9179 static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9180 PyObject *resultobj;
9181 wxGrid *arg1 = (wxGrid *) 0 ;
9182 bool result;
9183 PyObject * obj0 = 0 ;
9184 char *kwnames[] = {
9185 (char *) "self", NULL
9186 };
9187
9188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlEnabled",kwnames,&obj0)) goto fail;
9189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9191 {
9192 PyThreadState* __tstate = wxPyBeginAllowThreads();
9193 result = (bool)((wxGrid const *)arg1)->IsCellEditControlEnabled();
9194
9195 wxPyEndAllowThreads(__tstate);
9196 if (PyErr_Occurred()) SWIG_fail;
9197 }
9198 {
9199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9200 }
9201 return resultobj;
9202 fail:
9203 return NULL;
9204 }
9205
9206
9207 static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
9208 PyObject *resultobj;
9209 wxGrid *arg1 = (wxGrid *) 0 ;
9210 bool result;
9211 PyObject * obj0 = 0 ;
9212 char *kwnames[] = {
9213 (char *) "self", NULL
9214 };
9215
9216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCellEditControlShown",kwnames,&obj0)) goto fail;
9217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9219 {
9220 PyThreadState* __tstate = wxPyBeginAllowThreads();
9221 result = (bool)((wxGrid const *)arg1)->IsCellEditControlShown();
9222
9223 wxPyEndAllowThreads(__tstate);
9224 if (PyErr_Occurred()) SWIG_fail;
9225 }
9226 {
9227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9228 }
9229 return resultobj;
9230 fail:
9231 return NULL;
9232 }
9233
9234
9235 static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
9236 PyObject *resultobj;
9237 wxGrid *arg1 = (wxGrid *) 0 ;
9238 bool result;
9239 PyObject * obj0 = 0 ;
9240 char *kwnames[] = {
9241 (char *) "self", NULL
9242 };
9243
9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames,&obj0)) goto fail;
9245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9247 {
9248 PyThreadState* __tstate = wxPyBeginAllowThreads();
9249 result = (bool)((wxGrid const *)arg1)->IsCurrentCellReadOnly();
9250
9251 wxPyEndAllowThreads(__tstate);
9252 if (PyErr_Occurred()) SWIG_fail;
9253 }
9254 {
9255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9256 }
9257 return resultobj;
9258 fail:
9259 return NULL;
9260 }
9261
9262
9263 static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj;
9265 wxGrid *arg1 = (wxGrid *) 0 ;
9266 PyObject * obj0 = 0 ;
9267 char *kwnames[] = {
9268 (char *) "self", NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ShowCellEditControl",kwnames,&obj0)) goto fail;
9272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9274 {
9275 PyThreadState* __tstate = wxPyBeginAllowThreads();
9276 (arg1)->ShowCellEditControl();
9277
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 Py_INCREF(Py_None); resultobj = Py_None;
9282 return resultobj;
9283 fail:
9284 return NULL;
9285 }
9286
9287
9288 static PyObject *_wrap_Grid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9289 PyObject *resultobj;
9290 wxGrid *arg1 = (wxGrid *) 0 ;
9291 PyObject * obj0 = 0 ;
9292 char *kwnames[] = {
9293 (char *) "self", NULL
9294 };
9295
9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_HideCellEditControl",kwnames,&obj0)) goto fail;
9297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 (arg1)->HideCellEditControl();
9302
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 Py_INCREF(Py_None); resultobj = Py_None;
9307 return resultobj;
9308 fail:
9309 return NULL;
9310 }
9311
9312
9313 static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9314 PyObject *resultobj;
9315 wxGrid *arg1 = (wxGrid *) 0 ;
9316 PyObject * obj0 = 0 ;
9317 char *kwnames[] = {
9318 (char *) "self", NULL
9319 };
9320
9321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SaveEditControlValue",kwnames,&obj0)) goto fail;
9322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9324 {
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
9326 (arg1)->SaveEditControlValue();
9327
9328 wxPyEndAllowThreads(__tstate);
9329 if (PyErr_Occurred()) SWIG_fail;
9330 }
9331 Py_INCREF(Py_None); resultobj = Py_None;
9332 return resultobj;
9333 fail:
9334 return NULL;
9335 }
9336
9337
9338 static PyObject *_wrap_Grid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
9339 PyObject *resultobj;
9340 wxGrid *arg1 = (wxGrid *) 0 ;
9341 int arg2 ;
9342 int arg3 ;
9343 wxGridCellCoords result;
9344 PyObject * obj0 = 0 ;
9345 PyObject * obj1 = 0 ;
9346 PyObject * obj2 = 0 ;
9347 char *kwnames[] = {
9348 (char *) "self",(char *) "x",(char *) "y", NULL
9349 };
9350
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_XYToCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
9352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9354 arg2 = (int) SWIG_AsInt(obj1);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 arg3 = (int) SWIG_AsInt(obj2);
9357 if (PyErr_Occurred()) SWIG_fail;
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 result = wxGrid_XYToCell(arg1,arg2,arg3);
9361
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
9365 {
9366 wxGridCellCoords * resultptr;
9367 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
9368 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
9369 }
9370 return resultobj;
9371 fail:
9372 return NULL;
9373 }
9374
9375
9376 static PyObject *_wrap_Grid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9377 PyObject *resultobj;
9378 wxGrid *arg1 = (wxGrid *) 0 ;
9379 int arg2 ;
9380 int result;
9381 PyObject * obj0 = 0 ;
9382 PyObject * obj1 = 0 ;
9383 char *kwnames[] = {
9384 (char *) "self",(char *) "y", NULL
9385 };
9386
9387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToRow",kwnames,&obj0,&obj1)) goto fail;
9388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9390 arg2 = (int) SWIG_AsInt(obj1);
9391 if (PyErr_Occurred()) SWIG_fail;
9392 {
9393 PyThreadState* __tstate = wxPyBeginAllowThreads();
9394 result = (int)(arg1)->YToRow(arg2);
9395
9396 wxPyEndAllowThreads(__tstate);
9397 if (PyErr_Occurred()) SWIG_fail;
9398 }
9399 resultobj = SWIG_FromInt((int)result);
9400 return resultobj;
9401 fail:
9402 return NULL;
9403 }
9404
9405
9406 static PyObject *_wrap_Grid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9407 PyObject *resultobj;
9408 wxGrid *arg1 = (wxGrid *) 0 ;
9409 int arg2 ;
9410 int result;
9411 PyObject * obj0 = 0 ;
9412 PyObject * obj1 = 0 ;
9413 char *kwnames[] = {
9414 (char *) "self",(char *) "x", NULL
9415 };
9416
9417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToCol",kwnames,&obj0,&obj1)) goto fail;
9418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9420 arg2 = (int) SWIG_AsInt(obj1);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 result = (int)(arg1)->XToCol(arg2);
9425
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 resultobj = SWIG_FromInt((int)result);
9430 return resultobj;
9431 fail:
9432 return NULL;
9433 }
9434
9435
9436 static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9437 PyObject *resultobj;
9438 wxGrid *arg1 = (wxGrid *) 0 ;
9439 int arg2 ;
9440 int result;
9441 PyObject * obj0 = 0 ;
9442 PyObject * obj1 = 0 ;
9443 char *kwnames[] = {
9444 (char *) "self",(char *) "y", NULL
9445 };
9446
9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_YToEdgeOfRow",kwnames,&obj0,&obj1)) goto fail;
9448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9450 arg2 = (int) SWIG_AsInt(obj1);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 result = (int)(arg1)->YToEdgeOfRow(arg2);
9455
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 resultobj = SWIG_FromInt((int)result);
9460 return resultobj;
9461 fail:
9462 return NULL;
9463 }
9464
9465
9466 static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9467 PyObject *resultobj;
9468 wxGrid *arg1 = (wxGrid *) 0 ;
9469 int arg2 ;
9470 int result;
9471 PyObject * obj0 = 0 ;
9472 PyObject * obj1 = 0 ;
9473 char *kwnames[] = {
9474 (char *) "self",(char *) "x", NULL
9475 };
9476
9477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_XToEdgeOfCol",kwnames,&obj0,&obj1)) goto fail;
9478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9480 arg2 = (int) SWIG_AsInt(obj1);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 {
9483 PyThreadState* __tstate = wxPyBeginAllowThreads();
9484 result = (int)(arg1)->XToEdgeOfCol(arg2);
9485
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 }
9489 resultobj = SWIG_FromInt((int)result);
9490 return resultobj;
9491 fail:
9492 return NULL;
9493 }
9494
9495
9496 static PyObject *_wrap_Grid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9497 PyObject *resultobj;
9498 wxGrid *arg1 = (wxGrid *) 0 ;
9499 int arg2 ;
9500 int arg3 ;
9501 wxRect result;
9502 PyObject * obj0 = 0 ;
9503 PyObject * obj1 = 0 ;
9504 PyObject * obj2 = 0 ;
9505 char *kwnames[] = {
9506 (char *) "self",(char *) "row",(char *) "col", NULL
9507 };
9508
9509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_CellToRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
9510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9512 arg2 = (int) SWIG_AsInt(obj1);
9513 if (PyErr_Occurred()) SWIG_fail;
9514 arg3 = (int) SWIG_AsInt(obj2);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 {
9517 PyThreadState* __tstate = wxPyBeginAllowThreads();
9518 result = (arg1)->CellToRect(arg2,arg3);
9519
9520 wxPyEndAllowThreads(__tstate);
9521 if (PyErr_Occurred()) SWIG_fail;
9522 }
9523 {
9524 wxRect * resultptr;
9525 resultptr = new wxRect((wxRect &) result);
9526 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9527 }
9528 return resultobj;
9529 fail:
9530 return NULL;
9531 }
9532
9533
9534 static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9535 PyObject *resultobj;
9536 wxGrid *arg1 = (wxGrid *) 0 ;
9537 int result;
9538 PyObject * obj0 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorRow",kwnames,&obj0)) goto fail;
9544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9546 {
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
9548 result = (int)(arg1)->GetGridCursorRow();
9549
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
9553 resultobj = SWIG_FromInt((int)result);
9554 return resultobj;
9555 fail:
9556 return NULL;
9557 }
9558
9559
9560 static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9561 PyObject *resultobj;
9562 wxGrid *arg1 = (wxGrid *) 0 ;
9563 int result;
9564 PyObject * obj0 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCursorCol",kwnames,&obj0)) goto fail;
9570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 result = (int)(arg1)->GetGridCursorCol();
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
9579 resultobj = SWIG_FromInt((int)result);
9580 return resultobj;
9581 fail:
9582 return NULL;
9583 }
9584
9585
9586 static PyObject *_wrap_Grid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9587 PyObject *resultobj;
9588 wxGrid *arg1 = (wxGrid *) 0 ;
9589 int arg2 ;
9590 int arg3 ;
9591 bool arg4 = (bool) True ;
9592 bool result;
9593 PyObject * obj0 = 0 ;
9594 PyObject * obj1 = 0 ;
9595 PyObject * obj2 = 0 ;
9596 PyObject * obj3 = 0 ;
9597 char *kwnames[] = {
9598 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9599 };
9600
9601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_IsVisible",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9604 arg2 = (int) SWIG_AsInt(obj1);
9605 if (PyErr_Occurred()) SWIG_fail;
9606 arg3 = (int) SWIG_AsInt(obj2);
9607 if (PyErr_Occurred()) SWIG_fail;
9608 if (obj3) {
9609 arg4 = (bool) SWIG_AsBool(obj3);
9610 if (PyErr_Occurred()) SWIG_fail;
9611 }
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 result = (bool)(arg1)->IsVisible(arg2,arg3,arg4);
9615
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 {
9620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9621 }
9622 return resultobj;
9623 fail:
9624 return NULL;
9625 }
9626
9627
9628 static PyObject *_wrap_Grid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9629 PyObject *resultobj;
9630 wxGrid *arg1 = (wxGrid *) 0 ;
9631 int arg2 ;
9632 int arg3 ;
9633 PyObject * obj0 = 0 ;
9634 PyObject * obj1 = 0 ;
9635 PyObject * obj2 = 0 ;
9636 char *kwnames[] = {
9637 (char *) "self",(char *) "row",(char *) "col", NULL
9638 };
9639
9640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_MakeCellVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
9641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9643 arg2 = (int) SWIG_AsInt(obj1);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 arg3 = (int) SWIG_AsInt(obj2);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 {
9648 PyThreadState* __tstate = wxPyBeginAllowThreads();
9649 (arg1)->MakeCellVisible(arg2,arg3);
9650
9651 wxPyEndAllowThreads(__tstate);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 }
9654 Py_INCREF(Py_None); resultobj = Py_None;
9655 return resultobj;
9656 fail:
9657 return NULL;
9658 }
9659
9660
9661 static PyObject *_wrap_Grid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9662 PyObject *resultobj;
9663 wxGrid *arg1 = (wxGrid *) 0 ;
9664 int arg2 ;
9665 int arg3 ;
9666 PyObject * obj0 = 0 ;
9667 PyObject * obj1 = 0 ;
9668 PyObject * obj2 = 0 ;
9669 char *kwnames[] = {
9670 (char *) "self",(char *) "row",(char *) "col", NULL
9671 };
9672
9673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetGridCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
9674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9676 arg2 = (int) SWIG_AsInt(obj1);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 arg3 = (int) SWIG_AsInt(obj2);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
9682 (arg1)->SetGridCursor(arg2,arg3);
9683
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 Py_INCREF(Py_None); resultobj = Py_None;
9688 return resultobj;
9689 fail:
9690 return NULL;
9691 }
9692
9693
9694 static PyObject *_wrap_Grid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj;
9696 wxGrid *arg1 = (wxGrid *) 0 ;
9697 bool arg2 ;
9698 bool result;
9699 PyObject * obj0 = 0 ;
9700 PyObject * obj1 = 0 ;
9701 char *kwnames[] = {
9702 (char *) "self",(char *) "expandSelection", NULL
9703 };
9704
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUp",kwnames,&obj0,&obj1)) goto fail;
9706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9708 arg2 = (bool) SWIG_AsBool(obj1);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 {
9711 PyThreadState* __tstate = wxPyBeginAllowThreads();
9712 result = (bool)(arg1)->MoveCursorUp(arg2);
9713
9714 wxPyEndAllowThreads(__tstate);
9715 if (PyErr_Occurred()) SWIG_fail;
9716 }
9717 {
9718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9719 }
9720 return resultobj;
9721 fail:
9722 return NULL;
9723 }
9724
9725
9726 static PyObject *_wrap_Grid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9727 PyObject *resultobj;
9728 wxGrid *arg1 = (wxGrid *) 0 ;
9729 bool arg2 ;
9730 bool result;
9731 PyObject * obj0 = 0 ;
9732 PyObject * obj1 = 0 ;
9733 char *kwnames[] = {
9734 (char *) "self",(char *) "expandSelection", NULL
9735 };
9736
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDown",kwnames,&obj0,&obj1)) goto fail;
9738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9740 arg2 = (bool) SWIG_AsBool(obj1);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 result = (bool)(arg1)->MoveCursorDown(arg2);
9745
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
9749 {
9750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9751 }
9752 return resultobj;
9753 fail:
9754 return NULL;
9755 }
9756
9757
9758 static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9759 PyObject *resultobj;
9760 wxGrid *arg1 = (wxGrid *) 0 ;
9761 bool arg2 ;
9762 bool result;
9763 PyObject * obj0 = 0 ;
9764 PyObject * obj1 = 0 ;
9765 char *kwnames[] = {
9766 (char *) "self",(char *) "expandSelection", NULL
9767 };
9768
9769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeft",kwnames,&obj0,&obj1)) goto fail;
9770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9772 arg2 = (bool) SWIG_AsBool(obj1);
9773 if (PyErr_Occurred()) SWIG_fail;
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
9776 result = (bool)(arg1)->MoveCursorLeft(arg2);
9777
9778 wxPyEndAllowThreads(__tstate);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
9781 {
9782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9783 }
9784 return resultobj;
9785 fail:
9786 return NULL;
9787 }
9788
9789
9790 static PyObject *_wrap_Grid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9791 PyObject *resultobj;
9792 wxGrid *arg1 = (wxGrid *) 0 ;
9793 bool arg2 ;
9794 bool result;
9795 PyObject * obj0 = 0 ;
9796 PyObject * obj1 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "self",(char *) "expandSelection", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRight",kwnames,&obj0,&obj1)) goto fail;
9802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9804 arg2 = (bool) SWIG_AsBool(obj1);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 {
9807 PyThreadState* __tstate = wxPyBeginAllowThreads();
9808 result = (bool)(arg1)->MoveCursorRight(arg2);
9809
9810 wxPyEndAllowThreads(__tstate);
9811 if (PyErr_Occurred()) SWIG_fail;
9812 }
9813 {
9814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9815 }
9816 return resultobj;
9817 fail:
9818 return NULL;
9819 }
9820
9821
9822 static PyObject *_wrap_Grid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9823 PyObject *resultobj;
9824 wxGrid *arg1 = (wxGrid *) 0 ;
9825 bool result;
9826 PyObject * obj0 = 0 ;
9827 char *kwnames[] = {
9828 (char *) "self", NULL
9829 };
9830
9831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageDown",kwnames,&obj0)) goto fail;
9832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9834 {
9835 PyThreadState* __tstate = wxPyBeginAllowThreads();
9836 result = (bool)(arg1)->MovePageDown();
9837
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 }
9841 {
9842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9843 }
9844 return resultobj;
9845 fail:
9846 return NULL;
9847 }
9848
9849
9850 static PyObject *_wrap_Grid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9851 PyObject *resultobj;
9852 wxGrid *arg1 = (wxGrid *) 0 ;
9853 bool result;
9854 PyObject * obj0 = 0 ;
9855 char *kwnames[] = {
9856 (char *) "self", NULL
9857 };
9858
9859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_MovePageUp",kwnames,&obj0)) goto fail;
9860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9862 {
9863 PyThreadState* __tstate = wxPyBeginAllowThreads();
9864 result = (bool)(arg1)->MovePageUp();
9865
9866 wxPyEndAllowThreads(__tstate);
9867 if (PyErr_Occurred()) SWIG_fail;
9868 }
9869 {
9870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9871 }
9872 return resultobj;
9873 fail:
9874 return NULL;
9875 }
9876
9877
9878 static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9879 PyObject *resultobj;
9880 wxGrid *arg1 = (wxGrid *) 0 ;
9881 bool arg2 ;
9882 bool result;
9883 PyObject * obj0 = 0 ;
9884 PyObject * obj1 = 0 ;
9885 char *kwnames[] = {
9886 (char *) "self",(char *) "expandSelection", NULL
9887 };
9888
9889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorUpBlock",kwnames,&obj0,&obj1)) goto fail;
9890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9892 arg2 = (bool) SWIG_AsBool(obj1);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 {
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
9896 result = (bool)(arg1)->MoveCursorUpBlock(arg2);
9897
9898 wxPyEndAllowThreads(__tstate);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
9901 {
9902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9903 }
9904 return resultobj;
9905 fail:
9906 return NULL;
9907 }
9908
9909
9910 static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9911 PyObject *resultobj;
9912 wxGrid *arg1 = (wxGrid *) 0 ;
9913 bool arg2 ;
9914 bool result;
9915 PyObject * obj0 = 0 ;
9916 PyObject * obj1 = 0 ;
9917 char *kwnames[] = {
9918 (char *) "self",(char *) "expandSelection", NULL
9919 };
9920
9921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorDownBlock",kwnames,&obj0,&obj1)) goto fail;
9922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9924 arg2 = (bool) SWIG_AsBool(obj1);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 {
9927 PyThreadState* __tstate = wxPyBeginAllowThreads();
9928 result = (bool)(arg1)->MoveCursorDownBlock(arg2);
9929
9930 wxPyEndAllowThreads(__tstate);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 }
9933 {
9934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9935 }
9936 return resultobj;
9937 fail:
9938 return NULL;
9939 }
9940
9941
9942 static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9943 PyObject *resultobj;
9944 wxGrid *arg1 = (wxGrid *) 0 ;
9945 bool arg2 ;
9946 bool result;
9947 PyObject * obj0 = 0 ;
9948 PyObject * obj1 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self",(char *) "expandSelection", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames,&obj0,&obj1)) goto fail;
9954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9956 arg2 = (bool) SWIG_AsBool(obj1);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 {
9959 PyThreadState* __tstate = wxPyBeginAllowThreads();
9960 result = (bool)(arg1)->MoveCursorLeftBlock(arg2);
9961
9962 wxPyEndAllowThreads(__tstate);
9963 if (PyErr_Occurred()) SWIG_fail;
9964 }
9965 {
9966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9967 }
9968 return resultobj;
9969 fail:
9970 return NULL;
9971 }
9972
9973
9974 static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9975 PyObject *resultobj;
9976 wxGrid *arg1 = (wxGrid *) 0 ;
9977 bool arg2 ;
9978 bool result;
9979 PyObject * obj0 = 0 ;
9980 PyObject * obj1 = 0 ;
9981 char *kwnames[] = {
9982 (char *) "self",(char *) "expandSelection", NULL
9983 };
9984
9985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_MoveCursorRightBlock",kwnames,&obj0,&obj1)) goto fail;
9986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
9987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9988 arg2 = (bool) SWIG_AsBool(obj1);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 {
9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
9992 result = (bool)(arg1)->MoveCursorRightBlock(arg2);
9993
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
9997 {
9998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9999 }
10000 return resultobj;
10001 fail:
10002 return NULL;
10003 }
10004
10005
10006 static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj;
10008 wxGrid *arg1 = (wxGrid *) 0 ;
10009 int result;
10010 PyObject * obj0 = 0 ;
10011 char *kwnames[] = {
10012 (char *) "self", NULL
10013 };
10014
10015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames,&obj0)) goto fail;
10016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10018 {
10019 PyThreadState* __tstate = wxPyBeginAllowThreads();
10020 result = (int)(arg1)->GetDefaultRowLabelSize();
10021
10022 wxPyEndAllowThreads(__tstate);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 }
10025 resultobj = SWIG_FromInt((int)result);
10026 return resultobj;
10027 fail:
10028 return NULL;
10029 }
10030
10031
10032 static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10033 PyObject *resultobj;
10034 wxGrid *arg1 = (wxGrid *) 0 ;
10035 int result;
10036 PyObject * obj0 = 0 ;
10037 char *kwnames[] = {
10038 (char *) "self", NULL
10039 };
10040
10041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelSize",kwnames,&obj0)) goto fail;
10042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 result = (int)(arg1)->GetRowLabelSize();
10047
10048 wxPyEndAllowThreads(__tstate);
10049 if (PyErr_Occurred()) SWIG_fail;
10050 }
10051 resultobj = SWIG_FromInt((int)result);
10052 return resultobj;
10053 fail:
10054 return NULL;
10055 }
10056
10057
10058 static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10059 PyObject *resultobj;
10060 wxGrid *arg1 = (wxGrid *) 0 ;
10061 int result;
10062 PyObject * obj0 = 0 ;
10063 char *kwnames[] = {
10064 (char *) "self", NULL
10065 };
10066
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColLabelSize",kwnames,&obj0)) goto fail;
10068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
10072 result = (int)(arg1)->GetDefaultColLabelSize();
10073
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 resultobj = SWIG_FromInt((int)result);
10078 return resultobj;
10079 fail:
10080 return NULL;
10081 }
10082
10083
10084 static PyObject *_wrap_Grid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10085 PyObject *resultobj;
10086 wxGrid *arg1 = (wxGrid *) 0 ;
10087 int result;
10088 PyObject * obj0 = 0 ;
10089 char *kwnames[] = {
10090 (char *) "self", NULL
10091 };
10092
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelSize",kwnames,&obj0)) goto fail;
10094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10096 {
10097 PyThreadState* __tstate = wxPyBeginAllowThreads();
10098 result = (int)(arg1)->GetColLabelSize();
10099
10100 wxPyEndAllowThreads(__tstate);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 }
10103 resultobj = SWIG_FromInt((int)result);
10104 return resultobj;
10105 fail:
10106 return NULL;
10107 }
10108
10109
10110 static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10111 PyObject *resultobj;
10112 wxGrid *arg1 = (wxGrid *) 0 ;
10113 wxColour result;
10114 PyObject * obj0 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "self", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelBackgroundColour",kwnames,&obj0)) goto fail;
10120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 result = (arg1)->GetLabelBackgroundColour();
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 {
10130 wxColour * resultptr;
10131 resultptr = new wxColour((wxColour &) result);
10132 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10133 }
10134 return resultobj;
10135 fail:
10136 return NULL;
10137 }
10138
10139
10140 static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10141 PyObject *resultobj;
10142 wxGrid *arg1 = (wxGrid *) 0 ;
10143 wxColour result;
10144 PyObject * obj0 = 0 ;
10145 char *kwnames[] = {
10146 (char *) "self", NULL
10147 };
10148
10149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelTextColour",kwnames,&obj0)) goto fail;
10150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10152 {
10153 PyThreadState* __tstate = wxPyBeginAllowThreads();
10154 result = (arg1)->GetLabelTextColour();
10155
10156 wxPyEndAllowThreads(__tstate);
10157 if (PyErr_Occurred()) SWIG_fail;
10158 }
10159 {
10160 wxColour * resultptr;
10161 resultptr = new wxColour((wxColour &) result);
10162 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10163 }
10164 return resultobj;
10165 fail:
10166 return NULL;
10167 }
10168
10169
10170 static PyObject *_wrap_Grid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10171 PyObject *resultobj;
10172 wxGrid *arg1 = (wxGrid *) 0 ;
10173 wxFont result;
10174 PyObject * obj0 = 0 ;
10175 char *kwnames[] = {
10176 (char *) "self", NULL
10177 };
10178
10179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetLabelFont",kwnames,&obj0)) goto fail;
10180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10182 {
10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
10184 result = (arg1)->GetLabelFont();
10185
10186 wxPyEndAllowThreads(__tstate);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 {
10190 wxFont * resultptr;
10191 resultptr = new wxFont((wxFont &) result);
10192 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
10193 }
10194 return resultobj;
10195 fail:
10196 return NULL;
10197 }
10198
10199
10200 static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10201 PyObject *resultobj;
10202 wxGrid *arg1 = (wxGrid *) 0 ;
10203 int *arg2 = (int *) 0 ;
10204 int *arg3 = (int *) 0 ;
10205 int temp2 ;
10206 int temp3 ;
10207 PyObject * obj0 = 0 ;
10208 char *kwnames[] = {
10209 (char *) "self", NULL
10210 };
10211
10212 arg2 = &temp2;
10213 arg3 = &temp3;
10214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowLabelAlignment",kwnames,&obj0)) goto fail;
10215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10217 {
10218 PyThreadState* __tstate = wxPyBeginAllowThreads();
10219 (arg1)->GetRowLabelAlignment(arg2,arg3);
10220
10221 wxPyEndAllowThreads(__tstate);
10222 if (PyErr_Occurred()) SWIG_fail;
10223 }
10224 Py_INCREF(Py_None); resultobj = Py_None;
10225 {
10226 PyObject *o = PyInt_FromLong((long) (*arg2));
10227 resultobj = t_output_helper(resultobj,o);
10228 }
10229 {
10230 PyObject *o = PyInt_FromLong((long) (*arg3));
10231 resultobj = t_output_helper(resultobj,o);
10232 }
10233 return resultobj;
10234 fail:
10235 return NULL;
10236 }
10237
10238
10239 static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10240 PyObject *resultobj;
10241 wxGrid *arg1 = (wxGrid *) 0 ;
10242 int *arg2 = (int *) 0 ;
10243 int *arg3 = (int *) 0 ;
10244 int temp2 ;
10245 int temp3 ;
10246 PyObject * obj0 = 0 ;
10247 char *kwnames[] = {
10248 (char *) "self", NULL
10249 };
10250
10251 arg2 = &temp2;
10252 arg3 = &temp3;
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelAlignment",kwnames,&obj0)) goto fail;
10254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 (arg1)->GetColLabelAlignment(arg2,arg3);
10259
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) SWIG_fail;
10262 }
10263 Py_INCREF(Py_None); resultobj = Py_None;
10264 {
10265 PyObject *o = PyInt_FromLong((long) (*arg2));
10266 resultobj = t_output_helper(resultobj,o);
10267 }
10268 {
10269 PyObject *o = PyInt_FromLong((long) (*arg3));
10270 resultobj = t_output_helper(resultobj,o);
10271 }
10272 return resultobj;
10273 fail:
10274 return NULL;
10275 }
10276
10277
10278 static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj;
10280 wxGrid *arg1 = (wxGrid *) 0 ;
10281 int result;
10282 PyObject * obj0 = 0 ;
10283 char *kwnames[] = {
10284 (char *) "self", NULL
10285 };
10286
10287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColLabelTextOrientation",kwnames,&obj0)) goto fail;
10288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10290 {
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 result = (int)(arg1)->GetColLabelTextOrientation();
10293
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
10297 resultobj = SWIG_FromInt((int)result);
10298 return resultobj;
10299 fail:
10300 return NULL;
10301 }
10302
10303
10304 static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10305 PyObject *resultobj;
10306 wxGrid *arg1 = (wxGrid *) 0 ;
10307 int arg2 ;
10308 wxString result;
10309 PyObject * obj0 = 0 ;
10310 PyObject * obj1 = 0 ;
10311 char *kwnames[] = {
10312 (char *) "self",(char *) "row", NULL
10313 };
10314
10315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowLabelValue",kwnames,&obj0,&obj1)) goto fail;
10316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10318 arg2 = (int) SWIG_AsInt(obj1);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 {
10321 PyThreadState* __tstate = wxPyBeginAllowThreads();
10322 result = (arg1)->GetRowLabelValue(arg2);
10323
10324 wxPyEndAllowThreads(__tstate);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 }
10327 {
10328 #if wxUSE_UNICODE
10329 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10330 #else
10331 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10332 #endif
10333 }
10334 return resultobj;
10335 fail:
10336 return NULL;
10337 }
10338
10339
10340 static PyObject *_wrap_Grid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10341 PyObject *resultobj;
10342 wxGrid *arg1 = (wxGrid *) 0 ;
10343 int arg2 ;
10344 wxString result;
10345 PyObject * obj0 = 0 ;
10346 PyObject * obj1 = 0 ;
10347 char *kwnames[] = {
10348 (char *) "self",(char *) "col", NULL
10349 };
10350
10351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColLabelValue",kwnames,&obj0,&obj1)) goto fail;
10352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10354 arg2 = (int) SWIG_AsInt(obj1);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 result = (arg1)->GetColLabelValue(arg2);
10359
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 {
10364 #if wxUSE_UNICODE
10365 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10366 #else
10367 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10368 #endif
10369 }
10370 return resultobj;
10371 fail:
10372 return NULL;
10373 }
10374
10375
10376 static PyObject *_wrap_Grid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10377 PyObject *resultobj;
10378 wxGrid *arg1 = (wxGrid *) 0 ;
10379 wxColour result;
10380 PyObject * obj0 = 0 ;
10381 char *kwnames[] = {
10382 (char *) "self", NULL
10383 };
10384
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridLineColour",kwnames,&obj0)) goto fail;
10386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10388 {
10389 PyThreadState* __tstate = wxPyBeginAllowThreads();
10390 result = (arg1)->GetGridLineColour();
10391
10392 wxPyEndAllowThreads(__tstate);
10393 if (PyErr_Occurred()) SWIG_fail;
10394 }
10395 {
10396 wxColour * resultptr;
10397 resultptr = new wxColour((wxColour &) result);
10398 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10399 }
10400 return resultobj;
10401 fail:
10402 return NULL;
10403 }
10404
10405
10406 static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10407 PyObject *resultobj;
10408 wxGrid *arg1 = (wxGrid *) 0 ;
10409 wxColour result;
10410 PyObject * obj0 = 0 ;
10411 char *kwnames[] = {
10412 (char *) "self", NULL
10413 };
10414
10415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightColour",kwnames,&obj0)) goto fail;
10416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10418 {
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 result = (arg1)->GetCellHighlightColour();
10421
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) SWIG_fail;
10424 }
10425 {
10426 wxColour * resultptr;
10427 resultptr = new wxColour((wxColour &) result);
10428 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10429 }
10430 return resultobj;
10431 fail:
10432 return NULL;
10433 }
10434
10435
10436 static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10437 PyObject *resultobj;
10438 wxGrid *arg1 = (wxGrid *) 0 ;
10439 int result;
10440 PyObject * obj0 = 0 ;
10441 char *kwnames[] = {
10442 (char *) "self", NULL
10443 };
10444
10445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames,&obj0)) goto fail;
10446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10448 {
10449 PyThreadState* __tstate = wxPyBeginAllowThreads();
10450 result = (int)(arg1)->GetCellHighlightPenWidth();
10451
10452 wxPyEndAllowThreads(__tstate);
10453 if (PyErr_Occurred()) SWIG_fail;
10454 }
10455 resultobj = SWIG_FromInt((int)result);
10456 return resultobj;
10457 fail:
10458 return NULL;
10459 }
10460
10461
10462 static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10463 PyObject *resultobj;
10464 wxGrid *arg1 = (wxGrid *) 0 ;
10465 int result;
10466 PyObject * obj0 = 0 ;
10467 char *kwnames[] = {
10468 (char *) "self", NULL
10469 };
10470
10471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames,&obj0)) goto fail;
10472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 result = (int)(arg1)->GetCellHighlightROPenWidth();
10477
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
10481 resultobj = SWIG_FromInt((int)result);
10482 return resultobj;
10483 fail:
10484 return NULL;
10485 }
10486
10487
10488 static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10489 PyObject *resultobj;
10490 wxGrid *arg1 = (wxGrid *) 0 ;
10491 int arg2 ;
10492 PyObject * obj0 = 0 ;
10493 PyObject * obj1 = 0 ;
10494 char *kwnames[] = {
10495 (char *) "self",(char *) "width", NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
10499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10501 arg2 = (int) SWIG_AsInt(obj1);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 {
10504 PyThreadState* __tstate = wxPyBeginAllowThreads();
10505 (arg1)->SetRowLabelSize(arg2);
10506
10507 wxPyEndAllowThreads(__tstate);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 }
10510 Py_INCREF(Py_None); resultobj = Py_None;
10511 return resultobj;
10512 fail:
10513 return NULL;
10514 }
10515
10516
10517 static PyObject *_wrap_Grid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10518 PyObject *resultobj;
10519 wxGrid *arg1 = (wxGrid *) 0 ;
10520 int arg2 ;
10521 PyObject * obj0 = 0 ;
10522 PyObject * obj1 = 0 ;
10523 char *kwnames[] = {
10524 (char *) "self",(char *) "height", NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelSize",kwnames,&obj0,&obj1)) goto fail;
10528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10530 arg2 = (int) SWIG_AsInt(obj1);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 (arg1)->SetColLabelSize(arg2);
10535
10536 wxPyEndAllowThreads(__tstate);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 }
10539 Py_INCREF(Py_None); resultobj = Py_None;
10540 return resultobj;
10541 fail:
10542 return NULL;
10543 }
10544
10545
10546 static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10547 PyObject *resultobj;
10548 wxGrid *arg1 = (wxGrid *) 0 ;
10549 wxColour *arg2 = 0 ;
10550 wxColour temp2 ;
10551 PyObject * obj0 = 0 ;
10552 PyObject * obj1 = 0 ;
10553 char *kwnames[] = {
10554 (char *) "self","arg2", NULL
10555 };
10556
10557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
10558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10560 {
10561 arg2 = &temp2;
10562 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10563 }
10564 {
10565 PyThreadState* __tstate = wxPyBeginAllowThreads();
10566 (arg1)->SetLabelBackgroundColour((wxColour const &)*arg2);
10567
10568 wxPyEndAllowThreads(__tstate);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 Py_INCREF(Py_None); resultobj = Py_None;
10572 return resultobj;
10573 fail:
10574 return NULL;
10575 }
10576
10577
10578 static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10579 PyObject *resultobj;
10580 wxGrid *arg1 = (wxGrid *) 0 ;
10581 wxColour *arg2 = 0 ;
10582 wxColour temp2 ;
10583 PyObject * obj0 = 0 ;
10584 PyObject * obj1 = 0 ;
10585 char *kwnames[] = {
10586 (char *) "self","arg2", NULL
10587 };
10588
10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelTextColour",kwnames,&obj0,&obj1)) goto fail;
10590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10592 {
10593 arg2 = &temp2;
10594 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10595 }
10596 {
10597 PyThreadState* __tstate = wxPyBeginAllowThreads();
10598 (arg1)->SetLabelTextColour((wxColour const &)*arg2);
10599
10600 wxPyEndAllowThreads(__tstate);
10601 if (PyErr_Occurred()) SWIG_fail;
10602 }
10603 Py_INCREF(Py_None); resultobj = Py_None;
10604 return resultobj;
10605 fail:
10606 return NULL;
10607 }
10608
10609
10610 static PyObject *_wrap_Grid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10611 PyObject *resultobj;
10612 wxGrid *arg1 = (wxGrid *) 0 ;
10613 wxFont *arg2 = 0 ;
10614 PyObject * obj0 = 0 ;
10615 PyObject * obj1 = 0 ;
10616 char *kwnames[] = {
10617 (char *) "self","arg2", NULL
10618 };
10619
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetLabelFont",kwnames,&obj0,&obj1)) goto fail;
10621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10623 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
10624 SWIG_POINTER_EXCEPTION | 0)) == -1)
10625 SWIG_fail;
10626 if (arg2 == NULL) {
10627 PyErr_SetString(PyExc_TypeError,"null reference");
10628 SWIG_fail;
10629 }
10630 {
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
10632 (arg1)->SetLabelFont((wxFont const &)*arg2);
10633
10634 wxPyEndAllowThreads(__tstate);
10635 if (PyErr_Occurred()) SWIG_fail;
10636 }
10637 Py_INCREF(Py_None); resultobj = Py_None;
10638 return resultobj;
10639 fail:
10640 return NULL;
10641 }
10642
10643
10644 static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10645 PyObject *resultobj;
10646 wxGrid *arg1 = (wxGrid *) 0 ;
10647 int arg2 ;
10648 int arg3 ;
10649 PyObject * obj0 = 0 ;
10650 PyObject * obj1 = 0 ;
10651 PyObject * obj2 = 0 ;
10652 char *kwnames[] = {
10653 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10654 };
10655
10656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
10657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10659 arg2 = (int) SWIG_AsInt(obj1);
10660 if (PyErr_Occurred()) SWIG_fail;
10661 arg3 = (int) SWIG_AsInt(obj2);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 {
10664 PyThreadState* __tstate = wxPyBeginAllowThreads();
10665 (arg1)->SetRowLabelAlignment(arg2,arg3);
10666
10667 wxPyEndAllowThreads(__tstate);
10668 if (PyErr_Occurred()) SWIG_fail;
10669 }
10670 Py_INCREF(Py_None); resultobj = Py_None;
10671 return resultobj;
10672 fail:
10673 return NULL;
10674 }
10675
10676
10677 static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10678 PyObject *resultobj;
10679 wxGrid *arg1 = (wxGrid *) 0 ;
10680 int arg2 ;
10681 int arg3 ;
10682 PyObject * obj0 = 0 ;
10683 PyObject * obj1 = 0 ;
10684 PyObject * obj2 = 0 ;
10685 char *kwnames[] = {
10686 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10687 };
10688
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
10690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10692 arg2 = (int) SWIG_AsInt(obj1);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 arg3 = (int) SWIG_AsInt(obj2);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 {
10697 PyThreadState* __tstate = wxPyBeginAllowThreads();
10698 (arg1)->SetColLabelAlignment(arg2,arg3);
10699
10700 wxPyEndAllowThreads(__tstate);
10701 if (PyErr_Occurred()) SWIG_fail;
10702 }
10703 Py_INCREF(Py_None); resultobj = Py_None;
10704 return resultobj;
10705 fail:
10706 return NULL;
10707 }
10708
10709
10710 static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10711 PyObject *resultobj;
10712 wxGrid *arg1 = (wxGrid *) 0 ;
10713 int arg2 ;
10714 PyObject * obj0 = 0 ;
10715 PyObject * obj1 = 0 ;
10716 char *kwnames[] = {
10717 (char *) "self",(char *) "textOrientation", NULL
10718 };
10719
10720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames,&obj0,&obj1)) goto fail;
10721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10723 arg2 = (int) SWIG_AsInt(obj1);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 {
10726 PyThreadState* __tstate = wxPyBeginAllowThreads();
10727 (arg1)->SetColLabelTextOrientation(arg2);
10728
10729 wxPyEndAllowThreads(__tstate);
10730 if (PyErr_Occurred()) SWIG_fail;
10731 }
10732 Py_INCREF(Py_None); resultobj = Py_None;
10733 return resultobj;
10734 fail:
10735 return NULL;
10736 }
10737
10738
10739 static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10740 PyObject *resultobj;
10741 wxGrid *arg1 = (wxGrid *) 0 ;
10742 int arg2 ;
10743 wxString *arg3 = 0 ;
10744 bool temp3 = False ;
10745 PyObject * obj0 = 0 ;
10746 PyObject * obj1 = 0 ;
10747 PyObject * obj2 = 0 ;
10748 char *kwnames[] = {
10749 (char *) "self",(char *) "row","arg3", NULL
10750 };
10751
10752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
10753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10755 arg2 = (int) SWIG_AsInt(obj1);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 {
10758 arg3 = wxString_in_helper(obj2);
10759 if (arg3 == NULL) SWIG_fail;
10760 temp3 = True;
10761 }
10762 {
10763 PyThreadState* __tstate = wxPyBeginAllowThreads();
10764 (arg1)->SetRowLabelValue(arg2,(wxString const &)*arg3);
10765
10766 wxPyEndAllowThreads(__tstate);
10767 if (PyErr_Occurred()) SWIG_fail;
10768 }
10769 Py_INCREF(Py_None); resultobj = Py_None;
10770 {
10771 if (temp3)
10772 delete arg3;
10773 }
10774 return resultobj;
10775 fail:
10776 {
10777 if (temp3)
10778 delete arg3;
10779 }
10780 return NULL;
10781 }
10782
10783
10784 static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10785 PyObject *resultobj;
10786 wxGrid *arg1 = (wxGrid *) 0 ;
10787 int arg2 ;
10788 wxString *arg3 = 0 ;
10789 bool temp3 = False ;
10790 PyObject * obj0 = 0 ;
10791 PyObject * obj1 = 0 ;
10792 PyObject * obj2 = 0 ;
10793 char *kwnames[] = {
10794 (char *) "self",(char *) "col","arg3", NULL
10795 };
10796
10797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColLabelValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
10798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10800 arg2 = (int) SWIG_AsInt(obj1);
10801 if (PyErr_Occurred()) SWIG_fail;
10802 {
10803 arg3 = wxString_in_helper(obj2);
10804 if (arg3 == NULL) SWIG_fail;
10805 temp3 = True;
10806 }
10807 {
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
10809 (arg1)->SetColLabelValue(arg2,(wxString const &)*arg3);
10810
10811 wxPyEndAllowThreads(__tstate);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 }
10814 Py_INCREF(Py_None); resultobj = Py_None;
10815 {
10816 if (temp3)
10817 delete arg3;
10818 }
10819 return resultobj;
10820 fail:
10821 {
10822 if (temp3)
10823 delete arg3;
10824 }
10825 return NULL;
10826 }
10827
10828
10829 static PyObject *_wrap_Grid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10830 PyObject *resultobj;
10831 wxGrid *arg1 = (wxGrid *) 0 ;
10832 wxColour *arg2 = 0 ;
10833 wxColour temp2 ;
10834 PyObject * obj0 = 0 ;
10835 PyObject * obj1 = 0 ;
10836 char *kwnames[] = {
10837 (char *) "self","arg2", NULL
10838 };
10839
10840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetGridLineColour",kwnames,&obj0,&obj1)) goto fail;
10841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10843 {
10844 arg2 = &temp2;
10845 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10846 }
10847 {
10848 PyThreadState* __tstate = wxPyBeginAllowThreads();
10849 (arg1)->SetGridLineColour((wxColour const &)*arg2);
10850
10851 wxPyEndAllowThreads(__tstate);
10852 if (PyErr_Occurred()) SWIG_fail;
10853 }
10854 Py_INCREF(Py_None); resultobj = Py_None;
10855 return resultobj;
10856 fail:
10857 return NULL;
10858 }
10859
10860
10861 static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10862 PyObject *resultobj;
10863 wxGrid *arg1 = (wxGrid *) 0 ;
10864 wxColour *arg2 = 0 ;
10865 wxColour temp2 ;
10866 PyObject * obj0 = 0 ;
10867 PyObject * obj1 = 0 ;
10868 char *kwnames[] = {
10869 (char *) "self","arg2", NULL
10870 };
10871
10872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightColour",kwnames,&obj0,&obj1)) goto fail;
10873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10875 {
10876 arg2 = &temp2;
10877 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10878 }
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 (arg1)->SetCellHighlightColour((wxColour const &)*arg2);
10882
10883 wxPyEndAllowThreads(__tstate);
10884 if (PyErr_Occurred()) SWIG_fail;
10885 }
10886 Py_INCREF(Py_None); resultobj = Py_None;
10887 return resultobj;
10888 fail:
10889 return NULL;
10890 }
10891
10892
10893 static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj;
10895 wxGrid *arg1 = (wxGrid *) 0 ;
10896 int arg2 ;
10897 PyObject * obj0 = 0 ;
10898 PyObject * obj1 = 0 ;
10899 char *kwnames[] = {
10900 (char *) "self",(char *) "width", NULL
10901 };
10902
10903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames,&obj0,&obj1)) goto fail;
10904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10906 arg2 = (int) SWIG_AsInt(obj1);
10907 if (PyErr_Occurred()) SWIG_fail;
10908 {
10909 PyThreadState* __tstate = wxPyBeginAllowThreads();
10910 (arg1)->SetCellHighlightPenWidth(arg2);
10911
10912 wxPyEndAllowThreads(__tstate);
10913 if (PyErr_Occurred()) SWIG_fail;
10914 }
10915 Py_INCREF(Py_None); resultobj = Py_None;
10916 return resultobj;
10917 fail:
10918 return NULL;
10919 }
10920
10921
10922 static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10923 PyObject *resultobj;
10924 wxGrid *arg1 = (wxGrid *) 0 ;
10925 int arg2 ;
10926 PyObject * obj0 = 0 ;
10927 PyObject * obj1 = 0 ;
10928 char *kwnames[] = {
10929 (char *) "self",(char *) "width", NULL
10930 };
10931
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames,&obj0,&obj1)) goto fail;
10933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10935 arg2 = (int) SWIG_AsInt(obj1);
10936 if (PyErr_Occurred()) SWIG_fail;
10937 {
10938 PyThreadState* __tstate = wxPyBeginAllowThreads();
10939 (arg1)->SetCellHighlightROPenWidth(arg2);
10940
10941 wxPyEndAllowThreads(__tstate);
10942 if (PyErr_Occurred()) SWIG_fail;
10943 }
10944 Py_INCREF(Py_None); resultobj = Py_None;
10945 return resultobj;
10946 fail:
10947 return NULL;
10948 }
10949
10950
10951 static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10952 PyObject *resultobj;
10953 wxGrid *arg1 = (wxGrid *) 0 ;
10954 bool arg2 = (bool) True ;
10955 PyObject * obj0 = 0 ;
10956 PyObject * obj1 = 0 ;
10957 char *kwnames[] = {
10958 (char *) "self",(char *) "enable", NULL
10959 };
10960
10961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragRowSize",kwnames,&obj0,&obj1)) goto fail;
10962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10964 if (obj1) {
10965 arg2 = (bool) SWIG_AsBool(obj1);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 {
10969 PyThreadState* __tstate = wxPyBeginAllowThreads();
10970 (arg1)->EnableDragRowSize(arg2);
10971
10972 wxPyEndAllowThreads(__tstate);
10973 if (PyErr_Occurred()) SWIG_fail;
10974 }
10975 Py_INCREF(Py_None); resultobj = Py_None;
10976 return resultobj;
10977 fail:
10978 return NULL;
10979 }
10980
10981
10982 static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10983 PyObject *resultobj;
10984 wxGrid *arg1 = (wxGrid *) 0 ;
10985 PyObject * obj0 = 0 ;
10986 char *kwnames[] = {
10987 (char *) "self", NULL
10988 };
10989
10990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragRowSize",kwnames,&obj0)) goto fail;
10991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
10992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10993 {
10994 PyThreadState* __tstate = wxPyBeginAllowThreads();
10995 (arg1)->DisableDragRowSize();
10996
10997 wxPyEndAllowThreads(__tstate);
10998 if (PyErr_Occurred()) SWIG_fail;
10999 }
11000 Py_INCREF(Py_None); resultobj = Py_None;
11001 return resultobj;
11002 fail:
11003 return NULL;
11004 }
11005
11006
11007 static PyObject *_wrap_Grid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11008 PyObject *resultobj;
11009 wxGrid *arg1 = (wxGrid *) 0 ;
11010 bool result;
11011 PyObject * obj0 = 0 ;
11012 char *kwnames[] = {
11013 (char *) "self", NULL
11014 };
11015
11016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragRowSize",kwnames,&obj0)) goto fail;
11017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11019 {
11020 PyThreadState* __tstate = wxPyBeginAllowThreads();
11021 result = (bool)(arg1)->CanDragRowSize();
11022
11023 wxPyEndAllowThreads(__tstate);
11024 if (PyErr_Occurred()) SWIG_fail;
11025 }
11026 {
11027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11028 }
11029 return resultobj;
11030 fail:
11031 return NULL;
11032 }
11033
11034
11035 static PyObject *_wrap_Grid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11036 PyObject *resultobj;
11037 wxGrid *arg1 = (wxGrid *) 0 ;
11038 bool arg2 = (bool) True ;
11039 PyObject * obj0 = 0 ;
11040 PyObject * obj1 = 0 ;
11041 char *kwnames[] = {
11042 (char *) "self",(char *) "enable", NULL
11043 };
11044
11045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragColSize",kwnames,&obj0,&obj1)) goto fail;
11046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11048 if (obj1) {
11049 arg2 = (bool) SWIG_AsBool(obj1);
11050 if (PyErr_Occurred()) SWIG_fail;
11051 }
11052 {
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 (arg1)->EnableDragColSize(arg2);
11055
11056 wxPyEndAllowThreads(__tstate);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 }
11059 Py_INCREF(Py_None); resultobj = Py_None;
11060 return resultobj;
11061 fail:
11062 return NULL;
11063 }
11064
11065
11066 static PyObject *_wrap_Grid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11067 PyObject *resultobj;
11068 wxGrid *arg1 = (wxGrid *) 0 ;
11069 PyObject * obj0 = 0 ;
11070 char *kwnames[] = {
11071 (char *) "self", NULL
11072 };
11073
11074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragColSize",kwnames,&obj0)) goto fail;
11075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11077 {
11078 PyThreadState* __tstate = wxPyBeginAllowThreads();
11079 (arg1)->DisableDragColSize();
11080
11081 wxPyEndAllowThreads(__tstate);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 Py_INCREF(Py_None); resultobj = Py_None;
11085 return resultobj;
11086 fail:
11087 return NULL;
11088 }
11089
11090
11091 static PyObject *_wrap_Grid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11092 PyObject *resultobj;
11093 wxGrid *arg1 = (wxGrid *) 0 ;
11094 bool result;
11095 PyObject * obj0 = 0 ;
11096 char *kwnames[] = {
11097 (char *) "self", NULL
11098 };
11099
11100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragColSize",kwnames,&obj0)) goto fail;
11101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 result = (bool)(arg1)->CanDragColSize();
11106
11107 wxPyEndAllowThreads(__tstate);
11108 if (PyErr_Occurred()) SWIG_fail;
11109 }
11110 {
11111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11112 }
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxGrid *arg1 = (wxGrid *) 0 ;
11122 bool arg2 = (bool) True ;
11123 PyObject * obj0 = 0 ;
11124 PyObject * obj1 = 0 ;
11125 char *kwnames[] = {
11126 (char *) "self",(char *) "enable", NULL
11127 };
11128
11129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableDragGridSize",kwnames,&obj0,&obj1)) goto fail;
11130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11132 if (obj1) {
11133 arg2 = (bool) SWIG_AsBool(obj1);
11134 if (PyErr_Occurred()) SWIG_fail;
11135 }
11136 {
11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
11138 (arg1)->EnableDragGridSize(arg2);
11139
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 }
11143 Py_INCREF(Py_None); resultobj = Py_None;
11144 return resultobj;
11145 fail:
11146 return NULL;
11147 }
11148
11149
11150 static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11151 PyObject *resultobj;
11152 wxGrid *arg1 = (wxGrid *) 0 ;
11153 PyObject * obj0 = 0 ;
11154 char *kwnames[] = {
11155 (char *) "self", NULL
11156 };
11157
11158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_DisableDragGridSize",kwnames,&obj0)) goto fail;
11159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11161 {
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 (arg1)->DisableDragGridSize();
11164
11165 wxPyEndAllowThreads(__tstate);
11166 if (PyErr_Occurred()) SWIG_fail;
11167 }
11168 Py_INCREF(Py_None); resultobj = Py_None;
11169 return resultobj;
11170 fail:
11171 return NULL;
11172 }
11173
11174
11175 static PyObject *_wrap_Grid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11176 PyObject *resultobj;
11177 wxGrid *arg1 = (wxGrid *) 0 ;
11178 bool result;
11179 PyObject * obj0 = 0 ;
11180 char *kwnames[] = {
11181 (char *) "self", NULL
11182 };
11183
11184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_CanDragGridSize",kwnames,&obj0)) goto fail;
11185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 result = (bool)(arg1)->CanDragGridSize();
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
11194 {
11195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11196 }
11197 return resultobj;
11198 fail:
11199 return NULL;
11200 }
11201
11202
11203 static PyObject *_wrap_Grid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11204 PyObject *resultobj;
11205 wxGrid *arg1 = (wxGrid *) 0 ;
11206 int arg2 ;
11207 int arg3 ;
11208 wxGridCellAttr *arg4 = (wxGridCellAttr *) 0 ;
11209 PyObject * obj0 = 0 ;
11210 PyObject * obj1 = 0 ;
11211 PyObject * obj2 = 0 ;
11212 PyObject * obj3 = 0 ;
11213 char *kwnames[] = {
11214 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11215 };
11216
11217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11220 arg2 = (int) SWIG_AsInt(obj1);
11221 if (PyErr_Occurred()) SWIG_fail;
11222 arg3 = (int) SWIG_AsInt(obj2);
11223 if (PyErr_Occurred()) SWIG_fail;
11224 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellAttr,
11225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11226 {
11227 PyThreadState* __tstate = wxPyBeginAllowThreads();
11228 (arg1)->SetAttr(arg2,arg3,arg4);
11229
11230 wxPyEndAllowThreads(__tstate);
11231 if (PyErr_Occurred()) SWIG_fail;
11232 }
11233 Py_INCREF(Py_None); resultobj = Py_None;
11234 return resultobj;
11235 fail:
11236 return NULL;
11237 }
11238
11239
11240 static PyObject *_wrap_Grid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11241 PyObject *resultobj;
11242 wxGrid *arg1 = (wxGrid *) 0 ;
11243 int arg2 ;
11244 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11245 PyObject * obj0 = 0 ;
11246 PyObject * obj1 = 0 ;
11247 PyObject * obj2 = 0 ;
11248 char *kwnames[] = {
11249 (char *) "self",(char *) "row",(char *) "attr", NULL
11250 };
11251
11252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
11253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11255 arg2 = (int) SWIG_AsInt(obj1);
11256 if (PyErr_Occurred()) SWIG_fail;
11257 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11259 {
11260 PyThreadState* __tstate = wxPyBeginAllowThreads();
11261 (arg1)->SetRowAttr(arg2,arg3);
11262
11263 wxPyEndAllowThreads(__tstate);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
11266 Py_INCREF(Py_None); resultobj = Py_None;
11267 return resultobj;
11268 fail:
11269 return NULL;
11270 }
11271
11272
11273 static PyObject *_wrap_Grid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
11274 PyObject *resultobj;
11275 wxGrid *arg1 = (wxGrid *) 0 ;
11276 int arg2 ;
11277 wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ;
11278 PyObject * obj0 = 0 ;
11279 PyObject * obj1 = 0 ;
11280 PyObject * obj2 = 0 ;
11281 char *kwnames[] = {
11282 (char *) "self",(char *) "col",(char *) "attr", NULL
11283 };
11284
11285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
11286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11288 arg2 = (int) SWIG_AsInt(obj1);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellAttr,
11291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11292 {
11293 PyThreadState* __tstate = wxPyBeginAllowThreads();
11294 (arg1)->SetColAttr(arg2,arg3);
11295
11296 wxPyEndAllowThreads(__tstate);
11297 if (PyErr_Occurred()) SWIG_fail;
11298 }
11299 Py_INCREF(Py_None); resultobj = Py_None;
11300 return resultobj;
11301 fail:
11302 return NULL;
11303 }
11304
11305
11306 static PyObject *_wrap_Grid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
11307 PyObject *resultobj;
11308 wxGrid *arg1 = (wxGrid *) 0 ;
11309 int arg2 ;
11310 PyObject * obj0 = 0 ;
11311 PyObject * obj1 = 0 ;
11312 char *kwnames[] = {
11313 (char *) "self",(char *) "col", NULL
11314 };
11315
11316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatBool",kwnames,&obj0,&obj1)) goto fail;
11317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11319 arg2 = (int) SWIG_AsInt(obj1);
11320 if (PyErr_Occurred()) SWIG_fail;
11321 {
11322 PyThreadState* __tstate = wxPyBeginAllowThreads();
11323 (arg1)->SetColFormatBool(arg2);
11324
11325 wxPyEndAllowThreads(__tstate);
11326 if (PyErr_Occurred()) SWIG_fail;
11327 }
11328 Py_INCREF(Py_None); resultobj = Py_None;
11329 return resultobj;
11330 fail:
11331 return NULL;
11332 }
11333
11334
11335 static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
11336 PyObject *resultobj;
11337 wxGrid *arg1 = (wxGrid *) 0 ;
11338 int arg2 ;
11339 PyObject * obj0 = 0 ;
11340 PyObject * obj1 = 0 ;
11341 char *kwnames[] = {
11342 (char *) "self",(char *) "col", NULL
11343 };
11344
11345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColFormatNumber",kwnames,&obj0,&obj1)) goto fail;
11346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11348 arg2 = (int) SWIG_AsInt(obj1);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 {
11351 PyThreadState* __tstate = wxPyBeginAllowThreads();
11352 (arg1)->SetColFormatNumber(arg2);
11353
11354 wxPyEndAllowThreads(__tstate);
11355 if (PyErr_Occurred()) SWIG_fail;
11356 }
11357 Py_INCREF(Py_None); resultobj = Py_None;
11358 return resultobj;
11359 fail:
11360 return NULL;
11361 }
11362
11363
11364 static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
11365 PyObject *resultobj;
11366 wxGrid *arg1 = (wxGrid *) 0 ;
11367 int arg2 ;
11368 int arg3 = (int) -1 ;
11369 int arg4 = (int) -1 ;
11370 PyObject * obj0 = 0 ;
11371 PyObject * obj1 = 0 ;
11372 PyObject * obj2 = 0 ;
11373 PyObject * obj3 = 0 ;
11374 char *kwnames[] = {
11375 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11376 };
11377
11378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11381 arg2 = (int) SWIG_AsInt(obj1);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 if (obj2) {
11384 arg3 = (int) SWIG_AsInt(obj2);
11385 if (PyErr_Occurred()) SWIG_fail;
11386 }
11387 if (obj3) {
11388 arg4 = (int) SWIG_AsInt(obj3);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 }
11391 {
11392 PyThreadState* __tstate = wxPyBeginAllowThreads();
11393 (arg1)->SetColFormatFloat(arg2,arg3,arg4);
11394
11395 wxPyEndAllowThreads(__tstate);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 }
11398 Py_INCREF(Py_None); resultobj = Py_None;
11399 return resultobj;
11400 fail:
11401 return NULL;
11402 }
11403
11404
11405 static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
11406 PyObject *resultobj;
11407 wxGrid *arg1 = (wxGrid *) 0 ;
11408 int arg2 ;
11409 wxString *arg3 = 0 ;
11410 bool temp3 = False ;
11411 PyObject * obj0 = 0 ;
11412 PyObject * obj1 = 0 ;
11413 PyObject * obj2 = 0 ;
11414 char *kwnames[] = {
11415 (char *) "self",(char *) "col",(char *) "typeName", NULL
11416 };
11417
11418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColFormatCustom",kwnames,&obj0,&obj1,&obj2)) goto fail;
11419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11421 arg2 = (int) SWIG_AsInt(obj1);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 {
11424 arg3 = wxString_in_helper(obj2);
11425 if (arg3 == NULL) SWIG_fail;
11426 temp3 = True;
11427 }
11428 {
11429 PyThreadState* __tstate = wxPyBeginAllowThreads();
11430 (arg1)->SetColFormatCustom(arg2,(wxString const &)*arg3);
11431
11432 wxPyEndAllowThreads(__tstate);
11433 if (PyErr_Occurred()) SWIG_fail;
11434 }
11435 Py_INCREF(Py_None); resultobj = Py_None;
11436 {
11437 if (temp3)
11438 delete arg3;
11439 }
11440 return resultobj;
11441 fail:
11442 {
11443 if (temp3)
11444 delete arg3;
11445 }
11446 return NULL;
11447 }
11448
11449
11450 static PyObject *_wrap_Grid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
11451 PyObject *resultobj;
11452 wxGrid *arg1 = (wxGrid *) 0 ;
11453 bool arg2 = (bool) True ;
11454 PyObject * obj0 = 0 ;
11455 PyObject * obj1 = 0 ;
11456 char *kwnames[] = {
11457 (char *) "self",(char *) "enable", NULL
11458 };
11459
11460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_EnableGridLines",kwnames,&obj0,&obj1)) goto fail;
11461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11463 if (obj1) {
11464 arg2 = (bool) SWIG_AsBool(obj1);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
11467 {
11468 PyThreadState* __tstate = wxPyBeginAllowThreads();
11469 (arg1)->EnableGridLines(arg2);
11470
11471 wxPyEndAllowThreads(__tstate);
11472 if (PyErr_Occurred()) SWIG_fail;
11473 }
11474 Py_INCREF(Py_None); resultobj = Py_None;
11475 return resultobj;
11476 fail:
11477 return NULL;
11478 }
11479
11480
11481 static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11482 PyObject *resultobj;
11483 wxGrid *arg1 = (wxGrid *) 0 ;
11484 bool result;
11485 PyObject * obj0 = 0 ;
11486 char *kwnames[] = {
11487 (char *) "self", NULL
11488 };
11489
11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GridLinesEnabled",kwnames,&obj0)) goto fail;
11491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11493 {
11494 PyThreadState* __tstate = wxPyBeginAllowThreads();
11495 result = (bool)(arg1)->GridLinesEnabled();
11496
11497 wxPyEndAllowThreads(__tstate);
11498 if (PyErr_Occurred()) SWIG_fail;
11499 }
11500 {
11501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11502 }
11503 return resultobj;
11504 fail:
11505 return NULL;
11506 }
11507
11508
11509 static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11510 PyObject *resultobj;
11511 wxGrid *arg1 = (wxGrid *) 0 ;
11512 int result;
11513 PyObject * obj0 = 0 ;
11514 char *kwnames[] = {
11515 (char *) "self", NULL
11516 };
11517
11518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRowSize",kwnames,&obj0)) goto fail;
11519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11521 {
11522 PyThreadState* __tstate = wxPyBeginAllowThreads();
11523 result = (int)(arg1)->GetDefaultRowSize();
11524
11525 wxPyEndAllowThreads(__tstate);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 }
11528 resultobj = SWIG_FromInt((int)result);
11529 return resultobj;
11530 fail:
11531 return NULL;
11532 }
11533
11534
11535 static PyObject *_wrap_Grid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11536 PyObject *resultobj;
11537 wxGrid *arg1 = (wxGrid *) 0 ;
11538 int arg2 ;
11539 int result;
11540 PyObject * obj0 = 0 ;
11541 PyObject * obj1 = 0 ;
11542 char *kwnames[] = {
11543 (char *) "self",(char *) "row", NULL
11544 };
11545
11546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetRowSize",kwnames,&obj0,&obj1)) goto fail;
11547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11549 arg2 = (int) SWIG_AsInt(obj1);
11550 if (PyErr_Occurred()) SWIG_fail;
11551 {
11552 PyThreadState* __tstate = wxPyBeginAllowThreads();
11553 result = (int)(arg1)->GetRowSize(arg2);
11554
11555 wxPyEndAllowThreads(__tstate);
11556 if (PyErr_Occurred()) SWIG_fail;
11557 }
11558 resultobj = SWIG_FromInt((int)result);
11559 return resultobj;
11560 fail:
11561 return NULL;
11562 }
11563
11564
11565 static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11566 PyObject *resultobj;
11567 wxGrid *arg1 = (wxGrid *) 0 ;
11568 int result;
11569 PyObject * obj0 = 0 ;
11570 char *kwnames[] = {
11571 (char *) "self", NULL
11572 };
11573
11574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultColSize",kwnames,&obj0)) goto fail;
11575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11577 {
11578 PyThreadState* __tstate = wxPyBeginAllowThreads();
11579 result = (int)(arg1)->GetDefaultColSize();
11580
11581 wxPyEndAllowThreads(__tstate);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
11584 resultobj = SWIG_FromInt((int)result);
11585 return resultobj;
11586 fail:
11587 return NULL;
11588 }
11589
11590
11591 static PyObject *_wrap_Grid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11592 PyObject *resultobj;
11593 wxGrid *arg1 = (wxGrid *) 0 ;
11594 int arg2 ;
11595 int result;
11596 PyObject * obj0 = 0 ;
11597 PyObject * obj1 = 0 ;
11598 char *kwnames[] = {
11599 (char *) "self",(char *) "col", NULL
11600 };
11601
11602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetColSize",kwnames,&obj0,&obj1)) goto fail;
11603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11605 arg2 = (int) SWIG_AsInt(obj1);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 {
11608 PyThreadState* __tstate = wxPyBeginAllowThreads();
11609 result = (int)(arg1)->GetColSize(arg2);
11610
11611 wxPyEndAllowThreads(__tstate);
11612 if (PyErr_Occurred()) SWIG_fail;
11613 }
11614 resultobj = SWIG_FromInt((int)result);
11615 return resultobj;
11616 fail:
11617 return NULL;
11618 }
11619
11620
11621 static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11622 PyObject *resultobj;
11623 wxGrid *arg1 = (wxGrid *) 0 ;
11624 wxColour result;
11625 PyObject * obj0 = 0 ;
11626 char *kwnames[] = {
11627 (char *) "self", NULL
11628 };
11629
11630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames,&obj0)) goto fail;
11631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11633 {
11634 PyThreadState* __tstate = wxPyBeginAllowThreads();
11635 result = (arg1)->GetDefaultCellBackgroundColour();
11636
11637 wxPyEndAllowThreads(__tstate);
11638 if (PyErr_Occurred()) SWIG_fail;
11639 }
11640 {
11641 wxColour * resultptr;
11642 resultptr = new wxColour((wxColour &) result);
11643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11644 }
11645 return resultobj;
11646 fail:
11647 return NULL;
11648 }
11649
11650
11651 static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11652 PyObject *resultobj;
11653 wxGrid *arg1 = (wxGrid *) 0 ;
11654 int arg2 ;
11655 int arg3 ;
11656 wxColour result;
11657 PyObject * obj0 = 0 ;
11658 PyObject * obj1 = 0 ;
11659 PyObject * obj2 = 0 ;
11660 char *kwnames[] = {
11661 (char *) "self",(char *) "row",(char *) "col", NULL
11662 };
11663
11664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11667 arg2 = (int) SWIG_AsInt(obj1);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 arg3 = (int) SWIG_AsInt(obj2);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 {
11672 PyThreadState* __tstate = wxPyBeginAllowThreads();
11673 result = (arg1)->GetCellBackgroundColour(arg2,arg3);
11674
11675 wxPyEndAllowThreads(__tstate);
11676 if (PyErr_Occurred()) SWIG_fail;
11677 }
11678 {
11679 wxColour * resultptr;
11680 resultptr = new wxColour((wxColour &) result);
11681 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11682 }
11683 return resultobj;
11684 fail:
11685 return NULL;
11686 }
11687
11688
11689 static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11690 PyObject *resultobj;
11691 wxGrid *arg1 = (wxGrid *) 0 ;
11692 wxColour result;
11693 PyObject * obj0 = 0 ;
11694 char *kwnames[] = {
11695 (char *) "self", NULL
11696 };
11697
11698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellTextColour",kwnames,&obj0)) goto fail;
11699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11701 {
11702 PyThreadState* __tstate = wxPyBeginAllowThreads();
11703 result = (arg1)->GetDefaultCellTextColour();
11704
11705 wxPyEndAllowThreads(__tstate);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 {
11709 wxColour * resultptr;
11710 resultptr = new wxColour((wxColour &) result);
11711 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11712 }
11713 return resultobj;
11714 fail:
11715 return NULL;
11716 }
11717
11718
11719 static PyObject *_wrap_Grid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11720 PyObject *resultobj;
11721 wxGrid *arg1 = (wxGrid *) 0 ;
11722 int arg2 ;
11723 int arg3 ;
11724 wxColour result;
11725 PyObject * obj0 = 0 ;
11726 PyObject * obj1 = 0 ;
11727 PyObject * obj2 = 0 ;
11728 char *kwnames[] = {
11729 (char *) "self",(char *) "row",(char *) "col", NULL
11730 };
11731
11732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11735 arg2 = (int) SWIG_AsInt(obj1);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 arg3 = (int) SWIG_AsInt(obj2);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 {
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
11741 result = (arg1)->GetCellTextColour(arg2,arg3);
11742
11743 wxPyEndAllowThreads(__tstate);
11744 if (PyErr_Occurred()) SWIG_fail;
11745 }
11746 {
11747 wxColour * resultptr;
11748 resultptr = new wxColour((wxColour &) result);
11749 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11750 }
11751 return resultobj;
11752 fail:
11753 return NULL;
11754 }
11755
11756
11757 static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11758 PyObject *resultobj;
11759 wxGrid *arg1 = (wxGrid *) 0 ;
11760 wxFont result;
11761 PyObject * obj0 = 0 ;
11762 char *kwnames[] = {
11763 (char *) "self", NULL
11764 };
11765
11766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellFont",kwnames,&obj0)) goto fail;
11767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11769 {
11770 PyThreadState* __tstate = wxPyBeginAllowThreads();
11771 result = (arg1)->GetDefaultCellFont();
11772
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 {
11777 wxFont * resultptr;
11778 resultptr = new wxFont((wxFont &) result);
11779 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
11780 }
11781 return resultobj;
11782 fail:
11783 return NULL;
11784 }
11785
11786
11787 static PyObject *_wrap_Grid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11788 PyObject *resultobj;
11789 wxGrid *arg1 = (wxGrid *) 0 ;
11790 int arg2 ;
11791 int arg3 ;
11792 wxFont result;
11793 PyObject * obj0 = 0 ;
11794 PyObject * obj1 = 0 ;
11795 PyObject * obj2 = 0 ;
11796 char *kwnames[] = {
11797 (char *) "self",(char *) "row",(char *) "col", NULL
11798 };
11799
11800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
11801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11803 arg2 = (int) SWIG_AsInt(obj1);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 arg3 = (int) SWIG_AsInt(obj2);
11806 if (PyErr_Occurred()) SWIG_fail;
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 result = (arg1)->GetCellFont(arg2,arg3);
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 {
11815 wxFont * resultptr;
11816 resultptr = new wxFont((wxFont &) result);
11817 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
11818 }
11819 return resultobj;
11820 fail:
11821 return NULL;
11822 }
11823
11824
11825 static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11826 PyObject *resultobj;
11827 wxGrid *arg1 = (wxGrid *) 0 ;
11828 int *arg2 = (int *) 0 ;
11829 int *arg3 = (int *) 0 ;
11830 int temp2 ;
11831 int temp3 ;
11832 PyObject * obj0 = 0 ;
11833 char *kwnames[] = {
11834 (char *) "self", NULL
11835 };
11836
11837 arg2 = &temp2;
11838 arg3 = &temp3;
11839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellAlignment",kwnames,&obj0)) goto fail;
11840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11842 {
11843 PyThreadState* __tstate = wxPyBeginAllowThreads();
11844 (arg1)->GetDefaultCellAlignment(arg2,arg3);
11845
11846 wxPyEndAllowThreads(__tstate);
11847 if (PyErr_Occurred()) SWIG_fail;
11848 }
11849 Py_INCREF(Py_None); resultobj = Py_None;
11850 {
11851 PyObject *o = PyInt_FromLong((long) (*arg2));
11852 resultobj = t_output_helper(resultobj,o);
11853 }
11854 {
11855 PyObject *o = PyInt_FromLong((long) (*arg3));
11856 resultobj = t_output_helper(resultobj,o);
11857 }
11858 return resultobj;
11859 fail:
11860 return NULL;
11861 }
11862
11863
11864 static PyObject *_wrap_Grid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11865 PyObject *resultobj;
11866 wxGrid *arg1 = (wxGrid *) 0 ;
11867 int arg2 ;
11868 int arg3 ;
11869 int *arg4 = (int *) 0 ;
11870 int *arg5 = (int *) 0 ;
11871 int temp4 ;
11872 int temp5 ;
11873 PyObject * obj0 = 0 ;
11874 PyObject * obj1 = 0 ;
11875 PyObject * obj2 = 0 ;
11876 char *kwnames[] = {
11877 (char *) "self",(char *) "row",(char *) "col", NULL
11878 };
11879
11880 arg4 = &temp4;
11881 arg5 = &temp5;
11882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
11883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11885 arg2 = (int) SWIG_AsInt(obj1);
11886 if (PyErr_Occurred()) SWIG_fail;
11887 arg3 = (int) SWIG_AsInt(obj2);
11888 if (PyErr_Occurred()) SWIG_fail;
11889 {
11890 PyThreadState* __tstate = wxPyBeginAllowThreads();
11891 (arg1)->GetCellAlignment(arg2,arg3,arg4,arg5);
11892
11893 wxPyEndAllowThreads(__tstate);
11894 if (PyErr_Occurred()) SWIG_fail;
11895 }
11896 Py_INCREF(Py_None); resultobj = Py_None;
11897 {
11898 PyObject *o = PyInt_FromLong((long) (*arg4));
11899 resultobj = t_output_helper(resultobj,o);
11900 }
11901 {
11902 PyObject *o = PyInt_FromLong((long) (*arg5));
11903 resultobj = t_output_helper(resultobj,o);
11904 }
11905 return resultobj;
11906 fail:
11907 return NULL;
11908 }
11909
11910
11911 static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11912 PyObject *resultobj;
11913 wxGrid *arg1 = (wxGrid *) 0 ;
11914 bool result;
11915 PyObject * obj0 = 0 ;
11916 char *kwnames[] = {
11917 (char *) "self", NULL
11918 };
11919
11920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultCellOverflow",kwnames,&obj0)) goto fail;
11921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11923 {
11924 PyThreadState* __tstate = wxPyBeginAllowThreads();
11925 result = (bool)(arg1)->GetDefaultCellOverflow();
11926
11927 wxPyEndAllowThreads(__tstate);
11928 if (PyErr_Occurred()) SWIG_fail;
11929 }
11930 {
11931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11932 }
11933 return resultobj;
11934 fail:
11935 return NULL;
11936 }
11937
11938
11939 static PyObject *_wrap_Grid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj;
11941 wxGrid *arg1 = (wxGrid *) 0 ;
11942 int arg2 ;
11943 int arg3 ;
11944 bool result;
11945 PyObject * obj0 = 0 ;
11946 PyObject * obj1 = 0 ;
11947 PyObject * obj2 = 0 ;
11948 char *kwnames[] = {
11949 (char *) "self",(char *) "row",(char *) "col", NULL
11950 };
11951
11952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellOverflow",kwnames,&obj0,&obj1,&obj2)) goto fail;
11953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11955 arg2 = (int) SWIG_AsInt(obj1);
11956 if (PyErr_Occurred()) SWIG_fail;
11957 arg3 = (int) SWIG_AsInt(obj2);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 {
11960 PyThreadState* __tstate = wxPyBeginAllowThreads();
11961 result = (bool)(arg1)->GetCellOverflow(arg2,arg3);
11962
11963 wxPyEndAllowThreads(__tstate);
11964 if (PyErr_Occurred()) SWIG_fail;
11965 }
11966 {
11967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11968 }
11969 return resultobj;
11970 fail:
11971 return NULL;
11972 }
11973
11974
11975 static PyObject *_wrap_Grid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11976 PyObject *resultobj;
11977 wxGrid *arg1 = (wxGrid *) 0 ;
11978 int arg2 ;
11979 int arg3 ;
11980 int *arg4 = (int *) 0 ;
11981 int *arg5 = (int *) 0 ;
11982 int temp4 ;
11983 int temp5 ;
11984 PyObject * obj0 = 0 ;
11985 PyObject * obj1 = 0 ;
11986 PyObject * obj2 = 0 ;
11987 char *kwnames[] = {
11988 (char *) "self",(char *) "row",(char *) "col", NULL
11989 };
11990
11991 arg4 = &temp4;
11992 arg5 = &temp5;
11993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
11995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11996 arg2 = (int) SWIG_AsInt(obj1);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 arg3 = (int) SWIG_AsInt(obj2);
11999 if (PyErr_Occurred()) SWIG_fail;
12000 {
12001 PyThreadState* __tstate = wxPyBeginAllowThreads();
12002 (arg1)->GetCellSize(arg2,arg3,arg4,arg5);
12003
12004 wxPyEndAllowThreads(__tstate);
12005 if (PyErr_Occurred()) SWIG_fail;
12006 }
12007 Py_INCREF(Py_None); resultobj = Py_None;
12008 {
12009 PyObject *o = PyInt_FromLong((long) (*arg4));
12010 resultobj = t_output_helper(resultobj,o);
12011 }
12012 {
12013 PyObject *o = PyInt_FromLong((long) (*arg5));
12014 resultobj = t_output_helper(resultobj,o);
12015 }
12016 return resultobj;
12017 fail:
12018 return NULL;
12019 }
12020
12021
12022 static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12023 PyObject *resultobj;
12024 wxGrid *arg1 = (wxGrid *) 0 ;
12025 int arg2 ;
12026 bool arg3 = (bool) False ;
12027 PyObject * obj0 = 0 ;
12028 PyObject * obj1 = 0 ;
12029 PyObject * obj2 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12037 arg2 = (int) SWIG_AsInt(obj1);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 if (obj2) {
12040 arg3 = (bool) SWIG_AsBool(obj2);
12041 if (PyErr_Occurred()) SWIG_fail;
12042 }
12043 {
12044 PyThreadState* __tstate = wxPyBeginAllowThreads();
12045 (arg1)->SetDefaultRowSize(arg2,arg3);
12046
12047 wxPyEndAllowThreads(__tstate);
12048 if (PyErr_Occurred()) SWIG_fail;
12049 }
12050 Py_INCREF(Py_None); resultobj = Py_None;
12051 return resultobj;
12052 fail:
12053 return NULL;
12054 }
12055
12056
12057 static PyObject *_wrap_Grid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12058 PyObject *resultobj;
12059 wxGrid *arg1 = (wxGrid *) 0 ;
12060 int arg2 ;
12061 int arg3 ;
12062 PyObject * obj0 = 0 ;
12063 PyObject * obj1 = 0 ;
12064 PyObject * obj2 = 0 ;
12065 char *kwnames[] = {
12066 (char *) "self",(char *) "row",(char *) "height", NULL
12067 };
12068
12069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12072 arg2 = (int) SWIG_AsInt(obj1);
12073 if (PyErr_Occurred()) SWIG_fail;
12074 arg3 = (int) SWIG_AsInt(obj2);
12075 if (PyErr_Occurred()) SWIG_fail;
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 (arg1)->SetRowSize(arg2,arg3);
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 Py_INCREF(Py_None); resultobj = Py_None;
12084 return resultobj;
12085 fail:
12086 return NULL;
12087 }
12088
12089
12090 static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12091 PyObject *resultobj;
12092 wxGrid *arg1 = (wxGrid *) 0 ;
12093 int arg2 ;
12094 bool arg3 = (bool) False ;
12095 PyObject * obj0 = 0 ;
12096 PyObject * obj1 = 0 ;
12097 PyObject * obj2 = 0 ;
12098 char *kwnames[] = {
12099 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
12100 };
12101
12102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SetDefaultColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12105 arg2 = (int) SWIG_AsInt(obj1);
12106 if (PyErr_Occurred()) SWIG_fail;
12107 if (obj2) {
12108 arg3 = (bool) SWIG_AsBool(obj2);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
12111 {
12112 PyThreadState* __tstate = wxPyBeginAllowThreads();
12113 (arg1)->SetDefaultColSize(arg2,arg3);
12114
12115 wxPyEndAllowThreads(__tstate);
12116 if (PyErr_Occurred()) SWIG_fail;
12117 }
12118 Py_INCREF(Py_None); resultobj = Py_None;
12119 return resultobj;
12120 fail:
12121 return NULL;
12122 }
12123
12124
12125 static PyObject *_wrap_Grid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12126 PyObject *resultobj;
12127 wxGrid *arg1 = (wxGrid *) 0 ;
12128 int arg2 ;
12129 int arg3 ;
12130 PyObject * obj0 = 0 ;
12131 PyObject * obj1 = 0 ;
12132 PyObject * obj2 = 0 ;
12133 char *kwnames[] = {
12134 (char *) "self",(char *) "col",(char *) "width", NULL
12135 };
12136
12137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12140 arg2 = (int) SWIG_AsInt(obj1);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 arg3 = (int) SWIG_AsInt(obj2);
12143 if (PyErr_Occurred()) SWIG_fail;
12144 {
12145 PyThreadState* __tstate = wxPyBeginAllowThreads();
12146 (arg1)->SetColSize(arg2,arg3);
12147
12148 wxPyEndAllowThreads(__tstate);
12149 if (PyErr_Occurred()) SWIG_fail;
12150 }
12151 Py_INCREF(Py_None); resultobj = Py_None;
12152 return resultobj;
12153 fail:
12154 return NULL;
12155 }
12156
12157
12158 static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
12159 PyObject *resultobj;
12160 wxGrid *arg1 = (wxGrid *) 0 ;
12161 int arg2 ;
12162 bool arg3 = (bool) True ;
12163 PyObject * obj0 = 0 ;
12164 PyObject * obj1 = 0 ;
12165 PyObject * obj2 = 0 ;
12166 char *kwnames[] = {
12167 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
12168 };
12169
12170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
12171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12173 arg2 = (int) SWIG_AsInt(obj1);
12174 if (PyErr_Occurred()) SWIG_fail;
12175 if (obj2) {
12176 arg3 = (bool) SWIG_AsBool(obj2);
12177 if (PyErr_Occurred()) SWIG_fail;
12178 }
12179 {
12180 PyThreadState* __tstate = wxPyBeginAllowThreads();
12181 (arg1)->AutoSizeColumn(arg2,arg3);
12182
12183 wxPyEndAllowThreads(__tstate);
12184 if (PyErr_Occurred()) SWIG_fail;
12185 }
12186 Py_INCREF(Py_None); resultobj = Py_None;
12187 return resultobj;
12188 fail:
12189 return NULL;
12190 }
12191
12192
12193 static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12194 PyObject *resultobj;
12195 wxGrid *arg1 = (wxGrid *) 0 ;
12196 int arg2 ;
12197 bool arg3 = (bool) True ;
12198 PyObject * obj0 = 0 ;
12199 PyObject * obj1 = 0 ;
12200 PyObject * obj2 = 0 ;
12201 char *kwnames[] = {
12202 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
12203 };
12204
12205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_AutoSizeRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
12206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12208 arg2 = (int) SWIG_AsInt(obj1);
12209 if (PyErr_Occurred()) SWIG_fail;
12210 if (obj2) {
12211 arg3 = (bool) SWIG_AsBool(obj2);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 (arg1)->AutoSizeRow(arg2,arg3);
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 Py_INCREF(Py_None); resultobj = Py_None;
12222 return resultobj;
12223 fail:
12224 return NULL;
12225 }
12226
12227
12228 static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
12229 PyObject *resultobj;
12230 wxGrid *arg1 = (wxGrid *) 0 ;
12231 bool arg2 = (bool) True ;
12232 PyObject * obj0 = 0 ;
12233 PyObject * obj1 = 0 ;
12234 char *kwnames[] = {
12235 (char *) "self",(char *) "setAsMin", NULL
12236 };
12237
12238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeColumns",kwnames,&obj0,&obj1)) goto fail;
12239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12241 if (obj1) {
12242 arg2 = (bool) SWIG_AsBool(obj1);
12243 if (PyErr_Occurred()) SWIG_fail;
12244 }
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 (arg1)->AutoSizeColumns(arg2);
12248
12249 wxPyEndAllowThreads(__tstate);
12250 if (PyErr_Occurred()) SWIG_fail;
12251 }
12252 Py_INCREF(Py_None); resultobj = Py_None;
12253 return resultobj;
12254 fail:
12255 return NULL;
12256 }
12257
12258
12259 static PyObject *_wrap_Grid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
12260 PyObject *resultobj;
12261 wxGrid *arg1 = (wxGrid *) 0 ;
12262 bool arg2 = (bool) True ;
12263 PyObject * obj0 = 0 ;
12264 PyObject * obj1 = 0 ;
12265 char *kwnames[] = {
12266 (char *) "self",(char *) "setAsMin", NULL
12267 };
12268
12269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Grid_AutoSizeRows",kwnames,&obj0,&obj1)) goto fail;
12270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12272 if (obj1) {
12273 arg2 = (bool) SWIG_AsBool(obj1);
12274 if (PyErr_Occurred()) SWIG_fail;
12275 }
12276 {
12277 PyThreadState* __tstate = wxPyBeginAllowThreads();
12278 (arg1)->AutoSizeRows(arg2);
12279
12280 wxPyEndAllowThreads(__tstate);
12281 if (PyErr_Occurred()) SWIG_fail;
12282 }
12283 Py_INCREF(Py_None); resultobj = Py_None;
12284 return resultobj;
12285 fail:
12286 return NULL;
12287 }
12288
12289
12290 static PyObject *_wrap_Grid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12291 PyObject *resultobj;
12292 wxGrid *arg1 = (wxGrid *) 0 ;
12293 PyObject * obj0 = 0 ;
12294 char *kwnames[] = {
12295 (char *) "self", NULL
12296 };
12297
12298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_AutoSize",kwnames,&obj0)) goto fail;
12299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12301 {
12302 PyThreadState* __tstate = wxPyBeginAllowThreads();
12303 (arg1)->AutoSize();
12304
12305 wxPyEndAllowThreads(__tstate);
12306 if (PyErr_Occurred()) SWIG_fail;
12307 }
12308 Py_INCREF(Py_None); resultobj = Py_None;
12309 return resultobj;
12310 fail:
12311 return NULL;
12312 }
12313
12314
12315 static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12316 PyObject *resultobj;
12317 wxGrid *arg1 = (wxGrid *) 0 ;
12318 int arg2 ;
12319 PyObject * obj0 = 0 ;
12320 PyObject * obj1 = 0 ;
12321 char *kwnames[] = {
12322 (char *) "self",(char *) "row", NULL
12323 };
12324
12325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames,&obj0,&obj1)) goto fail;
12326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12328 arg2 = (int) SWIG_AsInt(obj1);
12329 if (PyErr_Occurred()) SWIG_fail;
12330 {
12331 PyThreadState* __tstate = wxPyBeginAllowThreads();
12332 (arg1)->AutoSizeRowLabelSize(arg2);
12333
12334 wxPyEndAllowThreads(__tstate);
12335 if (PyErr_Occurred()) SWIG_fail;
12336 }
12337 Py_INCREF(Py_None); resultobj = Py_None;
12338 return resultobj;
12339 fail:
12340 return NULL;
12341 }
12342
12343
12344 static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12345 PyObject *resultobj;
12346 wxGrid *arg1 = (wxGrid *) 0 ;
12347 int arg2 ;
12348 PyObject * obj0 = 0 ;
12349 PyObject * obj1 = 0 ;
12350 char *kwnames[] = {
12351 (char *) "self",(char *) "col", NULL
12352 };
12353
12354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames,&obj0,&obj1)) goto fail;
12355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12357 arg2 = (int) SWIG_AsInt(obj1);
12358 if (PyErr_Occurred()) SWIG_fail;
12359 {
12360 PyThreadState* __tstate = wxPyBeginAllowThreads();
12361 (arg1)->AutoSizeColLabelSize(arg2);
12362
12363 wxPyEndAllowThreads(__tstate);
12364 if (PyErr_Occurred()) SWIG_fail;
12365 }
12366 Py_INCREF(Py_None); resultobj = Py_None;
12367 return resultobj;
12368 fail:
12369 return NULL;
12370 }
12371
12372
12373 static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12374 PyObject *resultobj;
12375 wxGrid *arg1 = (wxGrid *) 0 ;
12376 int arg2 ;
12377 int arg3 ;
12378 PyObject * obj0 = 0 ;
12379 PyObject * obj1 = 0 ;
12380 PyObject * obj2 = 0 ;
12381 char *kwnames[] = {
12382 (char *) "self",(char *) "col",(char *) "width", NULL
12383 };
12384
12385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetColMinimalWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
12386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12388 arg2 = (int) SWIG_AsInt(obj1);
12389 if (PyErr_Occurred()) SWIG_fail;
12390 arg3 = (int) SWIG_AsInt(obj2);
12391 if (PyErr_Occurred()) SWIG_fail;
12392 {
12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
12394 (arg1)->SetColMinimalWidth(arg2,arg3);
12395
12396 wxPyEndAllowThreads(__tstate);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 }
12399 Py_INCREF(Py_None); resultobj = Py_None;
12400 return resultobj;
12401 fail:
12402 return NULL;
12403 }
12404
12405
12406 static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12407 PyObject *resultobj;
12408 wxGrid *arg1 = (wxGrid *) 0 ;
12409 int arg2 ;
12410 int arg3 ;
12411 PyObject * obj0 = 0 ;
12412 PyObject * obj1 = 0 ;
12413 PyObject * obj2 = 0 ;
12414 char *kwnames[] = {
12415 (char *) "self",(char *) "row",(char *) "width", NULL
12416 };
12417
12418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
12419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12421 arg2 = (int) SWIG_AsInt(obj1);
12422 if (PyErr_Occurred()) SWIG_fail;
12423 arg3 = (int) SWIG_AsInt(obj2);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 (arg1)->SetRowMinimalHeight(arg2,arg3);
12428
12429 wxPyEndAllowThreads(__tstate);
12430 if (PyErr_Occurred()) SWIG_fail;
12431 }
12432 Py_INCREF(Py_None); resultobj = Py_None;
12433 return resultobj;
12434 fail:
12435 return NULL;
12436 }
12437
12438
12439 static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12440 PyObject *resultobj;
12441 wxGrid *arg1 = (wxGrid *) 0 ;
12442 int arg2 ;
12443 PyObject * obj0 = 0 ;
12444 PyObject * obj1 = 0 ;
12445 char *kwnames[] = {
12446 (char *) "self",(char *) "width", NULL
12447 };
12448
12449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames,&obj0,&obj1)) goto fail;
12450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12452 arg2 = (int) SWIG_AsInt(obj1);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 (arg1)->SetColMinimalAcceptableWidth(arg2);
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 Py_INCREF(Py_None); resultobj = Py_None;
12462 return resultobj;
12463 fail:
12464 return NULL;
12465 }
12466
12467
12468 static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12469 PyObject *resultobj;
12470 wxGrid *arg1 = (wxGrid *) 0 ;
12471 int arg2 ;
12472 PyObject * obj0 = 0 ;
12473 PyObject * obj1 = 0 ;
12474 char *kwnames[] = {
12475 (char *) "self",(char *) "width", NULL
12476 };
12477
12478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames,&obj0,&obj1)) goto fail;
12479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12481 arg2 = (int) SWIG_AsInt(obj1);
12482 if (PyErr_Occurred()) SWIG_fail;
12483 {
12484 PyThreadState* __tstate = wxPyBeginAllowThreads();
12485 (arg1)->SetRowMinimalAcceptableHeight(arg2);
12486
12487 wxPyEndAllowThreads(__tstate);
12488 if (PyErr_Occurred()) SWIG_fail;
12489 }
12490 Py_INCREF(Py_None); resultobj = Py_None;
12491 return resultobj;
12492 fail:
12493 return NULL;
12494 }
12495
12496
12497 static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12498 PyObject *resultobj;
12499 wxGrid *arg1 = (wxGrid *) 0 ;
12500 int result;
12501 PyObject * obj0 = 0 ;
12502 char *kwnames[] = {
12503 (char *) "self", NULL
12504 };
12505
12506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames,&obj0)) goto fail;
12507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12509 {
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 result = (int)((wxGrid const *)arg1)->GetColMinimalAcceptableWidth();
12512
12513 wxPyEndAllowThreads(__tstate);
12514 if (PyErr_Occurred()) SWIG_fail;
12515 }
12516 resultobj = SWIG_FromInt((int)result);
12517 return resultobj;
12518 fail:
12519 return NULL;
12520 }
12521
12522
12523 static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12524 PyObject *resultobj;
12525 wxGrid *arg1 = (wxGrid *) 0 ;
12526 int result;
12527 PyObject * obj0 = 0 ;
12528 char *kwnames[] = {
12529 (char *) "self", NULL
12530 };
12531
12532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames,&obj0)) goto fail;
12533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12535 {
12536 PyThreadState* __tstate = wxPyBeginAllowThreads();
12537 result = (int)((wxGrid const *)arg1)->GetRowMinimalAcceptableHeight();
12538
12539 wxPyEndAllowThreads(__tstate);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 }
12542 resultobj = SWIG_FromInt((int)result);
12543 return resultobj;
12544 fail:
12545 return NULL;
12546 }
12547
12548
12549 static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12550 PyObject *resultobj;
12551 wxGrid *arg1 = (wxGrid *) 0 ;
12552 wxColour *arg2 = 0 ;
12553 wxColour temp2 ;
12554 PyObject * obj0 = 0 ;
12555 PyObject * obj1 = 0 ;
12556 char *kwnames[] = {
12557 (char *) "self","arg2", NULL
12558 };
12559
12560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
12561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12563 {
12564 arg2 = &temp2;
12565 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12566 }
12567 {
12568 PyThreadState* __tstate = wxPyBeginAllowThreads();
12569 (arg1)->SetDefaultCellBackgroundColour((wxColour const &)*arg2);
12570
12571 wxPyEndAllowThreads(__tstate);
12572 if (PyErr_Occurred()) SWIG_fail;
12573 }
12574 Py_INCREF(Py_None); resultobj = Py_None;
12575 return resultobj;
12576 fail:
12577 return NULL;
12578 }
12579
12580
12581 static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12582 PyObject *resultobj;
12583 wxGrid *arg1 = (wxGrid *) 0 ;
12584 int arg2 ;
12585 int arg3 ;
12586 wxColour *arg4 = 0 ;
12587 wxColour temp4 ;
12588 PyObject * obj0 = 0 ;
12589 PyObject * obj1 = 0 ;
12590 PyObject * obj2 = 0 ;
12591 PyObject * obj3 = 0 ;
12592 char *kwnames[] = {
12593 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12594 };
12595
12596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12599 arg2 = (int) SWIG_AsInt(obj1);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 arg3 = (int) SWIG_AsInt(obj2);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 {
12604 arg4 = &temp4;
12605 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12606 }
12607 {
12608 PyThreadState* __tstate = wxPyBeginAllowThreads();
12609 (arg1)->SetCellBackgroundColour(arg2,arg3,(wxColour const &)*arg4);
12610
12611 wxPyEndAllowThreads(__tstate);
12612 if (PyErr_Occurred()) SWIG_fail;
12613 }
12614 Py_INCREF(Py_None); resultobj = Py_None;
12615 return resultobj;
12616 fail:
12617 return NULL;
12618 }
12619
12620
12621 static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12622 PyObject *resultobj;
12623 wxGrid *arg1 = (wxGrid *) 0 ;
12624 wxColour *arg2 = 0 ;
12625 wxColour temp2 ;
12626 PyObject * obj0 = 0 ;
12627 PyObject * obj1 = 0 ;
12628 char *kwnames[] = {
12629 (char *) "self","arg2", NULL
12630 };
12631
12632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames,&obj0,&obj1)) goto fail;
12633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12635 {
12636 arg2 = &temp2;
12637 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12638 }
12639 {
12640 PyThreadState* __tstate = wxPyBeginAllowThreads();
12641 (arg1)->SetDefaultCellTextColour((wxColour const &)*arg2);
12642
12643 wxPyEndAllowThreads(__tstate);
12644 if (PyErr_Occurred()) SWIG_fail;
12645 }
12646 Py_INCREF(Py_None); resultobj = Py_None;
12647 return resultobj;
12648 fail:
12649 return NULL;
12650 }
12651
12652
12653 static PyObject *_wrap_Grid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12654 PyObject *resultobj;
12655 wxGrid *arg1 = (wxGrid *) 0 ;
12656 int arg2 ;
12657 int arg3 ;
12658 wxColour *arg4 = 0 ;
12659 wxColour temp4 ;
12660 PyObject * obj0 = 0 ;
12661 PyObject * obj1 = 0 ;
12662 PyObject * obj2 = 0 ;
12663 PyObject * obj3 = 0 ;
12664 char *kwnames[] = {
12665 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12666 };
12667
12668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellTextColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12671 arg2 = (int) SWIG_AsInt(obj1);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 arg3 = (int) SWIG_AsInt(obj2);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 {
12676 arg4 = &temp4;
12677 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12678 }
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 (arg1)->SetCellTextColour(arg2,arg3,(wxColour const &)*arg4);
12682
12683 wxPyEndAllowThreads(__tstate);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
12686 Py_INCREF(Py_None); resultobj = Py_None;
12687 return resultobj;
12688 fail:
12689 return NULL;
12690 }
12691
12692
12693 static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj;
12695 wxGrid *arg1 = (wxGrid *) 0 ;
12696 wxFont *arg2 = 0 ;
12697 PyObject * obj0 = 0 ;
12698 PyObject * obj1 = 0 ;
12699 char *kwnames[] = {
12700 (char *) "self","arg2", NULL
12701 };
12702
12703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellFont",kwnames,&obj0,&obj1)) goto fail;
12704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12707 SWIG_POINTER_EXCEPTION | 0)) == -1)
12708 SWIG_fail;
12709 if (arg2 == NULL) {
12710 PyErr_SetString(PyExc_TypeError,"null reference");
12711 SWIG_fail;
12712 }
12713 {
12714 PyThreadState* __tstate = wxPyBeginAllowThreads();
12715 (arg1)->SetDefaultCellFont((wxFont const &)*arg2);
12716
12717 wxPyEndAllowThreads(__tstate);
12718 if (PyErr_Occurred()) SWIG_fail;
12719 }
12720 Py_INCREF(Py_None); resultobj = Py_None;
12721 return resultobj;
12722 fail:
12723 return NULL;
12724 }
12725
12726
12727 static PyObject *_wrap_Grid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12728 PyObject *resultobj;
12729 wxGrid *arg1 = (wxGrid *) 0 ;
12730 int arg2 ;
12731 int arg3 ;
12732 wxFont *arg4 = 0 ;
12733 PyObject * obj0 = 0 ;
12734 PyObject * obj1 = 0 ;
12735 PyObject * obj2 = 0 ;
12736 PyObject * obj3 = 0 ;
12737 char *kwnames[] = {
12738 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12739 };
12740
12741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellFont",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12744 arg2 = (int) SWIG_AsInt(obj1);
12745 if (PyErr_Occurred()) SWIG_fail;
12746 arg3 = (int) SWIG_AsInt(obj2);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxFont,
12749 SWIG_POINTER_EXCEPTION | 0)) == -1)
12750 SWIG_fail;
12751 if (arg4 == NULL) {
12752 PyErr_SetString(PyExc_TypeError,"null reference");
12753 SWIG_fail;
12754 }
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 (arg1)->SetCellFont(arg2,arg3,(wxFont const &)*arg4);
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
12762 Py_INCREF(Py_None); resultobj = Py_None;
12763 return resultobj;
12764 fail:
12765 return NULL;
12766 }
12767
12768
12769 static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12770 PyObject *resultobj;
12771 wxGrid *arg1 = (wxGrid *) 0 ;
12772 int arg2 ;
12773 int arg3 ;
12774 PyObject * obj0 = 0 ;
12775 PyObject * obj1 = 0 ;
12776 PyObject * obj2 = 0 ;
12777 char *kwnames[] = {
12778 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12779 };
12780
12781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
12782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12784 arg2 = (int) SWIG_AsInt(obj1);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 arg3 = (int) SWIG_AsInt(obj2);
12787 if (PyErr_Occurred()) SWIG_fail;
12788 {
12789 PyThreadState* __tstate = wxPyBeginAllowThreads();
12790 (arg1)->SetDefaultCellAlignment(arg2,arg3);
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_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12803 PyObject *resultobj;
12804 wxGrid *arg1 = (wxGrid *) 0 ;
12805 int arg2 ;
12806 int arg3 ;
12807 int arg4 ;
12808 int arg5 ;
12809 PyObject * obj0 = 0 ;
12810 PyObject * obj1 = 0 ;
12811 PyObject * obj2 = 0 ;
12812 PyObject * obj3 = 0 ;
12813 PyObject * obj4 = 0 ;
12814 char *kwnames[] = {
12815 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12816 };
12817
12818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellAlignment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12821 arg2 = (int) SWIG_AsInt(obj1);
12822 if (PyErr_Occurred()) SWIG_fail;
12823 arg3 = (int) SWIG_AsInt(obj2);
12824 if (PyErr_Occurred()) SWIG_fail;
12825 arg4 = (int) SWIG_AsInt(obj3);
12826 if (PyErr_Occurred()) SWIG_fail;
12827 arg5 = (int) SWIG_AsInt(obj4);
12828 if (PyErr_Occurred()) SWIG_fail;
12829 {
12830 PyThreadState* __tstate = wxPyBeginAllowThreads();
12831 (arg1)->SetCellAlignment(arg2,arg3,arg4,arg5);
12832
12833 wxPyEndAllowThreads(__tstate);
12834 if (PyErr_Occurred()) SWIG_fail;
12835 }
12836 Py_INCREF(Py_None); resultobj = Py_None;
12837 return resultobj;
12838 fail:
12839 return NULL;
12840 }
12841
12842
12843 static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12844 PyObject *resultobj;
12845 wxGrid *arg1 = (wxGrid *) 0 ;
12846 bool arg2 ;
12847 PyObject * obj0 = 0 ;
12848 PyObject * obj1 = 0 ;
12849 char *kwnames[] = {
12850 (char *) "self",(char *) "allow", NULL
12851 };
12852
12853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames,&obj0,&obj1)) goto fail;
12854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12856 arg2 = (bool) SWIG_AsBool(obj1);
12857 if (PyErr_Occurred()) SWIG_fail;
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
12860 (arg1)->SetDefaultCellOverflow(arg2);
12861
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 Py_INCREF(Py_None); resultobj = Py_None;
12866 return resultobj;
12867 fail:
12868 return NULL;
12869 }
12870
12871
12872 static PyObject *_wrap_Grid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12873 PyObject *resultobj;
12874 wxGrid *arg1 = (wxGrid *) 0 ;
12875 int arg2 ;
12876 int arg3 ;
12877 bool arg4 ;
12878 PyObject * obj0 = 0 ;
12879 PyObject * obj1 = 0 ;
12880 PyObject * obj2 = 0 ;
12881 PyObject * obj3 = 0 ;
12882 char *kwnames[] = {
12883 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
12884 };
12885
12886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellOverflow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12889 arg2 = (int) SWIG_AsInt(obj1);
12890 if (PyErr_Occurred()) SWIG_fail;
12891 arg3 = (int) SWIG_AsInt(obj2);
12892 if (PyErr_Occurred()) SWIG_fail;
12893 arg4 = (bool) SWIG_AsBool(obj3);
12894 if (PyErr_Occurred()) SWIG_fail;
12895 {
12896 PyThreadState* __tstate = wxPyBeginAllowThreads();
12897 (arg1)->SetCellOverflow(arg2,arg3,arg4);
12898
12899 wxPyEndAllowThreads(__tstate);
12900 if (PyErr_Occurred()) SWIG_fail;
12901 }
12902 Py_INCREF(Py_None); resultobj = Py_None;
12903 return resultobj;
12904 fail:
12905 return NULL;
12906 }
12907
12908
12909 static PyObject *_wrap_Grid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12910 PyObject *resultobj;
12911 wxGrid *arg1 = (wxGrid *) 0 ;
12912 int arg2 ;
12913 int arg3 ;
12914 int arg4 ;
12915 int arg5 ;
12916 PyObject * obj0 = 0 ;
12917 PyObject * obj1 = 0 ;
12918 PyObject * obj2 = 0 ;
12919 PyObject * obj3 = 0 ;
12920 PyObject * obj4 = 0 ;
12921 char *kwnames[] = {
12922 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
12923 };
12924
12925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Grid_SetCellSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12928 arg2 = (int) SWIG_AsInt(obj1);
12929 if (PyErr_Occurred()) SWIG_fail;
12930 arg3 = (int) SWIG_AsInt(obj2);
12931 if (PyErr_Occurred()) SWIG_fail;
12932 arg4 = (int) SWIG_AsInt(obj3);
12933 if (PyErr_Occurred()) SWIG_fail;
12934 arg5 = (int) SWIG_AsInt(obj4);
12935 if (PyErr_Occurred()) SWIG_fail;
12936 {
12937 PyThreadState* __tstate = wxPyBeginAllowThreads();
12938 (arg1)->SetCellSize(arg2,arg3,arg4,arg5);
12939
12940 wxPyEndAllowThreads(__tstate);
12941 if (PyErr_Occurred()) SWIG_fail;
12942 }
12943 Py_INCREF(Py_None); resultobj = Py_None;
12944 return resultobj;
12945 fail:
12946 return NULL;
12947 }
12948
12949
12950 static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12951 PyObject *resultobj;
12952 wxGrid *arg1 = (wxGrid *) 0 ;
12953 wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ;
12954 PyObject * obj0 = 0 ;
12955 PyObject * obj1 = 0 ;
12956 char *kwnames[] = {
12957 (char *) "self",(char *) "renderer", NULL
12958 };
12959
12960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultRenderer",kwnames,&obj0,&obj1)) goto fail;
12961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellRenderer,
12964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12965 {
12966 PyThreadState* __tstate = wxPyBeginAllowThreads();
12967 (arg1)->SetDefaultRenderer(arg2);
12968
12969 wxPyEndAllowThreads(__tstate);
12970 if (PyErr_Occurred()) SWIG_fail;
12971 }
12972 Py_INCREF(Py_None); resultobj = Py_None;
12973 return resultobj;
12974 fail:
12975 return NULL;
12976 }
12977
12978
12979 static PyObject *_wrap_Grid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12980 PyObject *resultobj;
12981 wxGrid *arg1 = (wxGrid *) 0 ;
12982 int arg2 ;
12983 int arg3 ;
12984 wxGridCellRenderer *arg4 = (wxGridCellRenderer *) 0 ;
12985 PyObject * obj0 = 0 ;
12986 PyObject * obj1 = 0 ;
12987 PyObject * obj2 = 0 ;
12988 PyObject * obj3 = 0 ;
12989 char *kwnames[] = {
12990 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
12991 };
12992
12993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellRenderer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
12995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12996 arg2 = (int) SWIG_AsInt(obj1);
12997 if (PyErr_Occurred()) SWIG_fail;
12998 arg3 = (int) SWIG_AsInt(obj2);
12999 if (PyErr_Occurred()) SWIG_fail;
13000 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellRenderer,
13001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13002 {
13003 PyThreadState* __tstate = wxPyBeginAllowThreads();
13004 (arg1)->SetCellRenderer(arg2,arg3,arg4);
13005
13006 wxPyEndAllowThreads(__tstate);
13007 if (PyErr_Occurred()) SWIG_fail;
13008 }
13009 Py_INCREF(Py_None); resultobj = Py_None;
13010 return resultobj;
13011 fail:
13012 return NULL;
13013 }
13014
13015
13016 static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
13017 PyObject *resultobj;
13018 wxGrid *arg1 = (wxGrid *) 0 ;
13019 wxGridCellRenderer *result;
13020 PyObject * obj0 = 0 ;
13021 char *kwnames[] = {
13022 (char *) "self", NULL
13023 };
13024
13025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultRenderer",kwnames,&obj0)) goto fail;
13026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRenderer();
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 {
13036 resultobj = wxPyMake_wxGridCellRenderer(result);
13037 }
13038 return resultobj;
13039 fail:
13040 return NULL;
13041 }
13042
13043
13044 static PyObject *_wrap_Grid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
13045 PyObject *resultobj;
13046 wxGrid *arg1 = (wxGrid *) 0 ;
13047 int arg2 ;
13048 int arg3 ;
13049 wxGridCellRenderer *result;
13050 PyObject * obj0 = 0 ;
13051 PyObject * obj1 = 0 ;
13052 PyObject * obj2 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "self",(char *) "row",(char *) "col", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellRenderer",kwnames,&obj0,&obj1,&obj2)) goto fail;
13058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13060 arg2 = (int) SWIG_AsInt(obj1);
13061 if (PyErr_Occurred()) SWIG_fail;
13062 arg3 = (int) SWIG_AsInt(obj2);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 {
13065 PyThreadState* __tstate = wxPyBeginAllowThreads();
13066 result = (wxGridCellRenderer *)(arg1)->GetCellRenderer(arg2,arg3);
13067
13068 wxPyEndAllowThreads(__tstate);
13069 if (PyErr_Occurred()) SWIG_fail;
13070 }
13071 {
13072 resultobj = wxPyMake_wxGridCellRenderer(result);
13073 }
13074 return resultobj;
13075 fail:
13076 return NULL;
13077 }
13078
13079
13080 static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13081 PyObject *resultobj;
13082 wxGrid *arg1 = (wxGrid *) 0 ;
13083 wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ;
13084 PyObject * obj0 = 0 ;
13085 PyObject * obj1 = 0 ;
13086 char *kwnames[] = {
13087 (char *) "self",(char *) "editor", NULL
13088 };
13089
13090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetDefaultEditor",kwnames,&obj0,&obj1)) goto fail;
13091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridCellEditor,
13094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13095 {
13096 PyThreadState* __tstate = wxPyBeginAllowThreads();
13097 (arg1)->SetDefaultEditor(arg2);
13098
13099 wxPyEndAllowThreads(__tstate);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 }
13102 Py_INCREF(Py_None); resultobj = Py_None;
13103 return resultobj;
13104 fail:
13105 return NULL;
13106 }
13107
13108
13109 static PyObject *_wrap_Grid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13110 PyObject *resultobj;
13111 wxGrid *arg1 = (wxGrid *) 0 ;
13112 int arg2 ;
13113 int arg3 ;
13114 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
13115 PyObject * obj0 = 0 ;
13116 PyObject * obj1 = 0 ;
13117 PyObject * obj2 = 0 ;
13118 PyObject * obj3 = 0 ;
13119 char *kwnames[] = {
13120 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellEditor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13126 arg2 = (int) SWIG_AsInt(obj1);
13127 if (PyErr_Occurred()) SWIG_fail;
13128 arg3 = (int) SWIG_AsInt(obj2);
13129 if (PyErr_Occurred()) SWIG_fail;
13130 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
13131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13132 {
13133 PyThreadState* __tstate = wxPyBeginAllowThreads();
13134 (arg1)->SetCellEditor(arg2,arg3,arg4);
13135
13136 wxPyEndAllowThreads(__tstate);
13137 if (PyErr_Occurred()) SWIG_fail;
13138 }
13139 Py_INCREF(Py_None); resultobj = Py_None;
13140 return resultobj;
13141 fail:
13142 return NULL;
13143 }
13144
13145
13146 static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13147 PyObject *resultobj;
13148 wxGrid *arg1 = (wxGrid *) 0 ;
13149 wxGridCellEditor *result;
13150 PyObject * obj0 = 0 ;
13151 char *kwnames[] = {
13152 (char *) "self", NULL
13153 };
13154
13155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetDefaultEditor",kwnames,&obj0)) goto fail;
13156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13158 {
13159 PyThreadState* __tstate = wxPyBeginAllowThreads();
13160 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditor();
13161
13162 wxPyEndAllowThreads(__tstate);
13163 if (PyErr_Occurred()) SWIG_fail;
13164 }
13165 {
13166 resultobj = wxPyMake_wxGridCellEditor(result);
13167 }
13168 return resultobj;
13169 fail:
13170 return NULL;
13171 }
13172
13173
13174 static PyObject *_wrap_Grid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
13175 PyObject *resultobj;
13176 wxGrid *arg1 = (wxGrid *) 0 ;
13177 int arg2 ;
13178 int arg3 ;
13179 wxGridCellEditor *result;
13180 PyObject * obj0 = 0 ;
13181 PyObject * obj1 = 0 ;
13182 PyObject * obj2 = 0 ;
13183 char *kwnames[] = {
13184 (char *) "self",(char *) "row",(char *) "col", NULL
13185 };
13186
13187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellEditor",kwnames,&obj0,&obj1,&obj2)) goto fail;
13188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13190 arg2 = (int) SWIG_AsInt(obj1);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 arg3 = (int) SWIG_AsInt(obj2);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 {
13195 PyThreadState* __tstate = wxPyBeginAllowThreads();
13196 result = (wxGridCellEditor *)(arg1)->GetCellEditor(arg2,arg3);
13197
13198 wxPyEndAllowThreads(__tstate);
13199 if (PyErr_Occurred()) SWIG_fail;
13200 }
13201 {
13202 resultobj = wxPyMake_wxGridCellEditor(result);
13203 }
13204 return resultobj;
13205 fail:
13206 return NULL;
13207 }
13208
13209
13210 static PyObject *_wrap_Grid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13211 PyObject *resultobj;
13212 wxGrid *arg1 = (wxGrid *) 0 ;
13213 int arg2 ;
13214 int arg3 ;
13215 wxString result;
13216 PyObject * obj0 = 0 ;
13217 PyObject * obj1 = 0 ;
13218 PyObject * obj2 = 0 ;
13219 char *kwnames[] = {
13220 (char *) "self",(char *) "row",(char *) "col", NULL
13221 };
13222
13223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetCellValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
13224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13226 arg2 = (int) SWIG_AsInt(obj1);
13227 if (PyErr_Occurred()) SWIG_fail;
13228 arg3 = (int) SWIG_AsInt(obj2);
13229 if (PyErr_Occurred()) SWIG_fail;
13230 {
13231 PyThreadState* __tstate = wxPyBeginAllowThreads();
13232 result = (arg1)->GetCellValue(arg2,arg3);
13233
13234 wxPyEndAllowThreads(__tstate);
13235 if (PyErr_Occurred()) SWIG_fail;
13236 }
13237 {
13238 #if wxUSE_UNICODE
13239 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13240 #else
13241 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13242 #endif
13243 }
13244 return resultobj;
13245 fail:
13246 return NULL;
13247 }
13248
13249
13250 static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13251 PyObject *resultobj;
13252 wxGrid *arg1 = (wxGrid *) 0 ;
13253 int arg2 ;
13254 int arg3 ;
13255 wxString *arg4 = 0 ;
13256 bool temp4 = False ;
13257 PyObject * obj0 = 0 ;
13258 PyObject * obj1 = 0 ;
13259 PyObject * obj2 = 0 ;
13260 PyObject * obj3 = 0 ;
13261 char *kwnames[] = {
13262 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13263 };
13264
13265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_SetCellValue",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13268 arg2 = (int) SWIG_AsInt(obj1);
13269 if (PyErr_Occurred()) SWIG_fail;
13270 arg3 = (int) SWIG_AsInt(obj2);
13271 if (PyErr_Occurred()) SWIG_fail;
13272 {
13273 arg4 = wxString_in_helper(obj3);
13274 if (arg4 == NULL) SWIG_fail;
13275 temp4 = True;
13276 }
13277 {
13278 PyThreadState* __tstate = wxPyBeginAllowThreads();
13279 (arg1)->SetCellValue(arg2,arg3,(wxString const &)*arg4);
13280
13281 wxPyEndAllowThreads(__tstate);
13282 if (PyErr_Occurred()) SWIG_fail;
13283 }
13284 Py_INCREF(Py_None); resultobj = Py_None;
13285 {
13286 if (temp4)
13287 delete arg4;
13288 }
13289 return resultobj;
13290 fail:
13291 {
13292 if (temp4)
13293 delete arg4;
13294 }
13295 return NULL;
13296 }
13297
13298
13299 static PyObject *_wrap_Grid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13300 PyObject *resultobj;
13301 wxGrid *arg1 = (wxGrid *) 0 ;
13302 int arg2 ;
13303 int arg3 ;
13304 bool result;
13305 PyObject * obj0 = 0 ;
13306 PyObject * obj1 = 0 ;
13307 PyObject * obj2 = 0 ;
13308 char *kwnames[] = {
13309 (char *) "self",(char *) "row",(char *) "col", NULL
13310 };
13311
13312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsReadOnly",kwnames,&obj0,&obj1,&obj2)) goto fail;
13313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13315 arg2 = (int) SWIG_AsInt(obj1);
13316 if (PyErr_Occurred()) SWIG_fail;
13317 arg3 = (int) SWIG_AsInt(obj2);
13318 if (PyErr_Occurred()) SWIG_fail;
13319 {
13320 PyThreadState* __tstate = wxPyBeginAllowThreads();
13321 result = (bool)((wxGrid const *)arg1)->IsReadOnly(arg2,arg3);
13322
13323 wxPyEndAllowThreads(__tstate);
13324 if (PyErr_Occurred()) SWIG_fail;
13325 }
13326 {
13327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13328 }
13329 return resultobj;
13330 fail:
13331 return NULL;
13332 }
13333
13334
13335 static PyObject *_wrap_Grid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
13336 PyObject *resultobj;
13337 wxGrid *arg1 = (wxGrid *) 0 ;
13338 int arg2 ;
13339 int arg3 ;
13340 bool arg4 = (bool) True ;
13341 PyObject * obj0 = 0 ;
13342 PyObject * obj1 = 0 ;
13343 PyObject * obj2 = 0 ;
13344 PyObject * obj3 = 0 ;
13345 char *kwnames[] = {
13346 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13347 };
13348
13349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Grid_SetReadOnly",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13352 arg2 = (int) SWIG_AsInt(obj1);
13353 if (PyErr_Occurred()) SWIG_fail;
13354 arg3 = (int) SWIG_AsInt(obj2);
13355 if (PyErr_Occurred()) SWIG_fail;
13356 if (obj3) {
13357 arg4 = (bool) SWIG_AsBool(obj3);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 {
13361 PyThreadState* __tstate = wxPyBeginAllowThreads();
13362 (arg1)->SetReadOnly(arg2,arg3,arg4);
13363
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 Py_INCREF(Py_None); resultobj = Py_None;
13368 return resultobj;
13369 fail:
13370 return NULL;
13371 }
13372
13373
13374 static PyObject *_wrap_Grid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13375 PyObject *resultobj;
13376 wxGrid *arg1 = (wxGrid *) 0 ;
13377 int arg2 ;
13378 bool arg3 = (bool) False ;
13379 PyObject * obj0 = 0 ;
13380 PyObject * obj1 = 0 ;
13381 PyObject * obj2 = 0 ;
13382 char *kwnames[] = {
13383 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13384 };
13385
13386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
13387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13389 arg2 = (int) SWIG_AsInt(obj1);
13390 if (PyErr_Occurred()) SWIG_fail;
13391 if (obj2) {
13392 arg3 = (bool) SWIG_AsBool(obj2);
13393 if (PyErr_Occurred()) SWIG_fail;
13394 }
13395 {
13396 PyThreadState* __tstate = wxPyBeginAllowThreads();
13397 (arg1)->SelectRow(arg2,arg3);
13398
13399 wxPyEndAllowThreads(__tstate);
13400 if (PyErr_Occurred()) SWIG_fail;
13401 }
13402 Py_INCREF(Py_None); resultobj = Py_None;
13403 return resultobj;
13404 fail:
13405 return NULL;
13406 }
13407
13408
13409 static PyObject *_wrap_Grid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13410 PyObject *resultobj;
13411 wxGrid *arg1 = (wxGrid *) 0 ;
13412 int arg2 ;
13413 bool arg3 = (bool) False ;
13414 PyObject * obj0 = 0 ;
13415 PyObject * obj1 = 0 ;
13416 PyObject * obj2 = 0 ;
13417 char *kwnames[] = {
13418 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13419 };
13420
13421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Grid_SelectCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
13422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13424 arg2 = (int) SWIG_AsInt(obj1);
13425 if (PyErr_Occurred()) SWIG_fail;
13426 if (obj2) {
13427 arg3 = (bool) SWIG_AsBool(obj2);
13428 if (PyErr_Occurred()) SWIG_fail;
13429 }
13430 {
13431 PyThreadState* __tstate = wxPyBeginAllowThreads();
13432 (arg1)->SelectCol(arg2,arg3);
13433
13434 wxPyEndAllowThreads(__tstate);
13435 if (PyErr_Occurred()) SWIG_fail;
13436 }
13437 Py_INCREF(Py_None); resultobj = Py_None;
13438 return resultobj;
13439 fail:
13440 return NULL;
13441 }
13442
13443
13444 static PyObject *_wrap_Grid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
13445 PyObject *resultobj;
13446 wxGrid *arg1 = (wxGrid *) 0 ;
13447 int arg2 ;
13448 int arg3 ;
13449 int arg4 ;
13450 int arg5 ;
13451 bool arg6 = (bool) False ;
13452 PyObject * obj0 = 0 ;
13453 PyObject * obj1 = 0 ;
13454 PyObject * obj2 = 0 ;
13455 PyObject * obj3 = 0 ;
13456 PyObject * obj4 = 0 ;
13457 PyObject * obj5 = 0 ;
13458 char *kwnames[] = {
13459 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13460 };
13461
13462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Grid_SelectBlock",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13465 arg2 = (int) SWIG_AsInt(obj1);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 arg3 = (int) SWIG_AsInt(obj2);
13468 if (PyErr_Occurred()) SWIG_fail;
13469 arg4 = (int) SWIG_AsInt(obj3);
13470 if (PyErr_Occurred()) SWIG_fail;
13471 arg5 = (int) SWIG_AsInt(obj4);
13472 if (PyErr_Occurred()) SWIG_fail;
13473 if (obj5) {
13474 arg6 = (bool) SWIG_AsBool(obj5);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 {
13478 PyThreadState* __tstate = wxPyBeginAllowThreads();
13479 (arg1)->SelectBlock(arg2,arg3,arg4,arg5,arg6);
13480
13481 wxPyEndAllowThreads(__tstate);
13482 if (PyErr_Occurred()) SWIG_fail;
13483 }
13484 Py_INCREF(Py_None); resultobj = Py_None;
13485 return resultobj;
13486 fail:
13487 return NULL;
13488 }
13489
13490
13491 static PyObject *_wrap_Grid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
13492 PyObject *resultobj;
13493 wxGrid *arg1 = (wxGrid *) 0 ;
13494 PyObject * obj0 = 0 ;
13495 char *kwnames[] = {
13496 (char *) "self", NULL
13497 };
13498
13499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_SelectAll",kwnames,&obj0)) goto fail;
13500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13502 {
13503 PyThreadState* __tstate = wxPyBeginAllowThreads();
13504 (arg1)->SelectAll();
13505
13506 wxPyEndAllowThreads(__tstate);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
13509 Py_INCREF(Py_None); resultobj = Py_None;
13510 return resultobj;
13511 fail:
13512 return NULL;
13513 }
13514
13515
13516 static PyObject *_wrap_Grid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13517 PyObject *resultobj;
13518 wxGrid *arg1 = (wxGrid *) 0 ;
13519 bool result;
13520 PyObject * obj0 = 0 ;
13521 char *kwnames[] = {
13522 (char *) "self", NULL
13523 };
13524
13525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_IsSelection",kwnames,&obj0)) goto fail;
13526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13528 {
13529 PyThreadState* __tstate = wxPyBeginAllowThreads();
13530 result = (bool)(arg1)->IsSelection();
13531
13532 wxPyEndAllowThreads(__tstate);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
13535 {
13536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13537 }
13538 return resultobj;
13539 fail:
13540 return NULL;
13541 }
13542
13543
13544 static PyObject *_wrap_Grid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13545 PyObject *resultobj;
13546 wxGrid *arg1 = (wxGrid *) 0 ;
13547 PyObject * obj0 = 0 ;
13548 char *kwnames[] = {
13549 (char *) "self", NULL
13550 };
13551
13552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_ClearSelection",kwnames,&obj0)) goto fail;
13553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13555 {
13556 PyThreadState* __tstate = wxPyBeginAllowThreads();
13557 (arg1)->ClearSelection();
13558
13559 wxPyEndAllowThreads(__tstate);
13560 if (PyErr_Occurred()) SWIG_fail;
13561 }
13562 Py_INCREF(Py_None); resultobj = Py_None;
13563 return resultobj;
13564 fail:
13565 return NULL;
13566 }
13567
13568
13569 static PyObject *_wrap_Grid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13570 PyObject *resultobj;
13571 wxGrid *arg1 = (wxGrid *) 0 ;
13572 int arg2 ;
13573 int arg3 ;
13574 bool result;
13575 PyObject * obj0 = 0 ;
13576 PyObject * obj1 = 0 ;
13577 PyObject * obj2 = 0 ;
13578 char *kwnames[] = {
13579 (char *) "self",(char *) "row",(char *) "col", NULL
13580 };
13581
13582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_IsInSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13585 arg2 = (int) SWIG_AsInt(obj1);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 arg3 = (int) SWIG_AsInt(obj2);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 {
13590 PyThreadState* __tstate = wxPyBeginAllowThreads();
13591 result = (bool)(arg1)->IsInSelection(arg2,arg3);
13592
13593 wxPyEndAllowThreads(__tstate);
13594 if (PyErr_Occurred()) SWIG_fail;
13595 }
13596 {
13597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13598 }
13599 return resultobj;
13600 fail:
13601 return NULL;
13602 }
13603
13604
13605 static PyObject *_wrap_Grid_GetSelectedCells(PyObject *self, PyObject *args, PyObject *kwargs) {
13606 PyObject *resultobj;
13607 wxGrid *arg1 = (wxGrid *) 0 ;
13608 wxGridCellCoordsArray result;
13609 PyObject * obj0 = 0 ;
13610 char *kwnames[] = {
13611 (char *) "self", NULL
13612 };
13613
13614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCells",kwnames,&obj0)) goto fail;
13615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13617 {
13618 PyThreadState* __tstate = wxPyBeginAllowThreads();
13619 result = ((wxGrid const *)arg1)->GetSelectedCells();
13620
13621 wxPyEndAllowThreads(__tstate);
13622 if (PyErr_Occurred()) SWIG_fail;
13623 }
13624 {
13625 resultobj = wxGridCellCoordsArray_helper(result);
13626 }
13627 return resultobj;
13628 fail:
13629 return NULL;
13630 }
13631
13632
13633 static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13634 PyObject *resultobj;
13635 wxGrid *arg1 = (wxGrid *) 0 ;
13636 wxGridCellCoordsArray result;
13637 PyObject * obj0 = 0 ;
13638 char *kwnames[] = {
13639 (char *) "self", NULL
13640 };
13641
13642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames,&obj0)) goto fail;
13643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13645 {
13646 PyThreadState* __tstate = wxPyBeginAllowThreads();
13647 result = ((wxGrid const *)arg1)->GetSelectionBlockTopLeft();
13648
13649 wxPyEndAllowThreads(__tstate);
13650 if (PyErr_Occurred()) SWIG_fail;
13651 }
13652 {
13653 resultobj = wxGridCellCoordsArray_helper(result);
13654 }
13655 return resultobj;
13656 fail:
13657 return NULL;
13658 }
13659
13660
13661 static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13662 PyObject *resultobj;
13663 wxGrid *arg1 = (wxGrid *) 0 ;
13664 wxGridCellCoordsArray result;
13665 PyObject * obj0 = 0 ;
13666 char *kwnames[] = {
13667 (char *) "self", NULL
13668 };
13669
13670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames,&obj0)) goto fail;
13671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13673 {
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
13675 result = ((wxGrid const *)arg1)->GetSelectionBlockBottomRight();
13676
13677 wxPyEndAllowThreads(__tstate);
13678 if (PyErr_Occurred()) SWIG_fail;
13679 }
13680 {
13681 resultobj = wxGridCellCoordsArray_helper(result);
13682 }
13683 return resultobj;
13684 fail:
13685 return NULL;
13686 }
13687
13688
13689 static PyObject *_wrap_Grid_GetSelectedRows(PyObject *self, PyObject *args, PyObject *kwargs) {
13690 PyObject *resultobj;
13691 wxGrid *arg1 = (wxGrid *) 0 ;
13692 wxArrayInt result;
13693 PyObject * obj0 = 0 ;
13694 char *kwnames[] = {
13695 (char *) "self", NULL
13696 };
13697
13698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedRows",kwnames,&obj0)) goto fail;
13699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13701 {
13702 PyThreadState* __tstate = wxPyBeginAllowThreads();
13703 result = ((wxGrid const *)arg1)->GetSelectedRows();
13704
13705 wxPyEndAllowThreads(__tstate);
13706 if (PyErr_Occurred()) SWIG_fail;
13707 }
13708 {
13709 resultobj = PyList_New(0);
13710 size_t idx;
13711 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13712 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13713 PyList_Append(resultobj, val);
13714 Py_DECREF(val);
13715 }
13716 }
13717 return resultobj;
13718 fail:
13719 return NULL;
13720 }
13721
13722
13723 static PyObject *_wrap_Grid_GetSelectedCols(PyObject *self, PyObject *args, PyObject *kwargs) {
13724 PyObject *resultobj;
13725 wxGrid *arg1 = (wxGrid *) 0 ;
13726 wxArrayInt result;
13727 PyObject * obj0 = 0 ;
13728 char *kwnames[] = {
13729 (char *) "self", NULL
13730 };
13731
13732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectedCols",kwnames,&obj0)) goto fail;
13733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13735 {
13736 PyThreadState* __tstate = wxPyBeginAllowThreads();
13737 result = ((wxGrid const *)arg1)->GetSelectedCols();
13738
13739 wxPyEndAllowThreads(__tstate);
13740 if (PyErr_Occurred()) SWIG_fail;
13741 }
13742 {
13743 resultobj = PyList_New(0);
13744 size_t idx;
13745 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13746 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13747 PyList_Append(resultobj, val);
13748 Py_DECREF(val);
13749 }
13750 }
13751 return resultobj;
13752 fail:
13753 return NULL;
13754 }
13755
13756
13757 static PyObject *_wrap_Grid_DeselectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13758 PyObject *resultobj;
13759 wxGrid *arg1 = (wxGrid *) 0 ;
13760 int arg2 ;
13761 PyObject * obj0 = 0 ;
13762 PyObject * obj1 = 0 ;
13763 char *kwnames[] = {
13764 (char *) "self",(char *) "row", NULL
13765 };
13766
13767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectRow",kwnames,&obj0,&obj1)) goto fail;
13768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13770 arg2 = (int) SWIG_AsInt(obj1);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 {
13773 PyThreadState* __tstate = wxPyBeginAllowThreads();
13774 (arg1)->DeselectRow(arg2);
13775
13776 wxPyEndAllowThreads(__tstate);
13777 if (PyErr_Occurred()) SWIG_fail;
13778 }
13779 Py_INCREF(Py_None); resultobj = Py_None;
13780 return resultobj;
13781 fail:
13782 return NULL;
13783 }
13784
13785
13786 static PyObject *_wrap_Grid_DeselectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13787 PyObject *resultobj;
13788 wxGrid *arg1 = (wxGrid *) 0 ;
13789 int arg2 ;
13790 PyObject * obj0 = 0 ;
13791 PyObject * obj1 = 0 ;
13792 char *kwnames[] = {
13793 (char *) "self",(char *) "col", NULL
13794 };
13795
13796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_DeselectCol",kwnames,&obj0,&obj1)) goto fail;
13797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13799 arg2 = (int) SWIG_AsInt(obj1);
13800 if (PyErr_Occurred()) SWIG_fail;
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 (arg1)->DeselectCol(arg2);
13804
13805 wxPyEndAllowThreads(__tstate);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
13808 Py_INCREF(Py_None); resultobj = Py_None;
13809 return resultobj;
13810 fail:
13811 return NULL;
13812 }
13813
13814
13815 static PyObject *_wrap_Grid_DeselectCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13816 PyObject *resultobj;
13817 wxGrid *arg1 = (wxGrid *) 0 ;
13818 int arg2 ;
13819 int arg3 ;
13820 PyObject * obj0 = 0 ;
13821 PyObject * obj1 = 0 ;
13822 PyObject * obj2 = 0 ;
13823 char *kwnames[] = {
13824 (char *) "self",(char *) "row",(char *) "col", NULL
13825 };
13826
13827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_DeselectCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
13828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13830 arg2 = (int) SWIG_AsInt(obj1);
13831 if (PyErr_Occurred()) SWIG_fail;
13832 arg3 = (int) SWIG_AsInt(obj2);
13833 if (PyErr_Occurred()) SWIG_fail;
13834 {
13835 PyThreadState* __tstate = wxPyBeginAllowThreads();
13836 (arg1)->DeselectCell(arg2,arg3);
13837
13838 wxPyEndAllowThreads(__tstate);
13839 if (PyErr_Occurred()) SWIG_fail;
13840 }
13841 Py_INCREF(Py_None); resultobj = Py_None;
13842 return resultobj;
13843 fail:
13844 return NULL;
13845 }
13846
13847
13848 static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
13849 PyObject *resultobj;
13850 wxGrid *arg1 = (wxGrid *) 0 ;
13851 wxGridCellCoords *arg2 = 0 ;
13852 wxGridCellCoords *arg3 = 0 ;
13853 wxRect result;
13854 wxGridCellCoords temp2 ;
13855 wxGridCellCoords temp3 ;
13856 PyObject * obj0 = 0 ;
13857 PyObject * obj1 = 0 ;
13858 PyObject * obj2 = 0 ;
13859 char *kwnames[] = {
13860 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13861 };
13862
13863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_BlockToDeviceRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
13864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13866 {
13867 arg2 = &temp2;
13868 if (! wxGridCellCoords_helper(obj1, &arg2)) SWIG_fail;
13869 }
13870 {
13871 arg3 = &temp3;
13872 if (! wxGridCellCoords_helper(obj2, &arg3)) SWIG_fail;
13873 }
13874 {
13875 PyThreadState* __tstate = wxPyBeginAllowThreads();
13876 result = (arg1)->BlockToDeviceRect((wxGridCellCoords const &)*arg2,(wxGridCellCoords const &)*arg3);
13877
13878 wxPyEndAllowThreads(__tstate);
13879 if (PyErr_Occurred()) SWIG_fail;
13880 }
13881 {
13882 wxRect * resultptr;
13883 resultptr = new wxRect((wxRect &) result);
13884 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
13885 }
13886 return resultobj;
13887 fail:
13888 return NULL;
13889 }
13890
13891
13892 static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13893 PyObject *resultobj;
13894 wxGrid *arg1 = (wxGrid *) 0 ;
13895 wxColour result;
13896 PyObject * obj0 = 0 ;
13897 char *kwnames[] = {
13898 (char *) "self", NULL
13899 };
13900
13901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionBackground",kwnames,&obj0)) goto fail;
13902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13904 {
13905 PyThreadState* __tstate = wxPyBeginAllowThreads();
13906 result = ((wxGrid const *)arg1)->GetSelectionBackground();
13907
13908 wxPyEndAllowThreads(__tstate);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
13911 {
13912 wxColour * resultptr;
13913 resultptr = new wxColour((wxColour &) result);
13914 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13915 }
13916 return resultobj;
13917 fail:
13918 return NULL;
13919 }
13920
13921
13922 static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13923 PyObject *resultobj;
13924 wxGrid *arg1 = (wxGrid *) 0 ;
13925 wxColour result;
13926 PyObject * obj0 = 0 ;
13927 char *kwnames[] = {
13928 (char *) "self", NULL
13929 };
13930
13931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetSelectionForeground",kwnames,&obj0)) goto fail;
13932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13934 {
13935 PyThreadState* __tstate = wxPyBeginAllowThreads();
13936 result = ((wxGrid const *)arg1)->GetSelectionForeground();
13937
13938 wxPyEndAllowThreads(__tstate);
13939 if (PyErr_Occurred()) SWIG_fail;
13940 }
13941 {
13942 wxColour * resultptr;
13943 resultptr = new wxColour((wxColour &) result);
13944 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13945 }
13946 return resultobj;
13947 fail:
13948 return NULL;
13949 }
13950
13951
13952 static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13953 PyObject *resultobj;
13954 wxGrid *arg1 = (wxGrid *) 0 ;
13955 wxColour *arg2 = 0 ;
13956 wxColour temp2 ;
13957 PyObject * obj0 = 0 ;
13958 PyObject * obj1 = 0 ;
13959 char *kwnames[] = {
13960 (char *) "self",(char *) "c", NULL
13961 };
13962
13963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
13964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13966 {
13967 arg2 = &temp2;
13968 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13969 }
13970 {
13971 PyThreadState* __tstate = wxPyBeginAllowThreads();
13972 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
13973
13974 wxPyEndAllowThreads(__tstate);
13975 if (PyErr_Occurred()) SWIG_fail;
13976 }
13977 Py_INCREF(Py_None); resultobj = Py_None;
13978 return resultobj;
13979 fail:
13980 return NULL;
13981 }
13982
13983
13984 static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13985 PyObject *resultobj;
13986 wxGrid *arg1 = (wxGrid *) 0 ;
13987 wxColour *arg2 = 0 ;
13988 wxColour temp2 ;
13989 PyObject * obj0 = 0 ;
13990 PyObject * obj1 = 0 ;
13991 char *kwnames[] = {
13992 (char *) "self",(char *) "c", NULL
13993 };
13994
13995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_SetSelectionForeground",kwnames,&obj0,&obj1)) goto fail;
13996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
13997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13998 {
13999 arg2 = &temp2;
14000 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14001 }
14002 {
14003 PyThreadState* __tstate = wxPyBeginAllowThreads();
14004 (arg1)->SetSelectionForeground((wxColour const &)*arg2);
14005
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 Py_INCREF(Py_None); resultobj = Py_None;
14010 return resultobj;
14011 fail:
14012 return NULL;
14013 }
14014
14015
14016 static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
14017 PyObject *resultobj;
14018 wxGrid *arg1 = (wxGrid *) 0 ;
14019 wxString *arg2 = 0 ;
14020 wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
14021 wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
14022 bool temp2 = False ;
14023 PyObject * obj0 = 0 ;
14024 PyObject * obj1 = 0 ;
14025 PyObject * obj2 = 0 ;
14026 PyObject * obj3 = 0 ;
14027 char *kwnames[] = {
14028 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
14029 };
14030
14031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Grid_RegisterDataType",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14034 {
14035 arg2 = wxString_in_helper(obj1);
14036 if (arg2 == NULL) SWIG_fail;
14037 temp2 = True;
14038 }
14039 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellRenderer,
14040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14041 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGridCellEditor,
14042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14043 {
14044 PyThreadState* __tstate = wxPyBeginAllowThreads();
14045 (arg1)->RegisterDataType((wxString const &)*arg2,arg3,arg4);
14046
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 Py_INCREF(Py_None); resultobj = Py_None;
14051 {
14052 if (temp2)
14053 delete arg2;
14054 }
14055 return resultobj;
14056 fail:
14057 {
14058 if (temp2)
14059 delete arg2;
14060 }
14061 return NULL;
14062 }
14063
14064
14065 static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
14066 PyObject *resultobj;
14067 wxGrid *arg1 = (wxGrid *) 0 ;
14068 int arg2 ;
14069 int arg3 ;
14070 wxGridCellEditor *result;
14071 PyObject * obj0 = 0 ;
14072 PyObject * obj1 = 0 ;
14073 PyObject * obj2 = 0 ;
14074 char *kwnames[] = {
14075 (char *) "self",(char *) "row",(char *) "col", NULL
14076 };
14077
14078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
14079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14081 arg2 = (int) SWIG_AsInt(obj1);
14082 if (PyErr_Occurred()) SWIG_fail;
14083 arg3 = (int) SWIG_AsInt(obj2);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 {
14086 PyThreadState* __tstate = wxPyBeginAllowThreads();
14087 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForCell(arg2,arg3);
14088
14089 wxPyEndAllowThreads(__tstate);
14090 if (PyErr_Occurred()) SWIG_fail;
14091 }
14092 {
14093 resultobj = wxPyMake_wxGridCellEditor(result);
14094 }
14095 return resultobj;
14096 fail:
14097 return NULL;
14098 }
14099
14100
14101 static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
14102 PyObject *resultobj;
14103 wxGrid *arg1 = (wxGrid *) 0 ;
14104 int arg2 ;
14105 int arg3 ;
14106 wxGridCellRenderer *result;
14107 PyObject * obj0 = 0 ;
14108 PyObject * obj1 = 0 ;
14109 PyObject * obj2 = 0 ;
14110 char *kwnames[] = {
14111 (char *) "self",(char *) "row",(char *) "col", NULL
14112 };
14113
14114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames,&obj0,&obj1,&obj2)) goto fail;
14115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14117 arg2 = (int) SWIG_AsInt(obj1);
14118 if (PyErr_Occurred()) SWIG_fail;
14119 arg3 = (int) SWIG_AsInt(obj2);
14120 if (PyErr_Occurred()) SWIG_fail;
14121 {
14122 PyThreadState* __tstate = wxPyBeginAllowThreads();
14123 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForCell(arg2,arg3);
14124
14125 wxPyEndAllowThreads(__tstate);
14126 if (PyErr_Occurred()) SWIG_fail;
14127 }
14128 {
14129 resultobj = wxPyMake_wxGridCellRenderer(result);
14130 }
14131 return resultobj;
14132 fail:
14133 return NULL;
14134 }
14135
14136
14137 static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
14138 PyObject *resultobj;
14139 wxGrid *arg1 = (wxGrid *) 0 ;
14140 wxString *arg2 = 0 ;
14141 wxGridCellEditor *result;
14142 bool temp2 = False ;
14143 PyObject * obj0 = 0 ;
14144 PyObject * obj1 = 0 ;
14145 char *kwnames[] = {
14146 (char *) "self",(char *) "typeName", NULL
14147 };
14148
14149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultEditorForType",kwnames,&obj0,&obj1)) goto fail;
14150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14152 {
14153 arg2 = wxString_in_helper(obj1);
14154 if (arg2 == NULL) SWIG_fail;
14155 temp2 = True;
14156 }
14157 {
14158 PyThreadState* __tstate = wxPyBeginAllowThreads();
14159 result = (wxGridCellEditor *)((wxGrid const *)arg1)->GetDefaultEditorForType((wxString const &)*arg2);
14160
14161 wxPyEndAllowThreads(__tstate);
14162 if (PyErr_Occurred()) SWIG_fail;
14163 }
14164 {
14165 resultobj = wxPyMake_wxGridCellEditor(result);
14166 }
14167 {
14168 if (temp2)
14169 delete arg2;
14170 }
14171 return resultobj;
14172 fail:
14173 {
14174 if (temp2)
14175 delete arg2;
14176 }
14177 return NULL;
14178 }
14179
14180
14181 static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
14182 PyObject *resultobj;
14183 wxGrid *arg1 = (wxGrid *) 0 ;
14184 wxString *arg2 = 0 ;
14185 wxGridCellRenderer *result;
14186 bool temp2 = False ;
14187 PyObject * obj0 = 0 ;
14188 PyObject * obj1 = 0 ;
14189 char *kwnames[] = {
14190 (char *) "self",(char *) "typeName", NULL
14191 };
14192
14193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Grid_GetDefaultRendererForType",kwnames,&obj0,&obj1)) goto fail;
14194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14196 {
14197 arg2 = wxString_in_helper(obj1);
14198 if (arg2 == NULL) SWIG_fail;
14199 temp2 = True;
14200 }
14201 {
14202 PyThreadState* __tstate = wxPyBeginAllowThreads();
14203 result = (wxGridCellRenderer *)((wxGrid const *)arg1)->GetDefaultRendererForType((wxString const &)*arg2);
14204
14205 wxPyEndAllowThreads(__tstate);
14206 if (PyErr_Occurred()) SWIG_fail;
14207 }
14208 {
14209 resultobj = wxPyMake_wxGridCellRenderer(result);
14210 }
14211 {
14212 if (temp2)
14213 delete arg2;
14214 }
14215 return resultobj;
14216 fail:
14217 {
14218 if (temp2)
14219 delete arg2;
14220 }
14221 return NULL;
14222 }
14223
14224
14225 static PyObject *_wrap_Grid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14226 PyObject *resultobj;
14227 wxGrid *arg1 = (wxGrid *) 0 ;
14228 int arg2 ;
14229 int arg3 ;
14230 PyObject * obj0 = 0 ;
14231 PyObject * obj1 = 0 ;
14232 PyObject * obj2 = 0 ;
14233 char *kwnames[] = {
14234 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14235 };
14236
14237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Grid_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
14238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14240 arg2 = (int) SWIG_AsInt(obj1);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 arg3 = (int) SWIG_AsInt(obj2);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 {
14245 PyThreadState* __tstate = wxPyBeginAllowThreads();
14246 (arg1)->SetMargins(arg2,arg3);
14247
14248 wxPyEndAllowThreads(__tstate);
14249 if (PyErr_Occurred()) SWIG_fail;
14250 }
14251 Py_INCREF(Py_None); resultobj = Py_None;
14252 return resultobj;
14253 fail:
14254 return NULL;
14255 }
14256
14257
14258 static PyObject *_wrap_Grid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14259 PyObject *resultobj;
14260 wxGrid *arg1 = (wxGrid *) 0 ;
14261 wxWindow *result;
14262 PyObject * obj0 = 0 ;
14263 char *kwnames[] = {
14264 (char *) "self", NULL
14265 };
14266
14267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridWindow",kwnames,&obj0)) goto fail;
14268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14270 {
14271 PyThreadState* __tstate = wxPyBeginAllowThreads();
14272 result = (wxWindow *)(arg1)->GetGridWindow();
14273
14274 wxPyEndAllowThreads(__tstate);
14275 if (PyErr_Occurred()) SWIG_fail;
14276 }
14277 {
14278 resultobj = wxPyMake_wxObject(result);
14279 }
14280 return resultobj;
14281 fail:
14282 return NULL;
14283 }
14284
14285
14286 static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14287 PyObject *resultobj;
14288 wxGrid *arg1 = (wxGrid *) 0 ;
14289 wxWindow *result;
14290 PyObject * obj0 = 0 ;
14291 char *kwnames[] = {
14292 (char *) "self", NULL
14293 };
14294
14295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridRowLabelWindow",kwnames,&obj0)) goto fail;
14296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14298 {
14299 PyThreadState* __tstate = wxPyBeginAllowThreads();
14300 result = (wxWindow *)(arg1)->GetGridRowLabelWindow();
14301
14302 wxPyEndAllowThreads(__tstate);
14303 if (PyErr_Occurred()) SWIG_fail;
14304 }
14305 {
14306 resultobj = wxPyMake_wxObject(result);
14307 }
14308 return resultobj;
14309 fail:
14310 return NULL;
14311 }
14312
14313
14314 static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14315 PyObject *resultobj;
14316 wxGrid *arg1 = (wxGrid *) 0 ;
14317 wxWindow *result;
14318 PyObject * obj0 = 0 ;
14319 char *kwnames[] = {
14320 (char *) "self", NULL
14321 };
14322
14323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridColLabelWindow",kwnames,&obj0)) goto fail;
14324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 result = (wxWindow *)(arg1)->GetGridColLabelWindow();
14329
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 {
14334 resultobj = wxPyMake_wxObject(result);
14335 }
14336 return resultobj;
14337 fail:
14338 return NULL;
14339 }
14340
14341
14342 static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14343 PyObject *resultobj;
14344 wxGrid *arg1 = (wxGrid *) 0 ;
14345 wxWindow *result;
14346 PyObject * obj0 = 0 ;
14347 char *kwnames[] = {
14348 (char *) "self", NULL
14349 };
14350
14351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames,&obj0)) goto fail;
14352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGrid,
14353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = (wxWindow *)(arg1)->GetGridCornerLabelWindow();
14357
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 {
14362 resultobj = wxPyMake_wxObject(result);
14363 }
14364 return resultobj;
14365 fail:
14366 return NULL;
14367 }
14368
14369
14370 static PyObject *_wrap_Grid_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14371 PyObject *resultobj;
14372 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14373 wxVisualAttributes result;
14374 PyObject * obj0 = 0 ;
14375 char *kwnames[] = {
14376 (char *) "variant", NULL
14377 };
14378
14379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14380 if (obj0) {
14381 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14382 if (PyErr_Occurred()) SWIG_fail;
14383 }
14384 {
14385 PyThreadState* __tstate = wxPyBeginAllowThreads();
14386 result = wxGrid::GetClassDefaultAttributes((wxWindowVariant )arg1);
14387
14388 wxPyEndAllowThreads(__tstate);
14389 if (PyErr_Occurred()) SWIG_fail;
14390 }
14391 {
14392 wxVisualAttributes * resultptr;
14393 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14394 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14395 }
14396 return resultobj;
14397 fail:
14398 return NULL;
14399 }
14400
14401
14402 static PyObject * Grid_swigregister(PyObject *self, PyObject *args) {
14403 PyObject *obj;
14404 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14405 SWIG_TypeClientData(SWIGTYPE_p_wxGrid, obj);
14406 Py_INCREF(obj);
14407 return Py_BuildValue((char *)"");
14408 }
14409 static PyObject *_wrap_new_GridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14410 PyObject *resultobj;
14411 int arg1 ;
14412 wxEventType arg2 ;
14413 wxGrid *arg3 = (wxGrid *) 0 ;
14414 int arg4 = (int) -1 ;
14415 int arg5 = (int) -1 ;
14416 int arg6 = (int) -1 ;
14417 int arg7 = (int) -1 ;
14418 bool arg8 = (bool) True ;
14419 bool arg9 = (bool) False ;
14420 bool arg10 = (bool) False ;
14421 bool arg11 = (bool) False ;
14422 bool arg12 = (bool) False ;
14423 wxGridEvent *result;
14424 PyObject * obj0 = 0 ;
14425 PyObject * obj1 = 0 ;
14426 PyObject * obj2 = 0 ;
14427 PyObject * obj3 = 0 ;
14428 PyObject * obj4 = 0 ;
14429 PyObject * obj5 = 0 ;
14430 PyObject * obj6 = 0 ;
14431 PyObject * obj7 = 0 ;
14432 PyObject * obj8 = 0 ;
14433 PyObject * obj9 = 0 ;
14434 PyObject * obj10 = 0 ;
14435 PyObject * obj11 = 0 ;
14436 char *kwnames[] = {
14437 (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
14438 };
14439
14440 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;
14441 arg1 = (int) SWIG_AsInt(obj0);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 arg2 = (wxEventType) SWIG_AsInt(obj1);
14444 if (PyErr_Occurred()) SWIG_fail;
14445 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14447 if (obj3) {
14448 arg4 = (int) SWIG_AsInt(obj3);
14449 if (PyErr_Occurred()) SWIG_fail;
14450 }
14451 if (obj4) {
14452 arg5 = (int) SWIG_AsInt(obj4);
14453 if (PyErr_Occurred()) SWIG_fail;
14454 }
14455 if (obj5) {
14456 arg6 = (int) SWIG_AsInt(obj5);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 if (obj6) {
14460 arg7 = (int) SWIG_AsInt(obj6);
14461 if (PyErr_Occurred()) SWIG_fail;
14462 }
14463 if (obj7) {
14464 arg8 = (bool) SWIG_AsBool(obj7);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 if (obj8) {
14468 arg9 = (bool) SWIG_AsBool(obj8);
14469 if (PyErr_Occurred()) SWIG_fail;
14470 }
14471 if (obj9) {
14472 arg10 = (bool) SWIG_AsBool(obj9);
14473 if (PyErr_Occurred()) SWIG_fail;
14474 }
14475 if (obj10) {
14476 arg11 = (bool) SWIG_AsBool(obj10);
14477 if (PyErr_Occurred()) SWIG_fail;
14478 }
14479 if (obj11) {
14480 arg12 = (bool) SWIG_AsBool(obj11);
14481 if (PyErr_Occurred()) SWIG_fail;
14482 }
14483 {
14484 PyThreadState* __tstate = wxPyBeginAllowThreads();
14485 result = (wxGridEvent *)new wxGridEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
14486
14487 wxPyEndAllowThreads(__tstate);
14488 if (PyErr_Occurred()) SWIG_fail;
14489 }
14490 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEvent, 1);
14491 return resultobj;
14492 fail:
14493 return NULL;
14494 }
14495
14496
14497 static PyObject *_wrap_GridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14498 PyObject *resultobj;
14499 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14500 int result;
14501 PyObject * obj0 = 0 ;
14502 char *kwnames[] = {
14503 (char *) "self", NULL
14504 };
14505
14506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetRow",kwnames,&obj0)) goto fail;
14507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14509 {
14510 PyThreadState* __tstate = wxPyBeginAllowThreads();
14511 result = (int)(arg1)->GetRow();
14512
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
14516 resultobj = SWIG_FromInt((int)result);
14517 return resultobj;
14518 fail:
14519 return NULL;
14520 }
14521
14522
14523 static PyObject *_wrap_GridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14524 PyObject *resultobj;
14525 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14526 int result;
14527 PyObject * obj0 = 0 ;
14528 char *kwnames[] = {
14529 (char *) "self", NULL
14530 };
14531
14532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetCol",kwnames,&obj0)) goto fail;
14533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14535 {
14536 PyThreadState* __tstate = wxPyBeginAllowThreads();
14537 result = (int)(arg1)->GetCol();
14538
14539 wxPyEndAllowThreads(__tstate);
14540 if (PyErr_Occurred()) SWIG_fail;
14541 }
14542 resultobj = SWIG_FromInt((int)result);
14543 return resultobj;
14544 fail:
14545 return NULL;
14546 }
14547
14548
14549 static PyObject *_wrap_GridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14550 PyObject *resultobj;
14551 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14552 wxPoint result;
14553 PyObject * obj0 = 0 ;
14554 char *kwnames[] = {
14555 (char *) "self", NULL
14556 };
14557
14558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_GetPosition",kwnames,&obj0)) goto fail;
14559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14561 {
14562 PyThreadState* __tstate = wxPyBeginAllowThreads();
14563 result = (arg1)->GetPosition();
14564
14565 wxPyEndAllowThreads(__tstate);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
14568 {
14569 wxPoint * resultptr;
14570 resultptr = new wxPoint((wxPoint &) result);
14571 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14572 }
14573 return resultobj;
14574 fail:
14575 return NULL;
14576 }
14577
14578
14579 static PyObject *_wrap_GridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
14580 PyObject *resultobj;
14581 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14582 bool result;
14583 PyObject * obj0 = 0 ;
14584 char *kwnames[] = {
14585 (char *) "self", NULL
14586 };
14587
14588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_Selecting",kwnames,&obj0)) goto fail;
14589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14591 {
14592 PyThreadState* __tstate = wxPyBeginAllowThreads();
14593 result = (bool)(arg1)->Selecting();
14594
14595 wxPyEndAllowThreads(__tstate);
14596 if (PyErr_Occurred()) SWIG_fail;
14597 }
14598 {
14599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14600 }
14601 return resultobj;
14602 fail:
14603 return NULL;
14604 }
14605
14606
14607 static PyObject *_wrap_GridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14608 PyObject *resultobj;
14609 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14610 bool result;
14611 PyObject * obj0 = 0 ;
14612 char *kwnames[] = {
14613 (char *) "self", NULL
14614 };
14615
14616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ControlDown",kwnames,&obj0)) goto fail;
14617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 result = (bool)(arg1)->ControlDown();
14622
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 {
14627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14628 }
14629 return resultobj;
14630 fail:
14631 return NULL;
14632 }
14633
14634
14635 static PyObject *_wrap_GridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14636 PyObject *resultobj;
14637 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14638 bool result;
14639 PyObject * obj0 = 0 ;
14640 char *kwnames[] = {
14641 (char *) "self", NULL
14642 };
14643
14644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_MetaDown",kwnames,&obj0)) goto fail;
14645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14647 {
14648 PyThreadState* __tstate = wxPyBeginAllowThreads();
14649 result = (bool)(arg1)->MetaDown();
14650
14651 wxPyEndAllowThreads(__tstate);
14652 if (PyErr_Occurred()) SWIG_fail;
14653 }
14654 {
14655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14656 }
14657 return resultobj;
14658 fail:
14659 return NULL;
14660 }
14661
14662
14663 static PyObject *_wrap_GridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14664 PyObject *resultobj;
14665 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14666 bool result;
14667 PyObject * obj0 = 0 ;
14668 char *kwnames[] = {
14669 (char *) "self", NULL
14670 };
14671
14672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_ShiftDown",kwnames,&obj0)) goto fail;
14673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14675 {
14676 PyThreadState* __tstate = wxPyBeginAllowThreads();
14677 result = (bool)(arg1)->ShiftDown();
14678
14679 wxPyEndAllowThreads(__tstate);
14680 if (PyErr_Occurred()) SWIG_fail;
14681 }
14682 {
14683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14684 }
14685 return resultobj;
14686 fail:
14687 return NULL;
14688 }
14689
14690
14691 static PyObject *_wrap_GridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14692 PyObject *resultobj;
14693 wxGridEvent *arg1 = (wxGridEvent *) 0 ;
14694 bool result;
14695 PyObject * obj0 = 0 ;
14696 char *kwnames[] = {
14697 (char *) "self", NULL
14698 };
14699
14700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEvent_AltDown",kwnames,&obj0)) goto fail;
14701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEvent,
14702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14703 {
14704 PyThreadState* __tstate = wxPyBeginAllowThreads();
14705 result = (bool)(arg1)->AltDown();
14706
14707 wxPyEndAllowThreads(__tstate);
14708 if (PyErr_Occurred()) SWIG_fail;
14709 }
14710 {
14711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14712 }
14713 return resultobj;
14714 fail:
14715 return NULL;
14716 }
14717
14718
14719 static PyObject * GridEvent_swigregister(PyObject *self, PyObject *args) {
14720 PyObject *obj;
14721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14722 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent, obj);
14723 Py_INCREF(obj);
14724 return Py_BuildValue((char *)"");
14725 }
14726 static PyObject *_wrap_new_GridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14727 PyObject *resultobj;
14728 int arg1 ;
14729 wxEventType arg2 ;
14730 wxGrid *arg3 = (wxGrid *) 0 ;
14731 int arg4 = (int) -1 ;
14732 int arg5 = (int) -1 ;
14733 int arg6 = (int) -1 ;
14734 bool arg7 = (bool) False ;
14735 bool arg8 = (bool) False ;
14736 bool arg9 = (bool) False ;
14737 bool arg10 = (bool) False ;
14738 wxGridSizeEvent *result;
14739 PyObject * obj0 = 0 ;
14740 PyObject * obj1 = 0 ;
14741 PyObject * obj2 = 0 ;
14742 PyObject * obj3 = 0 ;
14743 PyObject * obj4 = 0 ;
14744 PyObject * obj5 = 0 ;
14745 PyObject * obj6 = 0 ;
14746 PyObject * obj7 = 0 ;
14747 PyObject * obj8 = 0 ;
14748 PyObject * obj9 = 0 ;
14749 char *kwnames[] = {
14750 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14751 };
14752
14753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14754 arg1 = (int) SWIG_AsInt(obj0);
14755 if (PyErr_Occurred()) SWIG_fail;
14756 arg2 = (wxEventType) SWIG_AsInt(obj1);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
14759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14760 if (obj3) {
14761 arg4 = (int) SWIG_AsInt(obj3);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
14764 if (obj4) {
14765 arg5 = (int) SWIG_AsInt(obj4);
14766 if (PyErr_Occurred()) SWIG_fail;
14767 }
14768 if (obj5) {
14769 arg6 = (int) SWIG_AsInt(obj5);
14770 if (PyErr_Occurred()) SWIG_fail;
14771 }
14772 if (obj6) {
14773 arg7 = (bool) SWIG_AsBool(obj6);
14774 if (PyErr_Occurred()) SWIG_fail;
14775 }
14776 if (obj7) {
14777 arg8 = (bool) SWIG_AsBool(obj7);
14778 if (PyErr_Occurred()) SWIG_fail;
14779 }
14780 if (obj8) {
14781 arg9 = (bool) SWIG_AsBool(obj8);
14782 if (PyErr_Occurred()) SWIG_fail;
14783 }
14784 if (obj9) {
14785 arg10 = (bool) SWIG_AsBool(obj9);
14786 if (PyErr_Occurred()) SWIG_fail;
14787 }
14788 {
14789 PyThreadState* __tstate = wxPyBeginAllowThreads();
14790 result = (wxGridSizeEvent *)new wxGridSizeEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
14791
14792 wxPyEndAllowThreads(__tstate);
14793 if (PyErr_Occurred()) SWIG_fail;
14794 }
14795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizeEvent, 1);
14796 return resultobj;
14797 fail:
14798 return NULL;
14799 }
14800
14801
14802 static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14803 PyObject *resultobj;
14804 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14805 int result;
14806 PyObject * obj0 = 0 ;
14807 char *kwnames[] = {
14808 (char *) "self", NULL
14809 };
14810
14811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames,&obj0)) goto fail;
14812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14814 {
14815 PyThreadState* __tstate = wxPyBeginAllowThreads();
14816 result = (int)(arg1)->GetRowOrCol();
14817
14818 wxPyEndAllowThreads(__tstate);
14819 if (PyErr_Occurred()) SWIG_fail;
14820 }
14821 resultobj = SWIG_FromInt((int)result);
14822 return resultobj;
14823 fail:
14824 return NULL;
14825 }
14826
14827
14828 static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14829 PyObject *resultobj;
14830 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14831 wxPoint result;
14832 PyObject * obj0 = 0 ;
14833 char *kwnames[] = {
14834 (char *) "self", NULL
14835 };
14836
14837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_GetPosition",kwnames,&obj0)) goto fail;
14838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14840 {
14841 PyThreadState* __tstate = wxPyBeginAllowThreads();
14842 result = (arg1)->GetPosition();
14843
14844 wxPyEndAllowThreads(__tstate);
14845 if (PyErr_Occurred()) SWIG_fail;
14846 }
14847 {
14848 wxPoint * resultptr;
14849 resultptr = new wxPoint((wxPoint &) result);
14850 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14851 }
14852 return resultobj;
14853 fail:
14854 return NULL;
14855 }
14856
14857
14858 static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14859 PyObject *resultobj;
14860 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14861 bool result;
14862 PyObject * obj0 = 0 ;
14863 char *kwnames[] = {
14864 (char *) "self", NULL
14865 };
14866
14867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ControlDown",kwnames,&obj0)) goto fail;
14868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14870 {
14871 PyThreadState* __tstate = wxPyBeginAllowThreads();
14872 result = (bool)(arg1)->ControlDown();
14873
14874 wxPyEndAllowThreads(__tstate);
14875 if (PyErr_Occurred()) SWIG_fail;
14876 }
14877 {
14878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14879 }
14880 return resultobj;
14881 fail:
14882 return NULL;
14883 }
14884
14885
14886 static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14887 PyObject *resultobj;
14888 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14889 bool result;
14890 PyObject * obj0 = 0 ;
14891 char *kwnames[] = {
14892 (char *) "self", NULL
14893 };
14894
14895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_MetaDown",kwnames,&obj0)) goto fail;
14896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14898 {
14899 PyThreadState* __tstate = wxPyBeginAllowThreads();
14900 result = (bool)(arg1)->MetaDown();
14901
14902 wxPyEndAllowThreads(__tstate);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 {
14906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14907 }
14908 return resultobj;
14909 fail:
14910 return NULL;
14911 }
14912
14913
14914 static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14915 PyObject *resultobj;
14916 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14917 bool result;
14918 PyObject * obj0 = 0 ;
14919 char *kwnames[] = {
14920 (char *) "self", NULL
14921 };
14922
14923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_ShiftDown",kwnames,&obj0)) goto fail;
14924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14926 {
14927 PyThreadState* __tstate = wxPyBeginAllowThreads();
14928 result = (bool)(arg1)->ShiftDown();
14929
14930 wxPyEndAllowThreads(__tstate);
14931 if (PyErr_Occurred()) SWIG_fail;
14932 }
14933 {
14934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14935 }
14936 return resultobj;
14937 fail:
14938 return NULL;
14939 }
14940
14941
14942 static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14943 PyObject *resultobj;
14944 wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ;
14945 bool result;
14946 PyObject * obj0 = 0 ;
14947 char *kwnames[] = {
14948 (char *) "self", NULL
14949 };
14950
14951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizeEvent_AltDown",kwnames,&obj0)) goto fail;
14952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizeEvent,
14953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14954 {
14955 PyThreadState* __tstate = wxPyBeginAllowThreads();
14956 result = (bool)(arg1)->AltDown();
14957
14958 wxPyEndAllowThreads(__tstate);
14959 if (PyErr_Occurred()) SWIG_fail;
14960 }
14961 {
14962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14963 }
14964 return resultobj;
14965 fail:
14966 return NULL;
14967 }
14968
14969
14970 static PyObject * GridSizeEvent_swigregister(PyObject *self, PyObject *args) {
14971 PyObject *obj;
14972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14973 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent, obj);
14974 Py_INCREF(obj);
14975 return Py_BuildValue((char *)"");
14976 }
14977 static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14978 PyObject *resultobj;
14979 int arg1 ;
14980 wxEventType arg2 ;
14981 wxGrid *arg3 = (wxGrid *) 0 ;
14982 wxGridCellCoords *arg4 = 0 ;
14983 wxGridCellCoords *arg5 = 0 ;
14984 bool arg6 = (bool) True ;
14985 bool arg7 = (bool) False ;
14986 bool arg8 = (bool) False ;
14987 bool arg9 = (bool) False ;
14988 bool arg10 = (bool) False ;
14989 wxGridRangeSelectEvent *result;
14990 wxGridCellCoords temp4 ;
14991 wxGridCellCoords temp5 ;
14992 PyObject * obj0 = 0 ;
14993 PyObject * obj1 = 0 ;
14994 PyObject * obj2 = 0 ;
14995 PyObject * obj3 = 0 ;
14996 PyObject * obj4 = 0 ;
14997 PyObject * obj5 = 0 ;
14998 PyObject * obj6 = 0 ;
14999 PyObject * obj7 = 0 ;
15000 PyObject * obj8 = 0 ;
15001 PyObject * obj9 = 0 ;
15002 char *kwnames[] = {
15003 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
15004 };
15005
15006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15007 arg1 = (int) SWIG_AsInt(obj0);
15008 if (PyErr_Occurred()) SWIG_fail;
15009 arg2 = (wxEventType) SWIG_AsInt(obj1);
15010 if (PyErr_Occurred()) SWIG_fail;
15011 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGrid,
15012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15013 {
15014 arg4 = &temp4;
15015 if (! wxGridCellCoords_helper(obj3, &arg4)) SWIG_fail;
15016 }
15017 {
15018 arg5 = &temp5;
15019 if (! wxGridCellCoords_helper(obj4, &arg5)) SWIG_fail;
15020 }
15021 if (obj5) {
15022 arg6 = (bool) SWIG_AsBool(obj5);
15023 if (PyErr_Occurred()) SWIG_fail;
15024 }
15025 if (obj6) {
15026 arg7 = (bool) SWIG_AsBool(obj6);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 if (obj7) {
15030 arg8 = (bool) SWIG_AsBool(obj7);
15031 if (PyErr_Occurred()) SWIG_fail;
15032 }
15033 if (obj8) {
15034 arg9 = (bool) SWIG_AsBool(obj8);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 if (obj9) {
15038 arg10 = (bool) SWIG_AsBool(obj9);
15039 if (PyErr_Occurred()) SWIG_fail;
15040 }
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 result = (wxGridRangeSelectEvent *)new wxGridRangeSelectEvent(arg1,arg2,arg3,(wxGridCellCoords const &)*arg4,(wxGridCellCoords const &)*arg5,arg6,arg7,arg8,arg9,arg10);
15044
15045 wxPyEndAllowThreads(__tstate);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
15048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridRangeSelectEvent, 1);
15049 return resultobj;
15050 fail:
15051 return NULL;
15052 }
15053
15054
15055 static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj;
15057 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15058 wxGridCellCoords result;
15059 PyObject * obj0 = 0 ;
15060 char *kwnames[] = {
15061 (char *) "self", NULL
15062 };
15063
15064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames,&obj0)) goto fail;
15065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15067 {
15068 PyThreadState* __tstate = wxPyBeginAllowThreads();
15069 result = (arg1)->GetTopLeftCoords();
15070
15071 wxPyEndAllowThreads(__tstate);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 }
15074 {
15075 wxGridCellCoords * resultptr;
15076 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
15078 }
15079 return resultobj;
15080 fail:
15081 return NULL;
15082 }
15083
15084
15085 static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
15086 PyObject *resultobj;
15087 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15088 wxGridCellCoords result;
15089 PyObject * obj0 = 0 ;
15090 char *kwnames[] = {
15091 (char *) "self", NULL
15092 };
15093
15094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames,&obj0)) goto fail;
15095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15097 {
15098 PyThreadState* __tstate = wxPyBeginAllowThreads();
15099 result = (arg1)->GetBottomRightCoords();
15100
15101 wxPyEndAllowThreads(__tstate);
15102 if (PyErr_Occurred()) SWIG_fail;
15103 }
15104 {
15105 wxGridCellCoords * resultptr;
15106 resultptr = new wxGridCellCoords((wxGridCellCoords &) result);
15107 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1);
15108 }
15109 return resultobj;
15110 fail:
15111 return NULL;
15112 }
15113
15114
15115 static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15116 PyObject *resultobj;
15117 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15118 int result;
15119 PyObject * obj0 = 0 ;
15120 char *kwnames[] = {
15121 (char *) "self", NULL
15122 };
15123
15124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames,&obj0)) goto fail;
15125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15127 {
15128 PyThreadState* __tstate = wxPyBeginAllowThreads();
15129 result = (int)(arg1)->GetTopRow();
15130
15131 wxPyEndAllowThreads(__tstate);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 }
15134 resultobj = SWIG_FromInt((int)result);
15135 return resultobj;
15136 fail:
15137 return NULL;
15138 }
15139
15140
15141 static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15142 PyObject *resultobj;
15143 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15144 int result;
15145 PyObject * obj0 = 0 ;
15146 char *kwnames[] = {
15147 (char *) "self", NULL
15148 };
15149
15150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames,&obj0)) goto fail;
15151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15153 {
15154 PyThreadState* __tstate = wxPyBeginAllowThreads();
15155 result = (int)(arg1)->GetBottomRow();
15156
15157 wxPyEndAllowThreads(__tstate);
15158 if (PyErr_Occurred()) SWIG_fail;
15159 }
15160 resultobj = SWIG_FromInt((int)result);
15161 return resultobj;
15162 fail:
15163 return NULL;
15164 }
15165
15166
15167 static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15168 PyObject *resultobj;
15169 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15170 int result;
15171 PyObject * obj0 = 0 ;
15172 char *kwnames[] = {
15173 (char *) "self", NULL
15174 };
15175
15176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames,&obj0)) goto fail;
15177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15179 {
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
15181 result = (int)(arg1)->GetLeftCol();
15182
15183 wxPyEndAllowThreads(__tstate);
15184 if (PyErr_Occurred()) SWIG_fail;
15185 }
15186 resultobj = SWIG_FromInt((int)result);
15187 return resultobj;
15188 fail:
15189 return NULL;
15190 }
15191
15192
15193 static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15194 PyObject *resultobj;
15195 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15196 int result;
15197 PyObject * obj0 = 0 ;
15198 char *kwnames[] = {
15199 (char *) "self", NULL
15200 };
15201
15202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames,&obj0)) goto fail;
15203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15205 {
15206 PyThreadState* __tstate = wxPyBeginAllowThreads();
15207 result = (int)(arg1)->GetRightCol();
15208
15209 wxPyEndAllowThreads(__tstate);
15210 if (PyErr_Occurred()) SWIG_fail;
15211 }
15212 resultobj = SWIG_FromInt((int)result);
15213 return resultobj;
15214 fail:
15215 return NULL;
15216 }
15217
15218
15219 static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
15220 PyObject *resultobj;
15221 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15222 bool result;
15223 PyObject * obj0 = 0 ;
15224 char *kwnames[] = {
15225 (char *) "self", NULL
15226 };
15227
15228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_Selecting",kwnames,&obj0)) goto fail;
15229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15231 {
15232 PyThreadState* __tstate = wxPyBeginAllowThreads();
15233 result = (bool)(arg1)->Selecting();
15234
15235 wxPyEndAllowThreads(__tstate);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 {
15239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15240 }
15241 return resultobj;
15242 fail:
15243 return NULL;
15244 }
15245
15246
15247 static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15248 PyObject *resultobj;
15249 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15250 bool result;
15251 PyObject * obj0 = 0 ;
15252 char *kwnames[] = {
15253 (char *) "self", NULL
15254 };
15255
15256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames,&obj0)) goto fail;
15257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15259 {
15260 PyThreadState* __tstate = wxPyBeginAllowThreads();
15261 result = (bool)(arg1)->ControlDown();
15262
15263 wxPyEndAllowThreads(__tstate);
15264 if (PyErr_Occurred()) SWIG_fail;
15265 }
15266 {
15267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15268 }
15269 return resultobj;
15270 fail:
15271 return NULL;
15272 }
15273
15274
15275 static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj;
15277 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15278 bool result;
15279 PyObject * obj0 = 0 ;
15280 char *kwnames[] = {
15281 (char *) "self", NULL
15282 };
15283
15284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames,&obj0)) goto fail;
15285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 result = (bool)(arg1)->MetaDown();
15290
15291 wxPyEndAllowThreads(__tstate);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 }
15294 {
15295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15296 }
15297 return resultobj;
15298 fail:
15299 return NULL;
15300 }
15301
15302
15303 static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15304 PyObject *resultobj;
15305 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15306 bool result;
15307 PyObject * obj0 = 0 ;
15308 char *kwnames[] = {
15309 (char *) "self", NULL
15310 };
15311
15312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames,&obj0)) goto fail;
15313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15315 {
15316 PyThreadState* __tstate = wxPyBeginAllowThreads();
15317 result = (bool)(arg1)->ShiftDown();
15318
15319 wxPyEndAllowThreads(__tstate);
15320 if (PyErr_Occurred()) SWIG_fail;
15321 }
15322 {
15323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15324 }
15325 return resultobj;
15326 fail:
15327 return NULL;
15328 }
15329
15330
15331 static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15332 PyObject *resultobj;
15333 wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ;
15334 bool result;
15335 PyObject * obj0 = 0 ;
15336 char *kwnames[] = {
15337 (char *) "self", NULL
15338 };
15339
15340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridRangeSelectEvent_AltDown",kwnames,&obj0)) goto fail;
15341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridRangeSelectEvent,
15342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15343 {
15344 PyThreadState* __tstate = wxPyBeginAllowThreads();
15345 result = (bool)(arg1)->AltDown();
15346
15347 wxPyEndAllowThreads(__tstate);
15348 if (PyErr_Occurred()) SWIG_fail;
15349 }
15350 {
15351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15352 }
15353 return resultobj;
15354 fail:
15355 return NULL;
15356 }
15357
15358
15359 static PyObject * GridRangeSelectEvent_swigregister(PyObject *self, PyObject *args) {
15360 PyObject *obj;
15361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15362 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent, obj);
15363 Py_INCREF(obj);
15364 return Py_BuildValue((char *)"");
15365 }
15366 static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15367 PyObject *resultobj;
15368 int arg1 ;
15369 wxEventType arg2 ;
15370 wxObject *arg3 = (wxObject *) 0 ;
15371 int arg4 ;
15372 int arg5 ;
15373 wxControl *arg6 = (wxControl *) 0 ;
15374 wxGridEditorCreatedEvent *result;
15375 PyObject * obj0 = 0 ;
15376 PyObject * obj1 = 0 ;
15377 PyObject * obj2 = 0 ;
15378 PyObject * obj3 = 0 ;
15379 PyObject * obj4 = 0 ;
15380 PyObject * obj5 = 0 ;
15381 char *kwnames[] = {
15382 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15383 };
15384
15385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15386 arg1 = (int) SWIG_AsInt(obj0);
15387 if (PyErr_Occurred()) SWIG_fail;
15388 arg2 = (wxEventType) SWIG_AsInt(obj1);
15389 if (PyErr_Occurred()) SWIG_fail;
15390 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxObject,
15391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15392 arg4 = (int) SWIG_AsInt(obj3);
15393 if (PyErr_Occurred()) SWIG_fail;
15394 arg5 = (int) SWIG_AsInt(obj4);
15395 if (PyErr_Occurred()) SWIG_fail;
15396 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxControl,
15397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15398 {
15399 PyThreadState* __tstate = wxPyBeginAllowThreads();
15400 result = (wxGridEditorCreatedEvent *)new wxGridEditorCreatedEvent(arg1,arg2,arg3,arg4,arg5,arg6);
15401
15402 wxPyEndAllowThreads(__tstate);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 }
15405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridEditorCreatedEvent, 1);
15406 return resultobj;
15407 fail:
15408 return NULL;
15409 }
15410
15411
15412 static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15413 PyObject *resultobj;
15414 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15415 int result;
15416 PyObject * obj0 = 0 ;
15417 char *kwnames[] = {
15418 (char *) "self", NULL
15419 };
15420
15421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames,&obj0)) goto fail;
15422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15424 {
15425 PyThreadState* __tstate = wxPyBeginAllowThreads();
15426 result = (int)(arg1)->GetRow();
15427
15428 wxPyEndAllowThreads(__tstate);
15429 if (PyErr_Occurred()) SWIG_fail;
15430 }
15431 resultobj = SWIG_FromInt((int)result);
15432 return resultobj;
15433 fail:
15434 return NULL;
15435 }
15436
15437
15438 static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15439 PyObject *resultobj;
15440 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15441 int result;
15442 PyObject * obj0 = 0 ;
15443 char *kwnames[] = {
15444 (char *) "self", NULL
15445 };
15446
15447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames,&obj0)) goto fail;
15448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15450 {
15451 PyThreadState* __tstate = wxPyBeginAllowThreads();
15452 result = (int)(arg1)->GetCol();
15453
15454 wxPyEndAllowThreads(__tstate);
15455 if (PyErr_Occurred()) SWIG_fail;
15456 }
15457 resultobj = SWIG_FromInt((int)result);
15458 return resultobj;
15459 fail:
15460 return NULL;
15461 }
15462
15463
15464 static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15465 PyObject *resultobj;
15466 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15467 wxControl *result;
15468 PyObject * obj0 = 0 ;
15469 char *kwnames[] = {
15470 (char *) "self", NULL
15471 };
15472
15473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames,&obj0)) goto fail;
15474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15476 {
15477 PyThreadState* __tstate = wxPyBeginAllowThreads();
15478 result = (wxControl *)(arg1)->GetControl();
15479
15480 wxPyEndAllowThreads(__tstate);
15481 if (PyErr_Occurred()) SWIG_fail;
15482 }
15483 {
15484 resultobj = wxPyMake_wxObject(result);
15485 }
15486 return resultobj;
15487 fail:
15488 return NULL;
15489 }
15490
15491
15492 static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15493 PyObject *resultobj;
15494 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15495 int arg2 ;
15496 PyObject * obj0 = 0 ;
15497 PyObject * obj1 = 0 ;
15498 char *kwnames[] = {
15499 (char *) "self",(char *) "row", NULL
15500 };
15501
15502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames,&obj0,&obj1)) goto fail;
15503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15505 arg2 = (int) SWIG_AsInt(obj1);
15506 if (PyErr_Occurred()) SWIG_fail;
15507 {
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 (arg1)->SetRow(arg2);
15510
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15514 Py_INCREF(Py_None); resultobj = Py_None;
15515 return resultobj;
15516 fail:
15517 return NULL;
15518 }
15519
15520
15521 static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15522 PyObject *resultobj;
15523 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15524 int arg2 ;
15525 PyObject * obj0 = 0 ;
15526 PyObject * obj1 = 0 ;
15527 char *kwnames[] = {
15528 (char *) "self",(char *) "col", NULL
15529 };
15530
15531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames,&obj0,&obj1)) goto fail;
15532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15534 arg2 = (int) SWIG_AsInt(obj1);
15535 if (PyErr_Occurred()) SWIG_fail;
15536 {
15537 PyThreadState* __tstate = wxPyBeginAllowThreads();
15538 (arg1)->SetCol(arg2);
15539
15540 wxPyEndAllowThreads(__tstate);
15541 if (PyErr_Occurred()) SWIG_fail;
15542 }
15543 Py_INCREF(Py_None); resultobj = Py_None;
15544 return resultobj;
15545 fail:
15546 return NULL;
15547 }
15548
15549
15550 static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15551 PyObject *resultobj;
15552 wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ;
15553 wxControl *arg2 = (wxControl *) 0 ;
15554 PyObject * obj0 = 0 ;
15555 PyObject * obj1 = 0 ;
15556 char *kwnames[] = {
15557 (char *) "self",(char *) "ctrl", NULL
15558 };
15559
15560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames,&obj0,&obj1)) goto fail;
15561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridEditorCreatedEvent,
15562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
15564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15565 {
15566 PyThreadState* __tstate = wxPyBeginAllowThreads();
15567 (arg1)->SetControl(arg2);
15568
15569 wxPyEndAllowThreads(__tstate);
15570 if (PyErr_Occurred()) SWIG_fail;
15571 }
15572 Py_INCREF(Py_None); resultobj = Py_None;
15573 return resultobj;
15574 fail:
15575 return NULL;
15576 }
15577
15578
15579 static PyObject * GridEditorCreatedEvent_swigregister(PyObject *self, PyObject *args) {
15580 PyObject *obj;
15581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15582 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent, obj);
15583 Py_INCREF(obj);
15584 return Py_BuildValue((char *)"");
15585 }
15586 static PyMethodDef SwigMethods[] = {
15587 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction) _wrap_GridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15588 { (char *)"GridCellRenderer_SetParameters", (PyCFunction) _wrap_GridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
15589 { (char *)"GridCellRenderer_IncRef", (PyCFunction) _wrap_GridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
15590 { (char *)"GridCellRenderer_DecRef", (PyCFunction) _wrap_GridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
15591 { (char *)"GridCellRenderer_Draw", (PyCFunction) _wrap_GridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
15592 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction) _wrap_GridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
15593 { (char *)"GridCellRenderer_Clone", (PyCFunction) _wrap_GridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
15594 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister, METH_VARARGS },
15595 { (char *)"new_PyGridCellRenderer", (PyCFunction) _wrap_new_PyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
15596 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_PyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15597 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_PyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15598 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister, METH_VARARGS },
15599 { (char *)"new_GridCellStringRenderer", (PyCFunction) _wrap_new_GridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
15600 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister, METH_VARARGS },
15601 { (char *)"new_GridCellNumberRenderer", (PyCFunction) _wrap_new_GridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
15602 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister, METH_VARARGS },
15603 { (char *)"new_GridCellFloatRenderer", (PyCFunction) _wrap_new_GridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
15604 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
15605 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_GridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
15606 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
15607 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_GridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
15608 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister, METH_VARARGS },
15609 { (char *)"new_GridCellBoolRenderer", (PyCFunction) _wrap_new_GridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
15610 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister, METH_VARARGS },
15611 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction) _wrap_new_GridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
15612 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister, METH_VARARGS },
15613 { (char *)"new_GridCellEnumRenderer", (PyCFunction) _wrap_new_GridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
15614 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister, METH_VARARGS },
15615 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_GridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
15616 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister, METH_VARARGS },
15617 { (char *)"GridCellEditor__setOORInfo", (PyCFunction) _wrap_GridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15618 { (char *)"GridCellEditor_IsCreated", (PyCFunction) _wrap_GridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
15619 { (char *)"GridCellEditor_GetControl", (PyCFunction) _wrap_GridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
15620 { (char *)"GridCellEditor_SetControl", (PyCFunction) _wrap_GridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
15621 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction) _wrap_GridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS },
15622 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction) _wrap_GridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS },
15623 { (char *)"GridCellEditor_SetParameters", (PyCFunction) _wrap_GridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
15624 { (char *)"GridCellEditor_IncRef", (PyCFunction) _wrap_GridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
15625 { (char *)"GridCellEditor_DecRef", (PyCFunction) _wrap_GridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
15626 { (char *)"GridCellEditor_Create", (PyCFunction) _wrap_GridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
15627 { (char *)"GridCellEditor_BeginEdit", (PyCFunction) _wrap_GridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
15628 { (char *)"GridCellEditor_EndEdit", (PyCFunction) _wrap_GridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
15629 { (char *)"GridCellEditor_Reset", (PyCFunction) _wrap_GridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
15630 { (char *)"GridCellEditor_Clone", (PyCFunction) _wrap_GridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
15631 { (char *)"GridCellEditor_SetSize", (PyCFunction) _wrap_GridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
15632 { (char *)"GridCellEditor_Show", (PyCFunction) _wrap_GridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
15633 { (char *)"GridCellEditor_PaintBackground", (PyCFunction) _wrap_GridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15634 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_GridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15635 { (char *)"GridCellEditor_StartingKey", (PyCFunction) _wrap_GridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
15636 { (char *)"GridCellEditor_StartingClick", (PyCFunction) _wrap_GridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
15637 { (char *)"GridCellEditor_HandleReturn", (PyCFunction) _wrap_GridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15638 { (char *)"GridCellEditor_Destroy", (PyCFunction) _wrap_GridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
15639 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister, METH_VARARGS },
15640 { (char *)"new_PyGridCellEditor", (PyCFunction) _wrap_new_PyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
15641 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_PyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15642 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction) _wrap_PyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
15643 { (char *)"PyGridCellEditor_base_Show", (PyCFunction) _wrap_PyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
15644 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_PyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15645 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_PyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15646 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_PyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
15647 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_PyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
15648 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_PyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15649 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction) _wrap_PyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
15650 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_PyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15651 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister, METH_VARARGS },
15652 { (char *)"new_GridCellTextEditor", (PyCFunction) _wrap_new_GridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
15653 { (char *)"GridCellTextEditor_GetValue", (PyCFunction) _wrap_GridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15654 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister, METH_VARARGS },
15655 { (char *)"new_GridCellNumberEditor", (PyCFunction) _wrap_new_GridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
15656 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction) _wrap_GridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15657 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister, METH_VARARGS },
15658 { (char *)"new_GridCellFloatEditor", (PyCFunction) _wrap_new_GridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
15659 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction) _wrap_GridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15660 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS },
15661 { (char *)"new_GridCellBoolEditor", (PyCFunction) _wrap_new_GridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
15662 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction) _wrap_GridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15663 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS },
15664 { (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
15665 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction) _wrap_GridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15666 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister, METH_VARARGS },
15667 { (char *)"new_GridCellEnumEditor", (PyCFunction) _wrap_new_GridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
15668 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction) _wrap_GridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15669 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister, METH_VARARGS },
15670 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_GridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
15671 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_GridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15672 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister, METH_VARARGS },
15673 { (char *)"GridCellAttr__setOORInfo", (PyCFunction) _wrap_GridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15674 { (char *)"new_GridCellAttr", (PyCFunction) _wrap_new_GridCellAttr, METH_VARARGS | METH_KEYWORDS },
15675 { (char *)"GridCellAttr_Clone", (PyCFunction) _wrap_GridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
15676 { (char *)"GridCellAttr_MergeWith", (PyCFunction) _wrap_GridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
15677 { (char *)"GridCellAttr_IncRef", (PyCFunction) _wrap_GridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
15678 { (char *)"GridCellAttr_DecRef", (PyCFunction) _wrap_GridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
15679 { (char *)"GridCellAttr_SetTextColour", (PyCFunction) _wrap_GridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
15680 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15681 { (char *)"GridCellAttr_SetFont", (PyCFunction) _wrap_GridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
15682 { (char *)"GridCellAttr_SetAlignment", (PyCFunction) _wrap_GridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
15683 { (char *)"GridCellAttr_SetSize", (PyCFunction) _wrap_GridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS },
15684 { (char *)"GridCellAttr_SetOverflow", (PyCFunction) _wrap_GridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS },
15685 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction) _wrap_GridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15686 { (char *)"GridCellAttr_SetRenderer", (PyCFunction) _wrap_GridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
15687 { (char *)"GridCellAttr_SetEditor", (PyCFunction) _wrap_GridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
15688 { (char *)"GridCellAttr_SetKind", (PyCFunction) _wrap_GridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
15689 { (char *)"GridCellAttr_HasTextColour", (PyCFunction) _wrap_GridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
15690 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_GridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15691 { (char *)"GridCellAttr_HasFont", (PyCFunction) _wrap_GridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
15692 { (char *)"GridCellAttr_HasAlignment", (PyCFunction) _wrap_GridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
15693 { (char *)"GridCellAttr_HasRenderer", (PyCFunction) _wrap_GridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
15694 { (char *)"GridCellAttr_HasEditor", (PyCFunction) _wrap_GridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
15695 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_GridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
15696 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction) _wrap_GridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS },
15697 { (char *)"GridCellAttr_GetTextColour", (PyCFunction) _wrap_GridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
15698 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_GridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15699 { (char *)"GridCellAttr_GetFont", (PyCFunction) _wrap_GridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
15700 { (char *)"GridCellAttr_GetAlignment", (PyCFunction) _wrap_GridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
15701 { (char *)"GridCellAttr_GetSize", (PyCFunction) _wrap_GridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS },
15702 { (char *)"GridCellAttr_GetOverflow", (PyCFunction) _wrap_GridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS },
15703 { (char *)"GridCellAttr_GetRenderer", (PyCFunction) _wrap_GridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
15704 { (char *)"GridCellAttr_GetEditor", (PyCFunction) _wrap_GridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
15705 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction) _wrap_GridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15706 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction) _wrap_GridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
15707 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister, METH_VARARGS },
15708 { (char *)"new_GridCellAttrProvider", (PyCFunction) _wrap_new_GridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15709 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_GridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15710 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction) _wrap_GridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
15711 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
15712 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15713 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_GridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15714 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
15715 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_GridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
15716 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister, METH_VARARGS },
15717 { (char *)"new_PyGridCellAttrProvider", (PyCFunction) _wrap_new_PyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15718 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_PyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15719 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15720 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15721 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15722 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_PyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15723 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister, METH_VARARGS },
15724 { (char *)"GridTableBase__setOORInfo", (PyCFunction) _wrap_GridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15725 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction) _wrap_GridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15726 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction) _wrap_GridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15727 { (char *)"GridTableBase_SetView", (PyCFunction) _wrap_GridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
15728 { (char *)"GridTableBase_GetView", (PyCFunction) _wrap_GridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
15729 { (char *)"GridTableBase_GetNumberRows", (PyCFunction) _wrap_GridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15730 { (char *)"GridTableBase_GetNumberCols", (PyCFunction) _wrap_GridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15731 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction) _wrap_GridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
15732 { (char *)"GridTableBase_GetValue", (PyCFunction) _wrap_GridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
15733 { (char *)"GridTableBase_SetValue", (PyCFunction) _wrap_GridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
15734 { (char *)"GridTableBase_GetTypeName", (PyCFunction) _wrap_GridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15735 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction) _wrap_GridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15736 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction) _wrap_GridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15737 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction) _wrap_GridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15738 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction) _wrap_GridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15739 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction) _wrap_GridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15740 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction) _wrap_GridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15741 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction) _wrap_GridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15742 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction) _wrap_GridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15743 { (char *)"GridTableBase_Clear", (PyCFunction) _wrap_GridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
15744 { (char *)"GridTableBase_InsertRows", (PyCFunction) _wrap_GridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
15745 { (char *)"GridTableBase_AppendRows", (PyCFunction) _wrap_GridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
15746 { (char *)"GridTableBase_DeleteRows", (PyCFunction) _wrap_GridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15747 { (char *)"GridTableBase_InsertCols", (PyCFunction) _wrap_GridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
15748 { (char *)"GridTableBase_AppendCols", (PyCFunction) _wrap_GridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
15749 { (char *)"GridTableBase_DeleteCols", (PyCFunction) _wrap_GridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15750 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction) _wrap_GridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15751 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction) _wrap_GridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15752 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction) _wrap_GridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15753 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction) _wrap_GridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15754 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction) _wrap_GridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15755 { (char *)"GridTableBase_GetAttr", (PyCFunction) _wrap_GridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
15756 { (char *)"GridTableBase_SetAttr", (PyCFunction) _wrap_GridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
15757 { (char *)"GridTableBase_SetRowAttr", (PyCFunction) _wrap_GridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15758 { (char *)"GridTableBase_SetColAttr", (PyCFunction) _wrap_GridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15759 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister, METH_VARARGS },
15760 { (char *)"new_PyGridTableBase", (PyCFunction) _wrap_new_PyGridTableBase, METH_VARARGS | METH_KEYWORDS },
15761 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_PyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15762 { (char *)"PyGridTableBase_Destroy", (PyCFunction) _wrap_PyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
15763 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_PyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15764 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15765 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_PyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15766 { (char *)"PyGridTableBase_base_Clear", (PyCFunction) _wrap_PyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
15767 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction) _wrap_PyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
15768 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction) _wrap_PyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
15769 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_PyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15770 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction) _wrap_PyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
15771 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction) _wrap_PyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
15772 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_PyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15773 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15774 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15775 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15776 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_PyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15777 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_PyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15778 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction) _wrap_PyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15779 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15780 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15781 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_PyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15782 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister, METH_VARARGS },
15783 { (char *)"new_GridStringTable", (PyCFunction) _wrap_new_GridStringTable, METH_VARARGS | METH_KEYWORDS },
15784 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister, METH_VARARGS },
15785 { (char *)"new_GridTableMessage", (PyCFunction) _wrap_new_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15786 { (char *)"delete_GridTableMessage", (PyCFunction) _wrap_delete_GridTableMessage, METH_VARARGS | METH_KEYWORDS },
15787 { (char *)"GridTableMessage_SetTableObject", (PyCFunction) _wrap_GridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
15788 { (char *)"GridTableMessage_GetTableObject", (PyCFunction) _wrap_GridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
15789 { (char *)"GridTableMessage_SetId", (PyCFunction) _wrap_GridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
15790 { (char *)"GridTableMessage_GetId", (PyCFunction) _wrap_GridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
15791 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction) _wrap_GridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
15792 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction) _wrap_GridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
15793 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction) _wrap_GridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15794 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction) _wrap_GridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15795 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister, METH_VARARGS },
15796 { (char *)"new_GridCellCoords", (PyCFunction) _wrap_new_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15797 { (char *)"delete_GridCellCoords", (PyCFunction) _wrap_delete_GridCellCoords, METH_VARARGS | METH_KEYWORDS },
15798 { (char *)"GridCellCoords_GetRow", (PyCFunction) _wrap_GridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
15799 { (char *)"GridCellCoords_SetRow", (PyCFunction) _wrap_GridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
15800 { (char *)"GridCellCoords_GetCol", (PyCFunction) _wrap_GridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
15801 { (char *)"GridCellCoords_SetCol", (PyCFunction) _wrap_GridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
15802 { (char *)"GridCellCoords_Set", (PyCFunction) _wrap_GridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
15803 { (char *)"GridCellCoords___eq__", (PyCFunction) _wrap_GridCellCoords___eq__, METH_VARARGS | METH_KEYWORDS },
15804 { (char *)"GridCellCoords___ne__", (PyCFunction) _wrap_GridCellCoords___ne__, METH_VARARGS | METH_KEYWORDS },
15805 { (char *)"GridCellCoords_Get", (PyCFunction) _wrap_GridCellCoords_Get, METH_VARARGS | METH_KEYWORDS },
15806 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister, METH_VARARGS },
15807 { (char *)"new_Grid", (PyCFunction) _wrap_new_Grid, METH_VARARGS | METH_KEYWORDS },
15808 { (char *)"new_PreGrid", (PyCFunction) _wrap_new_PreGrid, METH_VARARGS | METH_KEYWORDS },
15809 { (char *)"Grid_Create", (PyCFunction) _wrap_Grid_Create, METH_VARARGS | METH_KEYWORDS },
15810 { (char *)"Grid_CreateGrid", (PyCFunction) _wrap_Grid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
15811 { (char *)"Grid_SetSelectionMode", (PyCFunction) _wrap_Grid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15812 { (char *)"Grid_GetSelectionMode", (PyCFunction) _wrap_Grid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15813 { (char *)"Grid_GetNumberRows", (PyCFunction) _wrap_Grid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15814 { (char *)"Grid_GetNumberCols", (PyCFunction) _wrap_Grid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15815 { (char *)"Grid_ProcessTableMessage", (PyCFunction) _wrap_Grid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
15816 { (char *)"Grid_GetTable", (PyCFunction) _wrap_Grid_GetTable, METH_VARARGS | METH_KEYWORDS },
15817 { (char *)"Grid_SetTable", (PyCFunction) _wrap_Grid_SetTable, METH_VARARGS | METH_KEYWORDS },
15818 { (char *)"Grid_ClearGrid", (PyCFunction) _wrap_Grid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
15819 { (char *)"Grid_InsertRows", (PyCFunction) _wrap_Grid_InsertRows, METH_VARARGS | METH_KEYWORDS },
15820 { (char *)"Grid_AppendRows", (PyCFunction) _wrap_Grid_AppendRows, METH_VARARGS | METH_KEYWORDS },
15821 { (char *)"Grid_DeleteRows", (PyCFunction) _wrap_Grid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15822 { (char *)"Grid_InsertCols", (PyCFunction) _wrap_Grid_InsertCols, METH_VARARGS | METH_KEYWORDS },
15823 { (char *)"Grid_AppendCols", (PyCFunction) _wrap_Grid_AppendCols, METH_VARARGS | METH_KEYWORDS },
15824 { (char *)"Grid_DeleteCols", (PyCFunction) _wrap_Grid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15825 { (char *)"Grid_DrawCellHighlight", (PyCFunction) _wrap_Grid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
15826 { (char *)"Grid_DrawTextRectangle", (PyCFunction) _wrap_Grid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
15827 { (char *)"Grid_GetTextBoxSize", (PyCFunction) _wrap_Grid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
15828 { (char *)"Grid_BeginBatch", (PyCFunction) _wrap_Grid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
15829 { (char *)"Grid_EndBatch", (PyCFunction) _wrap_Grid_EndBatch, METH_VARARGS | METH_KEYWORDS },
15830 { (char *)"Grid_GetBatchCount", (PyCFunction) _wrap_Grid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
15831 { (char *)"Grid_ForceRefresh", (PyCFunction) _wrap_Grid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
15832 { (char *)"Grid_IsEditable", (PyCFunction) _wrap_Grid_IsEditable, METH_VARARGS | METH_KEYWORDS },
15833 { (char *)"Grid_EnableEditing", (PyCFunction) _wrap_Grid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
15834 { (char *)"Grid_EnableCellEditControl", (PyCFunction) _wrap_Grid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15835 { (char *)"Grid_DisableCellEditControl", (PyCFunction) _wrap_Grid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15836 { (char *)"Grid_CanEnableCellControl", (PyCFunction) _wrap_Grid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
15837 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction) _wrap_Grid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
15838 { (char *)"Grid_IsCellEditControlShown", (PyCFunction) _wrap_Grid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
15839 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction) _wrap_Grid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
15840 { (char *)"Grid_ShowCellEditControl", (PyCFunction) _wrap_Grid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
15841 { (char *)"Grid_HideCellEditControl", (PyCFunction) _wrap_Grid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
15842 { (char *)"Grid_SaveEditControlValue", (PyCFunction) _wrap_Grid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
15843 { (char *)"Grid_XYToCell", (PyCFunction) _wrap_Grid_XYToCell, METH_VARARGS | METH_KEYWORDS },
15844 { (char *)"Grid_YToRow", (PyCFunction) _wrap_Grid_YToRow, METH_VARARGS | METH_KEYWORDS },
15845 { (char *)"Grid_XToCol", (PyCFunction) _wrap_Grid_XToCol, METH_VARARGS | METH_KEYWORDS },
15846 { (char *)"Grid_YToEdgeOfRow", (PyCFunction) _wrap_Grid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
15847 { (char *)"Grid_XToEdgeOfCol", (PyCFunction) _wrap_Grid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
15848 { (char *)"Grid_CellToRect", (PyCFunction) _wrap_Grid_CellToRect, METH_VARARGS | METH_KEYWORDS },
15849 { (char *)"Grid_GetGridCursorRow", (PyCFunction) _wrap_Grid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
15850 { (char *)"Grid_GetGridCursorCol", (PyCFunction) _wrap_Grid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
15851 { (char *)"Grid_IsVisible", (PyCFunction) _wrap_Grid_IsVisible, METH_VARARGS | METH_KEYWORDS },
15852 { (char *)"Grid_MakeCellVisible", (PyCFunction) _wrap_Grid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
15853 { (char *)"Grid_SetGridCursor", (PyCFunction) _wrap_Grid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
15854 { (char *)"Grid_MoveCursorUp", (PyCFunction) _wrap_Grid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
15855 { (char *)"Grid_MoveCursorDown", (PyCFunction) _wrap_Grid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
15856 { (char *)"Grid_MoveCursorLeft", (PyCFunction) _wrap_Grid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
15857 { (char *)"Grid_MoveCursorRight", (PyCFunction) _wrap_Grid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
15858 { (char *)"Grid_MovePageDown", (PyCFunction) _wrap_Grid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
15859 { (char *)"Grid_MovePageUp", (PyCFunction) _wrap_Grid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
15860 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction) _wrap_Grid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
15861 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction) _wrap_Grid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
15862 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction) _wrap_Grid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
15863 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction) _wrap_Grid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
15864 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction) _wrap_Grid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15865 { (char *)"Grid_GetRowLabelSize", (PyCFunction) _wrap_Grid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15866 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction) _wrap_Grid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
15867 { (char *)"Grid_GetColLabelSize", (PyCFunction) _wrap_Grid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15868 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction) _wrap_Grid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15869 { (char *)"Grid_GetLabelTextColour", (PyCFunction) _wrap_Grid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15870 { (char *)"Grid_GetLabelFont", (PyCFunction) _wrap_Grid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
15871 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction) _wrap_Grid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15872 { (char *)"Grid_GetColLabelAlignment", (PyCFunction) _wrap_Grid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15873 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction) _wrap_Grid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15874 { (char *)"Grid_GetRowLabelValue", (PyCFunction) _wrap_Grid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15875 { (char *)"Grid_GetColLabelValue", (PyCFunction) _wrap_Grid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15876 { (char *)"Grid_GetGridLineColour", (PyCFunction) _wrap_Grid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15877 { (char *)"Grid_GetCellHighlightColour", (PyCFunction) _wrap_Grid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15878 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15879 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15880 { (char *)"Grid_SetRowLabelSize", (PyCFunction) _wrap_Grid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15881 { (char *)"Grid_SetColLabelSize", (PyCFunction) _wrap_Grid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15882 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction) _wrap_Grid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15883 { (char *)"Grid_SetLabelTextColour", (PyCFunction) _wrap_Grid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15884 { (char *)"Grid_SetLabelFont", (PyCFunction) _wrap_Grid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
15885 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction) _wrap_Grid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15886 { (char *)"Grid_SetColLabelAlignment", (PyCFunction) _wrap_Grid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15887 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction) _wrap_Grid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15888 { (char *)"Grid_SetRowLabelValue", (PyCFunction) _wrap_Grid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15889 { (char *)"Grid_SetColLabelValue", (PyCFunction) _wrap_Grid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15890 { (char *)"Grid_SetGridLineColour", (PyCFunction) _wrap_Grid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15891 { (char *)"Grid_SetCellHighlightColour", (PyCFunction) _wrap_Grid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15892 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15893 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_Grid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15894 { (char *)"Grid_EnableDragRowSize", (PyCFunction) _wrap_Grid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15895 { (char *)"Grid_DisableDragRowSize", (PyCFunction) _wrap_Grid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15896 { (char *)"Grid_CanDragRowSize", (PyCFunction) _wrap_Grid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
15897 { (char *)"Grid_EnableDragColSize", (PyCFunction) _wrap_Grid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
15898 { (char *)"Grid_DisableDragColSize", (PyCFunction) _wrap_Grid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
15899 { (char *)"Grid_CanDragColSize", (PyCFunction) _wrap_Grid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
15900 { (char *)"Grid_EnableDragGridSize", (PyCFunction) _wrap_Grid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15901 { (char *)"Grid_DisableDragGridSize", (PyCFunction) _wrap_Grid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15902 { (char *)"Grid_CanDragGridSize", (PyCFunction) _wrap_Grid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
15903 { (char *)"Grid_SetAttr", (PyCFunction) _wrap_Grid_SetAttr, METH_VARARGS | METH_KEYWORDS },
15904 { (char *)"Grid_SetRowAttr", (PyCFunction) _wrap_Grid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15905 { (char *)"Grid_SetColAttr", (PyCFunction) _wrap_Grid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15906 { (char *)"Grid_SetColFormatBool", (PyCFunction) _wrap_Grid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
15907 { (char *)"Grid_SetColFormatNumber", (PyCFunction) _wrap_Grid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
15908 { (char *)"Grid_SetColFormatFloat", (PyCFunction) _wrap_Grid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
15909 { (char *)"Grid_SetColFormatCustom", (PyCFunction) _wrap_Grid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
15910 { (char *)"Grid_EnableGridLines", (PyCFunction) _wrap_Grid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
15911 { (char *)"Grid_GridLinesEnabled", (PyCFunction) _wrap_Grid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
15912 { (char *)"Grid_GetDefaultRowSize", (PyCFunction) _wrap_Grid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15913 { (char *)"Grid_GetRowSize", (PyCFunction) _wrap_Grid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
15914 { (char *)"Grid_GetDefaultColSize", (PyCFunction) _wrap_Grid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15915 { (char *)"Grid_GetColSize", (PyCFunction) _wrap_Grid_GetColSize, METH_VARARGS | METH_KEYWORDS },
15916 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15917 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction) _wrap_Grid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15918 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction) _wrap_Grid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15919 { (char *)"Grid_GetCellTextColour", (PyCFunction) _wrap_Grid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15920 { (char *)"Grid_GetDefaultCellFont", (PyCFunction) _wrap_Grid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15921 { (char *)"Grid_GetCellFont", (PyCFunction) _wrap_Grid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
15922 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction) _wrap_Grid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15923 { (char *)"Grid_GetCellAlignment", (PyCFunction) _wrap_Grid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15924 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction) _wrap_Grid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15925 { (char *)"Grid_GetCellOverflow", (PyCFunction) _wrap_Grid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15926 { (char *)"Grid_GetCellSize", (PyCFunction) _wrap_Grid_GetCellSize, METH_VARARGS | METH_KEYWORDS },
15927 { (char *)"Grid_SetDefaultRowSize", (PyCFunction) _wrap_Grid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15928 { (char *)"Grid_SetRowSize", (PyCFunction) _wrap_Grid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
15929 { (char *)"Grid_SetDefaultColSize", (PyCFunction) _wrap_Grid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15930 { (char *)"Grid_SetColSize", (PyCFunction) _wrap_Grid_SetColSize, METH_VARARGS | METH_KEYWORDS },
15931 { (char *)"Grid_AutoSizeColumn", (PyCFunction) _wrap_Grid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
15932 { (char *)"Grid_AutoSizeRow", (PyCFunction) _wrap_Grid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
15933 { (char *)"Grid_AutoSizeColumns", (PyCFunction) _wrap_Grid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
15934 { (char *)"Grid_AutoSizeRows", (PyCFunction) _wrap_Grid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
15935 { (char *)"Grid_AutoSize", (PyCFunction) _wrap_Grid_AutoSize, METH_VARARGS | METH_KEYWORDS },
15936 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction) _wrap_Grid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15937 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction) _wrap_Grid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS },
15938 { (char *)"Grid_SetColMinimalWidth", (PyCFunction) _wrap_Grid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
15939 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction) _wrap_Grid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
15940 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15941 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15942 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_Grid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15943 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_Grid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15944 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_Grid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15945 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction) _wrap_Grid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15946 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction) _wrap_Grid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15947 { (char *)"Grid_SetCellTextColour", (PyCFunction) _wrap_Grid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15948 { (char *)"Grid_SetDefaultCellFont", (PyCFunction) _wrap_Grid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15949 { (char *)"Grid_SetCellFont", (PyCFunction) _wrap_Grid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
15950 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction) _wrap_Grid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15951 { (char *)"Grid_SetCellAlignment", (PyCFunction) _wrap_Grid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15952 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction) _wrap_Grid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15953 { (char *)"Grid_SetCellOverflow", (PyCFunction) _wrap_Grid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15954 { (char *)"Grid_SetCellSize", (PyCFunction) _wrap_Grid_SetCellSize, METH_VARARGS | METH_KEYWORDS },
15955 { (char *)"Grid_SetDefaultRenderer", (PyCFunction) _wrap_Grid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15956 { (char *)"Grid_SetCellRenderer", (PyCFunction) _wrap_Grid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15957 { (char *)"Grid_GetDefaultRenderer", (PyCFunction) _wrap_Grid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15958 { (char *)"Grid_GetCellRenderer", (PyCFunction) _wrap_Grid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15959 { (char *)"Grid_SetDefaultEditor", (PyCFunction) _wrap_Grid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15960 { (char *)"Grid_SetCellEditor", (PyCFunction) _wrap_Grid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
15961 { (char *)"Grid_GetDefaultEditor", (PyCFunction) _wrap_Grid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15962 { (char *)"Grid_GetCellEditor", (PyCFunction) _wrap_Grid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
15963 { (char *)"Grid_GetCellValue", (PyCFunction) _wrap_Grid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
15964 { (char *)"Grid_SetCellValue", (PyCFunction) _wrap_Grid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
15965 { (char *)"Grid_IsReadOnly", (PyCFunction) _wrap_Grid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15966 { (char *)"Grid_SetReadOnly", (PyCFunction) _wrap_Grid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15967 { (char *)"Grid_SelectRow", (PyCFunction) _wrap_Grid_SelectRow, METH_VARARGS | METH_KEYWORDS },
15968 { (char *)"Grid_SelectCol", (PyCFunction) _wrap_Grid_SelectCol, METH_VARARGS | METH_KEYWORDS },
15969 { (char *)"Grid_SelectBlock", (PyCFunction) _wrap_Grid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
15970 { (char *)"Grid_SelectAll", (PyCFunction) _wrap_Grid_SelectAll, METH_VARARGS | METH_KEYWORDS },
15971 { (char *)"Grid_IsSelection", (PyCFunction) _wrap_Grid_IsSelection, METH_VARARGS | METH_KEYWORDS },
15972 { (char *)"Grid_ClearSelection", (PyCFunction) _wrap_Grid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
15973 { (char *)"Grid_IsInSelection", (PyCFunction) _wrap_Grid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
15974 { (char *)"Grid_GetSelectedCells", (PyCFunction) _wrap_Grid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS },
15975 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_Grid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS },
15976 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_Grid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS },
15977 { (char *)"Grid_GetSelectedRows", (PyCFunction) _wrap_Grid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS },
15978 { (char *)"Grid_GetSelectedCols", (PyCFunction) _wrap_Grid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS },
15979 { (char *)"Grid_DeselectRow", (PyCFunction) _wrap_Grid_DeselectRow, METH_VARARGS | METH_KEYWORDS },
15980 { (char *)"Grid_DeselectCol", (PyCFunction) _wrap_Grid_DeselectCol, METH_VARARGS | METH_KEYWORDS },
15981 { (char *)"Grid_DeselectCell", (PyCFunction) _wrap_Grid_DeselectCell, METH_VARARGS | METH_KEYWORDS },
15982 { (char *)"Grid_BlockToDeviceRect", (PyCFunction) _wrap_Grid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
15983 { (char *)"Grid_GetSelectionBackground", (PyCFunction) _wrap_Grid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15984 { (char *)"Grid_GetSelectionForeground", (PyCFunction) _wrap_Grid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15985 { (char *)"Grid_SetSelectionBackground", (PyCFunction) _wrap_Grid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15986 { (char *)"Grid_SetSelectionForeground", (PyCFunction) _wrap_Grid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15987 { (char *)"Grid_RegisterDataType", (PyCFunction) _wrap_Grid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
15988 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction) _wrap_Grid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
15989 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction) _wrap_Grid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
15990 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction) _wrap_Grid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
15991 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction) _wrap_Grid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
15992 { (char *)"Grid_SetMargins", (PyCFunction) _wrap_Grid_SetMargins, METH_VARARGS | METH_KEYWORDS },
15993 { (char *)"Grid_GetGridWindow", (PyCFunction) _wrap_Grid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
15994 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
15995 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
15996 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
15997 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction) _wrap_Grid_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
15998 { (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS },
15999 { (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS },
16000 { (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
16001 { (char *)"GridEvent_GetCol", (PyCFunction) _wrap_GridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
16002 { (char *)"GridEvent_GetPosition", (PyCFunction) _wrap_GridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
16003 { (char *)"GridEvent_Selecting", (PyCFunction) _wrap_GridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
16004 { (char *)"GridEvent_ControlDown", (PyCFunction) _wrap_GridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
16005 { (char *)"GridEvent_MetaDown", (PyCFunction) _wrap_GridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
16006 { (char *)"GridEvent_ShiftDown", (PyCFunction) _wrap_GridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
16007 { (char *)"GridEvent_AltDown", (PyCFunction) _wrap_GridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
16008 { (char *)"GridEvent_swigregister", GridEvent_swigregister, METH_VARARGS },
16009 { (char *)"new_GridSizeEvent", (PyCFunction) _wrap_new_GridSizeEvent, METH_VARARGS | METH_KEYWORDS },
16010 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_GridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
16011 { (char *)"GridSizeEvent_GetPosition", (PyCFunction) _wrap_GridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
16012 { (char *)"GridSizeEvent_ControlDown", (PyCFunction) _wrap_GridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
16013 { (char *)"GridSizeEvent_MetaDown", (PyCFunction) _wrap_GridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
16014 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction) _wrap_GridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
16015 { (char *)"GridSizeEvent_AltDown", (PyCFunction) _wrap_GridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
16016 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister, METH_VARARGS },
16017 { (char *)"new_GridRangeSelectEvent", (PyCFunction) _wrap_new_GridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
16018 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
16019 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
16020 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
16021 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_GridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
16022 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
16023 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_GridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
16024 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction) _wrap_GridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
16025 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_GridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
16026 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_GridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
16027 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_GridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
16028 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction) _wrap_GridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
16029 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister, METH_VARARGS },
16030 { (char *)"new_GridEditorCreatedEvent", (PyCFunction) _wrap_new_GridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
16031 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
16032 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
16033 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
16034 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_GridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
16035 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_GridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
16036 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_GridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
16037 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister, METH_VARARGS },
16038 { NULL, NULL }
16039 };
16040
16041
16042 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16043
16044 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x) {
16045 return (void *)((wxGridCellRenderer *) ((wxPyGridCellRenderer *) x));
16046 }
16047 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x) {
16048 return (void *)((wxGridCellRenderer *) ((wxGridCellStringRenderer *) x));
16049 }
16050 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x) {
16051 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
16052 }
16053 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x) {
16054 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
16055 }
16056 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x) {
16057 return (void *)((wxGridCellRenderer *) ((wxGridCellBoolRenderer *) x));
16058 }
16059 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x) {
16060 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
16061 }
16062 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x) {
16063 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
16064 }
16065 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x) {
16066 return (void *)((wxGridCellRenderer *) (wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
16067 }
16068 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x) {
16069 return (void *)((wxGridCellStringRenderer *) ((wxGridCellNumberRenderer *) x));
16070 }
16071 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x) {
16072 return (void *)((wxGridCellStringRenderer *) ((wxGridCellFloatRenderer *) x));
16073 }
16074 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x) {
16075 return (void *)((wxGridCellStringRenderer *) ((wxGridCellDateTimeRenderer *) x));
16076 }
16077 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x) {
16078 return (void *)((wxGridCellStringRenderer *) ((wxGridCellEnumRenderer *) x));
16079 }
16080 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x) {
16081 return (void *)((wxGridCellStringRenderer *) ((wxGridCellAutoWrapStringRenderer *) x));
16082 }
16083 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
16084 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
16085 }
16086 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
16087 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
16088 }
16089 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
16090 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16091 }
16092 static void *_p_wxGridTo_p_wxPanel(void *x) {
16093 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxGrid *) x));
16094 }
16095 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
16096 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16097 }
16098 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
16099 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16100 }
16101 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
16102 return (void *)((wxPanel *) ((wxPyPanel *) x));
16103 }
16104 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
16105 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
16106 }
16107 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
16108 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
16109 }
16110 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
16111 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16112 }
16113 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x) {
16114 return (void *)((wxNotifyEvent *) ((wxGridSizeEvent *) x));
16115 }
16116 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x) {
16117 return (void *)((wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16118 }
16119 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
16120 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
16121 }
16122 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x) {
16123 return (void *)((wxNotifyEvent *) ((wxGridEvent *) x));
16124 }
16125 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
16126 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16127 }
16128 static void *_p_wxGridTo_p_wxScrolledWindow(void *x) {
16129 return (void *)((wxScrolledWindow *) ((wxGrid *) x));
16130 }
16131 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
16132 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
16133 }
16134 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
16135 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16136 }
16137 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
16138 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16139 }
16140 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
16141 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
16142 }
16143 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
16144 return (void *)((wxWindow *) ((wxMenuBar *) x));
16145 }
16146 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
16147 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16148 }
16149 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
16150 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16151 }
16152 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
16153 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16154 }
16155 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
16156 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16157 }
16158 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
16159 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16160 }
16161 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
16162 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16163 }
16164 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
16165 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16166 }
16167 static void *_p_wxPanelTo_p_wxWindow(void *x) {
16168 return (void *)((wxWindow *) ((wxPanel *) x));
16169 }
16170 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
16171 return (void *)((wxWindow *) ((wxStatusBar *) x));
16172 }
16173 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
16174 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
16175 }
16176 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
16177 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
16178 }
16179 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
16180 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16181 }
16182 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
16183 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16184 }
16185 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
16186 return (void *)((wxWindow *) ((wxPopupWindow *) x));
16187 }
16188 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
16189 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
16190 }
16191 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
16192 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
16193 }
16194 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
16195 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
16196 }
16197 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
16198 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
16199 }
16200 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
16201 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
16202 }
16203 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
16204 return (void *)((wxWindow *) ((wxSashWindow *) x));
16205 }
16206 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
16207 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16208 }
16209 static void *_p_wxControlTo_p_wxWindow(void *x) {
16210 return (void *)((wxWindow *) ((wxControl *) x));
16211 }
16212 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
16213 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16214 }
16215 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
16216 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16217 }
16218 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
16219 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16220 }
16221 static void *_p_wxGridTo_p_wxWindow(void *x) {
16222 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16223 }
16224 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
16225 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
16226 }
16227 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
16228 return (void *)((wxWindow *) ((wxPyWindow *) x));
16229 }
16230 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
16231 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16232 }
16233 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
16234 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16235 }
16236 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
16237 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16238 }
16239 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
16240 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
16241 }
16242 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
16243 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16244 }
16245 static void *_p_wxFrameTo_p_wxWindow(void *x) {
16246 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
16247 }
16248 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
16249 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16250 }
16251 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
16252 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16253 }
16254 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
16255 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16256 }
16257 static void *_p_wxDialogTo_p_wxWindow(void *x) {
16258 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
16259 }
16260 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
16261 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16262 }
16263 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
16264 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16265 }
16266 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
16267 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16268 }
16269 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
16270 return (void *)((wxControl *) ((wxControlWithItems *) x));
16271 }
16272 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
16273 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
16274 }
16275 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
16276 return (void *)((wxEvent *) ((wxMenuEvent *) x));
16277 }
16278 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
16279 return (void *)((wxEvent *) ((wxCloseEvent *) x));
16280 }
16281 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
16282 return (void *)((wxEvent *) ((wxMouseEvent *) x));
16283 }
16284 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
16285 return (void *)((wxEvent *) ((wxEraseEvent *) x));
16286 }
16287 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
16288 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
16289 }
16290 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
16291 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16292 }
16293 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
16294 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
16295 }
16296 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
16297 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
16298 }
16299 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
16300 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
16301 }
16302 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
16303 return (void *)((wxEvent *) ((wxPyEvent *) x));
16304 }
16305 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
16306 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
16307 }
16308 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
16309 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
16310 }
16311 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x) {
16312 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16313 }
16314 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
16315 return (void *)((wxEvent *) ((wxIdleEvent *) x));
16316 }
16317 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
16318 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
16319 }
16320 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
16321 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
16322 }
16323 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
16324 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
16325 }
16326 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
16327 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
16328 }
16329 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
16330 return (void *)((wxEvent *) ((wxActivateEvent *) x));
16331 }
16332 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
16333 return (void *)((wxEvent *) ((wxSizeEvent *) x));
16334 }
16335 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
16336 return (void *)((wxEvent *) ((wxMoveEvent *) x));
16337 }
16338 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x) {
16339 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16340 }
16341 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
16342 return (void *)((wxEvent *) ((wxPaintEvent *) x));
16343 }
16344 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
16345 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
16346 }
16347 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
16348 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
16349 }
16350 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
16351 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
16352 }
16353 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
16354 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
16355 }
16356 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
16357 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16358 }
16359 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
16360 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
16361 }
16362 static void *_p_wxGridEventTo_p_wxEvent(void *x) {
16363 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16364 }
16365 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x) {
16366 return (void *)((wxEvent *) (wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16367 }
16368 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
16369 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
16370 }
16371 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
16372 return (void *)((wxEvent *) ((wxFocusEvent *) x));
16373 }
16374 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
16375 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
16376 }
16377 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
16378 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
16379 }
16380 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
16381 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16382 }
16383 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
16384 return (void *)((wxEvent *) ((wxShowEvent *) x));
16385 }
16386 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
16387 return (void *)((wxEvent *) ((wxCommandEvent *) x));
16388 }
16389 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
16390 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
16391 }
16392 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
16393 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16394 }
16395 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
16396 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
16397 }
16398 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
16399 return (void *)((wxEvent *) ((wxKeyEvent *) x));
16400 }
16401 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
16402 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
16403 }
16404 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
16405 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
16406 }
16407 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
16408 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
16409 }
16410 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
16411 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16412 }
16413 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
16414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16415 }
16416 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
16417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16418 }
16419 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
16420 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
16421 }
16422 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
16423 return (void *)((wxObject *) ((wxSizerItem *) x));
16424 }
16425 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
16426 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
16427 }
16428 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
16429 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
16430 }
16431 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
16432 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
16433 }
16434 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
16435 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
16436 }
16437 static void *_p_wxSizerTo_p_wxObject(void *x) {
16438 return (void *)((wxObject *) ((wxSizer *) x));
16439 }
16440 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
16441 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
16442 }
16443 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
16444 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
16445 }
16446 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
16447 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16448 }
16449 static void *_p_wxEventTo_p_wxObject(void *x) {
16450 return (void *)((wxObject *) ((wxEvent *) x));
16451 }
16452 static void *_p_wxFontDataTo_p_wxObject(void *x) {
16453 return (void *)((wxObject *) ((wxFontData *) x));
16454 }
16455 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
16456 return (void *)((wxObject *) ((wxPrintData *) x));
16457 }
16458 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
16459 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
16460 }
16461 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
16462 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
16463 }
16464 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
16465 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
16466 }
16467 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
16468 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
16469 }
16470 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
16471 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
16472 }
16473 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
16474 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
16475 }
16476 static void *_p_wxGridStringTableTo_p_wxObject(void *x) {
16477 return (void *)((wxObject *) (wxGridTableBase *) ((wxGridStringTable *) x));
16478 }
16479 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
16480 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
16481 }
16482 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
16483 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
16484 }
16485 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
16486 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
16487 }
16488 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
16489 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
16490 }
16491 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
16492 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16493 }
16494 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
16495 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
16496 }
16497 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
16498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16499 }
16500 static void *_p_wxGridEventTo_p_wxObject(void *x) {
16501 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridEvent *) x));
16502 }
16503 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x) {
16504 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
16505 }
16506 static void *_p_wxControlTo_p_wxObject(void *x) {
16507 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
16508 }
16509 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
16510 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
16511 }
16512 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
16513 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16514 }
16515 static void *_p_wxFSFileTo_p_wxObject(void *x) {
16516 return (void *)((wxObject *) ((wxFSFile *) x));
16517 }
16518 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
16519 return (void *)((wxObject *) ((wxFindReplaceData *) x));
16520 }
16521 static void *_p_wxGridTo_p_wxObject(void *x) {
16522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16523 }
16524 static void *_p_wxPySizerTo_p_wxObject(void *x) {
16525 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
16526 }
16527 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
16528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16529 }
16530 static void *_p_wxColourDataTo_p_wxObject(void *x) {
16531 return (void *)((wxObject *) ((wxColourData *) x));
16532 }
16533 static void *_p_wxPyEventTo_p_wxObject(void *x) {
16534 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
16535 }
16536 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
16537 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
16538 }
16539 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
16540 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
16541 }
16542 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
16543 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16544 }
16545 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
16546 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16547 }
16548 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
16549 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16550 }
16551 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
16552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16553 }
16554 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
16555 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16556 }
16557 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
16558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16559 }
16560 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
16561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16562 }
16563 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
16564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16565 }
16566 static void *_p_wxShowEventTo_p_wxObject(void *x) {
16567 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
16568 }
16569 static void *_p_wxPrinterTo_p_wxObject(void *x) {
16570 return (void *)((wxObject *) ((wxPrinter *) x));
16571 }
16572 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
16573 return (void *)((wxObject *) ((wxMenuItem *) x));
16574 }
16575 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
16576 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
16577 }
16578 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
16579 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
16580 }
16581 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
16582 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
16583 }
16584 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
16585 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
16586 }
16587 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
16588 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
16589 }
16590 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
16591 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
16592 }
16593 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
16594 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
16595 }
16596 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
16597 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
16598 }
16599 static void *_p_wxGridSizeEventTo_p_wxObject(void *x) {
16600 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridSizeEvent *) x));
16601 }
16602 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
16603 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
16604 }
16605 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
16606 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
16607 }
16608 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
16609 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
16610 }
16611 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
16612 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
16613 }
16614 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
16615 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
16616 }
16617 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
16618 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
16619 }
16620 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
16621 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
16622 }
16623 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
16624 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
16625 }
16626 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
16627 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
16628 }
16629 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
16630 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
16631 }
16632 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
16633 return (void *)((wxObject *) ((wxImageHandler *) x));
16634 }
16635 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
16636 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
16637 }
16638 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
16639 return (void *)((wxObject *) ((wxEvtHandler *) x));
16640 }
16641 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
16642 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
16643 }
16644 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x) {
16645 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
16646 }
16647 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
16648 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16649 }
16650 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
16651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16652 }
16653 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
16654 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
16655 }
16656 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
16657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16658 }
16659 static void *_p_wxImageTo_p_wxObject(void *x) {
16660 return (void *)((wxObject *) ((wxImage *) x));
16661 }
16662 static void *_p_wxFrameTo_p_wxObject(void *x) {
16663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16664 }
16665 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
16666 return (void *)((wxObject *) ((wxPyPrintout *) x));
16667 }
16668 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
16669 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
16670 }
16671 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
16672 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
16673 }
16674 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
16675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
16676 }
16677 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
16678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16679 }
16680 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
16681 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16682 }
16683 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
16684 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
16685 }
16686 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
16687 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
16688 }
16689 static void *_p_wxWindowTo_p_wxObject(void *x) {
16690 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
16691 }
16692 static void *_p_wxMenuTo_p_wxObject(void *x) {
16693 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
16694 }
16695 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
16696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
16697 }
16698 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
16699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16700 }
16701 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
16702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
16703 }
16704 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
16705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
16706 }
16707 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
16708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
16709 }
16710 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
16711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
16712 }
16713 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
16714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16715 }
16716 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
16717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
16718 }
16719 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
16720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16721 }
16722 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
16723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16724 }
16725 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
16726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16727 }
16728 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
16729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
16730 }
16731 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
16732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16733 }
16734 static void *_p_wxSashEventTo_p_wxObject(void *x) {
16735 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
16736 }
16737 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
16738 return (void *)((wxObject *) ((wxPrintPreview *) x));
16739 }
16740 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
16741 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
16742 }
16743 static void *_p_wxPanelTo_p_wxObject(void *x) {
16744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
16745 }
16746 static void *_p_wxDialogTo_p_wxObject(void *x) {
16747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
16748 }
16749 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
16750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16751 }
16752 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
16753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16754 }
16755 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
16756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16757 }
16758 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
16759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16760 }
16761 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
16762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16763 }
16764 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
16765 return (void *)((wxObject *) ((wxFileSystem *) x));
16766 }
16767 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
16768 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
16769 }
16770 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
16771 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
16772 }
16773 static void *_p_wxPyAppTo_p_wxObject(void *x) {
16774 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
16775 }
16776 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
16777 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
16778 }
16779 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
16780 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
16781 }
16782 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
16783 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
16784 }
16785 static void *_p_wxGridTableBaseTo_p_wxObject(void *x) {
16786 return (void *)((wxObject *) ((wxGridTableBase *) x));
16787 }
16788 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x) {
16789 return (void *)((wxObject *) (wxGridTableBase *) ((wxPyGridTableBase *) x));
16790 }
16791 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
16792 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
16793 }
16794 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
16795 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
16796 }
16797 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
16798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16799 }
16800 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
16801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16802 }
16803 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
16804 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
16805 }
16806 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
16807 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
16808 }
16809 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
16810 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
16811 }
16812 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
16813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16814 }
16815 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
16816 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
16817 }
16818 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
16819 return (void *)((wxObject *) ((wxPrintDialogData *) x));
16820 }
16821 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
16822 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
16823 }
16824 static void *_p_wxValidatorTo_p_wxObject(void *x) {
16825 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
16826 }
16827 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
16828 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16829 }
16830 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
16831 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16832 }
16833 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
16834 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16835 }
16836 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
16837 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
16838 }
16839 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
16840 return (void *)((wxEvtHandler *) ((wxValidator *) x));
16841 }
16842 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
16843 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
16844 }
16845 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
16846 return (void *)((wxEvtHandler *) ((wxMenu *) x));
16847 }
16848 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
16849 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16850 }
16851 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
16852 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16853 }
16854 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
16855 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16856 }
16857 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
16858 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16859 }
16860 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
16861 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16862 }
16863 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
16864 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16865 }
16866 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
16867 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16868 }
16869 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
16870 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
16871 }
16872 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
16873 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
16874 }
16875 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
16876 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16877 }
16878 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
16879 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16880 }
16881 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
16882 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16883 }
16884 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
16885 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
16886 }
16887 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
16888 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16889 }
16890 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
16891 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
16892 }
16893 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
16894 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
16895 }
16896 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
16897 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
16898 }
16899 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
16900 return (void *)((wxEvtHandler *) ((wxWindow *) x));
16901 }
16902 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
16903 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16904 }
16905 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
16906 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
16907 }
16908 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
16909 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
16910 }
16911 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
16912 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16913 }
16914 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
16915 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
16916 }
16917 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
16918 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16919 }
16920 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
16921 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16922 }
16923 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
16924 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16925 }
16926 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
16927 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
16928 }
16929 static void *_p_wxGridTo_p_wxEvtHandler(void *x) {
16930 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxGrid *) x));
16931 }
16932 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
16933 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16934 }
16935 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
16936 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
16937 }
16938 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
16939 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16940 }
16941 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
16942 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16943 }
16944 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
16945 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16946 }
16947 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
16948 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16949 }
16950 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
16951 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16952 }
16953 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
16954 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
16955 }
16956 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
16957 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16958 }
16959 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
16960 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16961 }
16962 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
16963 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16964 }
16965 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
16966 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16967 }
16968 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
16969 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
16970 }
16971 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
16972 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
16973 }
16974 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
16975 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
16976 }
16977 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
16978 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16979 }
16980 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x) {
16981 return (void *)((wxGridTableBase *) ((wxGridStringTable *) x));
16982 }
16983 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x) {
16984 return (void *)((wxGridTableBase *) ((wxPyGridTableBase *) x));
16985 }
16986 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x) {
16987 return (void *)((wxGridCellEditor *) ((wxPyGridCellEditor *) x));
16988 }
16989 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x) {
16990 return (void *)((wxGridCellEditor *) ((wxGridCellTextEditor *) x));
16991 }
16992 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x) {
16993 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
16994 }
16995 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x) {
16996 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
16997 }
16998 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x) {
16999 return (void *)((wxGridCellEditor *) ((wxGridCellBoolEditor *) x));
17000 }
17001 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x) {
17002 return (void *)((wxGridCellEditor *) ((wxGridCellChoiceEditor *) x));
17003 }
17004 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x) {
17005 return (void *)((wxGridCellEditor *) (wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
17006 }
17007 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x) {
17008 return (void *)((wxGridCellEditor *) (wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
17009 }
17010 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x) {
17011 return (void *)((wxGridCellTextEditor *) ((wxGridCellNumberEditor *) x));
17012 }
17013 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x) {
17014 return (void *)((wxGridCellTextEditor *) ((wxGridCellFloatEditor *) x));
17015 }
17016 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x) {
17017 return (void *)((wxGridCellTextEditor *) ((wxGridCellAutoWrapStringEditor *) x));
17018 }
17019 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
17020 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
17021 }
17022 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
17023 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17024 }
17025 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
17026 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
17027 }
17028 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
17029 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
17030 }
17031 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
17032 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
17033 }
17034 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
17035 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
17036 }
17037 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
17038 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
17039 }
17040 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x) {
17041 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridRangeSelectEvent *) x));
17042 }
17043 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x) {
17044 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridSizeEvent *) x));
17045 }
17046 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
17047 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
17048 }
17049 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x) {
17050 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxGridEvent *) x));
17051 }
17052 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x) {
17053 return (void *)((wxCommandEvent *) ((wxGridEditorCreatedEvent *) x));
17054 }
17055 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
17056 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
17057 }
17058 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
17059 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
17060 }
17061 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
17062 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
17063 }
17064 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) {
17065 return (void *)((wxGridCellAttrProvider *) ((wxPyGridCellAttrProvider *) x));
17066 }
17067 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) {
17068 return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x));
17069 }
17070 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17071 static swig_type_info _swigt__p_wxGridCellEnumRenderer[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17072 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17073 static swig_type_info _swigt__p_wxGridCellBoolRenderer[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17074 static swig_type_info _swigt__p_wxGridCellFloatRenderer[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17075 static swig_type_info _swigt__p_wxGridCellNumberRenderer[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17076 static swig_type_info _swigt__p_wxPyGridCellRenderer[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17077 static swig_type_info _swigt__p_wxGridCellRenderer[] = {{"_p_wxGridCellRenderer", 0, "wxGridCellRenderer *", 0, 0, 0, 0},{"_p_wxGridCellRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", _p_wxPyGridCellRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", _p_wxGridCellStringRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17078 static swig_type_info _swigt__p_wxGridCellStringRenderer[] = {{"_p_wxGridCellStringRenderer", 0, "wxGridCellStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17079 static swig_type_info _swigt__p_wxGridCellAttr[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0, 0, 0, 0},{"_p_wxGridCellAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17080 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17081 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17082 static swig_type_info _swigt__p_wxGridTableMessage[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0, 0, 0, 0},{"_p_wxGridTableMessage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17083 static swig_type_info _swigt__p_wxGrid[] = {{"_p_wxGrid", 0, "wxGrid *", 0, 0, 0, 0},{"_p_wxGrid", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17084 static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17085 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17086 static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17087 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17088 static swig_type_info _swigt__p_wxGridRangeSelectEvent[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17089 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17090 static swig_type_info _swigt__p_wxGridCellCoords[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0, 0, 0, 0},{"_p_wxGridCellCoords", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17091 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17092 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17093 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17094 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17095 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17096 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridTableBase", _p_wxGridTableBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17097 static swig_type_info _swigt__p_wxGridSizeEvent[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17098 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17099 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17100 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17101 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17102 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17103 static swig_type_info _swigt__p_wxGridEvent[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0, 0, 0, 0},{"_p_wxGridEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17104 static swig_type_info _swigt__p_wxGridEditorCreatedEvent[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17105 static swig_type_info _swigt__p_wxGridTableBase[] = {{"_p_wxGridTableBase", 0, "wxGridTableBase *", 0, 0, 0, 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxGridTableBase, 0, 0, 0, 0, 0},{"_p_wxGridTableBase", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxGridTableBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17106 static swig_type_info _swigt__p_wxGridCellNumberEditor[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17107 static swig_type_info _swigt__p_wxPyGridCellEditor[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0, 0, 0, 0},{"_p_wxPyGridCellEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17108 static swig_type_info _swigt__p_wxGridCellEditor[] = {{"_p_wxGridCellEditor", 0, "wxGridCellEditor *", 0, 0, 0, 0},{"_p_wxGridCellEditor", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellEditor", _p_wxPyGridCellEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellTextEditor", _p_wxGridCellTextEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", _p_wxGridCellBoolEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17109 static swig_type_info _swigt__p_wxGridCellTextEditor[] = {{"_p_wxGridCellTextEditor", 0, "wxGridCellTextEditor *", 0, 0, 0, 0},{"_p_wxGridCellTextEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17110 static swig_type_info _swigt__p_wxGridCellFloatEditor[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17111 static swig_type_info _swigt__p_wxGridCellBoolEditor[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17112 static swig_type_info _swigt__p_wxPyGridTableBase[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0, 0, 0, 0},{"_p_wxPyGridTableBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17113 static swig_type_info _swigt__p_wxGridStringTable[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0, 0, 0, 0},{"_p_wxGridStringTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17114 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17115 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17116 static swig_type_info _swigt__p_wxGridCellAttrProvider[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17117 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17118 static swig_type_info _swigt__p_wxGridCellChoiceEditor[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17119 static swig_type_info _swigt__p_wxGridCellEnumEditor[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17120 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17121 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17122 static swig_type_info _swigt__p_wxPyGridCellAttrProvider[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17123
17124 static swig_type_info *swig_types_initial[] = {
17125 _swigt__p_wxGridCellAutoWrapStringRenderer,
17126 _swigt__p_wxGridCellEnumRenderer,
17127 _swigt__p_wxGridCellDateTimeRenderer,
17128 _swigt__p_wxGridCellBoolRenderer,
17129 _swigt__p_wxGridCellFloatRenderer,
17130 _swigt__p_wxGridCellNumberRenderer,
17131 _swigt__p_wxPyGridCellRenderer,
17132 _swigt__p_wxGridCellRenderer,
17133 _swigt__p_wxGridCellStringRenderer,
17134 _swigt__p_wxGridCellAttr,
17135 _swigt__p_wxColour,
17136 _swigt__p_wxDC,
17137 _swigt__p_wxGridTableMessage,
17138 _swigt__p_wxGrid,
17139 _swigt__p_wxVisualAttributes,
17140 _swigt__p_char,
17141 _swigt__p_wxPanel,
17142 _swigt__p_wxNotifyEvent,
17143 _swigt__p_wxGridRangeSelectEvent,
17144 _swigt__p_wxSize,
17145 _swigt__p_wxGridCellCoords,
17146 _swigt__p_wxScrolledWindow,
17147 _swigt__p_wxWindow,
17148 _swigt__p_wxFont,
17149 _swigt__p_wxControl,
17150 _swigt__p_wxEvent,
17151 _swigt__p_wxObject,
17152 _swigt__p_wxGridSizeEvent,
17153 _swigt__p_wxRect,
17154 _swigt__p_long,
17155 _swigt__p_wxString,
17156 _swigt__p_wxEvtHandler,
17157 _swigt__p_wxPoint,
17158 _swigt__p_wxGridEvent,
17159 _swigt__p_wxGridEditorCreatedEvent,
17160 _swigt__p_wxGridTableBase,
17161 _swigt__p_wxGridCellNumberEditor,
17162 _swigt__p_wxPyGridCellEditor,
17163 _swigt__p_wxGridCellEditor,
17164 _swigt__p_wxGridCellTextEditor,
17165 _swigt__p_wxGridCellFloatEditor,
17166 _swigt__p_wxGridCellBoolEditor,
17167 _swigt__p_wxPyGridTableBase,
17168 _swigt__p_wxGridStringTable,
17169 _swigt__p_wxArrayString,
17170 _swigt__p_wxCommandEvent,
17171 _swigt__p_wxGridCellAttrProvider,
17172 _swigt__p_wxKeyEvent,
17173 _swigt__p_wxGridCellChoiceEditor,
17174 _swigt__p_wxGridCellEnumEditor,
17175 _swigt__p_wxGridCellAutoWrapStringEditor,
17176 _swigt__p_int,
17177 _swigt__p_wxPyGridCellAttrProvider,
17178 0
17179 };
17180
17181
17182 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17183
17184 static swig_const_info swig_const_table[] = {
17185 { SWIG_PY_POINTER, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17186 { SWIG_PY_POINTER, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char},
17187 { SWIG_PY_POINTER, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17188 { SWIG_PY_POINTER, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char},
17189 { SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char},
17190 { SWIG_PY_POINTER, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char},
17191 { SWIG_PY_POINTER, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char},
17192 { SWIG_PY_POINTER, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char},
17193 { SWIG_PY_POINTER, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char},
17194 {0}};
17195
17196 #ifdef __cplusplus
17197 }
17198 #endif
17199
17200 #ifdef __cplusplus
17201 extern "C"
17202 #endif
17203 SWIGEXPORT(void) SWIG_init(void) {
17204 static PyObject *SWIG_globals = 0;
17205 static int typeinit = 0;
17206 PyObject *m, *d;
17207 int i;
17208 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
17209 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17210 d = PyModule_GetDict(m);
17211
17212 if (!typeinit) {
17213 for (i = 0; swig_types_initial[i]; i++) {
17214 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
17215 }
17216 typeinit = 1;
17217 }
17218 SWIG_InstallConstants(d,swig_const_table);
17219
17220 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
17221 SWIG_addvarlink(SWIG_globals,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get, _wrap_DateTimeFormatStr_set);
17222 PyDict_SetItemString(d,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
17223 PyDict_SetItemString(d,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
17224 PyDict_SetItemString(d,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
17225 PyDict_SetItemString(d,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
17226 PyDict_SetItemString(d,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
17227 PyDict_SetItemString(d,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
17228 PyDict_SetItemString(d,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
17229 PyDict_SetItemString(d,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
17230 PyDict_SetItemString(d,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
17231 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set);
17232 SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set);
17233 PyDict_SetItemString(d,"GridCellAttr_Any", SWIG_FromInt((int)wxGridCellAttr::Any));
17234 PyDict_SetItemString(d,"GridCellAttr_Default", SWIG_FromInt((int)wxGridCellAttr::Default));
17235 PyDict_SetItemString(d,"GridCellAttr_Cell", SWIG_FromInt((int)wxGridCellAttr::Cell));
17236 PyDict_SetItemString(d,"GridCellAttr_Row", SWIG_FromInt((int)wxGridCellAttr::Row));
17237 PyDict_SetItemString(d,"GridCellAttr_Col", SWIG_FromInt((int)wxGridCellAttr::Col));
17238 PyDict_SetItemString(d,"GridCellAttr_Merged", SWIG_FromInt((int)wxGridCellAttr::Merged));
17239 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
17240 PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
17241 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
17242 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
17243 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED));
17244 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED));
17245 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED));
17246 PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED));
17247 PyDict_SetItemString(d,"Grid_wxGridSelectCells", SWIG_FromInt((int)wxGrid::wxGridSelectCells));
17248 PyDict_SetItemString(d,"Grid_wxGridSelectRows", SWIG_FromInt((int)wxGrid::wxGridSelectRows));
17249 PyDict_SetItemString(d,"Grid_wxGridSelectColumns", SWIG_FromInt((int)wxGrid::wxGridSelectColumns));
17250 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK));
17251 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK));
17252 PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK));
17253 PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK));
17254 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK));
17255 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK));
17256 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK));
17257 PyDict_SetItemString(d, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK));
17258 PyDict_SetItemString(d, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE));
17259 PyDict_SetItemString(d, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE));
17260 PyDict_SetItemString(d, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT));
17261 PyDict_SetItemString(d, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE));
17262 PyDict_SetItemString(d, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL));
17263 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN));
17264 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN));
17265 PyDict_SetItemString(d, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED));
17266
17267
17268 }
17269